VAT explained: formula, worked example and common mistakes
Strip value added tax out of a tax-included price, or add it to a net one, with a second rate on the same amount. Free, no sign-up.
Updated
What the VAT calculator works out
Value added tax is charged on sales and collected at the till, and in places that use it the price on the shelf normally has the tax already in it. This page takes that tax-included price apart: it gives you the price before the tax, the amount of tax inside it, and the tax as a share of the whole. It works the other direction too, adding tax onto a net price, and it can hold a second rate charged on the same amount.
You type an amount, the rate, whether the amount you have includes the tax or not, and, if there is one, a second rate on the same amount.
The formula
The extract direction, from a tax-included price:
net = gross / (1 + rate/100)
tax = gross - net
share = tax / gross x 100
And the add direction, from a net price:
gross = net x (1 + rate/100)
tax = gross - net
Here gross is the price with the tax in it, net is the price without, and rate is the rate you type, so 20 means 20 per cent. A second rate, when you give one, is charged on the same net and added on, so the combined rate is the two rates added together.
A worked example
The default run starts from a tax-included price:
Amount typed = 120, tax included
Rate = 20%
Before tax = 120 / (1 + 20/100) = 100
VAT in the price = 120 - 100 = 20
Share of the total = 20 / 120 x 100 = 16.67%
So a price of 120 that includes 20 per cent VAT is 100 before VAT, with 20 of VAT in it. Added the other way, 100 plus 20 per cent is 120.
What changes the answer
The rate moves the tax and the net price in opposite directions when you start from a tax-included amount: more rate means more tax and less net inside the same total. The direction changes which of the two figures is the given and which is the answer. A second rate adds to the tax while leaving the net price it is charged on alone. And the amount scales everything in proportion, so the share of the total is the one number that stays put as the amount grows.
When to use it, and when not to
Use it to check an invoice, to find the net price behind a shelf price, or to add tax to a net quote. It works on one amount at one flat rate, in whichever direction you need.
The page stores no rates, exemptions, zero-rated classes or registration thresholds of any country: the rate you type is the only rate it knows, and whether a good is taxed, and at what, comes from your own invoice or the table your authority publishes. It does not handle tiered rates, per-line rounding, or the bookkeeping of tax charged on inputs against tax charged on sales.
Common mistakes people make
1. Taking the tax out by subtracting 20 per cent of the price. The percentage comes off the tax-included figure, which is the larger number, so the net price lands too low and the tax with it. Dividing by one plus the rate is the step that lands exactly.
2. Reading the 16.67 per cent share as the rate. The share of the total is measured against 120, not 100, because the total has the tax inside it. The rate is 20 per cent.
3. Expecting the two directions to mirror each other. Adding 20 per cent to 100 reaches 120, but taking 20 per cent from 120 does not come back to 100. One divides where the other multiplies.
4. Charging the second rate on the tax-inclusive price. Both rates are charged on the same net amount, and neither touches a price with the other already in it.
5. Typing the rate as a decimal. The box wants the number as it appears on an invoice or in a table, 20, not its decimal form, and the page does the conversion itself.
6. Treating the page as a tax adviser. It does the arithmetic on the rate you give it. Which rate applies, to which goods, in which place, is a question for your own paperwork, not for a calculator.
Frequently asked questions
How do I take VAT out of a price?
Divide the tax-included price by one plus the rate as a decimal. At 20 per cent, a price of 120 comes to 100 before tax, and the VAT inside it is the 20 that is left over.
How do I add VAT to a net price?
Multiply by one plus the rate as a decimal. A net price of 100 becomes 120 at 20 per cent, which is the same pair of figures the worked example reaches from the other direction.
What is the VAT fraction?
A shortcut for the tax inside a gross price. Instead of dividing by one plus the rate and subtracting, multiply the gross price by the rate over one hundred plus the rate. At 20 per cent that is 20 over 120 of the price, and on a price of 120 it gives the 20 of VAT in it.
Why is the tax share of the total 16.67 per cent and not 20 per cent?
The share is measured against the tax-included price, which is the larger number. The 20 of VAT inside a price of 120 is 20 over 120, which is 16.67 per cent, while the rate itself is measured against the 100 before tax.
Does the page know which goods carry which rate?
No. Systems that use value added tax commonly charge different rates on different classes of goods and none at all on some, and nothing of that is stored here. The page applies the one rate you type to the one amount you type.
Is VAT the same as sales tax?
On a single price the arithmetic is identical, and both pages here do both directions. The difference is where you tend to start: prices that include value added tax are the norm where it applies, so this page starts from the tax-included figure, while a sales tax is more often added at the till.
Can the second rate sit on top of the first?
Both rates are charged on the same net amount and the results are added, so the combined rate is the two added together. Neither rate is ever charged on a price that already has the other tax in it.
This tool shows math, not advice.
Cite this page
Copy this line into a reference list, a report or a spreadsheet note.
Investment Math Calculator. “VAT Calculator”. Updated 2026-10-31. https://investmentmathcalculator.com/guides/vat-calculator/
Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.