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 tax rate, then add that number to the original price.
If an item costs $100 and the sales tax rate is 8%, you multiply $100 by 0.08 to get $8. Then you add $8 to $100 to get $108 as your final cost. Most stores do this calculation for you at checkout, but knowing how to do it yourself helps you budget and catch errors on receipts.
The tax rate varies by location. Some states have no sales tax at all. Others charge between 4% and 10% depending on the state and sometimes the city or county where you make the purchase. A few items — like groceries or prescription medications — are often exempt from sales tax in many states, meaning you pay only the base price.
Key Takeaways
- Multiply the item price by the tax rate as a decimal (8% becomes 0.08) to find the tax amount, then add it to the original price.
- Sales tax rates differ by state and sometimes by city or county, so the same item costs different amounts in different places.
- Some items like groceries, medicine, and clothing are tax-exempt in certain states, meaning you pay no sales tax on them.
- You can calculate tax before you shop by converting the percentage to a decimal and multiplying, or use an online calculator if you want to skip the math.
Converting percentages to decimals for the calculation
The key step that trips people up is turning the percentage into a decimal. A percentage is always divided by 100, so 8% becomes 0.08, and 6.5% becomes 0.065. Once you have the decimal, multiply it by the price.
Here are some common rates converted to decimals: 5% = 0.05, 7% = 0.07, 9% = 0.09, 10% = 0.10. If your state or city has a combined rate like 8.25%, that becomes 0.0825. The decimal always has the same number of digits as the percentage, just moved two places to the left.
Practice with a real example: a shirt costs $40 and the tax rate is 7%. Convert 7% to 0.07. Multiply $40 × 0.07 = $2.80. Add $2.80 to $40 to get $42.80 as your final cost. Once you do this a few times, it becomes automatic.
Working backwards from the total to find the tax amount
Sometimes you see a receipt with a total but want to know how much was tax. You can reverse the calculation. If you know the final total and the tax rate, divide the total by (1 + the tax rate as a decimal).
For example, your receipt shows $54 total and you know the tax rate is 8%. Divide $54 by 1.08 to get $50 as the original price. Then subtract: $54 − $50 = $4 in tax. This is useful if you want to track how much you actually spent on the item itself versus what went to tax.
Tax rates by state and local variations
The United States has no federal sales tax, so the rate depends entirely on where you live and where you shop. Alaska, Delaware, Montana, New Hampshire, and Oregon have no state sales tax at all. If you buy something in those states, you pay only the item price with no tax added.
Most other states charge between 4% and 7.5% as a base rate. On top of that, many cities and counties add their own local tax. For example, California's state rate is 7.25%, but some cities add 1% or more, bringing the total to 8% or higher. The only way to know your exact rate is to check your state's tax website or ask a store clerk in your area.
Some states also tax groceries, while others do not. A few states tax clothing, and some do not. These rules vary widely, so an item that is tax-free in one state might be taxed in another. When you move or shop in a new location, it is worth checking what is and is not taxed.
Items that are often exempt from sales tax
Many states do not charge sales tax on essential items. Groceries — including bread, milk, vegetables, and meat — are tax-exempt in most states. Prescription medications are almost always tax-free. Some states also exempt over-the-counter medicines, though this varies.
Clothing is tax-exempt in several states, though the rules differ. Some states tax all clothing, some tax none, and some tax only items above a certain price (for example, clothing over $110 per item). Medical equipment like wheelchairs and hearing aids is often exempt. Again, the specifics depend on your state.
Services are usually not taxed, even though products are. If you pay a plumber to fix a leak, you typically do not pay sales tax on the labor. But if you buy a pipe to fix it yourself, you do pay tax on the pipe. The distinction between goods and services matters for tax purposes.
Using a calculator or online tool to check your math
If you do not want to do the math by hand, you can use a basic calculator or search for "sales tax calculator" online. Many free calculators let you enter the item price and your tax rate, and they show you the tax amount and final total when ready.
Some calculators also let you enter your state or zip code and automatically fill in the correct tax rate for your area. This saves time if you shop in a place where you do not know the rate. A few retailers and tax websites also offer calculators that account for tax-exempt items, so you can see what you will actually pay before you check out.
Common mistakes when calculating sales tax
The most common error is forgetting to convert the percentage to a decimal. If you multiply $100 by 8 instead of 0.08, you get $800 in tax instead of $8. Always move the decimal point two places to the left when you convert a percentage.
Another mistake is adding the tax rate to the price instead of multiplying. If an item is $50 and the tax is 8%, you do not add 8 to 50 to get 58. You multiply $50 by 0.08 to get $4, then add $4 to $50 to get $54. The tax is a percentage of the price, not a fixed amount.
A third error is assuming the same tax rate everywhere. If you shop in different cities or states, the rate changes. Always check the rate for your location before you calculate, or look at your receipt after you shop to see what rate was actually used.
Frequently Asked Questions
Do I have to pay sales tax on 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 a different state. A few states have no sales tax, so online purchases there are not taxed. Check your state's rules or look at your receipt to see if tax was added.
What if the receipt shows a different tax amount than my calculation?
Rounding can cause small differences. If you calculate $4.00 in tax but the receipt shows $3.99 or $4.01, that is normal. Stores round to the nearest cent. If the difference is larger, ask the cashier to explain the rate they used — you may have used the wrong percentage for your area.
Can I deduct sales tax from my income taxes?
You cannot deduct sales tax on personal purchases. However, if you own a business, you may be able to deduct sales tax you paid on business supplies or equipment. Talk to a tax professional or check the IRS website for rules specific to your situation.
How do I find the sales tax rate for my area?
Search your state's name plus "sales tax rate" online, or visit your state's Department of Revenue website. You can also call a local store and ask them what rate they charge. If your city or county adds local tax on top of the state rate, the store clerk can tell you the combined total.
Is sales tax the same everywhere in my state?
No. Most states have a base rate, but cities and counties often add their own local tax on top. You might pay 7% in one city and 8.5% in another city 20 miles away. Always check the rate for the specific place where you are shopping.