How to Calculate Sales Tax (Add Tax & Reverse from Total)

Guides · Calculator · Updated 2026

Sales tax varies by state and country, but the maths is universal. Whether you’re adding tax to a product price or need to figure out the pre‑tax amount from a receipt, Toolzo’s free Sales Tax Calculator handles both modes instantly. This guide explains the two formulas, provides worked examples, and shows how to avoid common mistakes.

Why sales tax calculations are essential

For businesses, accurate tax collection is a legal requirement. For shoppers, knowing the tax breakdown helps you compare real costs. The tool has two modes: “Add Tax” multiplies the price by (1 + tax rate) to get the total, while “Reverse” divides the total by (1 + tax rate) to extract the original price. It’s simple maths, but manual errors happen — let the calculator do it.

The sales tax formulas

Add Tax: Total = Price × (1 + tax rate/100)
Reverse (price includes tax): Price (excl. tax) = Total / (1 + tax rate/100)

Worked examples

Adding tax: A laptop costs $800, and the sales tax is 8.5%.

Total = 800 × (1 + 0.085) = 800 × 1.085 = $868.00 (tax = $68.00)

Reversing tax: Your receipt shows $108.50 total, and the tax rate is 8.5%.

Price excl. tax = 108.50 / 1.085 = $100.00 (tax = $8.50)

Step‑by‑step: use the sales tax calculator

  1. Open the Sales Tax Calculator tool.
  2. Select “Add Tax” or “Reverse” mode.
  3. Enter the price (before tax or total including tax) and the tax rate percentage.
  4. Click “Calculate”. The tax amount and the other price are displayed in the result cards.
💡 Tip: When traveling, always check the local tax rate — some cities add city tax on top of state tax. Use the reverse mode to see how much of a restaurant bill is pure food cost.

Sales tax vs. VAT / GST

Sales tax is applied only at the final sale. VAT and GST are applied at each stage of production. If you’re dealing with Indian taxes, try our GST Calculator, which handles multiple slabs. For more general percentage work, the Compound Interest Calculator also plays with percentage growth — a nice parallel.

Frequently Asked Questions

Can I enter a tax rate with decimals?

Yes, rates like 6.25% or 8.875% are supported — the calculator handles them precisely.

Does the reverse mode work for any tax rate?

Absolutely, it mathematically extracts the pre‑tax price as long as the total includes exactly that tax rate.

What if the tax is exempt?

Set the tax rate to 0% — the total will equal the original price.

Is this suitable for Canadian HST or European VAT?

Yes, the maths is identical. However, our GST Calculator may have country‑specific presets.

Is the tool free and private?

Yes, 100% client‑side, no data stored.

Try the Sales Tax Calculator
Home / Blog / Sales Tax