Sales Tax Calculator

Cashier handing a receipt at a checkout terminal where sales tax is added to the purchase

What Will You Actually Pay at the Register?

Stop Guessing the Checkout Total

The price on the shelf tag is only the beginning of the story. Across most of the United States, sales tax is added at the register — not baked into the sticker price — so a $100 item at an 8% tax rate actually costs $108 when the cashier rings it up. Stack a store discount or a local tax add-on and the mental math gets messy fast.

This free sales tax calculator is the forward version: start with the pre-tax item price and it works forward to the tax amount and the final total you will pay. Type your local rate, tap a common one, add an optional store discount (applied before tax, the way most states charge it), and you get a line-by-line breakdown — subtotal, discount, taxable amount, tax, and total. Starting from a tax-included total and working backward instead? That is our reverse sales tax calculator.

Free Sales Tax Calculator

Forward calculator · price → total with tax

$
%
What counts as taxable? ⓘ
Sales tax generally applies to tangible goods — clothing, electronics, furniture, and restaurant meals. Usually not taxed: most unprepared groceries, prescription medicine, and in some states clothing under a price threshold. Services and digital goods are taxed in some states and exempt in others, and five states (Alaska, Delaware, Montana, New Hampshire, Oregon) charge no statewide sales tax at all. When in doubt, check your state’s revenue site for the current list.

Please enter an item price greater than zero and a tax rate between 0% and 100%.

–
total with tax
–
Subtotal
–
Discount
–
Taxable amount
–
Tax amount

This is the forward sales tax calculator: it starts from the pre-tax price and finds the total you pay. Starting from a tax-included total instead? Use our reverse sales tax calculator. Estimates only — always verify your local combined rate by ZIP code, since state, county, and city portions stack.

Colorful shopping bags with red sale tags — discounts are applied before sales tax in most states
Sale discounts usually come off first — most states charge sales tax on the price you actually pay.

How to Use This Calculator

  1. Enter the item price. Use the pre-tax price from the shelf tag or product page.
  2. Set the tax rate. Tap one of the common-rate buttons (0%, 5%, 6.25%, 7%, 8%, 8.875%, 10%) or type your own combined state-plus-local rate.
  3. Add a discount (optional). Enter a percent or a flat dollar amount — the calculator applies it before tax, matching how most states charge tax at the register.
  4. Click Calculate Total. The total with tax appears at the top, with the full breakdown below: subtotal, discount, taxable amount, and tax.
  5. Read the receipt-style detail. The line-by-line math shows exactly how each number was produced, so you can double-check any step.

What Is Sales Tax?

Sales tax is a consumption tax charged on most retail purchases in 45 US states (plus Washington, D.C.). It is quoted as a percentage of the selling price and collected by the seller at checkout, then passed to the state and local governments. The rate you actually pay is usually a stack: a state portion plus county and city add-ons. That is why the rate can be 6% in one town and 9.5% a few miles away, and why a combined rate like New York City’s 8.875% looks so oddly specific.

What gets taxed varies. Tangible goods — clothing, electronics, furniture, restaurant meals — are almost always taxable. Usually exempt: most unprepared groceries, prescription drugs, and (in some states) clothing under a price threshold. Services, digital downloads, and shipping are taxed in some states and not in others. Five states — Alaska, Delaware, Montana, New Hampshire, and Oregon — charge no statewide sales tax at all (though Alaska allows local add-ons).

One more American quirk: unlike in Europe, where VAT is baked into the shelf price, US stores display pre-tax prices and add the tax at the register. That is the entire reason forward calculators like this one exist.

The Formula (With a Worked Example)

Discount amount = price × (discount % ÷ 100) — or a flat dollar amount, capped at the price
Taxable amount = price − discount
Tax = taxable amount × (tax rate ÷ 100)
Total = taxable amount + tax
Shortcut with no discount: Total = price × (1 + rate ÷ 100)

Worked example. A $120 jacket, 25% off, 7% tax:

  1. Discount: $120 × 25 ÷ 100 = $30.00
  2. Taxable amount: $120 − $30 = $90.00
  3. Tax: $90 × 7 ÷ 100 = $6.30
  4. Total: $90 + $6.30 = $96.30

Notice the discount comes first. If tax were charged on the full $120, the total would be $128.40 — a $2.10 difference on one jacket. That ordering is how most US states assess tax, and it is the order this calculator follows.

