Calculators

Sales Tax Calculator


Add sales tax to a price or pull the tax back out of a total. Enter an amount and a rate to see the tax, the net, and the gross update live.

Results update live as you type. Nothing you enter leaves your browser.

Tax amount
โ€”
Net (before tax)
โ€”
Gross (with tax)
โ€”

๐Ÿ’ก How sales tax is calculated

  • Add mode: tax = amount ร— rate รท 100, and the total = amount + tax.
  • Extract mode: net = gross รท (1 + rate รท 100), and tax = gross โˆ’ net.
  • Extract mode is handy when a receipt shows a tax-inclusive price and you need the pre-tax figure.
Tip:

Enter the exact combined rate that applies where the sale happens. Local rates can stack on top of state or national rates, so the total percentage matters.

A Sales Tax Calculator handles the two questions that come up at the register: how much tax to add to a price, and how much tax is already baked into a total.

Pick a mode, type an amount and a rate, and the tax and totals appear instantly โ€” all in your browser with nothing sent to a server.

Add tax versus extract tax

In add mode you start with a pre-tax price and the tool works out the tax and the final amount a customer pays.

In extract mode you start with a tax-inclusive total and it works backwards to reveal the pre-tax price and the tax hidden inside it.

Extract mode is the one people forget exists, yet it is exactly what you need when a receipt only shows the grand total.

The math behind it

Adding tax is straightforward: multiply the amount by the rate and add it back on.

Extracting tax divides the gross by one plus the rate, because the total already includes that extra slice.

If you would rather reason about the rate itself as a proportion of a price, a Percentage Calculator is a natural companion.

Where it fits in your workflow

Freelancers and small sellers use it to quote tax-inclusive prices without guesswork.

Because it separates the pre-tax figure cleanly, it pairs well with a Gross Margin Calculator when you want margins based on the price before tax, and with an Hourly Rate Calculator when you are pricing your own time.

Frequently Asked Questions

How do I add sales tax to a price?

Choose add mode, enter the pre-tax amount and the tax rate, and the calculator multiplies the amount by the rate to get the tax, then adds it on to show the final total the customer pays.

How do I find the tax already inside a total?

Choose extract mode and enter the tax-inclusive gross amount and the rate. The tool divides the gross by one plus the rate to recover the net price, and the difference between the two is the tax.

What tax rate should I enter?

Enter the full combined rate that applies to the sale. Local taxes often stack on top of a state or national rate, so add them together and enter the total percentage for an accurate result.

Is my data sent anywhere?

No. Every calculation happens locally in your browser with JavaScript. Nothing you type is uploaded, logged, or stored, and the tool keeps working offline once the page has loaded.