Sales tax is a percentage added to the price of goods at checkout
When you buy something in a store, the price on the shelf is not the price you pay. Sales tax is a percentage that your state, county, or city adds to that price at the register. The amount varies by location — some states have no sales tax at all, while others charge up to 10 percent or more. The tax goes to state and local governments, not to the store.
The basic math is straightforward: multiply the price before tax by the tax rate, then add that amount to the original price. If an item costs $100 and the sales tax rate is 7 percent, you multiply $100 by 0.07 to get $7, then add it to $100 for a total of $107.
Key Takeaways
- Sales tax rates vary by state and sometimes by county or city within a state, ranging from zero to over 10 percent.
- To calculate sales tax, multiply the pre-tax price by the tax rate as a decimal (for example, 8 percent becomes 0.08).
- Not all items are taxed the same way — groceries, medicine, and clothing may be taxed at different rates or not taxed at all depending on your state.
- The total price you pay at checkout includes the sales tax, so the register total will always be higher than the shelf price.
The basic formula for calculating sales tax
The calculation has three steps. First, identify the pre-tax price — the amount shown on the shelf or in the listing. Second, convert the tax rate to a decimal by dividing by 100. A 6 percent tax becomes 0.06; a 9.5 percent tax becomes 0.095. Third, multiply the pre-tax price by that decimal.
Here are three examples:
- Item costs $50, tax rate is 5 percent. $50 × 0.05 = $2.50 in tax. Total: $52.50.
- Item costs $200, tax rate is 8.5 percent. $200 × 0.085 = $17. Total: $217.
- Item costs $75.99, tax rate is 7 percent. $75.99 × 0.07 = $5.32 in tax. Total: $81.31.
Most checkout systems do this automatically, but understanding the math helps you spot errors and budget for the true cost of a purchase.
Why sales tax rates differ by location
Sales tax is not uniform across the country. Five states — Alaska, Delaware, Montana, New Hampshire, and Oregon — have no state sales tax. Every other state has a state rate, and many allow counties or cities to add their own local tax on top of that.
For example, Colorado has a state sales tax of 2.9 percent, but Denver adds 3.62 percent on top of that, bringing the total to 6.52 percent. In California, the state rate is 7.25 percent, but some counties add up to 2.25 percent more. When you buy something, you pay the combined rate for that specific location.
This is why the same item costs different amounts in different cities, even within the same state. Before making a large purchase, check what the total tax rate is where you live — your state's revenue or tax department website lists both state and local rates by county or city.
Items that are taxed differently or not at all
Not everything you buy is subject to the same tax rate. Most states exempt groceries — items like milk, bread, and vegetables — from sales tax or tax them at a lower rate. Prescription medicine is almost always exempt. Clothing is tax-free in some states and taxed in others.
Services are often treated differently from goods. A haircut, car repair, or plumbing service may be taxed at a different rate or not taxed at all, depending on your state. Online purchases have their own rules: if the seller has a physical location in your state, they must collect sales tax; if they do not, the rules are more complicated and vary by state.
When you are unsure whether something will be taxed, ask the cashier or check your state's tax department website. The exemptions matter most when you are budgeting for regular expenses like food or medicine.
How to find the sales tax rate for your area
Your state's revenue, taxation, or finance department maintains a list of current sales tax rates by county and city. Search "[your state] sales tax rate" and look for the official government site — not a private tax calculator, which may be outdated.
The rate you need is the combined state and local rate for your specific address. If you live in one city and work in another, the rate that applies is the one where the purchase happens, not where you live. If you order something online for delivery to your home, the rate is based on your home address.
Rates change occasionally when local governments adjust their budgets, so if you have not checked in a year or two, it is worth looking again, especially before a major purchase.
What happens when you buy multiple items
When you buy more than one thing, the store calculates tax on the total pre-tax price, not on each item separately. If you buy a $30 shirt and a $20 pair of pants in a state with 7 percent tax, the math is: ($30 + $20) × 0.07 = $3.50 in tax, for a total of $53.50.
The exception is when some items are exempt from tax and others are not. If you buy $30 in groceries (no tax) and $20 in household supplies (taxed), the tax applies only to the $20. The register handles this automatically if the items are coded correctly, but errors happen. If you see a charge that seems wrong, ask the cashier to explain it.
Frequently Asked Questions
Is the price on the shelf the price I pay?
No. The shelf price does not include sales tax. The price you pay at checkout will be higher by the amount of tax for your location. This is why budgeting for a purchase means adding the tax rate to the shelf price.
Do I pay sales tax on everything?
No. Groceries, prescription medicine, and some other items are exempt in most states. Clothing is tax-free in some states but taxed in others. Services like haircuts or repairs may be taxed differently than goods. Check your state's rules for items you buy regularly.
What if the tax charged at checkout does not match my calculation?
Small differences can happen due to rounding, especially with multiple items. If the difference is more than a few cents, ask the cashier to show you the breakdown. Errors are rare but do occur if items are coded wrong in the register.
Do I pay sales tax on online purchases?
It depends on the seller and your state. If the seller has a physical location in your state, they must collect sales tax based on your delivery address. If they do not, the rules vary — some states require you to pay tax yourself when you file your return, but most do not enforce this for individual purchases.
Can I get sales tax back?
In most cases, no. Sales tax is final once you pay it. Some states offer tax refunds for specific situations like business purchases or items bought for resale, but these are rare and require paperwork. Tourists visiting some states can sometimes get refunds on large purchases, but this varies by location.