How to Calculate GST, VAT and Sales Tax (Add or Remove)

By Jasveer Raj · Updated 2026-11-05

Quick answer

To add GST, VAT or sales tax, multiply the price by (1 + rate ÷ 100). To remove it from a total, divide by (1 + rate ÷ 100). The calculation is the same for any percentage-based tax.

Adding tax to a price

Tax = price × rate ÷ 100, and total = price + tax.

  • 1,000 with 18% tax: tax is 180, total is 1,180.
  • 250 with 20% tax: tax is 50, total is 300.

Removing tax from a total

Net price = total ÷ (1 + rate ÷ 100), and tax = total − net price.

  • 1,180 including 18% tax: net is 1,180 ÷ 1.18 = 1,000, so tax is 180.

Price including tax: quick reference

Price before taxTotal at 5%Total at 12%Total at 18%Total at 28%
100105.00112.00118.00128.00
500525.00560.00590.00640.00
1,0001,050.001,120.001,180.001,280.00
2,5002,625.002,800.002,950.003,200.00
5,0005,250.005,600.005,900.006,400.00
10,00010,500.0011,200.0011,800.0012,800.00
50,00052,500.0056,000.0059,000.0064,000.00

Removing tax from a total: quick reference

Each cell shows the price before tax, then the tax amount.

Total with taxNet / tax at 5%Net / tax at 12%Net / tax at 18%Net / tax at 28%
105100.00 / 5.0093.75 / 11.2588.98 / 16.0282.03 / 22.97
500476.19 / 23.81446.43 / 53.57423.73 / 76.27390.63 / 109.38
1,000952.38 / 47.62892.86 / 107.14847.46 / 152.54781.25 / 218.75
1,1801,123.81 / 56.191,053.57 / 126.431,000.00 / 180.00921.88 / 258.13
5,0004,761.90 / 238.104,464.29 / 535.714,237.29 / 762.713,906.25 / 1,093.75
10,0009,523.81 / 476.198,928.57 / 1,071.438,474.58 / 1,525.427,812.50 / 2,187.50

Example rates

India's GST slabs are 5%, 12%, 18% and 28%, and the charts above use these rates. Replace them with your own country's rate if it differs.

The most common mistake

Many people subtract 18% from 1,180 and get 967.60, which is wrong. The 18% was calculated on the 1,000 base, not on 1,180. Always divide by 1.18 to go backwards.

Where tax appears on a bill

  • Tax-exclusive prices (common in the US) show the price before tax, and tax is added at the till.
  • Tax-inclusive prices (common in many other countries) already contain the tax, so you may need to remove it to find the net amount.

Practical tips

  • Check the tax rate for your product category and location, because rates and exemptions differ.
  • Round according to your tax authority's rules when issuing invoices.
  • Keep the net price, tax and gross total as separate lines on an invoice.
  • Business owners should track tax collected and tax paid separately for filing.

FAQ

How do I calculate 18% GST on 1,000?

GST is 180, so the total is 1,180. To go back, divide 1,180 by 1.18.

How do I exclude GST from an amount?

Divide the total by (1 + rate ÷ 100). For 18% GST, divide by 1.18.

Is the formula the same for VAT and GST?

Yes. Both are percentage taxes on value, so the same formulas apply. Only the rates and rules differ by country.

How do I calculate the tax amount from a tax-inclusive price?

Tax = total − total ÷ (1 + rate ÷ 100). At 18%, that is total × 18 ÷ 118.

Use the free tax calculator below to add or remove tax instantly.

Try the calculator

Esc