Tax, Payroll & Insurance Sales Tax, VAT & Duties State and local sales and use tax; tax-inclusive to tax-exclusive conversion

Reverse Sales Tax Calculator

You have a receipt total and you need the price before tax — for an expense report, a bookkeeping entry, or a reimbursement claim. The move that seems obvious is wrong: multiplying the total by the tax rate overstates the tax every time, because the rate is defined on the pre-tax base, not on the total. Divide by one plus the rate instead. This calculator does that, splits the recovered tax by jurisdiction, and shows the rounding that makes the two lines add back exactly to the receipt.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Tax-inclusive totalThe amount actually charged, exactly as printed on the receipt or invoice.162.72 $
State rateThe statewide rate in force at the sale address; enter the whole combined rate here if you only know the total.6.25 %
County rateCounty or parish rate; leave at 0 if you are entering a single combined rate above.1.0 %
City rateMunicipal rate for the address where the sale was sourced.0.75 %
Special district rateTransit, stadium or hospital district rates; add them together if more than one applies.0.5 %

It returns

  • Pre-tax price — The taxable amount the tax was computed on.
  • Sales tax included in the total
  • Combined rate
  • Tax as a share of the total — r ÷ (1 + r) — always smaller than the tax rate itself.
  • Divisor used — 1 + the combined rate as a decimal. Dividing by this is the whole calculation.

The formula

P=T1+r
stotal=r1+r

In plain text: Pre-tax price = total ÷ (1 + r); Tax = total − pre-tax price = total × r ÷ (1 + r)

  • PPre-tax price — the taxable base ($)
  • TTax-inclusive total actually charged ($)
  • rCombined sales tax rate as a decimal (decimal)

The rate is defined on the pre-tax base, so recovering that base is a division. Subtracting r × T from T removes too much, by a factor of exactly (1 + r).

Updated Category Sales Tax, VAT & Duties Verified against published test cases Reading time 10 min

Why you cannot just subtract the rate

Sales tax is quoted as a percentage of the price before tax. Once the tax is added, the total is a larger number, so the same tax is a smaller percentage of it. Take a rate of 8.5 percent: a $100 item becomes $108.50, and the $8.50 of tax is 7.834 percent of that total, not 8.5 percent.

That is why multiplying a receipt total by the tax rate is wrong. On the $108.50 receipt it gives 108.50 × 0.085 = $9.22 of tax and a pre-tax price of $99.28 — an error of 72 cents on a $100 purchase, and it grows in proportion to the amount.

The correct operation is division. If P is the price and r the rate, then the total is T = P × (1 + r). Rearranged, P = T ÷ (1 + r). Everything else on this page follows from that one line of algebra.

You need it more often than you would expect: expense reports that require a net figure, VAT-style reclaim processes, bookkeeping entries that post the tax to a liability account, per diem reconciliation, and any time a supplier quotes an all-in price and your budget is stated net.

The formula and the identity worth memorising

Divide by one plus the rate. At 8.5 percent the divisor is 1.085. At 7 percent it is 1.07. That single number does the whole job, and it is why the calculator reports it as an output — with the divisor in hand you can back tax out of any figure on the receipt with a calculator that has no memory.

The tax is then the remainder. Subtract the recovered price from the total. Equivalently, and usefully, the tax equals T × r ÷ (1 + r) directly. At 8.5 percent that multiplier is 0.085 ÷ 1.085 = 0.078341, so 7.8341 percent of any total is the tax inside it.

Watch the two-cent rounding problem. Divide $162.72 by 1.085 and you get $149.9723…, which rounds to $149.97. The tax is then 162.72 − 149.97 = $12.75, which matches the receipt exactly. If instead you rounded the tax first and subtracted, you could land a cent away and the two posted lines would not add back to the total. Always round the recovered price and derive the tax from the difference — the calculator flags the cases where the two methods disagree.

Splitting by jurisdiction uses the recovered price, not the total. Once you have P, each layer's tax is P × r_layer. Doing it the other way round — apportioning the tax figure by the ratio of the rates — gives the same answer here, because all four layers share one base. That is not true where a jurisdiction imposes an excise on a different base, which is why restaurant and lodging receipts need to be unpicked line by line.

Worked example: a $162.72 receipt at 8.5 percent

