=Calculator Hub

Sales Tax Calculator (Add or Remove Tax)

Work out sales tax two ways: add a tax rate on top of a pre-tax price, or start from a tax-included total (like a receipt) and back out exactly how much of it was tax.

%
Total (with tax)108.00
Tax amount8.00

How this calculation works

Adding tax: tax = price × (rate ÷ 100), and the total you pay is price + tax. A 100 item at an 8% rate adds 8 of tax for a 108 total.

Removing tax: if a total already includes tax, dividing straight by the rate over-corrects, because the rate applies to the pre-tax price, not the total. The correct pre-tax price is total ÷ (1 + rate ÷ 100); the tax itself is total minus that pre-tax price.

Both directions use the same rate, just applied in opposite order — one multiplies a smaller base up, the other divides a larger total down.

Worked example

Adding tax: a 59.99 item with 7.25% tax adds 4.35 of tax for a 64.34 total. Removing tax: a receipt shows 108.00 total including 8% tax — the pre-tax price was 108 ÷ 1.08 = 100.00, so 8.00 of that total was tax.

Adding tax vs. backing tax out

These are inverse operations, not the same formula run backwards with a minus sign. Adding tax scales a known pre-tax price up: total = price × (1 + rate ÷ 100). Backing tax out scales a known tax-included total down to find the price hidden inside it: price = total ÷ (1 + rate ÷ 100). The tax amount is always the difference between the two — never the total multiplied directly by the rate.

VAT/GST vs. US-style sales tax

The underlying arithmetic is the same everywhere; what differs is which price you see first.

US-style sales taxVAT / GST-style
Displayed priceTax-exclusive (tax added at checkout)Tax-inclusive (tax already in the price)
Typical mode hereAdd taxRemove tax
Who sees the tax broken outBuyer, on the receiptBuyer, only if itemized
Common range0–10%+, varies by state/city5–27%, set nationally

Reading tax off a receipt

A typical receipt lists subtotal, tax, and total as three separate lines — the subtotal is the pre-tax price, tax is the amount collected, and total is what you paid, so subtotal + tax = total. If you only have the total and the tax rate (common with a tax-inclusive VAT/GST price, or a lump-sum invoice), use "remove tax" mode to recover the subtotal and tax split rather than guessing by eye.

When an order mixes items taxed at different rates (some regions exempt groceries or apply a reduced rate to certain goods), calculate each taxed group separately and add the results — a single blended rate across the whole order will not match the receipt exactly.

Frequently asked questions

Why can't I just multiply the total by the tax rate to find the tax?
Because the rate applies to the pre-tax price, not the tax-included total. Multiplying a 108 total by 8% gives 8.64, which is wrong — the true tax hidden in that total is only 8.00. Always divide the total by (1 + rate) first to find the pre-tax price, then subtract.
What's the difference between sales tax and VAT/GST for this calculator?
The math is identical, but the pricing convention differs. US-style sales tax is usually quoted tax-exclusive — the sticker price excludes tax, which is added at checkout (use addTax mode). VAT/GST-style pricing is usually tax-inclusive — the displayed price already contains the tax, so use removeTax mode to see how much of it is tax.
Does this store my prices or tax rate?
No. Everything runs in your browser and nothing is uploaded, logged, or saved.
How do I find my local sales tax rate?
Sales tax is set by state, province, or country and often stacks state plus local/city rates, so it varies by exact address. Check your state or local tax authority's published rate, or look at a recent receipt from the same location.
My receipt total doesn't match what I calculate — why?
Most registers round each line to the nearest cent before summing, so a few cents of rounding drift versus a single formula-based calculation is normal, especially with multiple items taxed separately.
Can I use this for VAT or GST calculations?
Yes. VAT and GST use the exact same add/remove-tax math as sales tax; only the typical rate and whether the displayed price already includes it differ by country.
Is tax charged on the discounted price or the original price?
Almost always the discounted price. Retailers apply any discount first, then calculate tax on what you actually pay, not the original sticker price.
This tool is provided for general information only. Verify important figures independently. · Last reviewed: August 25, 2026