Sales Tax Calculator
Add sales tax to a base price, or extract the base price from a tax-inclusive total.
Sales tax formulas
Taxtax = price × rate
Totaltotal = price × (1 + rate)
Price before taxprice = total1 + rate
Worked examples
$250 purchase at 8.875% (New York City).
- Tax = 250 × 0.08875 = 22.1875
- Total = 250 + 22.19
Answer: Tax $22.19, total $272.19
A receipt total is $107.25 including 7.25% tax. What was the price?
- 107.251.0725
Answer: $100.00 (tax $7.25)
Tips & common mistakes
- To remove tax, divide by (1 + rate) — subtracting the rate from the total gives the wrong answer.