🧾 Sales Tax Calculator: Add or Remove Sales Tax by State

Free sales tax calculator for US states. Add tax to a price, or enter the total to remove tax and find the pre-tax amount, using your state or local rate.

Last updated: 18 October 2026

Sales Tax Calculator: Add or Remove Sales Tax by State

Short answer: enter the price, the combined sales tax rate you confirmed for your location, and this calculator shows the sales tax amount, the total with tax, and a receipt-style breakdown. Switch to reverse mode to work backwards from a total and get the pre-tax price. The United States has no federal sales tax, so the correct rate depends on your state and local jurisdiction, and only you can confirm it.

This free sales tax calculator runs entirely in your browser. Nothing you type is sent anywhere. It does two jobs with one engine: add sales tax to a price, and remove sales tax from a total when you already know the tax-inclusive price. It also shows the effective combined rate used, the formula with your own numbers substituted in, and a plain note about what the result does not cover.

Scope honesty: no state rate was verified, so the tool never guesses a rate for you. Every rate is an editable input labeled with its source status. Product taxability (groceries, clothing, shipping, digital goods), exemptions, tax holidays and filing rules differ by state and are not decided by this tool.

Sales tax calculator by state: enter your numbers

Pick a state so the result shows your jurisdiction, then type the combined sales tax rate you confirmed for your city and county. If you do not know it, check your state revenue department's rate page before relying on the number.

Mode

State selection is used for the jurisdiction note only. No preset rate is loaded, because no state rate page could be opened.

0 to 20, up to 4 decimals. This is your combined sales tax rate: state plus county plus city plus any special district.

Greater than 0, cents allowed. Maximum 99,999.99 per item (calculator convention, keeps the arithmetic exact). In reverse mode this field is the total you paid, including tax.

Whole number from 1 to 10,000.

A pre-tax discount reduces the taxable base. It cannot exceed the goods subtotal.

Optional. Taxability of shipping is set by your state, not by this tool.

Is shipping taxed in your state?

Choose "Unknown" and the result shows both possibilities with an estimate with limitations label.

Build the combined rate from state, county, city and district lines

Each line adds up to your combined rate. These lines are editable inputs; none of them is a verified official rate.

Rounding convention

Calculator convention, not a legal rule. Some states publish bracket schedules; a receipt may differ by a cent or more.

How to use this sales tax calculator

  1. Choose the mode. Use "Add sales tax" when you know the pre-tax price. Use the reverse mode when the number in your hand is the tax-inclusive total.
  2. Select your state. The state is used for the jurisdiction note shown with the result. It never fills in a rate for you, because no state rate was verified.
  3. Enter the combined sales tax rate. Type the rate you confirmed for your location, or add your state, county, city and district lines and press "Apply parts to combined rate".
  4. Enter price, quantity and any pre-tax discount. Add the shipping charge and tell the calculator whether your state taxes shipping. If you are not sure, pick "Unknown" and you will get both outcomes.
  5. Pick the rounding convention. The default rounds the tax once per transaction, which is the common receipt pattern. Choose per-line rounding if you want each unit rounded separately.
  6. Read the breakdown. The result shows the taxable base, the tax, the total, the effective rate, the substituted formula, and the status chip that tells you how strong the result is.

Use the Copy result button to paste the breakdown into a message or spreadsheet, or use Print view for a clean paper copy. Reset clears every field back to the example values.

How to calculate sales tax

Calculating sales tax takes three numbers: the taxable base, the combined rate, and your rounding choice. The taxable base is what you actually multiply — goods subtotal minus any pre-tax discount, plus shipping only if your state taxes it. Multiply the base by the rate, round once, and you have the tax.

Sales tax formula

Add mode: tax = taxable base × combined rate  •  total = taxable base + tax + non-taxable charges

Reverse mode: pre-tax price = total ÷ (1 + combined rate)  •  tax = total − pre-tax price

Effective combined rate = state rate + county rate + city rate + special district rate

Example with hypothetical numbers: a $200.00 purchase at a hypothetical 8.875% gives tax = 200.00 × 0.08875 = $17.75 and a total of $217.75. Run the same numbers backwards: 217.75 ÷ 1.08875 = $200.00 pre-tax.

Why the rate is a local number, not a national one

There is no federal sales tax in the United States. States impose a statewide rate, and counties, cities and special districts often add their own on top. The sum is the combined sales tax rate that applies at a given address, which is why two stores a few miles apart can charge different tax. Rate levels, the taxability of groceries, clothing, shipping, digital goods and services, and even where a remote seller must collect all vary by state. This calculator does the arithmetic; your state revenue department decides the rules.

How to calculate sales tax backwards

When a receipt shows only the total, divide that total by one plus the rate expressed as a decimal. A $217.75 total at 8.875% becomes 217.75 ÷ 1.08875 = $200.00, and the tax is the difference, $17.75. That is the whole trick the reverse sales tax calculator performs, and it is exact as long as the rate you enter is the rate that was charged.

Worked examples

