How to Calculate Sales Tax Backwards from a Total

Find the price before tax and the tax amount from a total that already includes tax, and why subtracting the percentage gives the wrong answer.

Sometimes you only know the total you paid, and you need to know how much of it was tax. This comes up with receipts for expense reports, prices that include tax, and VAT invoices. The method is simple, but there is a common mistake to avoid.

Our sales tax calculator has a Remove tax option that does this for you.

Try the Sales Tax Calculator. Add or remove sales tax or VAT from a price

Open the calculator

The formula

Price before tax = total ÷ (1 + tax rate)
Tax = total − price before tax

The tax rate is written as a decimal: 8% = 0.08, 8.25% = 0.0825, 20% = 0.20.

Example

You paid $108.00, and the sales tax rate is 8%.

  • Price before tax = 108 ÷ 1.08 = $100.00
  • Tax = 108 − 100 = $8.00

Why you can't just subtract the percentage

A tempting shortcut is to take 8% of the total and subtract it: 108 × 0.08 = $8.64, giving $99.36. That is wrong.

The tax was charged on the pre-tax price, not on the total. 8% of $100 is $8, which made the total $108. Taking 8% of $108 applies the rate to an amount that already includes tax, so it removes too much.

The error grows as the rate gets higher. With 20% VAT on a £120 total:

Method Price before tax Tax
Correct: 120 ÷ 1.20 £100.00 £20.00
Wrong: 120 − 20% of 120 £96.00 £24.00
Advertisement

More examples

Total paid Tax rate Price before tax Tax
$53.00 6% $50.00 $3.00
$86.60 8.25% $80.00 $6.60
$1,075.00 7.5% $1,000.00 $75.00
£60.00 20% VAT £50.00 £10.00
€121.00 21% VAT €100.00 €21.00

Finding the tax rate from two amounts

If you know both the pre-tax price and the total, you can find the rate:

Tax rate = (total − price) ÷ price × 100

A $45 item that cost $48.38 at the till: (48.38 − 45) ÷ 45 × 100 = 7.51%, so the local rate is probably 7.5%, with a rounded cent.

A quick way to find the tax share

For a given rate, the tax is always the same fraction of the total:

Tax = total × rate ÷ (1 + rate)
  • 20% VAT: tax is 1/6 of the total (0.20 ÷ 1.20)
  • 10% tax: tax is 1/11 of the total
  • 5% tax: tax is 1/21 of the total

So on a £90 price including 20% VAT, the VAT is 90 ÷ 6 = £15.

When rounding causes small differences

Shops round tax to the nearest cent on each item or on the whole bill. Working backwards may give an answer a cent or two away from the original price. That is normal.

Where this is useful

  • Expense claims that ask for the net amount and tax separately
  • VAT returns for small businesses in countries where prices include VAT
  • Checking a receipt to confirm the right rate was charged
  • Comparing prices between places with different tax rates

In the US, sales tax is usually added at the till, while in the UK and EU, VAT is usually already in the shelf price. Our guide on sales tax vs VAT explains the difference.

This guide is general information, not financial advice. Check exact terms, rates and rules with your lender, bank or tax authority.