The basic formula for adding sales tax
To add sales tax to a price, multiply the pre-tax amount by the tax rate, then add that result to the original price. The formula is: Final Price = Pre-Tax Price + (Pre-Tax Price × Tax Rate).
For example, if an item costs $100 and the sales tax rate is 8%, you multiply $100 by 0.08 to get $8 in tax. Then add $8 to $100 to reach $108 total. The tax rate is always expressed as a decimal — so 8% becomes 0.08, 6.5% becomes 0.065, and so on.
Most people use a calculator or point-of-sale system to do this automatically, but understanding the math helps you verify receipts and budget for purchases.
Key Takeaways
- Convert the tax rate to a decimal by dividing the percentage by 100, then multiply the pre-tax price by that decimal to find the tax amount.
- Add the tax amount to the original price to get your final total.
- Sales tax rates vary by state and sometimes by county or city, so the same item costs different amounts in different locations.
- Some states have no sales tax, and some items like groceries or medicine are tax-exempt in certain states.
- Receipts always show the tax calculation, so you can check the math if you need to verify a charge.
Converting a percentage to a decimal
The first step is turning the tax rate percentage into a decimal. Divide the percentage by 100. So 7% becomes 0.07, 10% becomes 0.10, and 5.5% becomes 0.055.
Once you have the decimal, multiply it by the pre-tax price. If the pre-tax price is $50 and the tax rate is 7%, multiply $50 by 0.07 to get $3.50 in tax. Then add $3.50 to $50 to get $53.50 as your final price.
Working with combined tax rates
In many places, sales tax is a combination of state tax and local tax (county or city). You do not add them separately — you add them together first, then apply the combined rate to the price.
For example, if state tax is 6% and local tax is 2%, the combined rate is 8%. Convert 8% to 0.08, multiply the pre-tax price by 0.08, and add the result to the original price. The receipt will usually show the combined total as one line item, though some systems break it down by state and local portions.
Calculating tax on multiple items
When you are buying more than one item, add up all the pre-tax prices first, then apply the tax rate to that subtotal. Do not calculate tax on each item separately and then add them together — the result is the same, but it is easier to make mistakes that way.
For example, if you buy three items for $20, $15, and $10 (subtotal $45), and the tax rate is 8%, multiply $45 by 0.08 to get $3.60 in tax. Your final total is $48.60. This is how cash registers and online shopping carts work — they sum the pre-tax prices, then apply tax to the total.
Tax rates vary by location
Sales tax is not the same everywhere. State rates range from 0% (in states like Oregon, Montana, and New Hampshire) to over 7% in many states. On top of state tax, counties and cities often add their own local tax, which can push the total to 10% or higher in some areas.
The tax rate that applies to your purchase depends on where the sale happens. If you buy something in a store, the tax rate for that store's location applies. If you order online, the rate depends on the seller's location and the shipping address — rules vary by state and by what you are buying.
Tax-exempt items and special cases
Not everything is taxed at the standard rate. Groceries, prescription medicine, and medical equipment are tax-exempt or taxed at a lower rate in many states. Some states tax groceries but not prepared food, or tax clothing but not shoes.
If you are unsure whether an item is taxed in your state, check your state's revenue or taxation department website — they publish lists of what is and is not taxed. Receipts also show which items were taxed and which were not, so you can see the breakdown.
Frequently Asked Questions
Do I need to add tax if I am buying online?
It depends on the seller and your state. Many online retailers now charge sales tax based on your shipping address, even if the seller is in a different state. Some smaller sellers may not charge tax. The tax should appear on your receipt before you complete the purchase, so you will see the final amount.
What if the tax calculation on my receipt looks wrong?
Multiply the pre-tax subtotal by the tax rate for your location and compare it to what the receipt shows. Small differences (a penny or two) can happen due to rounding when multiple items are taxed. If the difference is larger, ask the cashier or contact the seller — they can explain how the tax was calculated.
Can I get sales tax refunded?
In most cases, no. Sales tax is final once you complete the purchase. Some states offer refunds on tax-exempt items if you provide proof of tax-exempt status (like a resale certificate for a business), but this is rare for regular shoppers. Check your state's rules if you believe you should not have been taxed.
How do I budget for sales tax when I am shopping?
Multiply the item price by 1 plus the tax rate as a decimal. For 8% tax, multiply by 1.08. So a $100 item becomes $108. This gives you the final price without calculating tax separately. Many people round up to the nearest dollar when budgeting to account for tax.