Tips for Getting the Right Total

  • Verify your rate by ZIP code. State rates are only the base — county and city add-ons can push the combined rate several points higher. Your city’s revenue site or a ZIP lookup is the reliable source.
  • Remember discount-first ordering. A 20%-off coupon lowers the taxable base, not just the total. If your receipt ever shows tax on the pre-discount price, ask — that is unusual in most states.
  • Groceries are often exempt. In most states, unprepared food is taxed at 0% or a reduced rate — so a $200 grocery run and a $200 electronics order do not produce the same tax.
  • Watch shipping and fees. Some states tax delivery charges and handling fees when they are part of a taxable sale; others do not. Online checkout pages usually get this right, but it explains surprise differences.
  • Five states charge 0%. Shopping in Alaska, Delaware, Montana, New Hampshire, or Oregon? Your statewide rate is zero (Alaska may still add local taxes). The calculator’s 0% button covers exactly this.
  • Keep the receipt. The receipt-style breakdown this tool produces mirrors what a register prints — compare the two and you will spot a mis-entered rate instantly.
  • Going the other way? If the total already includes tax and you need the pre-tax price, switch to the reverse sales tax calculator.

Related Tools

Backing Sales Tax Out of a Total

Sometimes you only have the receipt total — tax already included — and need the pre-tax price, for an expense report or a return. The formula runs the calculator in reverse: pre-tax price = total ÷ (1 + rate ÷ 100), and the tax is whatever remains.

Worked example: a $108.00 total at an 8% rate. Pre-tax price = 108 ÷ 1.08 = $100.00, so the tax inside the total is $8.00. Watch out for the classic mistake: subtracting 8% of the total gives 108 − 8.64 = $99.36, which is wrong — the tax was calculated on the $100 pre-tax price, not on the $108 total, so only division by (1 + rate) undoes it exactly.

FAQs

Is sales tax charged before or after a discount?

After. In most US states, sales tax is calculated on the price you actually pay — the discounted price. So a 20%-off sale genuinely reduces your tax, not just your subtotal. A few jurisdictions differ, but discount-first is the standard this calculator follows.

Why don’t price tags include sales tax?

Because the rate is not the same everywhere. A chain store would need a different shelf price for every city it operates in, since state, county, and city rates stack differently by location. US retailers therefore display pre-tax prices and add the tax at the register, unlike Europe where VAT is included in the displayed price.

What is the 8.875% sales tax rate?

That is New York City’s combined rate: 4% New York State + 4.5% New York City + a 0.375% Metropolitan Commuter Transportation District surcharge. It is one of the most-searched US sales tax rates, which is why it gets its own quick button in the calculator.

Which US states have no sales tax?

Five states charge no statewide sales tax: Alaska, Delaware, Montana, New Hampshire, and Oregon. Note the fine print: Alaska allows local municipalities to levy their own sales taxes, and all five still collect other taxes (property, income, or excise) to make up the revenue.

What is the difference between this calculator and the reverse one?

Direction. This forward calculator starts from the pre-tax price and computes the tax and total — the “what will I pay?” question. The reverse sales tax calculator starts from a tax-included total and works backward to the pre-tax price — the “what was the price before tax?” question.

Is shipping taxable?

It depends on the state. Some states tax delivery and handling charges when they are part of a taxable sale; others exempt separately stated shipping. If you are comparing an online checkout total to this calculator, a small mismatch is often the shipping treatment — check your state’s rules.

Should I use my state rate or my city rate?

Your combined local rate. The correct number is state + county + city (+ any special district), which is usually found by ZIP code on your state’s revenue website. Using only the state rate understates the total in most metro areas.

How do I remove sales tax from a total price?

Divide the total by (1 + the tax rate). At 8%, a $108.00 total becomes 108 ÷ 1.08 = $100.00 before tax, meaning $8.00 of the total was tax. Do not subtract the percentage from the total instead — 8% of $108 is $8.64, which leaves $99.36 and understates the pre-tax price.

Are groceries taxed?

Usually not — most states exempt unprepared grocery food from sales tax. About 13 states are the exception and tax groceries at the full rate or a reduced one. Prepared food is a different story: restaurant meals, hot food, and ready-to-eat items are taxable in almost every state that has a sales tax, so the same ingredients can be untaxed at the store and taxed at the deli counter.

Have a tax-included total instead?
Work backward with the reverse sales tax calculator.

Related Calculators

Scroll to Top