The basic formula: multiply the price by the tax rate
To calculate sales tax, take the price of the item before tax and multiply it by the sales tax rate for your location. The result is the amount of tax you owe. Add that tax amount to the original price to get your total cost at checkout.
The formula is: Price × Tax Rate = Sales Tax Amount, then Price + Sales Tax Amount = Total Cost.
For example, if you buy an item for $50 in a place with a 7% sales tax rate, you multiply $50 by 0.07 (which is 7% in decimal form). That gives you $3.50 in tax. Your total cost is $50 + $3.50 = $53.50.
Key Takeaways
- Multiply the item price by the tax rate as a decimal (so 7% becomes 0.07) to find the tax amount.
- Sales tax rates vary by state and sometimes by county or city, so the rate depends on where you are buying.
- Some items are taxed at a lower rate or not taxed at all in certain states, which changes the calculation.
- When you see a price tag in a store, it usually does not include sales tax, so the final cost will be higher.
- Online purchases may or may not include sales tax depending on the seller's location and your state's rules.
Converting the tax rate to a decimal
Sales tax rates are given as percentages, but to do the math you need to convert them to decimals. Move the decimal point two places to the left. A 7% rate becomes 0.07. A 10.5% rate becomes 0.105. A 5% rate becomes 0.05.
Once you have the decimal, multiply it by the price. If the item costs $120 and the tax rate is 8.5%, you multiply $120 by 0.085 to get $10.20 in tax. The total is $120 + $10.20 = $130.20.
Finding your local sales tax rate
Sales tax rates vary by state, and many states also add county or city taxes on top of the state rate. Your total rate is the combination of all layers. A state might have 5% tax, but your county adds 1.5%, making your local rate 6.5%.
You can find your rate by searching online for your state and county, or by checking your state's Department of Revenue website. Many states list rates by county or even by city. If you are shopping online, the rate that applies is usually the rate where the item is being shipped to, not where you live or where the seller is located — though this rule varies by state and seller.
When items are taxed differently
Not all items are taxed at the same rate. Many states tax groceries at a lower rate or not at all, while clothing, electronics, and other goods are taxed at the full rate. Some states do not tax clothing at all. A few states do not have sales tax.
This means you cannot use the same tax rate for every item in your cart. A $50 grocery purchase might have no tax, while a $50 clothing purchase in the same store might have 7% tax. When you are calculating your total bill, check whether each item is subject to tax in your state.
Calculating tax on multiple items
When you buy several items, you can calculate the tax two ways. The first way is to add up all the prices, then multiply the total by the tax rate. If you buy a $30 shirt, a $20 pair of pants, and a $15 hat, your subtotal is $65. At 7% tax, you owe $65 × 0.07 = $4.55 in tax, for a total of $69.55.
The second way is to calculate tax on each item separately, then add all the taxes together. This gives the same answer if all items are taxed at the same rate. However, if some items are taxed and others are not — like groceries and clothing — you must calculate each group separately. Add up all the taxable items, calculate tax on that subtotal, then add the non-taxable items to get your final total.
What happens with rounding
When you calculate sales tax, you often get a number with many decimal places. A $33.33 item at 7.25% tax comes to $2.42 in tax (rounded). Stores round to the nearest cent because you cannot pay a fraction of a cent.
Most stores round down if the third decimal place is 4 or less, and round up if it is 5 or more. This is standard rounding. When you buy multiple items, the store usually calculates tax on the entire purchase and rounds once at the end, rather than rounding each item separately. This can make a small difference in your final total.
Sales tax on online and mail orders
Online retailers are required to collect sales tax in most states, but the rules about which state's tax applies have changed in recent years. Generally, you owe tax based on where the item is being shipped, not where you live or where the company is based. However, some sellers only collect tax in states where they have a physical location or warehouse.
When you check out online, the site should show you the tax amount before you complete your purchase. If no tax appears and you are shipping to a state that has sales tax, contact the seller to ask why. In some cases, you may owe tax when you file your state tax return, though this is rare for individual purchases.
Frequently Asked Questions
Do I need to calculate sales tax myself, or does the store do it?
The store or online retailer calculates and adds sales tax automatically at checkout. You do not need to do the math yourself. However, understanding how it works helps you predict your total cost before you reach the register or checkout page.
What if the price tag does not match the total at checkout?
The difference is almost always sales tax. Price tags in stores show the pre-tax price. When you reach the register, the cashier adds the local sales tax, which is why your receipt is higher. Online sites should show the tax amount separately before you complete your order.
Can I get sales tax back if I return an item?
Yes. When you return an item, the store refunds both the price and the tax you paid. The refund appears as the full amount you paid, including tax, so you do not need to calculate anything — the register handles it.
Why is the sales tax rate different in different cities?
States allow counties and cities to add their own local sales tax on top of the state rate. A state might have 5% tax, but your city adds 2%, making your total 7%. This is why the rate changes depending on where you shop, even within the same state.
Is sales tax the same for in-store and online purchases?
The tax rate is based on where the item is shipped to, not whether you buy in a store or online. If you buy something online and have it shipped to your home, you owe the sales tax rate for your location. If you pick it up at a store in a different city, the rate for that city applies instead.