Calculators

Sales Tax Calculator

Quick answer

To add sales tax, multiply the price by the tax rate divided by 100 and add it. A $100 item at 8% tax costs $108. To remove tax from a total, divide by (1 + rate ÷ 100). This calculator does both for any sales tax, VAT or GST rate, with a quantity field.

Found this useful? WhatsApp X LinkedIn

How it works

Adding tax multiplies the pre-tax amount by (1 + rate). Removing tax divides the total by (1 + rate), which is more accurate than subtracting the percentage from the total.

Examples

Example$100 at 8% sales taxTax is $8 and the total is $108.
Example$120 total including 20% VATThe price before tax is $100 and the VAT is $20.

About the sales tax calculator

Sales tax, VAT and GST all work the same way: a percentage added to the price. This calculator adds tax to a price to give the total, or works backwards to remove tax from a total and show the price before tax. Set any rate and quantity, or tap a common rate.

When to use it

  • Estimating the final price before paying.
  • Finding the pre-tax price from a receipt.
  • Splitting VAT or GST out of an invoice.
  • Comparing prices across regions with different rates.

Tips for accurate results

  • Divide by 1 + rate to remove tax, do not subtract the percentage.
  • Check your local rate, as it can include state and city taxes.
  • Round tax per item or per receipt the way your region does.
  • Use the quantity field for multiple items.

Common mistakes to avoid

  • Subtracting the tax percentage directly from the total.
  • Using the wrong local rate.
  • Forgetting that some items are exempt.

Sales tax on a specific price

PricePages
505% tax · 6% tax · 7% tax · 8% tax · 10% tax
1005% tax · 6% tax · 7% tax · 8% tax · 10% tax
2005% tax · 6% tax · 7% tax · 8% tax · 10% tax
4805% tax · 6% tax · 7% tax · 8% tax · 10% tax
5005% tax · 6% tax · 7% tax · 8% tax · 10% tax
1,0005% tax · 6% tax · 7% tax · 8% tax · 10% tax

Frequently asked questions

How do I calculate sales tax?

Multiply the pre-tax price by the tax rate as a decimal. At 7.25%, a $50 item has 50 × 0.0725 = $3.63 tax.

How do I remove tax from a total?

Divide the total by 1 plus the rate. A $108 total at 8% is 108 ÷ 1.08 = $100 before tax.

Why not subtract 8% from the total?

Because the tax was calculated on the lower pre-tax price, so 8% of the total is slightly more than the real tax.

Written by Jasveer Raj, software engineer · Last updated 3 Nov 2026

Esc