Sales Tax, GST & VAT Calculator

Add tax to a price or remove it from a tax-inclusive total in one step.

How to use: Enter a price and the tax rate to add tax to it, or switch modes to take tax out of a total.

  1. The boxes start with sensible numbers. Change any you need.
  2. The result sits under the form.
  3. Copy the answer if you want to keep it.

How to use the Sales Tax, GST & VAT Calculator

Sales tax, goods and services tax (GST) and value-added tax (VAT) are all percentages added to the price of goods and services. Shops may show prices with or without tax, so it helps to be able to convert in both directions.

To add tax, enter the pre-tax price and the tax rate. The tax equals the price multiplied by the rate, and the total is the price plus that tax. To remove tax, enter the tax-inclusive total instead. The net price is found by dividing the total by 1 plus the rate, and the difference is the tax portion. Simply subtracting the percentage from the total gives the wrong answer, which is a common mistake.

Use the quick buttons to fill in common rates, but always check the current rate for your country, state or product category, because many places apply reduced or zero rates to items such as groceries or books.

Business owners can use the calculator to prepare invoices, while shoppers can check that a receipt is correct. The results show the net price, the tax amount and the gross price side by side so you can copy whichever figure you need.

How to add sales tax

Sales tax, GST and VAT are all added the same way: multiply the pre-tax price by the rate, then add that tax to the price.

  1. Write the pre-tax price and the tax rate as a decimal (7% is 0.07; 20% is 0.20).
  2. Multiply the price by the rate to get the tax amount.
  3. Add the tax to the price to get the total, or in one step multiply the price by (1 + the rate).

The formulas are tax = price × rate and total = price × (1 + rate).

Worked example: add 7% sales tax to $40

Tax = 40 × 0.07 = $2.80. Total = 40 + 2.80 = $42.80, which is the same as 40 × 1.07. If a receipt already includes 7% tax and you need the pre-tax price, divide by 1.07 instead: 42.80 ÷ 1.07 = $40. Subtracting 7% from $42.80 would be wrong, because the tax was calculated on the smaller $40 net price.

Use the add-tax mode above to try other prices and rates, or switch to remove-tax mode when you start from a tax-inclusive total.

Last reviewed November 16, 2026. Always check the current rate for your location and the type of goods, because many places use reduced or zero rates.

Frequently asked questions

How do I add sales tax to a price?

Multiply the pre-tax price by the tax rate as a decimal, then add that tax to the price. At 7%, a $40 item has $2.80 of tax (40 × 0.07) and a total of $42.80, which is 40 × 1.07.

How do I remove VAT from a price?

Divide the VAT-inclusive price by 1 plus the VAT rate as a decimal. For a 20% rate, divide by 1.20.

What is the difference between GST and VAT?

Both are consumption taxes collected at each stage of the supply chain. The names and rates differ by country, but the calculation is identical.

Why is subtracting the percentage wrong?

Because the tax was calculated on the smaller net price, not on the total, so taking 20% off the total removes too much.

💙 If VSH helps you, please share it and help us improve.