A surprisingly common billing bug shows up whenever someone tries to back out sales tax from a tax-inclusive receipt total.
If an item costs $100.00 before tax and the combined state-and-local rate is 8.25%, the customer pays $108.25. Later, when reconciling expenses from the $108.25 total alone, taking 8.25% off the gross figure gives:
$108.25 × (1 - 0.0825) = $99.3194 ≈ $99.32
That is $0.68 short of the real $100.00 subtotal.
The Forward vs. Reverse Formula
Forward tax multiplies the pre-tax price $P$ by $(1 + r)$:
Total = P × (1 + r)
Recovering $P$ from a tax-inclusive total $T$ therefore requires division, not subtraction:
P = T / (1 + r)
Tax = T - P = T × r / (1 + r)
With $T = $108.25 and $r = 0.0825$:
P = 108.25 / 1.0825 = $100.00
Tax = 108.25 - 100.00 = $8.25
The error grows quadratically with the tax rate: subtracting $r$ multiplies by $(1 + r)(1 - r) = 1 - r^2$, understating the pre-tax base by $r^2 \cdot P$. At a 10% rate, the shortcut is off by 1% of the entire invoice.
Compounding Local Districts and Penny Rounding
In practice, U.S. point-of-sale systems also introduce two boundary details:
- Combined rate vs. stacked jurisdiction rules. Most states apply a single combined rate (state + county + city + special district) to the taxable base, though a few jurisdictions have item-specific thresholds or caps.
- Half-up vs. banker's rounding per line item. Calculating tax per line item vs. on the invoice subtotal can differ by $0.01 when fractional cents sit near
.005.
If you want to verify forward tax or reverse-calculate a pre-tax subtotal across U.S. state rates step by step, you can test the numbers in the Miryori Sales Tax Calculator.
Note: Figures above are illustrative arithmetic examples; verify jurisdiction-specific exemptions and filing rules with local tax authorities.