Skip to content
Popular Calculators
Browse Finance calculators

Sales Tax Calculator

Add tax to a price or take it back out — with the subtraction error shown beside the right answer, because it is exactly the square of the rate.

What do you want to work out?

The price before tax when adding, or the tax-inclusive price when removing.

About the Sales Tax Calculator

Adding tax to a price is easy. Taking it back out is where people go wrong, and they go wrong in one specific, predictable way:

Subtracting the percentage instead of dividing.

If a price of 120 includes 20% tax, the pre-tax price is not 120 less 20%. That gives 96 — and 96 plus 20% is 115.20, not 120.

The tax was charged on the smaller number, so recovering it means dividing by 1.20, which gives 100. And 100 plus 20% is exactly 120.

How to Use the Sales Tax Calculator

Add tax to a price when you have a net figure and need the total.

Take tax out of a price when you have a tax-inclusive figure — a receipt, a shelf price, an invoice total — and need the net amount and the tax.

Quantity multiplies the whole line, which is useful for invoicing.

Step-by-Step Example

A receipt for 120.00 at 20%.

  Correct:    120 ÷ 1.20  =  100.00 net,  20.00 tax
  Wrong:      120 × 0.80  =   96.00 net,  24.00 tax

The error is 4.00 of net and 4.00 of tax, in opposite directions. On a VAT return or an expense claim, that overstates the recoverable tax by 20%.

How Wrong Is the Subtraction, Exactly?

There is a neat answer, and it is worth knowing because it explains why the habit survives.

As a share of the correct net figure, the error is exactly the square of the rate.

RateError
5%0.25%
10%1%
20%4%
25%6.25%

At 5% the subtraction is wrong by a quarter of one percent, which nobody notices. At 25% it is wrong by over 6%, which on any volume is a real number.

The algebra, for anyone who wants it:

  net − naive  =  G·r² / (1 + r)
  (net − naive) / net  =  r²

So it is nearly right at low rates and gets quadratically worse. It also always errs in the same direction — understating the pre-tax amount and overstating the tax — so the mistakes accumulate rather than cancelling out.

Why the Division Works

Think about what happened when the price was set.

A shop takes a net price of 100 and multiplies it by 1.20 to get 120. The tax was calculated on the 100.

To reverse a multiplication you divide. Taking 20% off the 120 instead applies the percentage to the wrong base — the larger number, which already includes the tax.

It is the same error as assuming a 50% loss is undone by a 50% gain. The percentage is applied to a different base going back than it was going out.

On an Expense Claim

This is where the error costs money in practice.

  Receipt:                     120.00
  Recoverable tax (correct):    20.00
  Recoverable tax (wrong):      24.00

Claiming 24.00 overstates the recoverable tax by 4.00 on a single receipt. Across a year of expenses, that is a consistent overclaim in one direction — the kind of error that shows up in an audit precisely because it never goes the other way.

Several Rates on One Invoice

A related trap worth naming: you cannot average the rates.

If an invoice has items at 5% and items at 20%, working out the tax on the total at 12.5% is wrong unless the amounts at each rate happen to be equal. The tax depends on how the total splits between rates, not on the average of the rates.

Calculate each rate separately and add the results.

VAT, GST and Sales Tax

The arithmetic is identical whatever the tax is called. VAT, GST and sales tax all multiply a net price up to a gross one, so all of them are reversed by dividing. Only the rate changes.

The one practical difference is convention: some jurisdictions display prices including tax and others display them excluding it, which decides whether you usually need the "add" mode or the "remove" mode.

Understanding Your Result

Result is the total when adding, or the net figure when removing.

Net, tax and total gives all three, which is what an invoice line needs.

Per item separates the unit figure from the line total.

The common error shows what subtracting would have given, and by how much it is out.

Worth knowing puts the error in context for your rate.

When Should You Use This Calculator?

Working backwards from a receipt. The main use, and the one people get wrong.

Pricing your own goods. Setting a target net price and adding tax to it.

Filing a VAT or GST return. The divided figure is the right one.

Checking an invoice. If the tax is exactly the rate times the total, it has been calculated on the wrong base.

Common Mistakes

Subtracting the rate to get the pre-tax price. The error is the square of the rate.

Applying the rate to a tax-inclusive total. The tax was charged on the net figure.

Averaging mixed rates. Calculate each separately.

Rounding at the wrong point. Round the final figures, not the intermediate ones, or the pennies drift across a long invoice.

Assuming the displayed price convention. Whether a shelf price includes tax varies by country, and getting it backwards makes every figure wrong.

Trusting a quick mental subtraction on a big number. It is the same error, just larger.

Rates vary by jurisdiction and by product. Every figure here is an estimate for planning, not tax advice.

Frequently Asked Questions

How do I work out the price before tax?

Divide by one plus the rate, do not subtract the rate. A price of 120 including 20% tax is 120 ÷ 1.20 = 100, not 120 less 20% which gives 96. The tax was charged on the smaller figure, so recovering it means reversing the multiplication rather than taking a percentage off the larger number.

How wrong is subtracting the percentage?

Exactly the square of the rate, as a share of the correct net figure. At 5% the error is 0.25%, at 20% it is 4%, at 25% it is 6.25%. That is why the habit survives — it is nearly right at low rates and gets quadratically worse as the rate climbs. It also always errs the same way: understating the pre-tax amount and overstating the tax.

Which figure should I use on an expense claim?

The divided one. On a 120 receipt at 20%, the recoverable tax is 20.00 and the net cost is 100.00. Claiming 24.00 because that is 20% of 120 overstates the tax by 4.00, which on a business's returns is the kind of error that accumulates and does not cancel out.

Does this work for VAT and GST?

Yes — the arithmetic is identical whatever the tax is called. VAT, GST and sales tax all multiply a net price up to a gross one, so all of them are reversed by dividing. Only the rate changes.

What about several items at different rates?

Calculate each rate separately and add the results. Mixing rates and applying an average is a common shortcut and it is wrong unless the amounts at each rate happen to be equal — the tax depends on how the total splits between rates, not on the average of the rates.

Last reviewed September 24, 2026 by the CalculatorPeak editorial team.