Use this free sales tax calculator to add tax to a price, take tax out of a total, work out the tax rate from two prices, or see the final cost after a discount and tax. Results update as you type, and the formula behind each answer is shown so you can check the math.

Sales tax is added at checkout, so the price on the shelf is rarely what you pay. Use this calculator to know your real total before you buy, or to separate tax from a receipt total.

How to use the sales tax calculator

Pick the calculator that matches your question and fill in the boxes. Enter the tax rate as a percentage, for example 8.5 for 8.5%.

  • Add sales tax: enter a pre-tax price and a rate to get the tax amount and the total.
  • Remove sales tax: enter a total that already includes tax to find the original price and the tax paid.
  • Find the tax rate: enter the price before tax and the total after tax to get the rate that was applied.
  • Discount, then tax: apply a percentage discount first, then add tax to the reduced price.

Sales tax formulas

QuestionFormulaExample
Sales tax amountPrice × (Rate ÷ 100)$40 at 8.5% = $3.40
Total with taxPrice × (1 + Rate ÷ 100)$100 at 8.5% = $108.50
Price before taxTotal ÷ (1 + Rate ÷ 100)$54 at 8% = $50.00
Tax rate((Total − Price) ÷ Price) × 100$80 → $86.80 = 8.5%
Discount, then taxPrice × (1 − Disc ÷ 100) × (1 + Rate ÷ 100)$120, 25% off, 8% tax = $97.20
Whether you're budgeting a purchase, checking a receipt, or pricing products for sale, knowing the exact tax removes the guesswork.

Worked examples

Adding tax to a price

A laptop bag costs $100 and the local sales tax rate is 8.5%. The tax is 100 × 0.085 = $8.50, so the total at checkout is $108.50.

Removing tax from a receipt total

Your receipt shows $54.00 and you know the tax rate was 8%. The price before tax is 54 ÷ 1.08 = $50.00, which means $4.00 of the total was tax. Do not simply subtract 8% of $54, because tax was applied to the smaller pre-tax price, not to the total.

Discount before tax

A jacket costs $120 and is 25% off. The sale price is $90. With 8% sales tax, the tax is $7.20 and the final total is $97.20. In most places tax is charged on the discounted price, but rules for coupons and manufacturer rebates can differ.

Common sales tax mistakes

  • Subtracting the rate from the total. To remove tax, divide the total by (1 + rate), not by subtracting a percentage of the total.
  • Using the wrong rate. Sales tax often combines state, county, and city rates, so the rate can change from one address to the next.
  • Forgetting to divide by 100. 8.5% is 0.085 as a decimal, not 8.5.
  • Assuming everything is taxed. Some items, such as certain groceries, clothing, or medicine, may be taxed at a lower rate or exempt depending on where you live.

Frequently asked questions

How do I calculate sales tax?

Multiply the price by the tax rate as a decimal. For example, 8.5% tax on $40 is 40 × 0.085 = $3.40, so the total is $43.40.

How do I remove sales tax from a total?

Divide the total by 1 plus the tax rate as a decimal. If you paid $108.50 with 8.5% tax, the pre-tax price is 108.50 ÷ 1.085 = $100.00.

How do I find the sales tax rate from a receipt?

Subtract the pre-tax price from the total, divide by the pre-tax price, and multiply by 100. Use the "Find the tax rate" calculator above to do it automatically.

Is sales tax charged before or after a discount?

In most cases tax is calculated on the discounted price. Store coupons usually reduce the taxable amount, while some manufacturer coupons do not, so check the rules for your state or local area.

Does every state have sales tax?

No. Several US states, including Delaware, Montana, New Hampshire, and Oregon, have no statewide sales tax, and some places add local taxes on top of the state rate. Check your state or local revenue department for the exact rate that applies to you.

Share this article