A receipt shows $162.72 for goods bought where the state rate is 6.25 percent, the county 1.00 percent, the city 0.75 percent and a transit district 0.50 percent.

  1. Combined rate. 6.25 + 1.00 + 0.75 + 0.50 = 8.50 percent.
  2. Divisor. 1 + 0.085 = 1.085.
  3. Pre-tax price. 162.72 ÷ 1.085 = 149.97235…, so $149.97.
  4. Tax included. 162.72 − 149.97 = $12.75.
  5. Tax as a share of the total. 12.75 ÷ 162.72 = 7.8355 percent — close to, but not exactly, the 8.5 ÷ 108.5 = 7.8341 percent identity, because the posted figures are rounded to the cent.
  6. Check it forwards. 149.97 × 1.085 = 162.71745, which rounds to $162.72. The pair reconciles.

Split the tax by jurisdiction using the recovered price: state 149.97 × 0.0625 = $9.37, county 149.97 × 0.01 = $1.50, city 149.97 × 0.0075 = $1.12, district 149.97 × 0.005 = $0.75. Those round-to-cent figures total $12.74, a cent under the $12.75 embedded in the receipt — the shortfall is rounding, and returns are filed from unrounded amounts for exactly this reason.

Contrast the wrong method one more time. Multiplying the total by the rate gives 162.72 × 0.085 = $13.83 of tax and a pre-tax price of $148.89. That is $1.08 too little on a $150 purchase, an error of 0.72 percent — which is precisely (0.085 × 0.085 = 0.007225), and therefore always the same proportional error at a given rate.

How to read the result

Check the reconciliation before you post anything. Multiply the recovered price by the divisor. If it does not come back to the receipt total within a cent, either the rate is wrong or the total includes something that was not taxed at that rate.

A mismatch usually means an exempt or differently taxed line. Groceries at a reduced rate, a delivery charge that was not taxed, a bottle deposit, or a tip on a restaurant bill will all break the single-rate assumption. Split the receipt into blocks that share a rate and back each block out separately.

The tax share of the total is the number to keep. It is fixed for a given rate, so if you process receipts from the same jurisdiction regularly you can multiply any total by it directly. At 6 percent it is 5.6604 percent; at 7 percent, 6.5421 percent; at 8.5 percent, 7.8341 percent. The reference table lists the common ones.

Do not use this on a VAT or GST receipt without checking what is displayed. The arithmetic is identical, but VAT-inclusive pricing is the norm in most VAT countries, so the total already contains the tax by design and the invoice usually states the net, the tax and the gross separately. Where the invoice gives them, use the stated figures rather than re-deriving them.

Hospitality receipts need more care than retail ones. A hotel bill often carries a general sales tax plus a lodging or occupancy tax, sometimes on different bases and sometimes with one applied to the other. Back out the layers in the order the jurisdiction imposes them rather than adding the rates together.

Divisors and tax shares at common combined rates

Backing tax out of a $100.00 tax-inclusive total at common combined rates. Divide by the divisor; never subtract the rate.
Combined rateDivisor (1 + r)Tax share of the totalPre-tax priceTax included
4.00%1.04003.8462%$96.15$3.85
5.00%1.05004.7619%$95.24$4.76
6.00%1.06005.6604%$94.34$5.66
6.50%1.06506.1033%$93.90$6.10
7.00%1.07006.5421%$93.46$6.54
7.25%1.07256.7599%$93.24$6.76
8.00%1.08007.4074%$92.59$7.41
8.50%1.08507.8341%$92.17$7.83
9.00%1.09008.2569%$91.74$8.26
10.00%1.10009.0909%$90.91$9.09

Every column is derived from the rate alone. The tax share column is r ÷ (100 + r) expressed as a percentage; multiply any tax-inclusive total by it to get the tax directly.

Mistakes that make a reverse calculation wrong

  • Multiplying the total by the rate. This overstates the tax by a factor of (1 + r) — 8.5 percent too much at an 8.5 percent rate.
  • Using the state rate alone. The receipt was taxed at the combined rate, so backing out with the state rate leaves local tax stranded in the pre-tax figure.
  • Backing out a mixed-rate receipt in one step. Groceries at a reduced rate and general merchandise on the same ticket need separate calculations.
  • Including a tip or a service charge in the base. A voluntary tip is not taxable in most states; a mandatory service charge often is. Only the taxed portion belongs in the calculation.
  • Rounding the tax first and subtracting it. Round the recovered price instead and take the tax as the difference, so the two lines add back to the total exactly.
  • Assuming an excise tax works the same way. Fuel, alcohol, tobacco and lodging taxes may be per unit rather than ad valorem, and are sometimes inside the base that sales tax is then applied to.