Every example below uses hypothetical rates that are arithmetic inputs, not the rate of any real jurisdiction. The amounts were computed with exact decimal arithmetic on 2026-10-18 and re-checked against the calculator engine.

Worked examples: add and reverse modes at hypothetical rates
CaseInputs (hypothetical)StepsResult
Add modePrice $200.00, qty 1, rate 8.875%200.00 × 0.08875Tax $17.75; total $217.75
Reverse modeTotal $217.75, rate 8.875%217.75 ÷ 1.08875Pre-tax $200.00; tax $17.75
Rounding upPrice $19.99, rate 7.25%19.99 × 0.0725 = 1.449275Tax $1.45; total $21.44
Quantity, once per transaction3 × $19.99, rate 7.25%Base 59.97; 59.97 × 0.0725 = 4.347825Tax $4.35; total $64.32
Per-transaction vs per-line3 × $0.99, rate 8.25%2.97 × 0.0825 = 0.245025 vs 0.99 × 0.0825 = 0.081675, × 3Per transaction $0.25; per line $0.24
Zero ratePrice $50.00, rate 0%50.00 × 0Tax $0.00; total $50.00

Try any of these in the form above: set the mode, type the rate, and the breakdown reproduces these numbers exactly.

Add tax versus remove tax, and rounding choices

Which mode to use: adding sales tax versus removing sales tax from a total
SituationAdd modeReverse mode
What you knowPrice before taxTotal you paid, including tax
Formulabase × ratetotal ÷ (1 + rate)
Typical usePricing an item, quoting a customer, budgetingChecking a receipt, backing tax out of an invoice
Shipping and discountBoth are handled (discount reduces the base; shipping follows your taxability choice)Not applied: the total already contains everything
ExactnessExact for the rate you enterExact for the rate you enter; a wrong rate gives a wrong split
Rounding conventions compared: once per transaction or per line
ConventionHow it worksWhen it differsStatus
Once per transaction (default)One tax calculation on the whole base, rounded half up to the centCommon receipt pattern for multi-item cartsCalculator convention
Per lineEach unit's tax is rounded, then the rounded amounts are added3 × $0.99 at 8.25% gives $0.24 instead of $0.25Calculator convention
State bracket scheduleA published table of price ranges and fixed tax amountsReceipt can differ by a cent or more

Visual guide to the calculation

Where your total goes: a $200.00 purchase at a hypothetical 8.875% rate
Pre-tax price $200.00 (91.8%)
Sales tax $17.75 (8.2%)
Total paid $217.75 (100%)
Price plus tax equals total: $200.00 plus $17.75 equals $217.75. $200.00 + $17.75 = $217.75

Text alternative: the pre-tax price makes up about 91.8% of the total and the sales tax about 8.2%; the flow reads $200.00 + $17.75 = $217.75.

✓ What this calculator does

  • Adds sales tax to a price using the combined rate you confirm
  • Removes sales tax from a total (reverse mode)
  • Handles quantity, pre-tax discount and a shipping taxability choice
  • Shows a receipt-style breakdown and the substituted formula
  • Offers per-transaction and per-line rounding side by side
  • Runs entirely in your browser: no data leaves the page
Your inputs Exact engine Receipt

✗ Not represented here

  • Any official state, county or city rate — none was verified
  • Product taxability: groceries, clothing, food, digital goods and services
  • Exemptions, resale certificates, tax holidays and marketplace rules
  • Excise, lodging, vehicle and real estate transactions
  • Nexus questions, use tax filing, or any filing on your behalf
  • ZIP-level or address-level rate lookup (disabled until a verified source exists)
Out of scope Verify first

Common mistakes when you calculate sales tax

  • Applying one state's rate to another. A rate seen in a neighboring state, a news article or an old receipt says nothing about your address. Confirm the combined rate for the location that matters.
  • Treating a state base rate as the whole rate. The statewide portion is usually only part of the combined rate; county, city and district layers often add on top.
  • Taxing shipping by default. Whether delivery charges are taxed depends on the state and sometimes on how the charge is shown on the invoice. Use the shipping choice and compare both outcomes when unsure.
  • Rounding per item when the receipt rounds once. On small lines the two conventions can differ by a cent; the examples table shows the $0.99 case.
  • Mistaking an estimate for a filing number. This tool computes arithmetic; it does not file, collect or remit tax, and it does not replace a state revenue department rate lookup.
  • Forgetting the discount is pre-tax. A discount taken after tax does not reduce the taxable base the same way; enter the discount that applies before tax.

Sales tax calculator FAQ

What is sales tax?

Sales tax is a percentage added to the price of most tangible goods (and, depending on the state, some services and digital products) at the point of sale. In the United States there is no federal sales tax: states impose a statewide rate and local governments — counties, cities and special districts — often add their own. The sum is the combined rate charged at that location. Confirm your state's rules with its department of revenue or taxation; the main reference starting points are the Streamlined Sales Tax Governing Board (streamlinedsalestax.org) and the Federation of Tax Administrators directory (taxadmin.org).

