Sales tax calculator

Add sales tax to a price or take it out of a total. Type one or two rates. Runs on your device.

How it works

  1. Pick whether you have the price or the total
  2. Type the amount and the tax rate, plus a second rate if you have one
  3. Read the tax, the price before tax and the total

Add tax to a price, or take it out of a total

Choose Price before tax when the sticker price leaves tax out. The tax is the price times the rate, and the total is the price plus the tax. Choose Total with tax when you have a receipt total and want the price before tax. Then the price is the total divided by 1 plus the rate, and the tax is what is left over. The page opens on 50.00 at 8.25%: the tax is 4.125, which rounds up to 4.13, so the total is 54.13. Going back, 54.13 divided by 1.0825 is 50.0046, shown as 50.00, and the tax is 4.13 again. You type every rate yourself, so the page never goes out of date and does not need to know where you are. It works for any place where a percentage is added at the till.

One tax or two

Some purchases carry two taxes at once, such as a state rate and a local rate in the US, or GST and a provincial tax in Canada. Type the first rate in Tax rate and the second in Second tax rate. By default the two rates are added and applied to the price. With 5% and 7% on a price of 100.00, the tax is 12.00 and the total is 112.00. A switch appears once a second rate is typed: Second tax is charged on top of the first. When it is on, the second rate applies to the price plus the first tax, so 5% then 10% on 100.00 acts as 1.05 × 1.10 = 1.155, a tax of 15.50, where adding the rates gives 15.00. Which one is right depends on how the tax is set up where you buy, so the page does not guess. Check your receipt and flip the switch until the tax matches.

Rounding and limits

The tax is rounded to 2 decimals, with halves rounded up. The other figures follow from it so that the price before tax plus the tax always equals the total shown. A shop may round per item or per receipt, so a receipt can differ by a cent from this page. The amount can be 0 up to 1,000,000,000,000 and each rate from 0 to 100. Numbers can be typed with commas, as in 1,250.50. Amounts have no currency symbol and the digit grouping follows your browser's language setting. The box How this was worked out shows each step with your own numbers. Nothing you type is stored or sent. This is an estimate, not financial advice.

Frequently asked questions

How do I take sales tax out of a total?

Choose Total with tax, type the total and the rate, and read Price before tax. The price is the total divided by 1 plus the rate. A total of 108.25 at 8.25% divided by 1.0825 is 100.00, and the tax is 8.25. Do not subtract 8.25% of the total: that takes off too much.

How do I add two taxes together?

Type the first rate in Tax rate and the second in Second tax rate. With the compound switch off, the two rates are added, so 5% and 7% act as 12%. On a price of 100.00 that gives 12.00 tax and a total of 112.00.

When should I use the compound switch?

Use it when the second tax is charged on the price plus the first tax. With 5% and 10% on 100.00, compound gives 15.50 tax and a total of 115.50, while the default gives 15.00 and 115.00. The page cannot know which way your tax works. Compare with a receipt and switch to the one that matches.

Why is my receipt one cent different?

This page rounds the tax once, to 2 decimals, halves up. A till may round each item and add the results, or round the whole receipt another way. On a 0.05 item at 10%, the tax is 0.005 and shows as 0.01 here. The difference is a cent or two, not a different rate.

Does it know my state or province rate?

No. There is no list of rates, because rates change and a stale list gives wrong answers. Type the rate from your receipt, a tax notice or an official source. The result is an estimate, not financial advice.