How to Calculate Sales Tax from a Total
See how a tax rate changes a pre-tax price and final total.
Key idea
To add sales tax to a pre-tax price, multiply the price by the tax rate and add the tax. To reverse a tax-inclusive price, divide by one plus the decimal tax rate.
Formula or method
Calculate the tax-inclusive price
For a $100 pre-tax item at an 8% tax rate, tax is $100 × 0.08 = $8, so the tax-inclusive total is $108.
Common mistakes
- Applying the rate to a tax-inclusive total as if it were pre-tax.
- Using 8 instead of 0.08 when multiplying manually.
- Assuming the same tax rules apply in every location or to every product.
Why the result can differ
The arithmetic assumes a single stated tax rate applied to the full taxable price. Real rules can include exemptions, reduced rates, thresholds, location-based rates, or special product treatment; check the relevant tax authority for an actual transaction.
Tax-inclusive and tax-exclusive prices
A tax-exclusive price is the amount before tax. A tax-inclusive price already contains tax. If you know the pre-tax price, multiply it by the tax rate to find the tax and add the two amounts. If you only know the final tax-inclusive price, reversing the calculation requires division by 1 plus the tax rate.
Reverse a tax-inclusive price
If the $108 total already includes an 8% tax rate, divide by 1.08 to recover the pre-tax price: $108 ÷ 1.08 = $100. Subtracting 8% of $108 would give the wrong pre-tax amount because the tax was calculated on $100, not $108.
Jurisdiction matters
Actual sales-tax rules can include exemptions, thresholds, multiple rates, or special treatment. Use the applicable official rules for a real transaction.