Sales Tax Calculator

Add sales tax to any price or reverse-calculate the pre-tax price from a tax-inclusive total. Supports any custom rate — US state tax, UK VAT, EU VAT, India GST. Includes quantity and pre-tax discount. Instant results, no sign-up needed.

Tax Breakdown

Tax Amount
Final Total
Pre-Tax Total
Calculation Summary
Pre-Tax vs Tax Breakdown

About This Calculator

What it calculates
Sales tax amount and final price when adding tax to an item price; or pre-tax price and tax component when removing tax from a tax-inclusive total.
Inputs required
Item price, tax rate (%), mode (add tax / remove tax). Optional: quantity, discount (% or fixed amount).
Outputs
Tax amount, final total (add-tax mode) or pre-tax price (remove-tax mode), pre-tax total, discount applied (if any).
Add-Tax formula
Taxable Price = (Item Price − Discount) × Quantity; Tax = Taxable Price × Rate / 100; Final = Taxable Price + Tax
Remove-Tax formula
Pre-Tax Price = Total ÷ (1 + Rate / 100); Tax Amount = Total − Pre-Tax Price
Last updated

How Sales Tax Is Calculated

Sales tax is a percentage added to the price of goods or services at the point of sale. The buyer pays the tax-inclusive price; the seller collects and remits the tax to the government.

The formula to add sales tax to a price is:

Tax Amount = Item Price × (Tax Rate / 100)
Final Price = Item Price + Tax Amount = Item Price × (1 + Tax Rate / 100)

Worked example: Item price = $100, tax rate = 8%

  • Tax Amount = $100 × 0.08 = $8.00
  • Final Price = $100 + $8 = $108.00

If a discount applies, it is subtracted from the item price before tax is calculated. For example, a 20% discount on a $100 item gives a discounted price of $80, and 8% tax on $80 is $6.40, for a final total of $86.40.

For multiple identical items, the discounted price is multiplied by quantity first: Taxable Amount = (Price − Discount) × Quantity, then tax is applied to that total.

How to Remove Sales Tax from a Total (Reverse Tax)

If you have a tax-inclusive total and need to find the original pre-tax price, use the reverse (remove-tax) formula:

Pre-Tax Price = Total Price ÷ (1 + Tax Rate / 100)
Tax Amount = Total Price − Pre-Tax Price

Worked example: Total (with tax) = $108, tax rate = 8%

  • Pre-Tax Price = $108 ÷ 1.08 = $100.00
  • Tax Amount = $108 − $100 = $8.00

A common mistake is to simply multiply the total by 8% to get the tax — that gives $8.64, which is wrong. The correct method divides by (1 + rate). This calculator handles the reverse calculation automatically in Remove Tax mode.

At 0% tax rate, the pre-tax price equals the total and tax amount is $0 — no division-by-zero issues.

Sales Tax and VAT Rates Around the World

Sales tax, VAT, and GST are all consumption taxes charged as a percentage of the sale price. Rates vary significantly by country and, in the US, by state and locality (source: Tax Foundation):

Country / RegionTax TypeStandard RateNotes
USASales Tax0% – 10%+No federal rate; state + local combined avg ~6.6–7.2%. Oregon, Montana have 0%.
UKVAT20%Reduced rate 5% (energy, children's car seats). Zero-rated: food, books, children's clothing.
European UnionVAT17% – 27%Luxembourg 17% (lowest), Hungary 27% (highest). Most countries 20–25%.
IndiaGST0% / 5% / 12% / 18% / 28%Multi-slab system. For India-specific GST, use the GST Calculator.
AustraliaGST10%Flat 10% on most goods and services. Fresh food, medical, and education are exempt.
CanadaGST / HST / PST5% – 15%Federal GST 5%. Most provinces add provincial tax (PST) or use Harmonized Sales Tax (HST).
JapanConsumption Tax10%Reduced 8% for food and beverages (excluding alcohol and restaurant meals).
UAEVAT5%Introduced in 2018. Healthcare, education, and 94 food items are zero-rated.

This calculator works for any of these rates — simply enter the applicable percentage. For India-specific GST with CGST/SGST split, use the GST Calculator. For calculating discounts, see the Discount Calculator.

Frequently Asked Questions

To calculate sales tax, multiply the item price by the tax rate and divide by 100. For example, $100 at 8% tax: Tax = $100 × 8 / 100 = $8. Final price = $100 + $8 = $108. Use the Add Tax mode in this calculator for instant results — enter the price and rate and click Calculate.
To reverse-calculate the pre-tax price from a tax-inclusive total, divide the total by (1 + Tax Rate / 100). For example, $108 at 8%: Pre-tax = $108 / 1.08 = $100. Tax component = $108 − $100 = $8. Use Remove Tax mode in this calculator — enter the total price and tax rate to get the pre-tax breakdown instantly.
Discounts are applied to the item price before sales tax is calculated. This is the standard practice in most jurisdictions. This calculator follows the same rule: Taxable Price = (Item Price − Discount) × Quantity, then Tax = Taxable Price × Rate / 100. For example, $100 item with 20% discount: taxable = $80, tax at 10% = $8, final = $88.
Sales tax (mainly US) is charged only at the final point of sale to the consumer. VAT (Europe, UK) and GST (India, Australia, Canada) are collected at every stage of production and distribution, with each business claiming credit for tax already paid upstream. The end consumer pays the same effective rate, but the multi-stage collection mechanism differs. This calculator handles all three — just enter the applicable rate.
Use the Quantity field in Advanced Options. Enter the item price, tax rate, and quantity — the calculator multiplies the taxable price by quantity before applying tax. For example, 3 items at $100 each with 10% tax: taxable total = $300, tax = $30, final = $330. For items with different prices, calculate each separately and sum the results.
The US has no federal sales tax. Each state sets its own rate. As of 2024, combined state and local rates range from 0% (Oregon, Montana, New Hampshire, Delaware) to over 10% in some localities. The national average combined rate is approximately 6.6–7.2%. California's base rate is 7.25%; Tennessee's combined rate can exceed 9.5%. Always verify your specific state and city rate before calculating.
Final Price = Item Price × (1 + Tax Rate / 100). For example, $250 item at 8.5% tax: Final = $250 × 1.085 = $271.25, and the tax alone is $21.25. With a discount: subtract the discount first, then multiply by (1 + rate). For example, $250 with $25 off = $225 taxable, × 1.085 = $244.13 final, with $19.13 tax. This calculator handles all of this automatically.
Yes. VAT and sales tax use identical formulas. To add VAT, use Add Tax mode and enter your VAT rate. To find the pre-VAT price from a VAT-inclusive price, use Remove Tax mode. For example, UK standard VAT is 20%: a £100 item has £20 VAT for a total of £120. To reverse: £120 / 1.20 = £100 pre-VAT, tax = £20. Works for any country's VAT or GST rate.

Important Notes

This calculator provides estimates based on the formula you supply. Actual sales tax obligations depend on your specific jurisdiction, the type of goods or services, applicable exemptions, and the buyer's location. Always verify the current rate for your state, country, or locality before making pricing or compliance decisions.

In the US, sales tax rules vary by state, county, and city — some items like groceries, prescription drugs, and clothing may be exempt or taxed at a reduced rate in certain states. Consult your state's department of revenue or a tax professional for compliance guidance.

Calculator Category

This tool belongs to Finance Calculators. Browse similar tools for related calculations.

Results are for informational purposes only and do not constitute financial or tax advice. Consult a qualified professional before making tax or pricing decisions.