Sales Tax Calculator

Add sales tax to a price, or back the tax out of a tax-inclusive total, at any rate, showing the net amount, the tax, and the total. Calculates privately in your browser.

Total with tax

-

Net (before tax)-
Tax-
Total-

Show the math

To add tax you multiply; to extract it you divide it back out:

add: total = net × (1 + rate) · extract: net = total / (1 + rate)

In add mode your amount is the pre-tax price and tax is added on top. In extract mode your amount already includes tax, so the tool recovers the net price and shows the tax baked in. The same math works for VAT and GST, just enter your local rate.

What this does

A sales tax calculator adds tax to a price, or backs the tax out of a tax-inclusive total, at any rate, showing the net amount, the tax, and the total.

How it works

In add mode the tool multiplies the pre-tax price by the rate and adds it on. In extract mode it divides the total by one plus the rate to recover the net amount, and the difference is the tax.

Tax-inclusive net = total ÷ (1 + rate)

How to use it

  1. Choose add or extract mode.
  2. Enter the price or tax-inclusive total.
  3. Enter your local tax rate.
  4. Read the net amount, tax, and total.

Understanding your result

The same math works for any single-rate consumption tax, including VAT and GST. Rates vary by jurisdiction, so enter the rate that applies where the sale occurs.

Example

A $50 price at an 8% rate adds $4 of tax for a $54 total; extracting tax from a $54 inclusive total recovers the $50 net and $4 tax.

Sources & methodology

Last updated .

Frequently asked questions

How do I add sales tax to a price?

In "add" mode the tool treats your amount as the pre-tax price, multiplies it by the tax rate to get the tax, and adds it on for the total.

How do I find the tax in a tax-inclusive price?

Switch to "extract" mode. The tool divides the total by (1 + rate) to recover the pre-tax amount, and the difference is the tax already included.

Does this work for VAT or GST?

Yes, the math is the same for any single-rate consumption tax. Just enter your local rate.

Do you store my inputs?

No. Everything is computed locally in your browser.