How to Calculate Sales Tax (and Remove It From a Total)

2026-11-24

Sales tax and VAT trip people up in one specific way: removing tax from a total. Adding tax is simple. Taking it out isn't just subtracting the percentage.

Adding tax to a price

Total = Price × (1 + tax rate ÷ 100)

Example: a $50 item at 8% tax. 50 × 1.08 = $54.00. The tax is $4.00.

Removing tax from a total

Price before tax = Total ÷ (1 + tax rate ÷ 100)

Example: you paid $54.00 including 8% tax. 54 ÷ 1.08 = $50.00.

Why you can't just subtract

If you take 8% off $54, you get $49.68, which is wrong. That's because the tax was calculated on the smaller, pre-tax price, not on the total. Dividing undoes the multiplication exactly.

Quick reference

Tax rateMultiply to add taxDivide to remove tax
5%× 1.05÷ 1.05
8.25%× 1.0825÷ 1.0825
13%× 1.13÷ 1.13
20%× 1.20÷ 1.20

Which rate applies?

Rates depend on the country, state and sometimes the city, and they change. Check your local tax authority for the current rate. This guide covers the maths only; for questions about what you're required to charge or file, speak to an accountant.

Want it done for you? Use the sales tax calculator, which works both ways.