Sales Tax Calculator

Enter an amount and a sales-tax rate to add tax to a pre-tax price, or to work backwards from a tax-inclusive total. The rate is the one you type — this page does not look up rates by zip code, city or country. A table of example rates is included only as a worked illustration, not as current law.

By Rashid MehmoodLast updated and reviewed Free, no sign-up

Sales tax calculator

%
–

How to use the sales tax calculator – add or remove tax

  1. Choose add or remove. Add tax to a pre-tax amount, or remove tax from a total that already includes tax.
  2. Enter the amount. Type the pre-tax price, or the tax-inclusive total, depending on the mode.
  3. Enter the combined rate. Type the rate that applies to the purchase, as a percentage, for example 7 or 6.25.
  4. Read the tax and the total. The result shows the pre-tax amount, the tax and the total, plus a table of the same amount at example rates.
Embed this calculator

Paste this iframe on your own site. The embed view already includes a visible “Calculator by CalcTen” credit, which must stay visible. See the developers page for the conditions.

Formula

Add tax: tax = A × r ÷ 100 · total = A + tax
Remove tax: net = T ÷ (1 + r ÷ 100) · tax = T − net

A is a pre-tax amount, T is a tax-inclusive total, and r is the rate in percent.

Worked examples

Add 7% to $100. Tax is $7.00 and the total is $107.00.

Remove 7% from a $100 total. The pre-tax amount is 100 ÷ 1.07 = $93.46, and the tax is $6.54. This is the usual mistake people make if they subtract 7% of $100 instead of dividing.

6.25% on a $64.00 pre-tax bill. Tax is 64 × 0.0625 = $4.00 and the total is $68.00.

Example rates are not the law

The result list repeats your amount at several example percentages so you can see the sensitivity to the rate. Those percentages are not a directory of current state, provincial or national rates. Rates change, and many places add local options on top of a statewide rate. If you need a legal rate, look it up from an official source or ask the seller, then type it here.

Use cases and common mistakes

Use the tool to check a receipt, to add tax to a quoted net price, or to recover the net from a gross price. Common mistakes include subtracting the rate from a gross total instead of dividing, mixing up tax-exclusive and tax-inclusive quotes, and assuming the example table is a live rate list. For a percentage that is not a tax, the percentage calculator is the more general tool. For a reduced price, use the discount calculator. Vehicle tax that will be rolled into a loan is also a field on the auto loan calculator.

Limitations

The calculator applies one combined rate to the amount you enter. It does not decide whether shipping, food, or a trade-in is taxable. It is general arithmetic, not tax advice.

Frequently asked questions

How do I add sales tax?

Tax = amount × rate ÷ 100. Total = amount + tax. $100 at 7% is $7 of tax and a $107 total.

How do I remove sales tax from a total?

Pre-tax amount = total ÷ (1 + rate ÷ 100). Tax = total − pre-tax amount. $100 that already includes 7% tax is $100 ÷ 1.07 = $93.46 pre-tax, and $6.54 tax.

Can I look up the rate by zip code?

No. Live zip-code or jurisdiction lookup is not provided, because rates change and a stale table would be misleading. Enter the combined rate that applies, and confirm it with the seller or tax authority.

What are the example rates in the results table?

They are illustrations at 4%, 5%, 6%, 6.25%, 7%, 8% and 10% so you can compare the same amount at different rates. They are not current legal rates for any state, city or country.

Is sales tax the same as VAT or GST?

The arithmetic of adding or removing a percentage is the same. The legal base (what is taxed, and at which rate) is not. Use the rate that applies in your system, and do not assume a US state rate applies to a VAT invoice.

Does this include excise tax or local add-on rates?

Only if you include them in the single combined rate you type. The calculator does not split state, county and city components.

Is this tax advice?

No. Confirm the rate and the taxable base with the seller or a tax authority.

Sources and references

About this calculator

Written and maintained by Rashid Mehmood, founder of CalcTen. The formulas are unit-tested against hand-worked examples, and the content is reviewed whenever product sizes or guidance change. Last updated and reviewed 15 November 2026. See our editorial policy. If you spot a mistake, report it.

This calculator gives general information and is not financial, tax or investment advice. It assumes a fixed rate and ignores fees, taxes and inflation, and real products differ. Check the terms with your bank or lender before making decisions. Read the disclaimer.

Calculator by CalcTen — free online calculators.