The basic math: total price minus original price equals tax paid

If you know the final price you paid and the tax rate, you can find out how much tax was added. The method depends on whether you have the original price before tax or only the total.

The simplest case: you have both numbers. Subtract the price before tax from the price after tax. That difference is the tax amount. If a shirt cost $20 before tax and you paid $21.50 total, the tax was $1.50.

The harder case: you have only the total price and the tax rate, but not the original price. This requires one extra step, which we cover below.

Key Takeaways

  • If you know both the original price and the total price, subtract the original from the total to find tax paid.
  • If you know only the total price and the tax rate, divide the total by (1 + the tax rate as a decimal) to find the original price, then subtract.
  • Tax rates vary by location and item type, so the same product costs different amounts in different states or counties.
  • Receipts usually show the tax amount separately, so you can verify the math without calculating it yourself.

When you have the original price and the total

This is the straightforward path. You bought something, you know what the sticker price was, and you know what you actually paid at checkout.

The formula is: Tax amount = Total price − Original price

Example: A pair of shoes has a sticker price of $50. You pay $54.50 at the register. The tax is $54.50 − $50 = $4.50.

This works the same way whether you are looking at a single item or a whole receipt. Add up all the original prices, add up all the totals you paid, and subtract one from the other.

When you have only the total price and the tax rate

Sometimes you know what you paid and you know the tax rate in your area, but you do not have the receipt or the original price. You can still find the tax amount, but it takes two steps.

First, find the original price. Use this formula: Original price = Total price ÷ (1 + tax rate as a decimal)

If the total was $54.50 and the tax rate is 9%, convert 9% to a decimal (0.09) and add 1. Then divide: $54.50 ÷ 1.09 = $50. That is the original price.

Second, subtract the original price from the total. $54.50 − $50 = $4.50. That is the tax.

Converting percentages to decimals

Tax rates are always given as percentages. To use them in math, you convert to a decimal by dividing by 100. A 9% tax rate becomes 0.09. A 7.5% rate becomes 0.075. An 8% rate becomes 0.08.

This matters because the formula requires the decimal form. If you use the percentage number itself, the answer will be wrong.

Once you have the decimal, add 1 to it before dividing. This accounts for the fact that the total price includes both the original price and the tax on top of it.

Why tax rates matter and where to find yours

Sales tax varies by state, county, and sometimes by city. A 5% rate in one place might be 8% or 10% in another. Some states have no sales tax at all. Some items are taxed differently than others — groceries might be tax-free while clothing is taxed, or vice versa.

If you need to know your local rate, search online for "[your state] sales tax rate" or "[your county] sales tax." Your state revenue department or tax assessor's office publishes the current rates. You can also ask a cashier or check your receipt, which usually shows the rate applied.

Rates change occasionally, so if you are calculating tax from a receipt that is more than a few months old, the rate may have shifted since then.

Checking your work with a receipt

The easiest way to verify your math is to look at the receipt. Most receipts show the subtotal (original price), the tax amount, and the total separately. You can check that subtotal plus tax equals the total.

If the receipt does not break it out clearly, add up all the item prices listed and compare to the subtotal line. Then check that the tax line matches your calculation.

If your math does not match the receipt, the difference is usually a rounding issue — stores round to the nearest cent, and if you are doing the calculation by hand, you might round differently. A difference of one or two cents is normal and not an error.

Common mistakes to avoid

The most common error is forgetting to add 1 before dividing. If you have a total of $54.50 and a 9% tax rate, dividing by 0.09 alone gives you the wrong answer. You must divide by 1.09 (which is 1 + 0.09).

Another mistake is using the percentage instead of the decimal. Dividing by 9 instead of 0.09 will give you a number that is far too large.

A third error is subtracting in the wrong direction. The tax is always the smaller number. If you subtract the total from the original price, you get a negative number, which signals you reversed them.

Frequently Asked Questions

Why does my receipt show a different tax amount than my calculation?

Stores round each item's tax to the nearest cent before adding them up. If you calculate tax on the total instead of on each item, you might get a slightly different result — usually off by a penny or two. This is normal and not an error.

Do I need to calculate tax if I am buying groceries?

It depends on your state. Some states do not tax groceries at all. Others tax some items (like prepared food or soda) but not others (like raw vegetables). Check your receipt or your state's tax rules to know for sure.

What if the tax rate has changed since I made the purchase?

Use the rate that was in effect when you bought the item, not the current rate. Your receipt shows the rate applied. If you do not have the receipt, search for the historical rate in your area on that date.

Can I use this method to calculate tax on online purchases?

Yes, the math is the same. Online retailers show the tax amount on your order confirmation, so you can verify your calculation. Tax rates for online purchases depend on your shipping address and the seller's location, which vary by state.

What if an item was discounted before tax was added?

Tax is calculated on the discounted price, not the original sticker price. So if a $50 item is 20% off, the tax applies to $40. Your receipt shows the discounted price, so use that as your starting point for any calculation.