Skip to content
KazamTools

How to Calculate Sales Tax Backwards From a Total

To find the price before sales tax, divide the total by 1 plus the tax rate. Worked examples, a divisor table for common rates, and the mistake to avoid.

By , Founder and editor-in-chiefPublished

To calculate sales tax backwards, divide the total by 1 plus the tax rate as a decimal. That gives the price before tax; the tax is whatever is left over.

Price before tax = total ÷ (1 + rate ÷ 100) · Sales tax = total − price before tax

Example: you paid $108.00 and the sales tax rate is 8%. The price before tax is 108 ÷ 1.08 = $100.00, so the tax was $8.00.

The sales tax calculator does this for you: choose “Remove tax from a total”, type the total and pick your state.

The mistake almost everyone makes

The tempting shortcut is to take 8% off the total: 108 × 0.92 = $99.36. That’s 64 cents too low.

The tax was charged on the price, which is smaller than the total. So the tax is 8% of the price, but a smaller share of the total: 8 ÷ 108 = 7.41%. Dividing by 1.08 undoes the multiplication exactly; subtracting 8% doesn’t.

Step by step

  1. Find the full rate. Add the state rate and any local rates. In much of Texas that’s 6.25% state + 2% local = 8.25%.
  2. Turn it into a divisor. Divide the rate by 100 and add 1: 8.25% becomes 1.0825.
  3. Divide the total by the divisor. $21.65 ÷ 1.0825 = $20.00.
  4. Round to the cent. Receipts round the tax, so your answer may need rounding too.
  5. Subtract to get the tax. $21.65 − $20.00 = $1.65.

Check it forwards: $20.00 × 1.0825 = $21.65. If you get the receipt total back, you’re right.

Divisors for common rates

Divide the total by the number in the second column. The third column is how much of the total is tax, which is handy for a quick estimate.

Sales tax rate Divide the total by Share of the total that is tax
4% 1.04 3.85%
5% 1.05 4.76%
6% 1.06 5.66%
6.25% 1.0625 5.88%
7% 1.07 6.54%
7.25% 1.0725 6.76%
8% 1.08 7.41%
8.25% 1.0825 7.62%
8.875% 1.08875 8.15%
9.5% 1.095 8.68%
10% 1.10 9.09%

The share of the total is the rate ÷ (100 + rate). At 10%, it’s 10 ÷ 110 = 9.09%.

Worked examples

Receipt total Rate Price before tax Sales tax Wrong shortcut (total − rate%)
$108.00 8% $100.00 $8.00 $99.36
$21.65 8.25% (Texas city) $20.00 $1.65 $19.86
$54.44 8.875% (New York City) $50.00 $4.44 $49.61
$249.99 7% $233.64 $16.35 $232.49

In the New York example, $50.00 × 1.08875 = $54.4375, which the store rounded to $54.44. Working backwards gives $50.0023, which rounds back to $50.00. When rounding lands a cent away, trust the forward check.

Receipts with tax-free items

You can only divide the taxed part of a receipt. Many states don’t tax groceries, and some don’t tax clothing, so a mixed receipt needs one extra step.

Example: a $60.40 receipt includes $20.00 of groceries (not taxed) and the rest taxed at 6%.

  1. Taxed part: $60.40 − $20.00 = $40.40
  2. Before tax: $40.40 ÷ 1.06 = $38.11
  3. Tax: $40.40 − $38.11 = $2.29

Dividing the whole $60.40 by 1.06 would say the tax was $3.42, which is wrong. Your state’s rules for food and clothing are on its page in sales tax rates by state.

Finding the rate from the price and the total

If you know both the price and what you paid, you can work out the rate:

Rate = (total ÷ price − 1) × 100

A $40.00 item that cost $43.30 at the till: 43.30 ÷ 40 = 1.0825, so the rate is 8.25%.

In a spreadsheet

With the total in A2 and the rate as a percentage in B2 (for example 8.25%):

Price before tax: =ROUND(A2/(1+B2), 2) · Tax: =A2 − ROUND(A2/(1+B2), 2)

The same maths works for VAT and GST

VAT and GST are also added as a percentage of the price, so you remove them the same way. A £120 price with 20% UK VAT is 120 ÷ 1.20 = £100 before VAT. The VAT calculator and GST calculator have the rates built in.

One related tip: many people tip on the pre-tax amount. Find it with the divisor above, then use the tip calculator.

FAQ

How do I remove 8% sales tax from a total?

Divide the total by 1.08. A $54.00 total is $50.00 before tax, and the tax was $4.00.

Why can’t I just subtract the tax percentage from the total?

Because the tax was a percentage of the smaller pre-tax price, not of the total. Subtracting the rate from the total always takes off too much.

How do I find the sales tax rate from a receipt?

Divide the total by the pre-tax price, subtract 1 and multiply by 100. $43.30 ÷ $40.00 = 1.0825, so the rate is 8.25%.

What if my receipt has items that aren’t taxed?

Subtract the untaxed items first, then divide only the taxed part by 1 plus the rate.

Sources