Sales Tax Calculator

Add sales tax to a price or back out the pre-tax amount from a total.

Compute sales tax both ways: amount + rate → total with tax, and total + rate → pre-tax amount and tax portion. Useful for invoicing, expense reports and shopping comparisons.

Common use cases

  • Compute the total cost including local sales tax before checkout
  • Back out the pre-tax amount from a receipt for expense reports
  • Compare two cities' total cost with different tax rates
  • Verify a vendor's tax line on an invoice

Frequently asked questions

Does it work for VAT?
Yes — the math is the same. Use your country's VAT rate (e.g. 20% UK, 19% Germany).
Reverse formula?
pre-tax = total / (1 + rate/100); tax = total − pre-tax.
Are rates exact?
Yes — input rate is used directly. Look up your jurisdiction's combined rate (state + local) for accurate US calculations.

Related tools