Sales Tax / VAT Calculator (add tax or extract from total)
Toggle between 'add tax' and 'extract from total' modes, enter the amount and rate, and see the breakdown into net, tax, and gross.
How it works
Add tax vs extract tax
Adding tax: you have the price before tax and want the final price. Multiply by (1 + rate/100). Example: $100 at 8% sales tax = $108.
Extracting tax: you have the total a customer paid (or saw on the receipt) and need to reverse-engineer how much was tax. Divide the total by (1 + rate/100) to get the pre-tax amount; the difference is the tax. Example: $108 at 8% extracts to $100 + $8 tax. Don't multiply $108 by 8% — that gives $8.64, which is wrong.
Sales tax, VAT, and GST
Sales tax (US): added at the point of sale, varies by state and city. New York City is 8.875%, Oregon has none, California ranges 7.25-10.75% depending on city. Many US prices are advertised pre-tax and tax is added at checkout.
VAT (EU, UK): typically already included in the displayed price. UK standard rate is 20%, France is 20%, Germany is 19%. Use 'extract from total' to find the tax in a quoted price.
GST (Australia, NZ, Canada, India): a single national rate (Australia and NZ at 10% and 15% respectively, Canada has GST plus provincial taxes). India uses tiered GST rates (5/12/18/28%) by product category.
Common pitfalls
Don't multiply tax-inclusive totals by the rate. To extract tax from $108 at 8%, divide by 1.08 first. Multiplying by 8% gives the wrong answer because the $108 already includes the 8% on the original $100 — and you'd be taxing the tax.
Some products are exempt or zero-rated (groceries in many US states; books in the EU at reduced rate; etc.). When advertising prices including/excluding tax, follow your jurisdiction's rules.
Frequently asked questions
›Why is extract-from-total ÷ (1 + rate) instead of × rate?
Because the total already includes the tax on the original. Multiplying gives the tax on the inclusive total, which is too much. Dividing by (1 + rate/100) reverses the addition correctly.
›What rate should I use for the US?
US sales tax varies by state and city. Common: NYC 8.875%, LA 9.5%, Chicago 10.25%, Texas state 6.25%, Florida state 6%. Add city/county on top in many places.
›Is Japan's consumption tax just 10%?
Mostly yes — 10% is standard. Food and beverages other than alcohol/dining are at the reduced 8% rate.
›Are taxes the same as the displayed price?
Depends on country. EU/UK/Japan typically advertise tax-inclusive prices. The US, Australia, and Canada often show pre-tax. Use the 'extract' mode for inclusive prices, 'add' mode for pre-tax.
›Can this handle multiple tax rates?
Not at once. For combined rates (e.g., state + local), add them up first and use the combined rate.
›What about VAT-included business invoices?
Same math: 'extract from total' to see VAT and pre-VAT net. Most accounting software does this automatically.
›Currency?
Currency is displayed in JPY for Japanese pages, USD elsewhere. Math is currency-independent — use any unit consistently.
›Is the data sent anywhere?
No. All math runs locally in your browser.
Related tools
Last updated: