Skip to content

VAT Calculator

Convert a net amount to gross or a gross amount back to net. You enter the rate, because it differs by product group and changes over time.

Result

Taking VAT out of a gross amount, correctly

This is where the common mistake lives: to find the VAT inside 120 at 20%, multiplying by 0.20 to get 24 is wrong. The answer is 120 / 1.20 = 100, so the VAT is 20. Multiplying always overstates it, and the result looks plausible enough that nobody notices.

Why the rate is not hard-coded

VAT rates change and differ by product group. A rate written into the code starts producing quietly wrong answers the day it changes, and nothing reports it. Check the current rate against your tax authority's published list.

Rounding to the cent

The maths is done in integer cents with half rounded up. Converting net to gross and back can leave a one-cent difference; that is an inherent consequence of rounding, and invoicing software behaves the same way.

Finance calculators