Skip to main content

HomeAll guides

How to Calculate Sales Tax on Your Purchase

The basic formula: multiply the price by the tax rate

Sales tax is a percentage of the purchase price that you owe to your state or local government at the point of sale. To calculate it, you multiply the item's price by the tax rate as a decimal. For example, if an item costs $50 and the sales tax rate is 8%, you multiply $50 by 0.08 to get $4 in tax. Your total cost is $50 + $4 = $54.

The tax rate varies by location. Some states have no sales tax at all (Alaska, Delaware, Montana, New Hampshire, and Oregon). Other states charge between 4% and 7.25%. Many cities and counties add their own local tax on top of the state rate, so the total can range from 0% to over 10% depending on where you live and what you buy.

Most modern cash registers and online shopping carts calculate this automatically, but understanding how it works helps you budget correctly and catch errors on receipts.

Key Takeaways

  • Sales tax is calculated by multiplying the item price by the tax rate expressed as a decimal (so 8% becomes 0.08).
  • Tax rates vary by state and often by city or county within that state, ranging from 0% to over 10%.
  • Some items are exempt from sales tax in most states, including groceries, prescription medications, and medical devices.
  • The tax is added to the price at checkout, so the final amount you pay is higher than the sticker price.

Converting a percentage to a decimal for the calculation

The key step that trips people up is converting the tax rate from a percentage into a decimal. A percentage is just a number out of 100, so you divide by 100 to get the decimal form. If the tax rate is 7%, divide 7 by 100 to get 0.07. If it's 9.5%, divide 9.5 by 100 to get 0.095.

Once you have the decimal, multiply it by the price. A $200 purchase in a place with 9.5% tax would be $200 × 0.095 = $19 in tax, for a total of $219. You can also think of it as moving the decimal point two places to the left: 9.5% becomes .095.

Finding your local sales tax rate

Your state's tax rate is public information, but the total rate you actually pay depends on your exact location. A city or county may add its own tax on top of the state rate. For example, Colorado's state rate is 2.9%, but Denver adds 3.62%, making the total 6.52% in that city.

The easiest way to find your rate is to check your most recent receipt — the tax rate is usually printed on it. You can also search "[your city] sales tax rate" online, or contact your local tax assessor's office. Many state revenue departments publish tax rate tables by ZIP code or city.

Items that are usually exempt from sales tax

Not everything you buy is subject to sales tax. Most states exempt groceries (unprepared food), prescription medications, and medical devices like hearing aids or glucose monitors. Some states also exempt clothing, though the rules vary — a few states tax all clothing, while others only tax items above a certain price.

Services are often treated differently from goods. A haircut or car repair may not be taxed in your state, even though the shampoo or parts you buy would be. The rules are state-specific, so what's exempt where you live may be taxed somewhere else. If you're unsure whether something should be taxed, ask the cashier or check your state's revenue department website.

How tax is calculated on multiple items

When you buy more than one item, the tax is calculated on the total of all taxable items, not on each item separately. If you buy a $30 shirt and a $20 pair of pants in a place with 8% tax, you add them first ($50), then multiply by 0.08 to get $4 in tax. The final bill is $54.

The only exception is if some items are exempt and others are not. If you buy a $30 shirt (taxable) and a $20 prescription medication (exempt), the tax applies only to the $30 shirt. You'd pay $30 × 0.08 = $2.40 in tax, for a total of $52.40. The register handles this automatically if the items are coded correctly in the system.

Why the price tag doesn't match what you pay

In the United States, prices displayed on shelves and tags do not include sales tax. The sticker price is the pre-tax price. This is different from many other countries, where the displayed price is the final price you pay. It means you always owe more at checkout than the tag says, which catches many shoppers off guard.

This is why it's useful to do a quick mental calculation while shopping. If you see a $100 item and your local tax rate is 8%, budget for about $108 at the register. This habit helps you stay within your budget and avoid surprises at checkout.

Sales tax on online and mail orders

Online shopping complicates the picture because tax rules depend on where the seller is located and where you live. For many years, online retailers only charged sales tax if they had a physical location in your state. That changed in 2018 when the U.S. Supreme Court ruled that states could require online sellers to charge tax even without a physical presence.

Today, most large online retailers charge sales tax based on your delivery address. However, the rules are still evolving, and some smaller sellers may not charge tax. If you don't see tax added at checkout, you may owe it when you file your state tax return, though most states don't actively pursue this. Check your state's revenue department website for the current rules in your area.

Frequently Asked Questions

How do I calculate sales tax in my head?

Move the decimal point two places to the left to convert the percentage to a decimal, then multiply. For 7% tax on a $50 item: 7% becomes 0.07, and $50 × 0.07 = $3.50 in tax. If the math is tricky, round the price up or down to make it easier — a $49 item at 7% is roughly $3.50 in tax, so budget about $52.50 total.

Is sales tax the same everywhere in my state?

No. Most states have a base rate, but cities and counties add their own local tax on top. Two towns 20 miles apart can have different total rates. Check your receipt or search your specific city to find the exact rate where you shop.

Can I get sales tax refunded if I return an item?

Yes. When you return an item, the store refunds both the price and the tax you paid on it. The refund appears as a credit on your receipt or back to your payment method.

Do I pay sales tax on used items?

It depends on the state and the type of item. Most states tax used goods sold by a business the same way they tax new goods. Private sales between individuals are usually not taxed. Check your state's rules if you're buying used items from a dealer or online marketplace.

What happens if a store charges me the wrong tax amount?

Ask the cashier or manager to correct it on the spot. If you notice the error after you leave, bring your receipt back and the store will refund the difference. Keep receipts for a few days in case you spot a mistake when you review them at home.

This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.