Sales Tax Calculator

Enter any two fields to get the rest.
Step-by-step derivation
Enter any two fields to see the working here.
References
  • Rate as decimal: r = p / 100
  • Forward (tax-exclusive): T = N × r ; G = N + T = N × (1 + r)
  • Reverse (tax-inclusive): N = G / (1 + r) ; T = G − N = G × r / (1 + r)
  • Find rate: p = 100 × (G − N) / N ; also p = 100 × T / N ; or p = 100 × T / (G − T)

Use this Sales Tax Calculator to add sales tax to a pre-tax price, remove tax from a tax-inclusive price, find the tax amount, or calculate the implied sales tax rate from known values.

Important: This calculator performs sales-tax arithmetic only. It does not determine whether a product or service is taxable or which state, local, city, or district tax rate applies.

Sales Tax Formula

First convert the sales tax percentage to decimal form:

Tax rate = sales tax % ÷ 100

When starting with a pre-tax price:

Sales tax = net price × tax rate

Gross price = net price + sales tax

Or directly:

Gross price = net price × (1 + tax rate)

Removing Sales Tax

If the entered price already includes sales tax:

Net price = gross price ÷ (1 + tax rate)

Sales tax = gross price − net price

Do not simply subtract the tax percentage from the gross price, because the percentage is normally applied to the pre-tax amount.

Finding the Sales Tax Rate

If the net and gross prices are known:

Sales tax rate = (gross price − net price) ÷ net price × 100

If the tax amount and net price are known:

Sales tax rate = tax amount ÷ net price × 100

Worked Example

Suppose an item costs $250 before tax and the applicable sales tax rate is 8%.

Sales tax:

$250 × 8% = $20

Final price:

$250 + $20 = $270

So the transaction has a $250 pre-tax price, $20 sales tax, and $270 tax-inclusive price.

To reverse the calculation:

$270 ÷ 1.08 = $250

$270 − $250 = $20 tax

Important Notes

  • Sales-tax rates and taxable items vary by state and local jurisdiction.
  • Some locations combine state, county, city, district, or other local taxes into the final rate.
  • Even locations within the same ZIP code can sometimes fall under different taxing jurisdictions.
  • Food, clothing, medicine, services, vehicles, digital products, and other purchases may receive different tax treatment depending on location.
  • Tax holidays, exemptions, resale certificates, discounts, trade-ins, shipping charges, and special tax rules are not automatically considered.
  • The calculator assumes the entered rate applies to the entire taxable net amount.
  • Official invoices or point-of-sale systems may use specific rounding rules that create small differences.
  • The currency selector changes the displayed currency label only and does not perform exchange-rate conversion.
  • Use the applicable state or local tax authority’s current rate and rules for official transactions, accounting, or tax compliance.

Sources

More of our calculators...

Rent vs Buy Calculator

Use this rent vs buy calculator to compare the estimated long-term cost of renting versus buying using mortgage, rent, taxes, costs, appreciation, and investment return.

ROI (Return on Investment) Calculator

Use our ROI (Return on Investment) Calculator to calculate return on investment, profit, ROI percentage, ROI ratio, invested amount, or returned amount from any two values.

Lease Calculator

Use this lease calculator to estimate monthly auto lease payments, depreciation charge, finance charge, residual value, due at signing, tax, and total lease cost.

Debt Payoff Calculator

Use this debt payoff calculator to compare avalanche and snowball payoff methods, estimate debt-free time, total interest, total paid, and payoff order.

Price Elasticity of Demand Calculator

Price Elasticity of Demand Calculator helps you measure demand responsiveness and solve PED values quickly.

Salary to Hourly Calculator

Use our Salary to Hourly Calculator to convert hourly wage, annual salary, weekly, biweekly, monthly, daily, per-minute, and per-second pay.

USA Annual Income Calculator

Estimate annual gross income, federal tax, FICA, optional state/local tax, deductions, and take-home pay from hourly, monthly, or salary income.

Commission Calculator

Use this commission calculator to estimate commission earned, total pay, effective commission rate, and sales needed to reach a target commission.

Credit Card Payoff Calculator

Use our Credit Card Payoff Calculator to estimate payoff time, payoff date, total interest, and monthly schedule for fixed or minimum credit card payments.