The Basic Formula for Sales Tax

Sales tax is calculated by multiplying the price of what you buy by the tax rate for your location. The formula is: Purchase Price × Tax Rate = Sales Tax Amount. Then you add that tax to the original price to get your total cost.

For example, if you buy an item for $100 in a place with a 7% sales tax rate, you multiply $100 by 0.07 to get $7 in tax. Your total cost is $107. The tax rate is expressed as a decimal (7% becomes 0.07), which is why the multiplication works.

Most stores show you the tax separately on your receipt, but knowing how to do it yourself helps you budget and catch errors. The tax rate depends entirely on where you make the purchase — your city, county, and state all add their own layers.

Key Takeaways

  • Sales tax is calculated by converting the tax rate to a decimal and multiplying it by the purchase price, then adding that amount to the original price.
  • Tax rates vary by location and can include state tax, county tax, and city tax stacked together, so the same item costs different amounts in different places.
  • Some items are tax-exempt in most states, including groceries, prescription medications, and medical equipment, though the rules differ by state.
  • When you see a price tag in a store, it usually does not include sales tax, so you need to add the local rate to know what you will actually pay.
  • Online purchases are taxed based on where the seller is located or where you live, depending on state law, which is why the same item may cost more or less online than in a store.

Understanding Tax Rates and Where They Come From

Sales tax rates are not uniform across the country. A state sets a base rate, then counties and cities add their own rates on top. In Louisiana, for instance, the state rate is 4%, but some parishes add 5% or more, bringing the total to 9% or higher. In other states like Oregon, there is no sales tax at all, so you pay only the price on the tag.

When you buy something, you are paying tax at the combined rate for that specific location. If you buy groceries in one county and then drive to the next county to buy the same groceries, the tax might be different because the county rate changed. This is why the same gallon of milk costs different amounts depending on where you shop.

You can find your local sales tax rate by searching online for your city and state, or by asking a cashier. Most states publish their rates on the state revenue or taxation department website. Some websites let you enter your zip code and show you the exact combined rate.

Items That Are Usually Tax-Exempt

Not everything you buy is subject to sales tax. Most states do not tax groceries — items like bread, milk, vegetables, and meat bought for home cooking. However, prepared foods, restaurant meals, and hot foods are usually taxed, even if you buy them at a grocery store deli.

Prescription medications are tax-exempt in most states, but over-the-counter medicines like aspirin or cold medicine are often taxed. Medical equipment such as wheelchairs, hearing aids, and diabetic supplies may be exempt, though the rules vary. Some states exempt clothing, but others do not.

The safest approach is to check your state's tax rules if you are unsure about a specific item. State revenue departments publish lists of what is and is not taxed. When in doubt, assume an item will be taxed — you will be pleasantly surprised if it is not, rather than shocked at checkout.

How to Calculate Tax on Multiple Items

When you buy several items, you can calculate the total tax two ways. The first way is to add up all the prices, then multiply the total by the tax rate. If you buy items for $50, $30, and $20 (totaling $100) in a place with 8% tax, you multiply $100 by 0.08 to get $8 in tax.

The second way is to calculate tax on each item separately, then add all the taxes together. For the same purchase, you would calculate 8% of $50 ($4), 8% of $30 ($2.40), and 8% of $20 ($1.60), then add them to get $8. Both methods give the same answer, so use whichever is easier for you.

The second method matters when some items are tax-exempt and others are not. If the $50 item is groceries (no tax) and the other two are taxable, you only calculate tax on $50, not $100. This is why your receipt sometimes shows different tax amounts for different sections of your purchase.

Sales Tax on Online and Mail Orders

Online sales tax depends on where the seller is located and where you live. If you order from a company in your state, you usually pay your local sales tax rate. If you order from a company in another state, the tax rules are more complicated and have changed in recent years.

As of 2024, most states require online sellers to collect and pay sales tax based on where you live, even if the seller is in another state. This means you pay the same tax rate whether you shop in a store or online. However, some small sellers and some states have different rules, so the tax you see at checkout may vary.

If you are ordering from outside the United States, sales tax usually does not apply, but you may owe customs duties or import taxes when the package arrives. Those are separate from sales tax and are handled by federal customs, not your state.

Common Mistakes When Calculating Sales Tax

The most common mistake is forgetting to convert the percentage to a decimal. If the tax rate is 6%, you must use 0.06 in your calculation, not 6. Using 6 instead of 0.06 will make your answer 100 times too large.

Another mistake is calculating tax on the final total instead of the subtotal. If a store shows you a subtotal of $100 and a total of $107, the tax is $7, not 7% of $107. Always multiply the original price by the tax rate, not the price after tax has been added.

A third mistake is assuming the same tax rate applies everywhere. If you travel or shop online, check the local rate for that location. Rates change by county and city, and some states have no sales tax at all. What you paid in one place will not match what you pay in another.

Using a Calculator or Spreadsheet

For quick calculations, use your phone's calculator app. Enter the price, multiply by the tax rate as a decimal, and you have your tax amount. Then add that to the original price for your total. Most people find this faster than doing it by hand.

If you shop regularly and want to track your spending, a spreadsheet works well. Create columns for item price, tax rate, and calculated tax. Once you set up the formula once, you can copy it down for every purchase. This also helps you see how much tax you pay over time.

Some budgeting apps and shopping apps calculate tax automatically if you enter your location. These are useful if you want to know the final cost before you reach the register, especially for large purchases.

Frequently Asked Questions

Do I have to pay sales tax on everything I buy?

No. Most states exempt groceries, prescription medications, and some medical equipment. A few states exempt clothing. The items that are taxed depend on your state and sometimes your county. Check your state's tax rules or ask the cashier if you are unsure about a specific item.

Why is the price on the tag different from what I pay at the register?

The price tag shows the item's cost before sales tax. When you check out, the cashier adds your local sales tax to that price. This is why the total is higher than the tag price. Some states require stores to show the tax-included price, but most do not.

What if I buy something online from another state?

You usually pay sales tax based on where you live, not where the seller is located. Most online sellers now collect tax for your state automatically at checkout. If they do not, you may owe tax to your state, though enforcement is rare for individual purchases.

Can I get a refund on sales tax I already paid?

In most cases, no. Sales tax is final once you pay it. However, if you return an item and get a refund, the store refunds the tax along with the purchase price. Some states offer tax refunds for specific situations like business purchases, but these are rare and require paperwork.

How do I know the tax rate for my area?

Search online for your city and state plus "sales tax rate," or visit your state's revenue or taxation department website. Many sites let you enter your zip code and show the exact combined rate. You can also ask a cashier at any store in your area.