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
- Enter the price before tax. Decimals are allowed, such as 49.99.
- Enter the sales tax rate as a percent. Type 8.25 for 8.25%, not 0.0825. A rate of 0 is allowed.
- Read the result. It recalculates when either field changes. There is no Calculate button.
- 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
- Sales tax = 49.99 × 8.25 / 100 = 4.124175.
- Rounded to cents, the sales tax is $4.12.
- 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 tax | Tax rate (%) | Sales tax | Total |
|---|---|---|---|
| 49.99 | 8.25 | 4.12 | 54.11 |
| 20 | 0 | 0.00 | 20.00 |
| 100 | 6.5 | 6.50 | 106.50 |
| 8.50 | 7.25 | 0.62 | 9.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
- More than one price. Tax is on the single price you enter, not a cart of items rounded one by one.
- Exempt items. The whole price is taxed. A split between taxable and exempt goods is not a separate mode.
- A second tax. Type the combined rate if state and local tax both apply. This page does not add a second rate on its own.
- Tax already included. Enter the price before tax. This page does not peel tax out of a total.
- A tip. A tip is not sales tax. Use the tip calculator for that.
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
- Loan calculator: principal and interest on a fixed rate.
- Extra payment calculator: payoff time and interest saved when you add principal each month.
- Mortgage calculator: principal, interest, property tax, homeowners insurance, and PMI.
- Auto loan calculator: vehicle price minus a down payment and a trade-in.
- Compound interest calculator: growth of a balance that compounds.
- Savings goal calculator: the monthly deposit that reaches a target.
- Credit card payoff calculator: months to clear a balance with a fixed payment.
- Sales tax calculator: tax and total from a price and a rate.
- Tip calculator: tip, total, and the split across people.
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.