Skip to content

Guide

How to Calculate Sales Tax Backwards From a Receipt

Given a tax-inclusive total, the pre-tax amount is total ÷ (1 + rate) — not total minus the tax percentage.

By Published

Most sales-tax math runs forward: take a pre-tax price, add the rate, get a total. But a common real-world problem runs the other way — you have a receipt or invoice with only the final, tax-inclusive number, and you need to know what portion was the actual sale price. Expense reports, accounting exports, and reimbursement forms all ask for this pre-tax figure regularly, and the naïve approach (subtracting the tax percentage from the total) gets it wrong every time.

The formula

If total = pretax × (1 + rate), then solving for the pre-tax amount gives:

pretax = total ÷ (1 + rate)

Take a $108 receipt with an 8% sales tax baked in. The rate as a decimal is 0.08, so the pre-tax amount is 108 ÷ 1.08 = $100, and the tax portion is exactly $8. That checks out: $100 × 1.08 = $108.

Why subtraction gets it wrong

The tempting shortcut is to take 8% of the $108 total and subtract it: 108 − (0.08 × 108) = 108 − 8.64 = $99.36. That’s about 64 cents off from the real answer. The error comes from applying the percentage to the wrong base — the tax was originally calculated on the smaller pre-tax amount, not on the larger tax-inclusive total, so subtracting a percentage of the total over-corrects.

Worked reference table

Total (tax-inclusive)RatePre-tax (exact)Naïve subtraction
$108.008%$100.00$99.36
$54.509%$50.00$49.60
$212.506.25%$200.00$199.22
$1,088.758.875%$1,000.00$992.10

The gap between the exact figure and the naïve subtraction grows with both the rate and the total — at higher tax rates or larger purchases, the error compounds into real money on an expense report or reconciliation.

Where this actually shows up

This isn’t just an academic distinction. It matters when:

  • Expense reporting. Some corporate expense systems require the pre-tax amount and tax amount as separate line items, even when the receipt only shows the total.
  • Cross-border shopping. Tax-inclusive pricing is standard in the EU, so a traveler comparing a European price to a US pre-tax price needs to back out the tax first — see our VAT vs sales tax guide for how the two systems differ structurally.
  • Auditing a vendor invoice. Verifying that a vendor charged the correct tax rate requires isolating the pre-tax base first.

The same reverse logic applies to discounts, not just tax — if you know a sale price and the percent off, working back to the original list price uses an analogous formula, covered in our reverse percentage guide.

Frequently asked questions

How do I back out sales tax from a total?
Divide the total by (1 + tax rate as a decimal). A $108 total at 8% tax: 108 ÷ 1.08 = $100 pre-tax, and the tax itself was $8.
Why can't I just subtract the tax percentage from the total?
Because the percentage was calculated against the smaller pre-tax base, not the larger total. Subtracting 8% of $108 gives $99.36 — about 64 cents short of the real $100 pre-tax amount.
Does this work for any tax rate?
Yes. The formula pretax = total ÷ (1 + rate) holds for any single tax rate, whether it's a 4% state tax or a 13% combined HST rate in Canada.
What if two taxes were applied, like GST and PST?
You need to know whether the second tax was calculated on the pre-tax base or on the GST-inclusive amount. See our guide on compound sales tax in Canada for the two models.

Sources & references

Authoritative references cited by this piece. Verified by Buğra Sözeri on the dates shown and re-checked at every deploy.

Related

More guides on this topic

Published September 25, 2026