Inputs

Results update as you type. The link in the address bar keeps the inputs so you can share it.

What this means

  • At 8.25%, tax is $8.25 on a $100.00 price.
  • To remove tax, divide by 1 plus the rate. Subtracting the rate from the total gives the wrong answer.

What if

Treat it as a total Switch the direction. Tax would be $7.62.

About this calculator

What this calculator does

It multiplies a price by the tax rate to add tax, or divides a tax-included total by one plus the rate to find the price before tax.

How it is calculated

add: tax = price * rate, total = price * (1 + rate)

remove: price = total / (1 + rate), tax = total - price

How to read the result

Rounding can differ by a cent from a receipt, because stores may round per item.

Sources and method

Standard arithmetic with no outside data. The formula is shown under How it is calculated, and unit tests check worked examples, including edge cases.

This page uses arithmetic only, with no outside data.

Questions

What rate should I use?

Your combined local rate. Check your state or city revenue department.

Why not subtract 8% from the total?

Tax was 8% of the lower pre-tax price, so you must divide by 1.08 instead.

Is VAT the same?

The math is the same for adding or removing a flat rate, though VAT rules differ.

Are some items tax-exempt?

Often, such as some groceries. Rules vary by place.