VAT, GST and sales tax calculator

Add tax to a price or work out the price before tax, for any tax rate you enter.

Illustration of a receipt with net price and tax and a percent badge
What do you want to do?

Adding tax and removing tax are different sums

When a shop adds tax, the tax is a percentage of the price before tax. When you only know the price that already includes tax, you cannot just subtract the percentage, because the percentage was applied to a smaller number. You have to divide.

Formulas

You knowYou wantFormula
Price before taxTotal with taxprice × (1 + rate ÷ 100)
Price including taxPrice before taxprice ÷ (1 + rate ÷ 100)
Price including taxTax inside itprice − price before tax

How to use this tool

  1. Choose whether to add tax or remove it.
  2. Enter the amount and the tax rate for your country or product. The tool does not know local rates.
  3. Read the result and the working underneath.

Worked examples

Limits

Troubleshooting

What you seeLikely reasonWhat to try
“Enter an amount and a tax rate”A box is emptyFill in both
Total differs from the receiptThe seller rounds per item or uses another rateTrust the receipt and check the rate

Notice

This is a general-purpose calculator for information only. It is not financial, tax, accounting or legal advice. Prices, rates, fees and rules differ between sellers, platforms and countries.

Practical scenarios

Working with an invoice

When an invoice has several lines at the same rate, you can add the lines first and apply the rate to the total. Some systems instead calculate and round the tax on every line, which can make the total differ by a few cents or paise. If you are producing invoices for a business, follow the method required by your tax authority or accounting software.

Different rates on one order

Some items, such as food or books, may have a lower rate than others. Calculate each group separately with its own rate, then add the results.

Tips

Frequently asked questions

Is this for VAT, GST or sales tax?

The arithmetic is the same for all of them. You enter the rate that applies to you.

Why can I not just subtract the percentage?

Because the tax was calculated on the smaller, pre-tax price. Dividing gives the correct pre-tax price.

Does it know my country’s rate?

No. Look up the current rate from an official source.

Related tools

Related articles