How VAT is added and removed
Value added tax is a percentage of the price before tax. Under the EU VAT Directive, for example, the taxable amount excludes the VAT itself, and each country sets its own rates. The calculator works the same way for any rate you enter.
- N
- Amount before VAT (net)
- r
- VAT rate, in percent
- G
- Amount including VAT (gross)
The fraction r ÷ (100 + r) is the share of a VAT-inclusive price that is tax: 1/6 at 20%, 18/118 at 18%. VAT is rounded to the cent, half up, and the other amount is derived from it, so the two parts always add up to the total.
Worked example
The defaults: $1,000 before VAT at a 20% rate.
| Amount before VAT | $1,000 |
|---|---|
| VAT$1,000 × 20% | $200 |
| Amount including VAT | $1,200 |
Going back, $1,200 including VAT holds $200 of VAT ($1,200 × 20 ÷ 120), which leaves $1,000. With amounts that do not divide evenly, rounding matters: $99.99 including 20% VAT splits into $83.32 and $16.67 of VAT.
Why you can't just take the rate off the total
Taking 20% of $1,200 gives $240, not the $200 that was added. The rate applies to the amount before VAT, so removing VAT from a gross price uses the fraction r ÷ (100 + r) instead. That is what the Remove VAT option does.
How to read your results
- Amount before VAT is the net price, the figure a VAT-registered business usually books as revenue or cost.
- VAT is the tax on the sale, which the seller pays over to the tax authority.
- Amount including VAT is what the buyer pays.
- VAT share of the total is the VAT fraction as a percentage. Above 0%, it is always lower than the rate.
Financing a purchase? Enter the price including VAT in the personal loan calculator to see the monthly payment.
Assumptions
- One VAT rate applies to the whole amount.
- VAT is rounded once, on the total, to the cent and half up.
- The amount entered contains no other taxes or charges that VAT is not due on.
Limitations
- The calculator does not know which rate applies to a sale. Rates, reduced rates and exemptions differ by country and product, and they change. Check your tax authority's current rules.
- Invoices with several lines may round VAT per line, which can differ by a cent or two from rounding the total.
- US sales tax is set by states and localities and is not a VAT, though the arithmetic of adding a percentage is the same.
Frequently asked questions
How do I calculate VAT backwards from a gross price?
Multiply the gross price by the rate and divide by 100 plus the rate. At 20%, that is gross × 20 ÷ 120, or one sixth of the price. Choose Remove VAT and the calculator does it for you.
Is VAT calculated on the price before or after tax?
Before. The rate is a percentage of the net amount, so the VAT in a gross price is always a smaller share of that price than the rate itself.
What VAT rate should I use?
Use the rate that your country's tax law sets for the goods or services sold. Many countries have a standard rate and one or more reduced rates; the EU requires a standard rate of at least 15%.
Does the calculator work for GST or sales tax?
Yes, for the arithmetic. Any tax charged as a percentage on top of a price adds and comes out the same way. Which rate applies is up to the rules where you buy or sell.
Sources
Definitions and rules referenced on this page. Calcendium is not affiliated with these publishers.
- Council Directive 2006/112/EC on the common system of value added tax
Council of the European Union (EUR-Lex) · European Union · Checked October 24, 2026
VAT is charged as a percentage of the taxable amount, which excludes the VAT itself (Articles 73 and 78), and member states set their own rates with a standard rate of at least 15% (Article 97).