What Is Sales Tax and How Do You Calculate It?

The shelf price is never the checkout price in America. Whether you are budgeting a $900 laptop, reverse-engineering the pre-tax amount from a $107.88 receipt, or wondering why the same jacket costs less across the state line — the math is four lines long and worth knowing cold.

Sales tax calculation example showing item price, tax rate, sales tax and total amount formulas

Sales tax is the only major tax most people pay weekly without ever calculating it — it just appears at the register. That is exactly why the math matters: budgeting from shelf prices in an 9% state means every $500 shopping plan is silently a $545 plan, and expense reports, side-hustle pricing and marketplace selling all demand you can move between pre-tax and post-tax numbers fluently.

Formula 1: adding sales tax to a price

Tax = price × rate.  Total = price × (1 + rate).
Combined rate = state + county + city + district rates, added together.

Example: a $1,299 laptop in a jurisdiction with 6% state, 1.5% county and 0.75% city tax. Combined rate = 8.25%. Tax = 1,299 × 0.0825 = $107.17; checkout total = $1,406.17.

Formula 2: reversing tax out of a receipt total

Pre-tax price = total ÷ (1 + rate).  Tax portion = total − pre-tax price.

A $53.94 receipt in a 8% combined zone: 53.94 ÷ 1.08 = $49.94 pre-tax; tax = $4.00. The common mistake — subtracting 8% of $53.94 — gives $4.32, which is wrong by 8%. Divide, don't subtract.

Add or reverse any rate instantly — Works both directions: price → total with tax, or receipt → pre-tax amount, with a rate slider. Open sales tax calculator

Tax meets discounts: the order matters

Sales tax is charged on what you actually pay, so apply discounts first:

Seller-funded coupons and instant discounts reduce the taxable amount almost everywhere in the US. Manufacturer mail-in rebates usually do not — you pay tax on the full price and recover the rebate later. Check the discount formula guide when stacking multiple percent-offs, because percentages never add linearly.

Why your friend's rate is different across the river

US sales tax is layer cake: statewide base + county + city + special district (transit, stadium, school) rates. Forty-five states plus DC levy at least a state rate; roughly 38 states permit local additions. That produces real shopping behavior — Portland, Oregon (0%) sits minutes from Vancouver, Washington (~8.6%), and big-ticket purchases genuinely follow the border.

US sales tax vs VAT vs GST — one table

US sales taxVAT (EU/UK)GST (India/Canada/Australia)
Who chargesState + localNationalNational + state (India: CGST+SGST)
When appliedFinal retail sale onlyEach supply-chain stage, creditedEach stage, credited
Shelf price includes it?No — added at checkoutYes — includedUsually included
Typical consumer rate4–10.25%17–27%5–28% (India slabs)

The practical consequence: in VAT/GST countries the displayed price is what you pay; in the US, never trust the shelf tag for an exact budget. If you are price-comparing internationally on marketplaces, convert both items to their post-tax totals first.

When sales tax math actually changes a decision

For the income side of taxes — what actually leaves your paycheck before you spend a dollar — see how to calculate take-home pay.

Frequently asked questions

Frequently asked questions

How do you calculate sales tax on a purchase?

Multiply the pre-tax price by the tax rate: an $899 laptop at 8.25% costs 899 × 0.0825 = $74.17 in tax, for a $973.17 total. For combined state + county + city rates, add the rates first (6% + 1% + 1.25% = 8.25%), then apply once.

How do I find the pre-tax price from a total?

Divide the total by (1 + tax rate). A receipt total of $107.88 with a combined 8% rate: 107.88 ÷ 1.08 = $99.89 pre-tax, and the tax portion is $7.99. Never just subtract 8% of the total — that understates the tax because tax is calculated on the price, not the total.

Is sales tax calculated before or after a discount?

After — in the US, sales tax applies to the discounted price you actually pay. A $200 jacket at 25% off rings up at $150; the 8% tax is $12, for a $162.00 total. Coupons and store discounts reduce the taxable amount; manufacturer rebates typically do not.

Which US states have no sales tax?

Five: Alaska (no state tax, but local taxes up to ~7.5% exist), Delaware, Montana, New Hampshire and Oregon. The highest combined rates reach 10.25% in parts of California and Louisiana, and average combined rates in Tennessee and Arkansas hover near 9.5%.

How is sales tax different from VAT or GST?

US sales tax applies once, at the final retail sale to the consumer. VAT (EU, UK) and GST (India, Canada, Australia) apply at each stage of the supply chain with credits for prior-stage tax — which is why quoted consumer prices in those countries already include the tax, while US shelf prices do not.

Related calculators

Financial disclaimer: This guide is educational and does not constitute investment, tax, credit or legal advice. Rates, taxes and program rules vary by lender, location and time. Verify figures with a qualified professional before making any financial decision.