Sales Tax Calculator
Add sales tax to a price, or work backwards from a total that already includes tax.
Adding tax
Total = price × (1 + rate ÷ 100)
A $100 item with 5% tax costs $100 × 1.05 = $105, of which $5 is tax.
Removing tax from a total
Price before tax = total ÷ (1 + rate ÷ 100)
If a receipt total of $112 includes 12% tax, the pre-tax price is 112 ÷ 1.12 = $100 and the tax is $12. A common mistake is to subtract 12% of $112, which gives $98.56 and is wrong.
Combined rates
In Canada, provinces either charge a single harmonized sales tax (HST) or charge GST and a provincial sales tax separately. Add separate rates together to get the combined rate, for example 5% GST plus 7% provincial tax is 12%. In the United States, state, county and city taxes are added together. Rates change and some items are exempt, so check the current rate where you buy.
Frequently asked questions
Is tax charged before or after discounts?
Usually after. Apply the discount first with the discount calculator, then add tax to the sale price.
Why is my receipt a cent different?
Stores round tax on each item or on the total, which can differ by a cent from a single calculation.
Reviewed October 2026 · How we build our calculators · Report an issue