USA Sales Tax

Sales Tax Guide · Updated

How to Back Out Sales Tax From Receipts

Published · Reviewed by the USA Sales Tax Calculator editorial team.

A receipt usually shows only the final amount paid. For bookkeeping, expense reporting, or a refund, you often need the pre-tax subtotal and the tax embedded inside that total. Backing out sales tax is a one-step division: divide the receipt total by one plus the combined rate expressed as a decimal. The result is the pre-tax price, and the difference between the total and that price is the tax. The method works for a $10 coffee and a $40,000 vehicle, but the combined rate has to be the rate that actually applied at the point of sale.

The reverse sales tax formula

The forward formula is Total = Pre-Tax × (1 + Rate ÷ 100). To reverse it, divide both sides by the multiplier:Pre-Tax = Total ÷ (1 + Rate ÷ 100). If the combined rate is 7.00%, the multiplier is 1.07. A $107.00 receipt becomes $107.00 ÷ 1.07 = $100.00, and the tax is $7.00. If the combined rate is 8.875%, the multiplier is 1.08875, so a $108.88 receipt backs out to roughly $100.00 of pre-tax spending and $8.88 of tax.

Pre-Tax = Receipt Total ÷ (1 + Combined Rate ÷ 100)
Tax = Receipt Total − Pre-Tax

Worked examples at common combined rates

The table below uses rates that real jurisdictions publish, including a mandatory county layer and an average optional local rate. The totals are rounded to the cent using half-up cent rounding, which is what most point-of-sale systems display.

Reverse sales tax examples at common combined rates
Receipt totalCombined ratePre-tax priceTax backed out
$107.007.00%$100.00$7.00
$108.258.25%$100.00$8.25
$108.888.875%$100.00$8.88
$106.106.10%$100.00$6.10
$109.509.50%$100.00$9.50
$54.128.25%$50.00$4.12

Why the combined rate matters more than the state rate

The biggest error in reverse-tax bookkeeping is using the state base rate when the receipt includes local taxes. California's statewide base is 7.25%, but many cities and counties add district taxes that push the combined rate above 9%. Texas starts at 6.25%, yet local rates can add up to 2% for a combined maximum of 8.25%. New York's statewide rate is 4%, but the Metropolitan Commuter Transportation District adds 0.375% and New York City adds another 4.5%, so a Manhattan receipt can carry an 8.875% combined rate. Florida's 6.00% state rate plus county surtaxes produces local combined rates that vary from 6.00% to 7.50% or more. If you reverse a Florida receipt with 6.00% when the county surtax applied, the pre-tax figure will be too low and the tax figure too high.

The state calculators handle the layering explicitly. OpenCalifornia,Texas,New York,Florida, orIllinois to see the statutory state rate, mandatory local component, and average optional local rate separated. If the receipt prints the local rate, use that exact figure rather than the average.

Mixed carts and category exemptions

A single receipt can contain taxable and exempt items. Groceries are exempt from the state rate in most states, but prepared food, candy, and soda are usually taxable. Clothing may be exempt up to a per-item threshold in Massachusetts, Minnesota, New Jersey, Pennsylvania, and Rhode Island, and several states run temporary clothing holidays. When a receipt mixes categories, do not back out tax from the full total using one rate. Split the receipt into taxable and exempt lines first, then apply the reverse formula to the taxable subtotal only. If the receipt does not itemize the tax, the register tape's tax line is the best evidence, and the taxable subtotal can be recovered by adding the taxable line prices rather than dividing the total.

Cent rounding and the 1.005 problem

Binary floating point cannot represent every decimal exactly. In JavaScript,1.005 * 100 is slightly less than 100.5, so a naiveMath.round can produce $1.00 for an amount that should round to $1.01. The calculator on this site adds Number.EPSILON before multiplying by 100, so money(1.005) returns $1.01 while non-finite inputs and magnitudes of 1e15 or more still clamp safely to $0.00. For accounting exports, keep the unrounded pre-tax figure in your ledger and round only the presentation layer; rounding each line before summing can create a one-cent drift that shows up in reconciliation.

A bookkeeper's checklist

  1. Identify the purchase location and the combined rate that applied there.
  2. Separate exempt lines from taxable lines before reversing.
  3. Divide the taxable total by one plus the rate as a decimal.
  4. Subtract the pre-tax result from the total to get the tax.
  5. Compare the result with the tax line printed on the receipt; investigate differences over one cent.
  6. Keep the receipt image, the rate source, and the calculation in the same file for audit review.

For high-volume work, the receipt workspace accepts multiple lines and exports a CSV with receipt total, pre-tax subtotal, backed-out tax, and effective rate. The use tax guide explains what to do when a seller collected no tax at all, and the methodology page documents how the underlying rates are verified.

Reverse tax is not the same as margin or markup

Backing out sales tax recovers the pre-tax selling price that the seller charged. It does not recover the seller's cost, and it does not tell you the seller's margin. A $107.00 receipt at 7.00% backs out to $100.00 of revenue before tax, but the store may have paid $60.00 for the item. The gross margin is $40.00, or 40% of the pre-tax price, not 40% of the receipt total. If you use the tax-inclusive total as the denominator, the margin looks smaller than it really is. Keep the pre-tax revenue, the cost of goods, and the tax separately in the ledger so the margin calculation uses the right base.

Markup and margin are also different from the tax rate. A 30% markup on a $70.00 cost produces a $91.00 pre-tax price, and a 7.00% tax adds $6.37 for a $97.37 total. The tax is not part of the markup, and the markup is not part of the tax. Mixing the two is a common error in spreadsheet models that use a single "multiplier" column. Build the model as separate rows: cost, markup, pre-tax price, tax rate, tax amount, and total. Then the reverse formula can recover any row from the others without ambiguity.

Discounts and returns need the same discipline. If a seller offers a 10% discount on a $100.00 item, the pre-tax price is $90.00 and the tax is calculated on $90.00, not on $100.00. If the receipt shows a discount after tax, the tax may have been calculated on the pre-discount price, which is a different transaction. When a customer returns part of an order, the refund should include the tax that was charged on the returned item. Reversing the full receipt total and then subtracting the returned amount can double-count the tax. Reconcile the refund to the original line, not to the order total.

Shipping and handling are part of the taxable base in many states, so a receipt that includes delivery may have tax calculated on the product plus shipping. If you reverse only the product price, the recovered tax will be too low. The shipping guide explains the state rules, and thegrocery and clothing guide explains how exempt lines change the base.