Sales Tax Calculator

Add sales tax to a price or work backwards to find the pre-tax amount, with the difference between sales tax and value-added tax explained.

Tax amount
Total

At 8.25%, a total of $0.07 is impossible

Take a price in whole cents, add tax, round to the nearest cent. Each extra cent of price adds about 1.0825 cents of total, so the totals climb in steps slightly larger than one — and the values they step over can never occur. Between $0.01 and $54.13 there are 5,413 possible cent totals and 413 of them are unreachable. The first few are $0.07, $0.20, $0.33, $0.46, $0.59.

The first gap sits at seven cents for a reason. Tax only reaches half a cent — the point where it rounds up rather than away — at a price of 0.005 ÷ 0.0825, which is 6.06 cents. So prices of one through six cents are untaxed and pass straight through, a seven cent price becomes eight, and seven is skipped.

RateTotals unreachablePredicted by r ÷ (1+r)Ambiguous
6.00% 5.7% 5.7% 0
7.00% 6.5% 6.5% 0
8.25% 7.6% 7.6% 0
10.00% 9.1% 9.1% 0

The measured share matches r ÷ (1+r) at every rate, which is the tidy version of the same fact: totals are spread over a range 1+r times as wide as the prices, so a fraction r ÷ (1+r) of them has to be skipped. What does not happen is collisions. Adding tax is strictly increasing, so no two prices ever produce the same total — the last column is zero everywhere. The map has gaps but no ambiguity, which is why working backwards from a receipt total is reliable whenever it is possible at all.

Where you round costs nothing; how you round costs half a cent a line

Tax on each line, rounded and then summed, is not the same number as tax on the sum. Across 20,000 random baskets at 8.25%:

ItemsBaskets that differMean gapWorst seenAverage bias
3 34% 0.34¢ +0.006¢
10 59% 0.70¢ +0.021¢
30 75% 1.24¢ +0.031¢

Three quarters of thirty-item baskets come out different depending on where the rounding happens, by up to 6 cents. That is why two correct calculators can disagree on the same receipt, and why jurisdictions specify a method rather than leaving it open. But look at the last column: rounding to nearest keeps it a wash. The bias is a few thousandths of a cent, so nobody is systematically better off.

Rounding each line down is a different animal, and the same simulation makes the difference plain:

ItemsBaskets that differMean gapAverage bias
3 83% 1.00¢ -1.00¢
10 100% 4.49¢ -4.49¢
30 100% 14.49¢ -14.49¢

Every line loses about half a cent, and those losses all point the same way instead of cancelling: -14.5 cents on a thirty-item basket, every time. So the choice most people worry about — line versus invoice — is free on average, and the choice nobody mentions is worth half a cent per line forever.

How to use

  1. Enter the amount and the tax rate.
  2. Choose whether to add tax or remove it.
  3. Read the tax amount and the total.
  4. Check your local combined rate, which may include several layers.

Frequently asked questions

How do I remove tax from a total?

Divide by one plus the rate, rather than subtracting the percentage. Removing 10 per cent tax from 110 gives 100, not 99 — subtracting the percentage takes it from the wrong base. This is the single most common error in reverse tax calculation.

What is the difference between sales tax and VAT?

Where they are collected. US sales tax is charged once, at the final sale to the consumer. Value-added tax is charged at every stage, with businesses reclaiming what they paid, so the end consumer bears a similar burden by a different mechanism. VAT is much harder to evade, which is largely why most of the world uses it.

Why is US sales tax so complicated?

Because it is set independently by states, counties, cities and special districts, which stack. There are thousands of distinct jurisdictions, boundaries do not follow postal codes reliably, and which goods are exempt varies by state — groceries and clothing being common exceptions.

Are quoted prices inclusive of tax?

In the US, usually not — the displayed price excludes sales tax, which appears at the till. In most VAT countries, consumer prices must be shown inclusive. This regularly catches out visitors in both directions.

What is a use tax?

The counterpart to sales tax on goods bought elsewhere and brought into a jurisdiction, intended to stop people avoiding tax by purchasing across a border. It is widely owed and famously little paid by individuals.

Is this calculator authoritative for filing?

No. Rates change, jurisdiction boundaries are intricate, and exemptions vary by product category. Use it for quick estimates, and a current rate lookup or an accountant for anything you are filing or charging customers.

🔒 This tool runs entirely in your browser. Nothing you enter is uploaded, logged, or stored.