The Basic Formula for Sales Tax
Sales tax is a percentage of the purchase price that you add to the total amount you pay. The formula is straightforward: multiply the price of the item by the sales tax rate, then add that number to the original price.
Here is the math in order. First, take the item price and multiply it by the tax rate as a decimal. If the tax rate is 7%, convert that to 0.07. If an item costs $50 and the tax rate is 7%, multiply $50 × 0.07 = $3.50. That $3.50 is the tax amount. Then add it to the original price: $50 + $3.50 = $53.50 total.
Most receipts show this calculation already done for you, but knowing how it works helps you catch errors and plan your budget before you reach the register.
Key Takeaways
- Sales tax is calculated by multiplying the item price by the tax rate expressed as a decimal, then adding that result to the original price.
- Tax rates vary by state and sometimes by city or county, so the same item costs different amounts depending on where you buy it.
- Some items are taxed at a lower rate or not taxed at all, depending on state law — groceries and prescription medications are common exceptions.
- You can estimate your total cost before shopping by adding the tax rate to the item price in your head or on a calculator.
- Your receipt always shows the tax amount separately, so you can verify the math if you want to check the store's calculation.
Finding Your Local Sales Tax Rate
Sales tax rates are set by state, and many states also allow cities and counties to add their own tax on top. This means the rate you pay depends on exactly where you are shopping, not just which state.
The easiest way to find your rate is to look at a recent receipt from a store in your area. The tax rate will be printed on it. If you do not have a receipt, search online for "[your city] sales tax rate" or "[your county] sales tax rate." Your state's Department of Revenue website also lists all rates by location.
Some states have no sales tax at all — Alaska, Delaware, Montana, New Hampshire, and Oregon do not charge state sales tax, though some cities in those states may still charge local tax. If you live in one of these states, your rate may be 0% or a small local amount.
Items That Are Taxed Differently or Not at All
Not everything you buy is taxed at the standard rate. Many states exempt certain items from sales tax or tax them at a lower rate. The most common exemptions are groceries, prescription medications, and medical equipment.
However, what counts as a "grocery" varies by state. In most states, unprepared food you cook at home is not taxed, but prepared food from a deli counter or restaurant is taxed. Some states tax candy and soda differently than other groceries. Prescription drugs are almost always exempt, but over-the-counter medications like pain relievers are often taxed.
Clothing is taxed in most states, but a few states exempt it or tax it at a lower rate. If you are unsure whether a specific item is taxed in your state, ask the cashier or check your state's Department of Revenue website for a list of exempt items.
Calculating Tax on Multiple Items
When you buy more than one item, you add up all the prices first, then calculate the tax on the total. Do not calculate tax on each item separately and add those taxes together — the result is the same, but it is more work.
For example, if you buy a $20 shirt, a $15 pair of socks, and a $30 pair of pants, your subtotal is $65. If the tax rate is 8%, multiply $65 × 0.08 = $5.20 in tax. Your total is $65 + $5.20 = $70.20.
The only exception is if some items are not taxed. If the socks are exempt from tax but the shirt and pants are taxed, you would calculate tax only on the $50 subtotal of taxed items, not on the full $65. This is why your receipt sometimes shows different tax rates or tax-exempt items listed separately.
Using a Calculator or Spreadsheet
For large purchases or when you are shopping for a business, using a calculator or spreadsheet is faster and more accurate than doing the math by hand. Most smartphones have a built-in calculator app.
The formula in a spreadsheet is simple. If the item price is in cell A1 and the tax rate (as a decimal) is in cell B1, type this formula in cell C1: =A1*(1+B1). This multiplies the price by 1 plus the tax rate, giving you the total in one step. For example, if A1 contains 50 and B1 contains 0.07, the result is 53.50.
If you are tracking multiple purchases, list each item price in column A, put the tax rate in a single cell you reference for all rows, and copy the formula down. This way, if the tax rate changes, you only update one cell and all totals recalculate automatically.
Common Mistakes When Calculating Sales Tax
The most common error is forgetting to convert the percentage to a decimal. If the tax rate is 7%, you must use 0.07, not 7. Using 7 instead of 0.07 makes your tax amount 100 times too large.
Another mistake is calculating tax on the tax. Once you have the tax amount, add it to the original price — do not calculate tax again on that total. The tax is only on the item price, not on itself.
A third error happens when some items are exempt. Make sure you only calculate tax on the items that are actually taxed in your state. If you are unsure, ask the cashier or check before you calculate.
Budgeting With Sales Tax in Mind
When you are planning a purchase and want to know what you will actually pay, add the sales tax to your budget. If you have $100 to spend and the tax rate is 8%, you can afford items totaling about $92.59, because $92.59 × 1.08 = $100.
A quick way to estimate is to round the tax rate. If the rate is 7% to 8%, add roughly 8% to the price in your head. If the rate is 9% to 10%, add roughly 10%. This gives you a close estimate without needing a calculator.
For regular shopping, many people simply round up to the nearest dollar or add a small amount to their mental total to account for tax. This prevents the surprise of not having enough money at the register.
Frequently Asked Questions
Do I calculate sales tax on the original price or on a discounted price?
Sales tax is calculated on the price you actually pay after any discounts are applied. If an item is marked down from $100 to $80, you calculate tax on the $80, not the $100. The discount reduces both the item price and the tax amount.
What if the tax calculation gives me a number with more than two decimal places?
Stores round to the nearest cent. If the tax comes out to $5.234, it rounds to $5.23. If it comes out to $5.235, it rounds to $5.24. Your receipt will show the rounded amount, which is what you actually pay.
Can I get sales tax refunded if I return an item?
Yes. When you return an item, the refund includes both the item price and the tax you paid on it. Your refund is for the full amount shown on the receipt, including tax.
Is sales tax the same online as it is in a store?
Online sales tax rules vary by state and by the seller's location. Some online retailers charge sales tax based on where you live, others based on where they are located, and some charge no tax. Check the total before you complete an online purchase to see whether tax is included.
How do I know if a store calculated the tax correctly?
Take the subtotal shown on your receipt, multiply it by the tax rate, and compare it to the tax amount printed. If your calculation matches the receipt, the tax is correct. If it does not match by more than a cent or two, ask the cashier to check.