Everyday Math
Sales Tax Calculator
Sales tax runs in two directions: forward when you are quoting a price, and backwards when you have a receipt total and need the pre-tax figure for bookkeeping. This calculator does both and shows the tax amount on its own line.
Estimates only. Verify important figures against your own records before acting on them. See our disclaimer.
What this calculator includes
What you enter
- Direction
- Amount
- Sales tax rate
- Number of items (optional)
What you get back
- Pre-tax subtotal
- Sales tax included
- Total (as entered)
- Tax as a share of the total
How this calculation works
How this calculation works
Adding tax is a multiplication; removing it is a division. The asymmetry catches people out, because taking the tax percentage off a tax-inclusive total leaves you short.
- Subtotal = amount × number of items
- Adding tax: tax = subtotal × rate ÷ 100, total = subtotal + tax
- Removing tax: subtotal = total ÷ (1 + rate ÷ 100), tax = total − subtotal
What the result means
Adding tax multiplies the subtotal by the rate; removing it divides a tax-inclusive total by one plus the rate. The pre-tax subtotal is the figure bookkeeping needs.
Common mistakes and assumptions
- Subtracting the tax percentage from a tax-inclusive total, which always leaves you short.
- Using a state rate when a county or city rate also applies — enter your combined rate.
- Assuming everything is taxable; exemptions vary and are not applied here.
Worked example
A $63.60 receipt total in an 8.25% tax area, and you need the pre-tax figure.
- 1Divide by 1 + the rate: $63.60 ÷ 1.0825 = $58.75.
- 2Tax included = $63.60 − $58.75 = $4.85.
- 3Check forward: $58.75 × 0.0825 = $4.85, and $58.75 + $4.85 = $63.60.
- 4Subtracting 8.25% from $63.60 instead would give $58.35 — wrong by $0.40.
- 5The tax is 7.62% of the total even though the rate is 8.25% of the subtotal.
Frequently asked questions
- Why can't I just subtract the tax rate from the total?
- Because the rate applies to the subtotal, not the total. The correct reverse operation is dividing by 1 plus the rate.
- What rate should I use?
- Your combined rate: state plus county plus city plus any special district. A receipt is the most reliable source for your exact local figure.
- Are all purchases taxed the same?
- No. Many states exempt groceries and prescriptions or tax them at a lower rate, and rules for services differ widely. This calculator applies one rate to whatever you enter.
- Is this the same as VAT or GST?
- The arithmetic is identical, so you can use it for any single-rate consumption tax. VAT prices are usually shown tax-inclusive, so the remove mode is the one you want.
Disclaimer
This calculator returns estimates based only on the values you enter. It does not account for taxes, financing terms, local regulations, or conditions specific to your operation, and it is not accounting, legal, tax, or investment advice. Confirm any figure that carries real cost before you rely on it.
Calculations run entirely in your browser and the numbers you type are never sent to us or stored. Read how Answerivo calculators are built.
Formulas and worked example last reviewed .