Compoundify › Calculators › Sales Tax Calculator

Sales tax calculator: add or remove tax from a price

Add sales tax to a price or find the price before tax, with discounts and quantity.

Updated October 2026 · Amounts in US dollars · Hypothetical estimates, not forecasts

Your purchase

$
$0$10,000
1100
%
0%90%
%
0%15%

State plus local rate where you shop. Rates vary by location.

Calculating…

How this sales tax calculator works

In add tax mode the calculator applies your discount, multiplies by quantity and adds sales tax at your combined rate. In remove tax mode it treats the price as a total and divides by one plus the rate to find the pre-tax price and the tax inside it.

Worked example

A $100 item with an 8% combined rate has $8.00 of tax for a total of $108.00. If $108.00 already includes 8% tax, the pre-tax price is $100.00.

Things to keep in mind

Frequently asked questions

How do I calculate sales tax?

Multiply the pre-tax price by the tax rate. For a total with tax, multiply the price by one plus the rate.

How do I find the price before tax?

Divide the total by one plus the tax rate. This calculator does it in remove tax mode.

Which rate should I use?

Use the combined state and local rate for the place of sale. Your state revenue department publishes rates.

Related calculators and guides

Sources and further reading

Educational estimates only, not financial, tax or legal advice. Rules, rates and limits change; confirm details with your lender, employer or the relevant tax authority.