Guide

How to Calculate Sales Tax from a Total

See how a tax rate changes a pre-tax price and final total.

Key idea

See how a tax rate changes a pre-tax price and final total.

Formula or method

Tax = pre-tax price × tax rate ÷ 100; total = pre-tax price + tax.

Worked example

Start with the values in your question, substitute them into the formula, and keep the units consistent. For example, if a rate is given as 15%, use 0.15 when a formula requires a decimal.

Common mistakes

  • Mixing percentage points with percentage change.
  • Using different units for the same calculation.
  • Rounding too early when several steps are involved.
Tip: Use the matching AvyTool calculator to check your result after working through the method.

Why the result can differ

Real-world calculations can include assumptions, rounding, fees, tax rules, calendar conventions, or other details. Treat simple calculator results as estimates when the underlying situation is more complex.

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.

Worked example

At an 8% rate, a pre-tax price of 100 becomes 108. To recover the pre-tax price from 108, divide 108 by 1.08. This is different from simply subtracting 8% from 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.

Try the Tax Calculator →

Browse all tools →