TalkingCalc
Home › Guides › How GST, VAT and Sales Tax Work (and How to Add or Remove Them)

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

Add tax to a price, take it out of a tax-inclusive price, avoid the common subtract-the-percentage mistake, and see how discounts and tax interact on a final bill.

3 min read · Updated 2026-11-17

What these taxes are

GST (goods and services tax), VAT (value added tax) and sales tax are all taxes added to the price of goods and services. The names and rules differ by country, and rates can vary by product, but the arithmetic is the same: a percentage is applied to a base price to get the tax, and the tax is added to get the total.

The practical question is usually one of two things. Either you know the price before tax and want the final price, or you know the final price that includes tax and want to know how much of it is tax. Each needs a different calculation, and mixing them up is the most common mistake.

Adding tax to a price

To add tax, multiply the pre-tax price by the tax rate to get the tax amount, then add it to the price. Or in one step, multiply the price by 1 plus the rate. For a rate of 18%, the multiplier is 1.18.

For a pre-tax price of 1,000 at 18%, the tax is 180 and the final price is 1,180. This is the direction most shop receipts show: subtotal, tax, total.

Removing tax from a tax-inclusive price

When the price already includes tax, you must divide, not subtract. Divide the total by 1 plus the rate. With a total of 1,180 and a rate of 18%, divide by 1.18 to get a pre-tax price of 1,000. The tax is the difference, which is 180.

The common mistake is to take 18% of 1,180 and subtract it. That gives a tax of 212.40 and a base of 967.60, which is wrong, because 18% applies to the smaller pre-tax price, not to the total. The error looks small on one item but becomes a real discrepancy across invoices.

Another example: a price of 2,500 includes a 12% tax. Divide 2,500 by 1.12 to get a base of 2,232.14, so the tax portion is 267.86.

How discounts and tax interact

When a store gives a percentage discount and then adds tax, the order does not change the result, because both are multiplications. A 2,000 item with 25% off and 18% tax costs 2,000 × 0.75 × 1.18, which is 1,770.

The order does matter with fixed-amount coupons in some places. If tax is charged on the full 2,000 first, the tax is 360, and a 500 coupon taken off afterwards gives 1,860. If the coupon reduces the taxable price first, the tax is smaller and the total is lower. Check how your local rules and the retailer handle it.

Where tax calculations show up

  • Shopping and online orders, where you want to know the real cost before checkout.
  • Small business invoices, where you must show the tax-exclusive price, the tax and the total separately.
  • Expense claims and bookkeeping, where you need to split a tax-inclusive receipt into its base and tax parts.
  • Comparing prices between regions that show prices with or without tax.

Common questions

Is the tax rate the same everywhere? No. Rates and the goods that qualify for reduced rates differ widely between countries and regions, so use the rate that applies to you.

Why does my receipt differ by a cent? Many systems round tax per line item, while others round the total, which can create a small difference.

Can a calculator replace tax advice? No. Our GST and sales tax calculators handle the arithmetic, but for filing, registration or exemptions, consult official guidance or a qualified adviser.

Key takeaways

  • To add tax, multiply by 1 plus the rate. To remove tax, divide by 1 plus the rate.
  • Never subtract the percentage from a tax-inclusive total: 1,180 with 18% tax is a base of 1,000, not 967.60.
  • Percentage discounts and percentage tax can be applied in either order, but fixed coupons can change the result.

Try the calculators

More guides