Sales Tax Calculator

Results:

Enter price and tax rate.

This result is an estimate, not financial, tax, or lending advice.

Estimate the sales tax and the total from a price before tax and a tax rate. The result updates as you type. There is no Calculate button. One rate is applied to the whole price. A tip on a bill is on the tip calculator. A worked example below uses a $49.99 price and an 8.25% tax rate.

How to use this sales tax calculator

  1. Enter the price before tax. Decimals are allowed, such as 49.99.
  2. Enter the sales tax rate as a percent. Type 8.25 for 8.25%, not 0.0825. A rate of 0 is allowed.
  3. Read the result. It recalculates when either field changes. There is no Calculate button.
  4. Choose Clear to empty both fields and restore the starting message.

The price must be a number greater than zero. The rate must be a number greater than or equal to zero. If either field is blank, the result stays on “Enter price and tax rate.” A value that is not a number, a price that is not greater than zero, or a negative rate shows “Enter valid positive values.”

The result line has two dollar amounts, each rounded to cents: sales tax and total. The total is the full-precision price plus the full-precision tax, then rounded. It is not the sum of the price and the already-rounded tax, though those often match.

The sales tax formula

Sales tax = price × rate / 100

Total = price + sales tax

The rate is the percent you type. An 8.25% tax uses 8.25 / 100, which is 0.0825. A rate of 0 makes the tax zero and the total equal to the price.

Display rounding happens after the multiplication. Each result is rounded to two decimal places from the full-precision number.

Worked example

Take a price of $49.99 and a tax rate of 8.25%. Type 49.99 and 8.25. The result line reads:

Sales tax: $4.12 | Total: $54.11

  1. Sales tax = 49.99 × 8.25 / 100 = 4.124175.
  2. Rounded to cents, the sales tax is $4.12.
  3. Total = 49.99 + 4.124175 = 54.114175, which rounds to $54.11.

49.99 + 4.12 = 54.11. In this example the sum of the rounded tax and the price matches the rounded total. The calculator still adds the full-precision numbers first, then rounds.

On the percentage calculator, “What is X% of Y?” with X = 8.25 and Y = 49.99 is the same tax amount, rounded to cents.

Sample results

Price before taxTax rate (%)Sales taxTotal
49.998.254.1254.11
2000.0020.00
1006.56.50106.50
8.507.250.629.12

The zero-rate row keeps the price. $20 at 0% is $0.00 tax and a $20.00 total. The $8.50 row is 8.50 × 7.25 / 100, rounded to cents for the tax, with the total rounded from the full-precision sum.

What this estimate leaves out

Sales tax calculator FAQ

How is sales tax calculated?
Sales tax is the price times the tax rate divided by 100. The total is the price plus that tax. A $49.99 price at 8.25% shows Sales tax: $4.12 | Total: $54.11.

Should I enter the rate as 8.25 or 0.0825?
Enter 8.25 for 8.25%. The calculator divides the percent by 100. Entering 0.0825 would treat the rate as 0.0825%, which is not an 8.25% sales tax.

What if the tax rate is zero?
Sales tax is $0.00 and the total equals the price. A $20 price at 0% shows Sales tax: $0.00 | Total: $20.00.

Does this add tax on top of tax?
No. One rate is applied to the price you enter. A second local tax has to be included in the rate you type, or added by you afterward.

Can I find the price before tax?
Not on this page. Enter the price before tax. The percentage calculator can divide a tax-inclusive total by 1 plus the rate, which is a different calculation.

Why might the register total differ?
A register can round tax per item, tax only part of the sale, or add a fee that is not tax. This page applies one rate to one price and rounds the tax and the total to cents at the end.

Finance calculators

Financial note

This result is an estimate, not financial, tax, or lending advice. It is the tax on the price at the rate you enter, added to that price.

By Gino Flores Updated