Skip to main content

🧾 Sales Tax Calculator

Add sales tax to a pre-tax amount, or work the tax back out of a tax-inclusive total at any rate, and see the net, the tax and the total for your books.

Add tax: your amount is pre-tax. Extract tax: your amount already includes the tax.

Combined state + local rate for the sale's location

Result

Enter an amount and rate, then calculate.

A sales tax calculator adds or extracts tax at a given rate. To add tax: tax = amount × rate ÷ 100 and total = amount + tax (e.g. $100 at 8% is $8 tax, $108 total). To extract tax from a tax-inclusive total: net = total ÷ (1 + rate ÷ 100). Sales tax rates vary by location and change over time, so verify the current rate.

✓Workshop-Verified Formula
100% Client-Side Math

Worked example

A $100 item in a place with an 8% sales tax rate: the tax is 8% of $100 = $8, and the customer pays $108. In reverse, if you advertise a tax-included price of $108 at 8%, the net sale is $108 ÷ 1.08 = $100 and the tax portion is $8 - the figures to record separately in your books.

Advertisement

How it works

Sales tax sits on top of a price, and this calculator handles it in both directions. Give it a pre-tax amount and a rate and it adds the tax to show the total a customer pays. Give it a tax-inclusive total instead and it works the tax back out, so you can see the net amount and the tax hidden inside a price - useful for bookkeeping, receipts and pricing that advertises a round, tax-included figure.

Adding tax is simple: the tax is the amount times the rate, and the total is the amount plus that tax. Extracting it is the step people get wrong - you cannot just take the same percentage off the total, because the tax was calculated on the smaller pre-tax figure. Instead you divide the total by one plus the rate to recover the net amount. A $108 total at 8% contains $100 net and $8 tax, not $108 minus 8%.

An important caveat: sales tax is not one rate. In the US it is a combination of state, county and sometimes city rates, it differs by product type, and it changes over time. This tool lets you enter whatever rate applies, but it cannot know the correct rate for a given sale - always verify the current combined rate for the buyer's location, and check whether your product is taxable, before relying on a figure for an invoice or a return.

Step by step

  1. Choose a direction: add tax to a pre-tax amount, or extract tax from a tax-inclusive total.
  2. Enter the amount - the pre-tax price if you are adding tax, or the tax-included total if you are extracting it.
  3. Enter the sales tax rate that applies to the sale (the combined state and local rate for the buyer's location).
  4. Calculate to see the net amount, the tax and the total. Verify the rate against an official source before using the result on an invoice or tax return.

Frequently asked questions

How do I add sales tax to a price?

Multiply the pre-tax price by the tax rate (as a decimal) to get the tax, then add it to the price. At 8%, a $100 item has $8 of tax and a $108 total. The calculator's 'add tax' mode does this for any rate you enter.

How do I calculate the tax inside a tax-inclusive price?

Divide the total by one plus the tax rate to get the net amount, then subtract that from the total for the tax. A $108 total at 8% is $108 ÷ 1.08 = $100 net and $8 tax. You cannot simply take 8% off the total - that would understate the net.

Why can't I just subtract the tax percentage from the total?

Because the tax was charged on the smaller pre-tax amount, not the total. Taking 8% off a $108 total gives $99.36, but the real net is $100. The correct method is to divide by 1 plus the rate, which is what the 'extract tax' mode does.

What sales tax rate should I use?

The combined rate for the location where the sale is taxed - in the US that usually means the state rate plus any county and city rates, which can total anywhere from 0% to over 10%. Rates change and vary by product category, so always confirm the current rate with an official source rather than relying on a default.

Is sales tax the same everywhere?

No. It varies by country and, in the US, by state and locality; some states have no sales tax at all, and some products (like certain groceries or clothing) are taxed differently or exempt. This calculator applies whatever single rate you enter, so the accuracy depends on you using the correct one for the sale.

Sales tax at common rates (on $100)

Tax rateTax on $100 netTotal with taxNet inside a $100 total
5%$5.00$105.00$95.24
6%$6.00$106.00$94.34
7%$7.00$107.00$93.46
8%$8.00$108.00$92.59
9%$9.00$109.00$91.74
10%$10.00$110.00$90.91

The last column shows why you cannot just subtract the percentage: the net inside a $100 tax-inclusive total at 8% is $92.59 (100 ÷ 1.08), not $92. Rates shown are generic examples - US sales tax combines state and local rates and varies by location and product, so verify the current rate before use.

Related calculators

Other tools makers frequently use with this calculator

All 101 calculators →