Sales Tax Calculator

Calculate sales tax and the total after tax, or reverse a tax-inclusive total to estimate the pre-tax price and tax amount.

Enter purchase details

Use the exact sales-tax rate that applies to the purchase.

Calculation typeAdd or reverse tax
USD
$
Combined rate
%

Rates above are examples, not location recommendations. Enter the rate that actually applies to your purchase.

Sales-tax result

8.25% sales tax

Total after tax
$139.64
Price before tax
Sales tax
Price before tax$129
Sales tax$10.64 · 8.25%
Total after tax$139.64
Exact math for the rate you enter.Actual checkout tax can still differ if the wrong jurisdictional rate is entered or if the purchase has special taxability or rounding rules.

How to use the sales tax calculator

Choose Add tax when you know the pre-tax subtotal and want to calculate the sales tax amount and final price. Choose Reverse tax when you know the final tax-inclusive total and want to work backward to the subtotal and tax portion.

Enter the combined sales tax rate that applies to the transaction. The calculator does not guess a rate from your location because the correct rate can depend on state and local jurisdictions, sourcing rules, and whether the product or service is taxable.

Sales tax formulas

Calculation formulaAdd sales tax
Used for the result above
sales tax = pre-tax price × (tax rate ÷ 100)
total after tax = pre-tax price + sales tax
Calculation formulaReverse sales tax
Used for the result above
estimated pre-tax price = final total ÷ (1 + tax rate ÷ 100)
sales tax = final total − pre-tax price

Money is collected in cents, so reverse-tax arithmetic needs more care than displaying a long decimal. The reverse mode searches for a cent-valued subtotal that reproduces the entered final total after the tax is rounded to cents. That keeps the result closer to receipt-style arithmetic instead of pretending every transaction has infinite decimal precision.

What the sales tax results mean

Pre-tax subtotal

The price before the entered sales tax rate is applied. In reverse mode, this is the cent-level subtotal reconstructed from the final amount.

Sales tax amount

The tax generated by the entered rate and taxable subtotal, rounded to cents for the modeled transaction.

Total after tax

The subtotal plus the sales tax amount. This is the modeled amount due after tax.

Tax rate

The combined percentage you enter. It should match the transaction you are checking rather than a generic statewide rate when local tax also applies.

Sales tax rates can include state and local jurisdictions

In the United States, a purchase can be affected by more than one taxing jurisdiction. A combined sales tax rate may include state, county, city, or special-district components. Some states have no statewide general sales tax, while many states allow local rates on top of the state rate.

For that reason, a statewide percentage found in a general table may not be the rate that applies to a specific address or transaction. If accuracy matters for a real purchase, use the applicable state tax agency or official rate-lookup resource and then enter the combined rate here.

Streamlined Sales Tax state information provides links to member-state tax rates and rate lookup applications where available. The Federation of Tax Administrators also links to state tax agencies.

Taxability, exemptions, and sourcing matter

The arithmetic can be correct while the rate or taxable base is wrong. Groceries, clothing, digital products, services, medicine, prepared food, and other categories can be treated differently depending on the jurisdiction. Exemptions and sales-tax holidays can also change whether tax applies.

Sourcing rules determine which jurisdiction's rate applies to some transactions, especially delivery and remote sales. This calculator intentionally does not make those legal determinations. It calculates the numbers once you supply the rate and amount to model.

Sales tax examples

$129 purchase at 8.25%

The modeled tax is $10.64 after cent rounding, producing a total of $139.64.

Reverse a $108.25 total

At an 8.25% rate, reverse mode can recover a $100 subtotal and $8.25 of sales tax under ordinary cent rounding.

$1,500 purchase at 7.25%

The modeled tax is $108.75, producing a tax-inclusive total of $1,608.75.

Why sales tax can differ from a receipt

Retail systems do not all round in the same place. A merchant may calculate tax on each taxable line and then add the rounded amounts, while another system may calculate tax on a transaction-level taxable subtotal. Discounts, coupons, bundled products, shipping, and item-level taxability can also change the taxable base.

That means a one-cent difference does not automatically mean the percentage arithmetic is wrong. For a receipt audit, compare the taxable subtotal, applicable rate, and the merchant's rounding method.

Example: Avery checks a checkout total

Avery buys a $100 item at an entered sales tax rate of 8%. Tax is $8 and the checkout total is $108. In reverse mode, entering $108 and 8% recovers the $100 subtotal and $8 tax.

The reverse calculation divides by 1.08 rather than subtracting 8% of $108. Tax is based on the pre-tax amount, so simply subtracting the rate from the final total gives the wrong subtotal.

Combined sales tax rate and product taxability are different questions

A combined sales-tax rate can include state and local components, but knowing the rate does not automatically tell you whether a particular product or service is taxable. Exemptions and sourcing rules can differ by jurisdiction and transaction.

That is why this calculator asks for the tax rate rather than inferring one from a ZIP code. Use a current state or local source when you need to determine the correct rate and taxability for a real purchase.

When reverse sales tax is useful

Reverse sales-tax math starts with a tax-inclusive total and a known rate, then solves for the pre-tax amount. It is useful when a receipt or quoted total includes tax but you need to separate the underlying price and tax amount.

The reverse result depends on the assumption that one uniform rate applies to the entire taxable amount. Mixed taxable and exempt items require line-item information rather than a single reverse calculation.

Sales tax calculator FAQs

How do I calculate sales tax?

Multiply the pre-tax price by the sales-tax rate expressed as a decimal, round the tax to cents, and add the tax to the original price.

How do I remove sales tax from a total?

Divide the tax-inclusive total by one plus the tax rate expressed as a decimal. This calculator also checks cent-level rounding so the recovered subtotal can reproduce an ordinary receipt-style total.

Does this calculator find my local sales tax rate?

No. Enter the combined rate that actually applies to the purchase. State, county, city, district, sourcing, and product-taxability rules can affect the real rate.

What is a combined sales tax rate?

A combined rate is the total percentage applied to the taxable transaction after applicable state and local jurisdiction rates are combined.

Why can a receipt differ by one cent?

Retail systems can round tax by item, line, or transaction, and different taxability rules can change the taxable base. Those transaction-specific rules can create a one-cent difference.

Are all products and services taxed at the same rate?

No. Taxability and exemptions vary by jurisdiction and by the item or service. The calculator performs arithmetic using the rate you enter; it does not decide whether a transaction is legally taxable.

Is this the IRS Sales Tax Deduction Calculator?

No. The IRS tool estimates state and local general sales taxes for possible federal itemized-deduction purposes. This calculator is for purchase-price and reverse-tax arithmetic.

Related calculators

For discounts, markups, and general percentage math, use the Percentage Calculator. For restaurant gratuity and equal bill splitting, use the Tip Calculator and Bill Splitter.

For purchase-price arithmetic and educational use. This calculator uses the sales tax rate you enter and does not determine legal taxability, exemptions, sourcing, or the correct jurisdictional rate for a real transaction.