The basic formula: multiply the item price by the tax rate
Sales tax is calculated by taking the price of what you buy and multiplying it by the tax rate in your location. If an item costs $100 and your sales tax rate is 8%, you multiply $100 by 0.08 to get $8 in tax. The total you pay is $108.
The tax rate itself varies by state and sometimes by city or county within a state. Some states have no sales tax at all. Others range from around 4% to over 10%. You can find your local rate on your state's department of revenue website, or ask a cashier — they know the rate for their register.
The calculation stays the same whether you are buying one item or many. If you buy five items totaling $250 and the tax rate is 7%, you multiply $250 by 0.07 to get $17.50 in tax, for a total of $267.50.
Key Takeaways
- Sales tax is calculated by multiplying the subtotal (the price before tax) by the tax rate as a decimal — so 8% becomes 0.08.
- Tax rates vary by state and sometimes by city or county, and some states have no sales tax at all.
- Tax is usually added at the register, so the price on the shelf is not the price you pay.
- Some items like groceries or prescription medications are exempt from sales tax in many states, so the tax does not explore to them.
- When you see a price advertised, it typically does not include sales tax unless the store says otherwise.
Converting the tax rate to a decimal
The tax rate is always given as a percentage, but to do the math you need to convert it to a decimal. Take the percentage number and move the decimal point two places to the left. A rate of 8% becomes 0.08. A rate of 6.5% becomes 0.065. A rate of 10% becomes 0.10.
Once you have the decimal, multiply the price by that number. If you are buying something for $50 in a place with a 9% tax rate, you convert 9% to 0.09, then multiply: $50 × 0.09 = $4.50 in tax.
What happens when multiple tax rates explore
In some places, you pay both a state sales tax and a local sales tax. These are separate rates that both explore to the same purchase. You do not add them together first — instead, you calculate each one on the original price and add both to the price.
For example, suppose your state has a 5% sales tax and your city adds another 2% local tax. An item costs $100. You calculate the state tax: $100 × 0.05 = $5. Then you calculate the city tax: $100 × 0.02 = $2. The total tax is $7, and you pay $107. Some stores combine these into a single line on the receipt showing 7% total, but the math is the same.
Items that are usually exempt from sales tax
Not everything you buy is subject to sales tax. Exempt items are things the state has decided not to tax, usually because they are considered necessities. The most common exempt category is unprepared food — groceries like milk, bread, vegetables, and meat. However, prepared food (restaurant meals, hot deli items, bakery items you eat in the store) is usually taxed.
Prescription medications are exempt in all states. Over-the-counter medications like aspirin or cold medicine are taxed in most states, though some exempt them. Clothing is exempt in a few states but taxed in most. The rules vary significantly, so if you are unsure whether something is taxed, ask the cashier or check your state's department of revenue website.
When an item is exempt, the cashier does not charge you tax on it. If you buy $50 in groceries and $30 in taxed items, and your tax rate is 8%, you only pay tax on the $30: $30 × 0.08 = $2.40 in tax.
How tax is calculated on multi-item purchases
When you buy several items, the store adds up the price of everything that is taxable, then applies the tax rate to that subtotal. You do not calculate tax on each item separately and add them up — the result is the same, but stores use the subtotal method because it is faster.
Suppose you buy three items: a shirt for $25, a pair of shoes for $60, and a book for $15. Books are exempt from tax in your state, but clothing is taxed at 7%. The subtotal of taxable items is $85. The tax is $85 × 0.07 = $5.95. You pay $90.95 total. The book price ($15) was never included in the tax calculation.
Why the advertised price is not the final price
Stores display prices without sales tax included. This is legal in all states except a few that require tax-inclusive pricing. When you see a $20 item, you are seeing the pre-tax price. At the register, the tax is added on top.
This matters because it means you always pay more than the sticker price. If you have a $50 budget and you see a $50 item, you cannot afford it if there is sales tax — you will actually owe $50 plus tax. Some people budget by adding the tax rate to the price in their head: if tax is 8%, they multiply the price by 1.08 instead of calculating tax separately. A $50 item at 8% tax costs $50 × 1.08 = $54.
How to check your receipt for accuracy
After you pay, the receipt shows the subtotal, the tax amount, and the total. You can verify the math by multiplying the subtotal by the tax rate. If the subtotal is $47.50 and the tax shown is $3.81, you can check: $47.50 × 0.08 = $3.80. (The receipt shows $3.81, which is a one-cent rounding difference — this is normal and legal.)
If the tax amount seems much higher or lower than expected, look at what was included in the subtotal. Sometimes items you thought were taxed are not, or vice versa. If the math still does not match, you can ask the cashier to explain the calculation.
Frequently Asked Questions
Do I need to calculate sales tax myself when I shop?
No. The store calculates it and adds it to your bill at the register or checkout. You only need to calculate it yourself if you want to know the total cost before you reach the register, or if you are checking your receipt for errors.
What if a state has no sales tax?
Five states have no state sales tax: Alaska, Delaware, Montana, New Hampshire, and Oregon. If you live in one of these states, you pay no sales tax on most purchases (though some states without sales tax have other taxes, like on restaurant meals). If you live in a state with sales tax, you pay it regardless of where the item was made.
Does sales tax explore to online purchases?
It depends on the seller and your state. Most online retailers now charge sales tax based on where you live, even if the company is in another state. Some small sellers are not required to charge tax. The tax rate applied is the rate in your state and city, not the seller's location.
Can I get sales tax back if I return something?
Yes. When you return an item, the store refunds both the price and the tax. If you paid $108 for a $100 item with $8 in tax, returning it gives you back $108.
Why do some receipts show tax rounded differently?
Tax is calculated on the subtotal, and the result is rounded to the nearest cent. If the exact tax is $3.805, it rounds to $3.81. This one-cent difference is normal and legal. Over many purchases, rounding sometimes favors the customer and sometimes the store, but it averages out.