How to calculate sales tax
The formula, worked examples, working backwards from a total, and finding the rate from a receipt.
To calculate sales tax, multiply the price by the tax rate written as a decimal. Add the result to the price to get the total. This guide shows the formula, worked examples, how to work backwards from a total, and how to find the rate from a receipt.
The sales tax formula
Total = price + sales tax = price × (1 + rate ÷ 100)
Step by step
- Find the rate. Use the combined rate where you buy: the state rate plus any county, city or district rate. Your state's page has its rate and a link to the state's own address lookup.
- Turn the rate into a decimal. Divide by 100: 8.25% becomes 0.0825.
- Multiply. $45.99 × 0.0825 = $3.794175.
- Round to the cent. Half a cent or more rounds up, so the tax is $3.79 (how sales tax is rounded).
- Add it to the price. $45.99 + $3.79 = $49.78.
When there is a state rate and a local rate
Add the rates together first, then calculate once. With a 6% state rate and a 1.5% city rate, the combined rate is 7.5%, so the tax on a $200.00 purchase is $200.00 × 0.075 = $15.00.
Several items on one receipt
Add up the taxable items, then apply the rate to the subtotal. Items that are exempt in your state, such as groceries in many states, are left out of the subtotal. A store that rounds the tax on each item separately can end up a cent different.
Working backwards from a total
If you know the total and the rate, divide the total by 1 plus the rate as a decimal. At 7%, a $53.50 total is $53.50 ÷ 1.07 = $50.00 before tax, so the tax was $3.50. The reverse sales tax calculator does this for you.
Finding the tax rate from a receipt
Divide the tax by the price before tax and multiply by 100. If an $80.00 purchase came to $86.60, the tax was $6.60, and $6.60 ÷ $80.00 × 100 = 8.25%. Because the tax was rounded to the cent, the answer can be slightly off on small purchases; the sales tax rate calculator shows the range of rates that fit.
Sales tax in math class
Sales tax problems are percent problems. A typical one: a shirt costs $24.00 and the sales tax rate is 6%. What is the total?
- Write 6% as a decimal: 0.06.
- Tax: $24.00 × 0.06 = $1.44.
- Total: $24.00 + $1.44 = $25.44. Or in one step: $24.00 × 1.06 = $25.44.
A quick mental check: 10% of a price is the price with the decimal point moved one place left. For a 5% rate, halve that. For 8%, 10% of $25.00 is $2.50, so 8% is a little less: $2.00.
Sales tax on common amounts
| Price | 5% | 6% | 7% | 8% | 9% | 10% |
|---|---|---|---|---|---|---|
| $10.00 | $0.50 | $0.60 | $0.70 | $0.80 | $0.90 | $1.00 |
| $20.00 | $1.00 | $1.20 | $1.40 | $1.60 | $1.80 | $2.00 |
| $50.00 | $2.50 | $3.00 | $3.50 | $4.00 | $4.50 | $5.00 |
| $100.00 | $5.00 | $6.00 | $7.00 | $8.00 | $9.00 | $10.00 |
| $500.00 | $25.00 | $30.00 | $35.00 | $40.00 | $45.00 | $50.00 |
Rounded to the nearest cent, half a cent up. For any other amount or rate, use the sales tax calculator.
Common questions
What is the formula for sales tax?
Sales tax = price × rate ÷ 100. The total is the price plus the tax, or price × (1 + rate ÷ 100).
How do I calculate sales tax from the total?
Divide the total by 1 plus the rate as a decimal to get the price before tax, then subtract. At 7%, $53.50 ÷ 1.07 = $50.00, so the tax was $3.50.
How do I find the sales tax percentage?
Divide the tax by the price before tax and multiply by 100. $6.60 tax on $80.00 is 8.25%.
How much is the tax on $20?
It depends on the rate: $1.20 at 6%, $1.40 at 7%, $1.60 at 8%.
Researched from official government sources. Not tax advice. How we source information · All guides