How sales tax is calculated
The calculation is straightforward: multiply the pre-tax price by the decimal form of the tax rate to get the tax amount, then add the result to the original price to get the total. If you know the total inclusive price and want to work backwards to the pre-tax price, divide the total by (1 + the tax rate as a decimal).
The effective tax rate — tax as a percentage of the total price rather than the pre-tax price — is always slightly lower than the stated rate. At an 8% rate, the effective rate on the total is about 7.4%. This distinction matters when comparing tax-inclusive and tax-exclusive pricing.
Tax amount = Price x (Tax rate / 100)
Multiply the pre-tax price by the tax rate expressed as a decimal to find the tax amount.
Total price = Price + Tax amount
The final price the customer pays is the pre-tax price plus the calculated tax.
Pre-tax price = Total / (1 + Tax rate / 100)
To reverse-calculate the pre-tax price from a tax-inclusive total, divide the total by one plus the rate.