The basic method: multiply the price by the tax rate, then add the result
To add tax to something, multiply the price before tax by the tax rate as a decimal, then add that amount to the original price. If an item costs $100 and the tax rate is 8%, you multiply $100 by 0.08 to get $8, then add $8 to $100 for a total of $108.
The formula is: Price after tax = Price before tax + (Price before tax × Tax rate). You can also write it as: Price after tax = Price before tax × (1 + Tax rate). Both methods give the same answer.
Tax rates vary by location and what you are buying. Sales tax in the United States ranges from 0% to over 10% depending on the state and sometimes the city or county. Some items like groceries or prescription medications may be taxed at a lower rate or not taxed at all in certain states.
Key Takeaways
- Multiply the price by the tax rate as a decimal (8% becomes 0.08), then add that number to the original price.
- Tax rates differ by state, county, and sometimes by what you are buying, so you need to know the rate that applies to your purchase.
- You can use the formula Price × (1 + Tax rate) as a shortcut that does the calculation in one step.
- When you see a price in a store, it usually does not include tax, so the amount you pay at checkout will be higher.
Finding the tax rate for your location
Your state's tax rate is the starting point, but the actual rate you pay may be higher if your city or county adds its own tax on top. For example, a state might have a 5% sales tax, but your county might add 2%, making your total rate 7%.
You can find your state's base rate on your state's Department of Revenue website or by searching "[your state] sales tax rate." To learn about your city or county adds extra tax, search "[your city] sales tax rate" or call your local tax assessor's office. Many online tax calculators let you enter your zip code and will show you the combined rate for that area.
Working backward from a total price to find the tax amount
Sometimes you know the final price you paid and want to know how much was tax. This requires a different calculation. Divide the total price by (1 + tax rate) to get the price before tax, then subtract that from the total.
For example, if you paid $108 total and the tax rate is 8%, divide $108 by 1.08 to get $100. The tax amount is $108 minus $100, which is $8. This is useful when you need to separate the tax from the price for a receipt or record.
Tax on multiple items
When you buy more than one thing, add up all the prices first, then apply the tax rate to the total. If you buy a $50 shirt and a $30 pair of pants, the subtotal is $80. At 8% tax, you add $6.40 in tax for a total of $86.40.
Some items in the same purchase may have different tax rates. Groceries might be taxed at 0% while clothing is taxed at 8%. In that case, calculate the tax on each item separately using its own rate, then add all the taxes together and add them to the subtotal.
Using a calculator or spreadsheet
For a single item, a basic calculator works fine: enter the price, multiply by the tax rate as a decimal, and add the result to the price. For multiple purchases or if you do this often, a spreadsheet like Excel or Google Sheets is faster and less error-prone.
In a spreadsheet, put the price in one column and the tax rate in another. In a third column, use the formula =A1*(1+B1) to calculate the total. You can copy this formula down for as many rows as you need. Online tax calculators also exist for most states and will do the math for you if you enter the price and your location.
Tax on services and digital purchases
Tax rules for services vary widely. Some services like haircuts or repairs are taxed in most states, while others like professional advice or medical care may not be. Digital purchases like software, apps, or e-books are increasingly taxed, but the rules differ by state and by what you are buying.
When you buy something online, the seller should charge you tax based on the state where you live, not where they are located. However, not all online sellers collect tax correctly, so it is worth checking your receipt. If you think you were charged the wrong rate, contact the seller or your state's Department of Revenue.
Frequently Asked Questions
Do I need to add tax to prices I see online?
Most online retailers show the price before tax and add tax at checkout based on your address. Some sites show the final price with tax included. Check the product page or your cart to see whether tax is already included before you assume you need to add it yourself.
What if the tax rate has decimals, like 8.25%?
Convert it the same way: 8.25% becomes 0.0825 as a decimal. Multiply the price by 0.0825 and add the result to the original price. The math works exactly the same whether the rate is a whole number or has decimal places.
Can I deduct sales tax I paid on my taxes?
In most cases, no. Sales tax is not deductible on your federal income tax return. Some states allow a deduction for state sales tax instead of state income tax, but that is a different calculation done on your state tax form, not something you add to a purchase price.
Why do prices in stores not include tax?
In the United States, stores display prices before tax because tax rates vary by location. A store in a border town might serve customers from multiple states with different tax rates. Showing the pre-tax price lets customers from any location calculate their own total based on their local rate.
What if I buy something in one state and use it in another?
You pay tax based on where you buy it, not where you use it. If you buy something in a state with no sales tax and take it home to a state with sales tax, you do not owe additional tax. However, if you buy online from out of state, you may owe use tax to your home state, though most people do not report it.