How the sales tax calculator works
US sales tax calculator with the sales tax rate of every state plus your local rate (county, city, special district): sales tax and total price from the price before tax, or the price before tax from the total.
- Total price$107.25$100.00 + 7.25%
- Total sales tax$7.25
- Combined rate7.25%state 7.25%, local 0%
Total price$107.25
- Price before tax$100.00
- State tax$7.25
- Total
- Total price: $107.25
- Price
- Price before tax: $100.00
- Rate
- Combined rate: 7.25%
- 1The price before tax is $100.00.
- 2The rate is the state rate (7.25%) plus local taxes: 7.25%.
- 3$100.00 × 7.25% = $7.25 tax.
- 4At the register you pay $107.25.
Working backwards: from the goal to the input
- What was the price before tax?Here you set the goal, for example Total price $108. Fixed: State California (7.25%). The calculator looks for the value of Price before tax at which the calculation hits exactly this goal: $100.70. Check: with $100.70, Total price comes to $108.
Inputs
- Price before tax
- State
- Local rate (county + city + special)
- State rate (for “Other”)
- Combined rate (replaces state + local if set)
Results
- Total price
- Total sales tax
- State tax
- Local tax
- Combined rate
- State rate
Show formulas
- Total price:
price + salesTax - Total sales tax:
round(price * combinedRate, 2) - State tax:
round(price * min(stateRate, combinedRate), 2) - Local tax:
round(salesTax - stateTax, 2) - Combined rate:
combinedOverride > 0 ? combinedOverride : stateRate + localRate - State rate:
state == 0 ? customStateRate : usStateSalesTax(state)
Add your own result fields with “+ Field” – every input is available as a variable.