Skip to content

Sales Tax Calculator (Any Rate)

Enter the tax rate where you buy or sell and the price, and you get the tax and the total. You can add several items with their quantities, or go the other way: from the total on a receipt back to the price before tax.

Works anywhere in the world, wherever you are.

What do you have?

The combined rate where you buy or sell (state, local, national). There are no rate tables here: look it up with your tax agency or on a receipt.

Items

Total due

$107.00

Tax: $7.00 (7%)

Subtotal
$100.00
Tax
$7.00
Rate
7%
Tax share of total
6.54%

This calculator does not know which rate applies where you are or which items are exempt: it uses the rate you enter, rounded to the cent with half a cent going up. Works with any currency; the $ sign is only a label.

Shopping in Puerto Rico? The IVU Calculator already has the current rate built in and splits the state and municipal portions; you will find it under related tools.

About this calculator

How it works

Forward: tax = price × rate, and total = price + tax. With several items, each price is multiplied by its quantity first and the lines are added up.

In reverse: price = total ÷ (1 + rate), and the tax is the difference. Taking the rate off the total is not the same, and it is the most common mistake: at 7%, taking 7% off $107.00 leaves $99.51, but the real price was $100.00.

This calculator has no rate tables by state, country or city. Rates change, stack across levels of government and have product exceptions, so you enter the rate. Look it up with your tax agency or read it off a recent receipt.

Examples

An $80.00 purchase at a 7% rate: the tax is $5.60 and the total $85.60.

In reverse, if you paid $107.00 at that same 7% rate, the price before tax was $100.00 and the tax $7.00.

Several items at an 8.25% rate: three at $19.99 and two at $4.50 come to $68.97; the tax is $5.69 and the total $74.66.

Rounding notes

Tax is rounded to the cent, with half a cent going up: $0.035 is charged as $0.04. That is the most common rule on receipts, but some jurisdictions use another, so your receipt may differ by a cent.

With several items, where you round matters. Three $0.50 items at 7%: rounding each one gives $0.04 per item, $0.12 in all; working it out on the $1.50 subtotal gives $0.11. With more than one item, the calculator lets you choose the rounding and shows what the other would give.

In reverse, sometimes no price in whole cents produces exactly the total you entered. At 7%, $9.35 gives $10.00 and $9.36 gives $10.02: no price gives $10.01. When that happens, the calculator warns you and gives the nearest price.

Prices that already include tax

In many countries the shelf price already includes value-added tax. To separate out how much of it is tax, use the "Total including tax" mode with your country's rate.

If you are shopping in Puerto Rico, the IVU Calculator is the better fit: it has the current rate built in and splits the state and municipal portions. You will find it under related tools.

Important limitations

  • It does not know which rate applies where you are or which items are exempt or taxed at a reduced rate: it applies the rate you enter to every item.
  • If a purchase mixes items at different rates, work each group out separately.
  • Rounding is to the cent, with half a cent going up. Some jurisdictions or point-of-sale systems round differently, so the result may be a cent off.
  • Not tax advice. For how much tax a business must collect or remit, check with your tax agency or a professional.
  • Works with any currency; the $ sign is only a label.

Frequently asked questions

Divide the total by (1 + rate). With a $107.00 total at 7%: 107 ÷ 1.07 = $100.00, so the tax was $7.00. Pick "Total including tax" and the calculator does it for you.

Because the tax was worked out on the price, not on the total. Taking 7% off $107.00 gives $99.51, which is not the original $100.00 price.

The one that applies where you buy or sell, adding up every level (state and local, for example). This calculator deliberately has no rate tables: rates change often and depend on the product. Look it up with your tax agency or on a receipt.

Rounding. If the store works out tax item by item and the calculator works it out on the total (or the other way round), they can differ by a cent: three $0.50 items at 7% give $0.12 per item and $0.11 on the total. Switch the rounding to compare.

It does if you enter the rate, but for Puerto Rico the IVU Calculator is easier: it has the current rate built in and splits out the state and municipal portions.

This calculation runs in your browser and is never sent to a server. Your last values may be saved on your device only, for convenience. Results are estimates and are not financial, tax, accounting or legal advice.