Sales Tax Calculator

TAX TOOL · FORWARD & REVERSE

Sales tax calculation

Calculated on this device
Pre-tax item or subtotal price ($0 to $100,000,000).
Combined state and local sales tax rate (0% to 100%).

AFTER-TAX PRICE

$106.50

Sales tax amount: $6.50 (6.10% of total price).

Formula After-Tax = Before-Tax × (1 + Rate ÷ 100)

Before-Tax Price$100.00Net subtotal
Sales Tax Amount$6.50At 6.50% rate
After-Tax Price$106.50Gross total

HOW IT WORKS

Forward & reverse sales tax formulas

US sales tax is an ad valorem percentage added at checkout to the pre-tax price. Depending on which two values you have, you can solve forward for the receipt total, work backward from a tax-included total, or verify the tax rate charged on a receipt.

01

Solve for After-Tax Price

Multiply the pre-tax price by the tax rate and add it to the subtotal:

Tax = BeforeTax × (Rate ÷ 100), Total = BeforeTax + Tax
02

Reverse: Solve for Before-Tax Price

Divide the tax-included total by (1 + Rate ÷ 100)—never simply subtract the tax percentage from the gross total:

BeforeTax = AfterTax ÷ (1 + Rate ÷ 100)
03

Solve for Sales Tax Rate

When you know both the pre-tax price and final receipt total:

TaxRate (%) = [(AfterTax − BeforeTax) ÷ BeforeTax] × 100

SHOPPER & SELLER GUIDE

Combined rates, reverse tax math, and discounts

State, county, and municipal combined rates

In the United States, your checkout Sales Tax Rate (%) is often the sum of a statewide base rate plus county, city, and special transit district taxes. Five states (Alaska, Delaware, Montana, New Hampshire, and Oregon) have no statewide sales tax, though some Alaska municipalities levy local sales taxes.

How to back out sales tax from a total

For bookkeeping, expense reports, and tax-inclusive pricing, use Before-Tax Price mode. Dividing the gross total by 1 + (TaxRate ÷ 100) accurately separates the net revenue from the tax collected.

Related retail, margin, and tipping tools

Applying a store coupon before tax? Check your sale price and tax in the Discount Calculator. For business markup and gross profit pricing, use the Margin Calculator, or calculate restaurant gratuity on pre-tax vs. post-tax bills in the Tip Calculator.

Frequently asked questions

Why does subtracting 8% from a tax-included total give the wrong pre-tax price?

Because 8% was added to the smaller pre-tax base, taking 8% of the larger gross total subtracts too much. Always divide the gross total by 1.08 instead.

Are discounts applied before or after sales tax?

In most US states, store coupons and instant markdowns reduce the taxable price before sales tax is calculated. Manufacturer rebates may still be taxed on the pre-rebate price depending on state law.

Can I calculate sales tax for a 0% tax-exempt purchase?

Yes. Enter 0 in Sales Tax Rate (%) to verify $0.00 tax and an after-tax price equal to the before-tax price.

Why might a receipt total differ by $0.01?

Merchants round individual line items or total tax to the nearest cent using half-up or state-mandated rounding rules, which can occasionally cause a 1-cent difference on multi-item receipts.

Your sales tax calculations run locally in this browser and are never sent to a server.