How to add or remove VAT
Short answer
To add VAT, multiply the net price by (1 + rate): gross = net × (1 + rate). To remove VAT from a gross price, divide by (1 + rate): net = gross ÷ (1 + rate). The VAT amount is the difference between gross and net.
Net, VAT, and gross
The net price is before tax, the gross price is what the customer pays, and VAT is the difference. VAT is a percentage of the net price, so the rate is applied to net — not to gross.
Add VAT to a net price
vat = net × rate
gross = net × (1 + rate)
Example: net $100 at 20% VAT
vat = 100 × 0.20 = $20
gross = 100 × 1.20 = $120Remove VAT from a gross price
Extracting VAT is the reverse: divide the gross by (1 + rate) to recover the net, then the VAT is what is left. A common mistake is subtracting the rate from the gross, which is wrong because the rate applies to net.
net = gross ÷ (1 + rate)
vat = gross − net
Example: gross $120 at 20% VAT
net = 120 ÷ 1.20 = $100
vat = 120 − 100 = $20