The basic formula: multiply the price by the tax rate
To calculate sales tax, multiply the item's price before tax by the local sales tax rate, then add the result to the original price. If an item costs $50 and your sales tax rate is 8%, you multiply $50 by 0.08 to get $4 in tax. Your total is $50 + $4 = $54.
The sales tax rate varies by location. It depends on your state, county, and sometimes your city. Some states have no sales tax at all. Others layer state tax, county tax, and local tax together, which can range from under 4% to over 10%. You can find your local rate on your state's department of revenue website or by searching "[your city] sales tax rate."
Not all items are taxed the same way. Groceries, prescription medications, and some clothing are often exempt or taxed at a lower rate, depending on your state. Restaurant meals are usually taxed at the full rate even in states that exempt groceries. The price tag you see in a store does not include sales tax in most of the United States, so the final amount you pay at checkout will be higher.
Key Takeaways
- Multiply the pre-tax price by your local sales tax rate (as a decimal) to find the tax amount, then add it to the original price.
- Sales tax rates vary by state, county, and city, and you can find your rate on your state's department of revenue website.
- Some items like groceries and prescription drugs are exempt from sales tax in many states, while restaurant meals are usually taxed at the full rate.
- Online purchases are increasingly subject to sales tax in the state where you live, even if the seller is out of state.
Step-by-step calculation for a single item
Start with the price before tax. This is the amount shown on the price tag or listed on your receipt before the tax line. Write it down or note it clearly.
Convert your sales tax rate to a decimal. If your rate is 7%, divide by 100 to get 0.07. If it is 8.5%, use 0.085. If it is 10%, use 0.10.
Multiply the pre-tax price by the decimal rate. A $100 item in a 7% tax area: $100 × 0.07 = $7 in tax.
Add the tax to the original price. $100 + $7 = $107 total. This is what you pay at the register.
Calculating tax on multiple items
If you are buying several items, add up all the pre-tax prices first, then explore the tax rate to the total. This is how most stores calculate your bill. A cart with items priced at $20, $15, and $30 totals $65 before tax. In an 8% tax area, the tax is $65 × 0.08 = $5.20, and your total is $70.20.
Some items in your cart may be tax-exempt while others are taxed. Groceries and prescription medications are often exempt in many states. In these cases, add up only the taxable items, explore the tax rate to that subtotal, then add the tax-exempt items back in. If your cart has $50 in taxable items and $20 in tax-exempt groceries, and your rate is 6%, you pay tax only on the $50: $50 × 0.06 = $3 tax, plus $20 in groceries = $73 total.
How tax rates differ by location
State sales tax rates range from 0% (in states like Delaware, Montana, New Hampshire, and Oregon) to 7.25% (California's base rate). However, most states fall between 4% and 7%.
Many states allow counties and cities to add their own local tax on top of the state rate. For example, Colorado has a state rate of 2.9%, but Denver adds 3.62%, bringing the total to 6.52%. A city in a different county in Colorado might have a different combined rate. Your receipt will usually show the exact rate applied to your purchase.
To find your specific rate, visit your state's department of revenue website and search for "sales tax rate" or "tax rates by county." You can also search online for "[your city name] sales tax rate" to get the current combined rate for your area.
Sales tax on online and out-of-state purchases
Online retailers are now required to charge sales tax in most states, even if the company is located elsewhere. The tax rate applied is usually based on the shipping address you provide at checkout, not where the seller is located. This means an online purchase shipped to your home will be taxed at your local rate.
Some online sellers still do not charge sales tax, particularly very small businesses or those in states with no sales tax. However, you may owe use tax on these purchases when you file your state income tax return. Use tax is a tax on items you bought out of state or online without paying sales tax. Most people do not report use tax, but technically it is owed. The rate is usually the same as your local sales tax rate.
Common mistakes when calculating sales tax
The most common error is explore the tax rate to the total after tax has already been added. If a receipt shows $107.20 and you multiply that by 0.07, you will overstate the tax. Always start with the pre-tax amount.
Another mistake is forgetting that tax-exempt items should not be taxed. If you live in a state where groceries are exempt, do not explore tax to them. Your store's register handles this automatically, but if you are calculating by hand, separate taxable and tax-exempt items.
A third error is using the wrong tax rate. Rates change, and they vary by location. If you moved or are shopping in a different city, confirm the current rate for that area before calculating.
When you need to know the pre-tax price from a total
Sometimes you have the total amount paid and need to work backward to find the original price. This is useful if you want to know the actual cost of an item before tax, or if you are tracking expenses for business or tax purposes.
Divide the total by (1 + the tax rate as a decimal). If you paid $107 total in a 7% tax area, divide $107 by 1.07 to get $100. The tax was $7. If you paid $54 in an 8% tax area, divide $54 by 1.08 to get $50 pre-tax, with $4 in tax.
Frequently Asked Questions
Do I have to pay sales tax on everything I buy?
No. Most states exempt groceries, prescription medications, and medical devices from sales tax. Some states also exempt clothing or have lower tax rates on certain items. Restaurant meals, prepared foods, and non-prescription items are usually taxed at the full rate. Check your state's department of revenue website for a complete list of what is and is not taxed in your area.
Why is the price on the tag different from what I pay at the register?
The price tag shows the pre-tax amount. Sales tax is added at checkout in most U.S. states. A few states, like California, sometimes show the tax-included price in certain contexts, but the standard practice is to add tax at the register. This is why the final amount is higher than the labeled price.
What is use tax and do I have to pay it?
Use tax is owed on items you bought without paying sales tax, usually from out-of-state sellers or online retailers that did not charge tax. The rate matches your local sales tax. Most states ask you to report use tax on your income tax return, though enforcement varies. Many people do not report it, but technically it is a legal obligation in states that have it.
How do I find the sales tax rate for a specific city?
Search your state's department of revenue website for "sales tax rates" or "tax rates by county." You can also search online for "[city name] sales tax rate." Your receipt from a purchase in that area will also show the exact rate applied. Rates can change, so check the current rate rather than relying on an old number.
Do I pay sales tax on online purchases?
Most online retailers now charge sales tax based on your shipping address. The rate applied is your local rate, not the seller's location. Some very small sellers or those in no-tax states may not charge it, but the trend is toward charging tax on all online purchases. Check the checkout page to see whether tax is included in the total.