Sales Tax Calculator

Choose whether to add tax, remove it from a total, or find the rate, then enter the amounts. Optional presets fill in US state base rates and common VAT/GST rates.

Sales tax, VAT and GST formulas

Whether it is called sales tax (United States), VAT (Europe, the UK, China) or GST (Canada, Australia, New Zealand, Singapore), the arithmetic for a single purchase is the same: the tax is a percentage of the pre-tax price.

tax = price × rate, total = price × (1 + rate)

Going the other way — when you only know the tax-inclusive total, as on most European and Australian receipts — divide rather than subtract:

price = total ÷ (1 + rate), tax = total − price

A frequent mistake is to take the rate off the total (total × (1 − rate)). That gives too small a price, because the tax was calculated on the smaller pre-tax amount. With 20% VAT, for example, the tax is one-sixth of the gross price, not one-fifth. To find an unknown rate, divide the tax by the pre-tax price: rate = (total − price) ÷ price.

Worked examples

  1. Add tax: a $250 purchase at a combined rate of 8.25%. Tax = 250 × 0.0825 = $20.625, which rounds to $20.63; the total is $270.63.
  2. Remove tax: a receipt shows $270 including 8.25% tax. Pre-tax price = 270 ÷ 1.0825 = $249.42, so the tax is $20.58. (Subtracting 8.25% of $270 would wrongly give $247.73.)
  3. Find the rate: you paid $270 for an item priced at $250. Rate = 20 ÷ 250 = 8%.
  4. UK VAT: a £120 gross price at 20% VAT is £100 net plus £20 VAT.

Shops usually compute tax on the whole receipt and round once to the cent, so a manual line-by-line calculation can differ by a cent or two.

About the rate presets

The US presets are the state-level base rates in effect on 1 January 2025, as compiled by the Tax Foundation. Most states also allow counties, cities and special districts to add local sales tax, so the rate you actually pay is often 1 to 5 points higher — for example, the state rate in California is 7.25% but combined rates in many cities exceed 9%. Alaska, Delaware, Montana, New Hampshire and Oregon have no statewide sales tax, although some Alaskan localities levy one. Rates and exemptions (groceries, clothing, medicine) change, so confirm the combined rate for your address with your state's revenue department.

The VAT/GST presets are each country's standard rate. Most countries also apply reduced or zero rates to food, books, transport and other items. Canada's preset is the 5% federal GST only; provinces add PST or use a combined HST.

If you know your exact combined rate, simply type it into the rate box.

Frequently asked questions

How do I calculate the price before tax?

Divide the total by 1 plus the rate as a decimal. With 8.25% tax, $270 ÷ 1.0825 = $249.42. Do not simply subtract 8.25% of the total.

Why is my state's preset lower than the tax on my receipt?

The presets are state base rates only. Counties and cities add local sales tax on top, so enter the combined rate for your location if you know it.

Is VAT calculated the same way as sales tax?

For a single purchase, yes: tax = net price × rate. The difference is that VAT is collected at every stage of production with credits for tax already paid, while US sales tax is charged only on the final retail sale.

Which US states have no sales tax?

Alaska, Delaware, Montana, New Hampshire and Oregon have no statewide sales tax. Some local governments in Alaska still charge their own sales tax.

Sources & references

Last reviewed: