VAT formulas
Value added tax is charged as a percentage of the net price, the price before tax. The gross price is what the customer pays. With r as the VAT rate in per cent:
Add VAT: gross = net × (1 + r ÷ 100)
Remove VAT: net = gross ÷ (1 + r ÷ 100)
Find the rate: r = (gross ÷ net − 1) × 100
In each case the VAT is the difference between gross and net. For example, adding 20% to a net $80 gives 80 × 1.2 = $96, of which $16 is VAT. Removing 20% from a gross $120 gives 120 ÷ 1.2 = $100, so the VAT is $20. A price that goes from $250 net to $302.50 gross carries a rate of (302.50 ÷ 250 − 1) × 100 = 21%.
The VAT fraction
When only the gross price is known, the VAT inside it can be found in one step with the VAT fraction:
VAT fraction = r ÷ (100 + r), and VAT = gross × VAT fraction
At 20% the fraction is 20 ÷ 120 = 1/6, so the VAT in $120 is 120 ÷ 6 = $20. Other rates give 1/21 at 5%, 1/11 at 10%, 3/23 at 15% and 1/5 at 25%. A rate such as 7.5% gives 3/43, and 21% gives 21/121, which does not simplify.
The fraction exists because the rate is a percentage of the net price, not of the gross. Taking 20% off $120 gives $24, which overstates the VAT by $4. A gross price at 20% is 120% of the net, so the VAT is 20 parts out of 120, one sixth, and never one fifth.
Invoices: rounding by line or on the total
VAT has to be stated in whole cents, and on an invoice with several lines there are two common places to round. Rounding by line works out the VAT on every line, rounds each figure and adds them. Rounding on the total adds the net amounts for each rate first and rounds the VAT once per rate. Both are arithmetic done correctly, yet they can disagree by a cent or more.
Take an invoice with three lines at 20%, one each at $4.99, $9.99 and $14.99, and a fourth line of 12 items at $0.83 at 5%.
- Line amounts. $4.99, $9.99, $14.99 and 12 × 0.83 = $9.96. The net total is $39.93.
- By line. 4.99 × 0.2 = 0.998, rounded to $1.00. 9.99 × 0.2 = 1.998, rounded to $2.00. 14.99 × 0.2 = 2.998, rounded to $3.00. 9.96 × 0.05 = 0.498, rounded to $0.50. VAT = $6.50 and the invoice total is $46.43.
- On the total. The 20% lines add to $29.97, and 29.97 × 0.2 = 5.994, rounded to $5.99. The 5% line is $0.50 as before. VAT = $6.49 and the invoice total is $46.42.
The one-cent gap comes from three lines that each rounded up by a fifth of a cent. A simpler case shows the same thing: three separate lines of $0.99 at 20% carry 19.8 cents each, rounded to $0.20 and totalling $0.60, while 20% of the combined $2.97 is 59.4 cents, rounded to $0.59. Which method is acceptable, and how halves are rounded, is set by the tax authority concerned. This calculator rounds halves up and shows both results so that a figure can be matched to an invoice or an accounting system.
When unit prices are entered gross, the same choice applies to the VAT taken out of each line with the VAT fraction. The gross total is then the same either way, and it is the net and VAT split that can differ.
Reverse charge
Under a reverse charge the duty to account for VAT moves from the supplier to the customer. The supplier’s invoice shows the net amount with no VAT added, and the customer works out the VAT on that amount and reports it. On a net $1,000 at 20%, the invoice total is $1,000 and the customer accounts for $200. Whether the customer can also reclaim that $200, which supplies are covered and what the invoice must say all depend on the rules of the country involved, which this page does not attempt to state. Ticking the reverse-charge box changes the amount payable to the net total and shows the VAT for the customer to account for.
Common mistakes and limits
Subtracting the rate from the gross price. Divide by 1 + r ÷ 100 or use the VAT fraction. Applying one rate to a mixed invoice. Reduced, zero-rated and exempt items need their own lines and rates. Rounding too early. Rounding a unit price’s VAT and then multiplying by the quantity can give a third answer, different from both methods above. Assuming a rate. The example buttons are arithmetic conveniences. This page contains no country’s VAT rates, thresholds, exemptions or invoicing rules, and it is not a substitute for them.
For GST and sales tax on a single price, see the sales tax and GST calculator.