Payment clarity

Sales Tax Calculator

Enter a pre-tax price and sales tax rate to calculate the tax amount and final price. Use the reverse formula when a receipt already includes tax, and verify local rules before using the result for invoicing or compliance.

Last reviewed May 14, 2026 by ToolSpilo Editorial Team.

Review method: Reviewed against general sales-tax and VAT/GST collection concepts; weak generic content was replaced with formula, reverse-tax example, and local-rule caveats.

For informational purposes only. Not financial, investment, or tax advice. Results are estimates based on the inputs provided. Consult a qualified financial professional before making financial decisions.

Calculator tool

How this calculator works

Use the explanation to understand the formula, assumptions, and practical limits behind the calculator result.

What This Calculator Does

A sales tax calculator adds a tax percentage to a pre-tax purchase price. It is useful for shopping estimates, quotes, invoices, and checking whether a receipt total makes sense.

Sales tax is location-specific. The calculator does the arithmetic, but it does not know whether a product is taxable, exempt, reduced-rate, or subject to local add-on taxes.

Sales Tax Formula

Tax amount=Pre-tax price×Sales tax rate100\text{Tax amount} = \text{Pre-tax price} \times \frac{\text{Sales tax rate}}{100}
Total price=Pre-tax price+Tax amount\text{Total price} = \text{Pre-tax price} + \text{Tax amount}

Worked Example

Assume a 150.00 pre-tax item and an 8% sales tax rate.

Tax amount=150×0.08=12\text{Tax amount} = 150 \times 0.08 = 12

Total price=150+12=162\text{Total price} = 150 + 12 = 162

So the customer pays 162.00, and 12.00 of that is sales tax.

Reverse Sales Tax

If a total already includes tax, divide by the tax factor to recover the pre-tax price:

Pre-tax price=Total price1+Sales tax rate/100\text{Pre-tax price} = \frac{\text{Total price}}{1 + \text{Sales tax rate}/100}

Example: a receipt total of 162.00 at 8% tax means 162÷1.08=150162 \div 1.08 = 150 pre-tax, and the tax amount is 162150=12162 - 150 = 12.

What Can Change the Real Tax

  • Jurisdiction: state, city, county, and district rates can stack.
  • Product category: groceries, medicine, digital goods, shipping, and services may be treated differently.
  • Buyer type: resale certificates, nonprofit exemptions, and business purchases can change taxability.
  • Marketplace rules: online marketplaces may collect tax differently depending on local law.

Use the result as a calculation check, not as tax advice.

Frequently asked questions

Is sales tax the same as VAT?

No. Sales tax is usually collected at the final retail sale to the consumer. VAT/GST is collected through the supply chain, with registered businesses often claiming input-tax credits.

For a consumer checking a final price, the arithmetic can look similar: taxable base × rate = tax. For a business, the reporting and credit rules are very different.

How do I remove sales tax from a total price?

Divide the tax-included total by 1+r1 + r, where rr is the tax rate as a decimal.

Example: total price 108.00 with 8% sales tax:

108÷1.08=100108 \div 1.08 = 100 pre-tax price

The tax amount is 108100=8108 - 100 = 8. Do not subtract 8% from 108; that gives 99.36, which is wrong because the 8% rate applies to the pre-tax price.

Why does the real sales tax differ from this estimate?

The calculator only applies the rate you enter. The real tax can differ because:

  • Local rates stack differently by address
  • Some products are exempt or reduced-rate
  • Shipping, delivery, or service fees may be taxable in some places
  • Marketplace or seller rules can affect collection

For compliance or invoicing, verify the official rate and taxability rules for the exact location and product.

Should I calculate sales tax before or after a discount?

Usually the taxable price is the price after the discount, but rules can vary by jurisdiction and by discount type.

Example: 100.00 item, 20% store discount, 8% tax. If the discount reduces the taxable price, tax is calculated on 80.00, so tax is 6.40 and total is 86.40. If a manufacturer rebate is treated differently, the taxable base may not be the same. Check local rules for invoices and accounting.