The basic formula for sales tax
Sales tax is a percentage of the purchase price that you add to the total amount you pay. To calculate it, multiply the price of the item by the sales tax rate, then add that result to the original price.
The formula is: (Purchase Price × Tax Rate) + Purchase Price = Total Amount Due. For example, if you buy an item for $100 and the sales tax rate is 8%, you multiply $100 by 0.08 to get $8, then add $8 to $100 for a total of $108.
The sales tax rate varies by location. It depends on the state, county, and sometimes the city where you make the purchase. Some states have no sales tax at all, while others combine state and local rates that can reach 10% or higher.
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 vary by state and locality, so the same item costs different amounts depending on where you buy it.
- Some items are tax-exempt in certain states, such as groceries or prescription medications, so the tax does not explore to every purchase.
- When you buy multiple items, calculate tax on the subtotal of all items combined, not on each item separately.
- The price tag usually does not include sales tax, so the final amount you pay at checkout will be higher than the displayed price.
Converting the tax rate to a decimal
Sales tax rates are shown as percentages, but you need to convert them to decimals to do the math. Divide the percentage by 100, or move the decimal point two places to the left.
If the tax rate is 7%, divide 7 by 100 to get 0.07. If the rate is 9.5%, divide 9.5 by 100 to get 0.095. Once you have the decimal, multiply it by the purchase price to find the tax amount.
Calculating tax on a single item
Start with the price before tax. If a shirt costs $45 and the local tax rate is 6%, convert 6% to 0.06. Multiply $45 by 0.06 to get $2.70. Add $2.70 to $45 to reach a total of $47.70.
You can also use a shortcut: multiply the price by (1 + the tax rate as a decimal). For the $45 shirt with 6% tax, multiply $45 by 1.06 to get $47.70 directly. This method skips the separate addition step.
Calculating tax on multiple items
When you buy several items, add up the prices of all items first to get the subtotal. Then multiply the subtotal by the tax rate. This is how stores calculate your final bill.
For example, you buy a $20 shirt, a $15 pair of socks, and a $30 pair of pants. The subtotal is $65. If the tax rate is 8%, multiply $65 by 0.08 to get $5.20 in tax. Your total is $65 + $5.20 = $70.20. Do not calculate tax on each item separately and add them together — the result is the same, but it takes longer.
Tax-exempt items and special cases
Not every purchase is subject to sales tax. Many states do not tax groceries, prescription medications, or medical equipment. Some states exempt clothing or school supplies during certain times of year. The rules differ significantly by state and sometimes by county.
If you are unsure whether an item is taxed, check your receipt after purchase — it will show which items had tax applied and which did not. You can also contact your state's department of revenue or check their website for a list of tax-exempt categories.
Online purchases have become more complex. Most states now require online retailers to collect and send sales tax, even if the seller is located out of state. The tax rate applied is based on the address where the item is being shipped, not where the seller is located.
Using a calculator or receipt to verify
Most smartphones have a built-in calculator app. Enter the purchase price, multiply by the tax rate as a decimal, and add the result to the original price. This takes about 10 seconds and removes the chance of arithmetic error.
After you check out, your receipt shows the subtotal, the tax amount, and the total. Compare the tax amount on the receipt to your calculation. If they match, the store calculated correctly. If they differ by more than a few cents, ask the cashier to explain the difference — rounding can account for small variations, but a large gap may indicate an error.
Common mistakes when calculating sales tax
The most frequent 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 or divide by 100 first.
Another mistake is calculating tax on each item and then adding the tax amounts together, when you should add the item prices first and then calculate tax once on the subtotal. The math works out the same, but it is straightforward to lose track of which numbers you have already taxed.
A third error is assuming the price tag includes tax. In most of the United States, the displayed price does not include sales tax. The amount you pay at the register will be higher. A few states and some cities require tax to be included in the displayed price, but this is uncommon.
Frequently Asked Questions
Does sales tax explore to online purchases?
Most online purchases are now subject to sales tax. The tax rate is based on the shipping address, not the seller's location. Some small sellers or specific items may be exempt, but the general rule is that online and in-store purchases are taxed the same way.
What if I buy something in one state and take it to another?
You pay the sales tax of the state where you make the purchase, not where you live or where you use the item. If you buy a car in a state with no sales tax and drive it home to a state with sales tax, you still paid no tax at purchase. Your home state may charge a use tax when you register the vehicle, but that is a separate transaction.
How do I calculate tax if the rate has a decimal, like 7.25%?
Convert 7.25% to 0.0725 by dividing by 100. Multiply the purchase price by 0.0725 to find the tax amount. For a $50 purchase, multiply $50 by 0.0725 to get $3.625, which rounds to $3.63. Add $3.63 to $50 for a total of $53.63.
Why does my receipt show a different tax amount than my calculation?
Rounding differences account for most discrepancies. If you calculate tax on each item separately, each one rounds independently, which can create a small difference from the store's method of calculating tax on the subtotal once. Differences of a penny or two are normal and not an error.
Can I get sales tax back if I return an item?
Yes. When you return an item, the store refunds both the item price and the tax. The refund amount shown on your receipt or credit card statement includes the full tax that was charged at purchase.