The one-line check that catches almost every error

Multiply your answer back. Pre-tax price times (1 + r) must reproduce the receipt total to the cent. It takes five seconds and it catches a wrong rate, a mistyped total, a mixed-rate receipt, and the subtract-instead-of-divide error all at once. If the check fails by more than a cent or two, the assumption that one rate applies to the whole total is the first thing to question — not the arithmetic.

Where this is used and what to reach for next

The commonest use is bookkeeping. A purchase paid at the till arrives as one number, but the ledger needs the expense at net and the tax posted separately — to a recoverable input tax account under a VAT system, or to expense under a US sales tax where the buyer is the final consumer and the tax is simply part of the cost.

The second commonest use is pricing. If you want a round tax-inclusive shelf price, this calculation gives the net price that produces it: a $20.00 all-in price at 8.5 percent needs a net price of 20 ÷ 1.085 = $18.43. Set the margin on that net figure with the selling price from margin calculator, because sales tax never forms part of margin.

To go the other way — a known net price plus tax — use the sales tax calculator, which applies the same four layers forwards and handles the per-item versus per-invoice rounding rule.

For imported goods, the tax-inclusive total on a courier invoice frequently bundles duty, a merchandise processing fee and a brokerage charge alongside any tax. Those are not proportional to price in the same way, so unpick them with the import duty and customs fee calculator and the landed cost calculator before applying this one.

Frequently asked questions

How do I find the price before tax from a total?

Divide the total by one plus the tax rate expressed as a decimal. A $162.72 total at a combined 8.5 percent rate gives 162.72 ÷ 1.085 = $149.97. The tax is then the difference, $12.75. Do not multiply the total by the rate — that overstates the tax at every rate.

Why does multiplying the total by the tax rate give the wrong answer?

Because the rate is defined on the pre-tax price, which is smaller than the total. The tax is r ÷ (1 + r) of the total, not r of it. At 8.5 percent that is 7.8341 percent rather than 8.5 percent, so multiplying by the rate overstates the tax by 8.5 percent of itself.

What rate should I use if the receipt does not show one?

Look up the combined rate for the seller's address in that state's rate lookup, using the full street address rather than the ZIP code. Then check your answer by multiplying it back: if the recovered price times one plus the rate does not reproduce the total, the rate is wrong or the receipt mixes taxable and exempt items.

Does this work for VAT and GST?

Yes, the algebra is identical — divide by one plus the rate. A 20 percent VAT-inclusive total is divided by 1.2, and the VAT is one sixth of the gross. In practice most VAT and GST invoices state the net, tax and gross explicitly, so use the printed figures where they are available and reserve this method for till receipts that show only a total.

My answer is a cent away from the receipt. What went wrong?

Nothing, most likely. Rounding to the cent at different points in the calculation moves the result by a cent or two. Round the recovered pre-tax price and take the tax as total minus that rounded price, so the two posted lines always add back to the receipt exactly. A gap of more than two cents points at a wrong rate or a mixed-rate receipt.

How do I handle a receipt with taxable and exempt items together?

Split it. Group the lines by the rate that applied to them, back each group out on its own rate, and add the pre-tax figures at the end. A single division on the whole total assumes every dollar was taxed at the same rate, and it will silently misstate both the price and the tax when that is not true.

Is the tip on a restaurant bill part of the taxable amount?

A voluntary tip is not taxable in most states, so it should be removed from the total before this calculation. A mandatory service charge — a large-party gratuity, for example — is generally treated as part of the sale and is taxable. Check the receipt: a taxed service charge appears above the tax line, a voluntary tip below it.

Can I recover the sales tax I paid?

Only in specific cases. A US sales tax paid by a final consumer is not recoverable; a business buying goods for resale avoids it up front with an exemption certificate instead. Individuals who itemise may deduct state and local sales taxes in place of state income taxes, subject to the combined cap. Foreign VAT is often reclaimable by a business through a refund scheme, which is why net figures are needed on the expense claim.

References