Sales Tax Calculator

Add or remove sales tax in seconds. This free sales tax calculator shows the tax and total on any price, and can also work backward from a tax-included total to the original price.

Sales tax
$
%
Total with tax
—
Enter an amount and tax rate
Subtotal (before tax)
—
Sales tax
—
Tax rate
—
Total
—

Results update automatically as you type. “Remove tax” extracts the tax from a tax-inclusive total.

How Sales Tax Calculator Works

Sales tax questions run in two directions: how much tax gets added to a price, or how much tax was already baked into a total. This free sales tax calculator handles both, switching between an "Add tax" and a "Remove tax" mode.

Formula: In Add tax mode: Tax = Amount × Rate ÷ 100, and Total = Amount + Tax. In Remove tax mode (working backward from a tax-included total): Subtotal = Total ÷ (1 + Rate ÷ 100), and Tax = Total − Subtotal.

  • Mode — choose "Add tax" to calculate tax on a pre-tax amount, or "Remove tax" to extract the tax from a tax-included total
  • Amount — the price you enter; it's treated as pre-tax in Add mode or as the tax-included total in Remove mode
  • Sales tax rate — the tax percentage that applies where the purchase is made

Example Scenarios

ModeAmountTax RateTaxResult
Add tax$100.007%$7.00Total: $107.00
Add tax$250.008.5%$21.25Total: $271.25
Remove tax$107.007%$7.00Subtotal: $100.00
Remove tax$54.008%$4.00Subtotal: $50.00
Add tax$19.996%$1.20Total: $21.19

Practical Tips for the Sales Tax Calculator

A sales tax calculator is only as accurate as the rate you enter, and in many places the right rate is less obvious than it looks.

  • Combine every layer. In the US the total can include state, county, city and special district taxes, so use the combined rate for the address.
  • Check what is taxable. Groceries, clothing or services are exempt or reduced in some areas.
  • When removing tax, divide the total by one plus the rate; subtracting the rate as a percentage of the total gives the wrong original price. The sales tax calculator's reverse mode handles this for you.

Rounding can create a one-cent difference between the sales tax calculator and a receipt, since shops may round per item or per total. VAT systems work differently from US sales tax, but the sales tax calculator maths is the same once you know the rate. Business owners should check local rules before charging customers, and can use the sales tax calculator to double-check invoices. The Wikipedia sales tax article compares approaches around the world.

Sales Tax Calculator FAQ

How do I calculate sales tax backward from a total?Switch the calculator to "Remove tax" mode and enter the tax-included total in the amount field along with the tax rate. It divides the total by (1 + rate/100) to find the pre-tax subtotal, then shows the tax as the difference.
Why is my calculated tax slightly different from the receipt?Small differences usually come from item-level rounding: some retailers round tax per line item rather than on the order total, which can shift the final cents. Mixed tax rates on a single receipt (e.g., some items exempt) will also change the total in ways a single flat-rate calculation can't replicate.
Do I need to know my local tax rate to use this calculator?Yes — sales tax rates vary by state, county, and city, and sometimes by product category, so you'll need to enter the combined rate that applies to your purchase location. Check your state or local revenue department's site if you're unsure of the exact rate.
Can I use this for VAT or GST instead of US sales tax?The math works the same way for any flat-rate consumption tax, since VAT and GST are also calculated as a percentage of a price. Just enter the applicable VAT/GST rate in the tax rate field.
What's the difference between "Add tax" and "Remove tax" mode?"Add tax" starts from a pre-tax price and calculates what you'll pay after tax is added. "Remove tax" starts from a tax-included total, such as a receipt total, and works backward to find the original pre-tax price and the tax amount.
Does this calculator account for tax-exempt items?No — it applies a single flat rate to the full amount you enter, so it assumes the entire amount is taxable. If part of your purchase is exempt, calculate the taxable portion separately before entering it.

Related Calculators

If you're pricing a purchase across borders, try the GST / VAT calculator for value-added tax systems, check how much a markdown actually saves you with the discount calculator, or compare prices per unit with the unit price comparison calculator.

Use this free sales tax calculator to add sales tax to a price or work backward from a tax-included total. Enter the amount and your tax rate to see the tax and the final total instantly.

What this sales tax calculator does

A sales tax calculator works out the tax on a purchase and your total price. In Add tax mode it adds tax to a pre-tax amount; in Remove tax mode it extracts the tax from a tax-inclusive total to show the original price. Either way you get the subtotal, tax amount and total.

How to calculate sales tax

Sales tax = Price × (Tax rate ÷ 100)   ·   Total = Price + Sales tax

For a $100 purchase at a 7.5% rate: $100 × 0.075 = $7.50 tax, for a $107.50 total. To work backward from a $107.50 tax-inclusive total, divide by 1.075 to get the $100 pre-tax price.

How to use the sales tax calculator

  1. Choose a mode. Add tax to a price, or remove tax from a total.
  2. Enter the amount. The pre-tax price, or the tax-included total.
  3. Enter your sales tax rate. Your local combined rate as a percentage.
  4. Read your result. Subtotal, tax and total update instantly.

How sales tax works

Sales tax is a percentage added to the price of goods and services at checkout. Rates vary widely by location — in the US they’re set by state, county and city, so the combined rate differs from one town to the next. Some countries use VAT or GST instead, which works similarly but is often already included in the displayed price.

Sales tax terms glossary

Term What it means
Sales tax A percentage added to a purchase price at checkout.
Subtotal The price before tax is applied.
Tax-inclusive A price that already has tax built in.
Combined rate State plus local rates added together.
VAT / GST Value-added or goods-and-services tax used in many countries.

Sales Tax Calculator FAQ

How do I calculate sales tax?

Multiply the price by the tax rate as a decimal. For a $100 purchase at 7.5%, the tax is $100 × 0.075 = $7.50, for a $107.50 total.

How do I remove sales tax from a total?

Divide the tax-inclusive total by (1 + rate ÷ 100). A $107.50 total at 7.5% divided by 1.075 gives a $100 pre-tax price, so the tax was $7.50. Use the "Remove tax" mode to do this automatically.

What is the difference between sales tax and VAT?

Both add a percentage to purchases. US sales tax is added at checkout and varies by state and city, while VAT or GST used in many other countries is usually already included in the displayed price.

Why does the sales tax rate vary?

In the US, sales tax is set at the state, county and city level, so the combined rate differs by location. Some items, like groceries, may be taxed at a lower rate or exempt.

Is the sales tax calculator free to use?

Yes, this sales tax calculator is completely free, needs no sign-up, and gives instant results directly in your browser.

Related Calculators