Sales Tax Calculator
Calculate tax on a price, or find the pre-tax price from a total.
Stays in your browser · Always freeThis calculator works in both directions: add tax to a pre-tax price to get your total, or reverse-calculate the pre-tax price from a total. The math is the same for any percentage-based tax - US sales tax, VAT, GST, hotel tax - only the rate changes. The reverse direction is the one most people get wrong: you don't subtract the percentage from the total, you divide.
How sales tax math works
Forward (price + rate → total): Multiply the pre-tax price by the tax rate as a decimal, add it to the price.
total = price × (1 + rate/100)
$80 at 7% tax: 80 × 1.07 = $85.60. The tax itself is 80 × 0.07 = $5.60.
Reverse (total + rate → pre-tax price): Divide the total by (1 + rate/100).
price = total / (1 + rate/100)
$108.50 total at 8.5% tax: 108.50 / 1.085 = $100.00. The tax was $8.50.
The classic mistake: subtracting the tax rate from the total to find the pre-tax price. On a $108 total at 8% tax, this gives 108 − (108 × 0.08) = $99.36 - wrong. The correct pre-tax price is 108 / 1.08 = $100.00. The reason: the 8% in the receipt was applied to $100, not to $108, so subtracting 8% of $108 over-corrects.
US sales tax rates and what's taxed
US sales tax is set at the state level, often with additional county and city taxes layered on. Five states have no statewide sales tax: Alaska, Delaware, Montana, New Hampshire, and Oregon (some Alaskan cities do levy local tax). The highest combined state and local rates are in Louisiana, Tennessee, Arkansas, and Washington - exceeding 9.5% in many cities.
What's taxed varies dramatically by state. Most states tax tangible goods but exempt groceries (or tax them at a lower rate); some tax all groceries the same as other goods. Clothing is exempt or partially exempt in several Northeastern states. Services and digital products are increasingly being added to the tax base. When in doubt, the receipt itself is the most reliable source.
VAT and GST work the same way mathematically but are typically already included in displayed prices outside the US. A €100 price in Germany is what you actually pay; the 19% VAT is built in. The reverse calculator is useful for extracting the pre-VAT price from receipts when filing expenses.