How sales tax is calculated
To add tax, the tax amount equals the pre-tax price multiplied by the rate divided by 100, and the total is the price plus that tax. To remove tax from a tax-included total, divide the total by one plus the rate as a decimal: for an 8% rate, divide by 1.08. The pre-tax price plus the recovered tax equals the original total.
Frequently asked questions
How do you calculate sales tax?
Multiply the pre-tax price by the tax rate divided by 100 to get the tax, then add it to the price for the total. An 8% tax on $50 is $4, for a total of $54.
How do I remove sales tax from a total?
Divide the tax-included total by 1 plus the rate as a decimal. For an 8% rate, divide by 1.08. The result is the pre-tax price and the difference is the tax.
What sales tax rate should I use?
Use the combined rate that applies where the sale happens, which can include state, county, and city portions. Rates vary widely by location, so check your local rate.
Does this sales tax calculator store my data?
No. Every calculation runs entirely in your browser. No prices or rates are uploaded or saved.
Is the result exact for my purchase?
It is an estimate. Stores may round each line item differently and some items are tax-exempt, so the receipt total can differ by a few cents.
Related calculators
Disclaimer: Results are estimates for general informational use only and are not tax advice. Sales tax rules, rates, and exemptions vary by jurisdiction and change over time. Confirm the exact amount at checkout or with a qualified professional.