How much is sales tax?

It depends entirely on where you buy. Two locations in the same state can differ because local layers stack on top of the state rate, and some states have no statewide rate at all. This page never publishes a rate table, because no rate source could be opened; the amount you get here comes from the combined rate you enter. For the current figure, use your state revenue department's published rate lookup.

How to calculate sales tax backwards?

Divide the tax-inclusive total by one plus the rate as a decimal, and the difference is the tax. If a total is $217.75 and the rate is 8.875%, then 217.75 ÷ 1.08875 = $200.00 is the pre-tax price and $17.75 is the tax. Enter the total in this calculator, choose reverse mode, and it does the same division with exact decimal arithmetic.

How to remove sales tax from a total?

Use reverse mode: put the total you paid in the price field, enter the combined rate that was charged, and the calculator splits the total into a pre-tax price and a sales tax amount. The split is only as correct as the rate — if the receipt was taxed at a local rate you did not enter, the split will be off by that difference.

What is local sales tax and how does it differ from the state rate?

Local sales tax is the portion levied by a county, city, parish, municipality or special district on top of the state's rate. It is the reason the combined rate varies from one address to another within the same state. Combine your state line, county line, city line and district line in the rate builder above to see your combined sales tax rate; none of those lines is prefilled here because local rates change often and must be confirmed at the source.

What is use tax?

Use tax is the companion to sales tax: when you buy something out of state (for example from a catalog or online seller) and the seller did not collect your state's sales tax, the state generally expects you to report and pay the equivalent use tax on that purchase. Rules and thresholds are set by each state, and economic nexus rules for remote sellers have changed since the 2018 South Dakota v. Wayfair decision. This calculator does not compute or file use tax; check your state department of revenue for the current rule.

Can this page look up a rate for my ZIP code?

No. A ZIP-code or address-level rate lookup needs a verified, licensed rate source, and none was available, so that feature is disabled rather than guessed. Enter the combined rate you confirmed, or look it up on your state revenue department's site.

Glossary

Combined sales tax rate
The sum of the state, county, city and special district rates that apply at one location. This is the single percentage you enter in the calculator, and it is the number that decides your tax amount.
Taxable base
The amount the rate is applied to: goods subtotal minus any pre-tax discount, plus shipping only when your state taxes it.
Pre-tax price
The price before sales tax is added; in reverse mode it is the total divided by one plus the rate.
Sourcing (origin vs destination)
Which address decides the rate on a shipped order — the seller's location or the buyer's. States differ, and this choice is not modeled here.
Economic nexus
The level of sales into a state that can oblige an out-of-state seller to collect that state's tax, a standard reshaped by South Dakota v. Wayfair, Inc. (2018).
Use tax
The tax owed to your state when a purchase was made without sales tax being collected, such as on an out-of-state order.

Official references and last-checked dates

Nothing in this list was opened, downloaded or reviewed. They are the official starting points you should check yourself before relying on any rate or rule.

  • Streamlined Sales Tax Governing Board — https://www.streamlinedsalestax.org/.
  • Federation of Tax Administrators (directory of state tax agencies) — https://www.taxadmin.org/.
  • USAGov directory of state tax agencies — https://www.usa.gov/state-tax-agencies.
  • Your state's department of revenue or taxation sales tax page.

Byline: Varnda Editorial Team. Corrections: use the contact or correction channel published on the Varnda site; no email address or form is invented on this page.

Changelog

  • 2026-10-18 — Initial build: add and reverse engine, rate builder, shipping taxability choice, per-transaction and per-line rounding, receipt breakdown, examples, FAQ. All regulated numbers (rates) kept as editable inputs.

Limitations, exclusions and assumptions

  • Rate accuracy is yours. The result is only as correct as the rate entered; rates change and vary by state, county, city and special district.
  • Rule status.
  • Shipping unknown. If you select "Unknown", the result returns estimate with limitations and shows both the taxed and untaxed shipping outcomes.
  • Not represented: product taxability rules, exemptions and resale certificates, tax holidays, excise and lodging taxes, vehicle and real estate transactions, marketplace-facilitator and nexus questions, use tax filing, and tax on services.
  • Rounding. Nearest cent, half up, once per transaction by default — a calculator convention, not a legal rule. A state bracket schedule may produce a different cent.
  • No filing. This tool does not file, collect or remit tax and does not replace a state revenue department rate lookup.

Summary

A sales tax calculator earns its place by being transparent about arithmetic and honest about rates. This page adds sales tax to a price, removes sales tax from a total, shows the receipt-style breakdown and the formula with your own numbers, and labels every status: what is computed exactly, what is an estimate, and what is out of scope. What it will not do is invent your local rate. Confirm the combined sales tax rate for your location with your state revenue department, enter it above, and the math is exact to the cent.

Back to the sales tax calculator

Sales Tax Calculator: Add or Remove Sales Tax by State
Share this calculator with someone who needs it
WhatsApp Facebook X LinkedIn Pinterest YouTube