Finance Guide

Sales Tax Calculator — How to Calculate Sales Tax, Reverse Sales Tax, and Find Every State's Rate

Sales tax looks simple until state, county, city, exemptions, and reverse-tax math all show up in the same purchase.

By Sarah J. Williams | May 2, 2026 | 18 min read
Sarah J. Williams smiling in a navy blazer.
Written By

Sarah J. Williams

Verified Finance Writer

Lead Writer & Content Strategist for NerdCalc finance and auto coverage.

Sarah specializes in personal finance, consumer banking, APY and APR explainers, loan math, and data-driven educational tools that make everyday money decisions easier to understand.

Read full bio

Try the tool: Sales Tax Calculator →

Introduction

Sales tax shows up in everyday checkout lines, business pricing, reimbursement workflows, and major purchases like cars, furniture, and home materials. The problem is not the basic multiplication. The problem is that the rate is often layered, the rules vary by state, and the total on the receipt may be the only number you have.

This guide covers the core formulas, reverse sales tax, state-level rate context, product exemptions, online sales tax after South Dakota v. Wayfair, and the business side of collecting and remitting tax. When you want the answer immediately, use NerdCalc's Sales Tax Calculator to estimate tax, compare states, or separate tax from a tax-inclusive total.

What Sales Tax Is

Sales tax is a consumption tax collected at the point of purchase. In the United States, there is no federal sales tax. Instead, states and local jurisdictions impose their own rates and rules.

As of May 2, 2026, most states impose a statewide sales tax, while a small group of states do not. The commonly cited no-statewide-sales-tax states are Delaware, Montana, New Hampshire, and Oregon, while Alaska has no statewide tax but can still apply local sales taxes. Exact rate rules can change, so users should still verify major purchases with the relevant state or local tax authority.

Why the final rate varies

Your actual checkout rate can include a state layer, a county layer, a city layer, and sometimes a special district layer. That is why one shopper in a state may pay materially more than another shopper in the same state.

The Sales Tax Formulas

These are the three formulas that cover almost every consumer or business sales-tax scenario.

Formula Set

Sales Tax = Pre-Tax Price x (Tax Rate / 100)

Total Price = Pre-Tax Price x (1 + Tax Rate / 100)

Pre-Tax Price = Total Price / (1 + Tax Rate / 100)

That last formula is the reverse-sales-tax formula. It is the one people forget most often, and it is the one that matters when you only have the final receipt total.

Worked Sales Tax Examples

Example 1: Basic checkout estimate

A purchase of $849.99 at a combined tax rate of 8.25% creates about $70.12 in tax, for a total of about $920.11.

Example 2: Car purchase impact

On a $22,500 vehicle at a combined rate of 10.25%, tax is about $2,306.25. On large purchases, sales tax is never just a rounding detail.

Example 3: Reverse sales tax

If you paid $54.35 total at a 7.00% combined rate, the pre-tax amount is about $50.79 and the tax portion is about $3.56.

Total Paid Tax Rate Pre-Tax Price Tax Amount
$107.00 7.00% $100.00 $7.00
$108.25 8.25% $100.00 $8.25
$54.35 7.00% $50.79 $3.56
$1,092.50 9.25% $1,000.00 $92.50

State and Local Layers Matter More Than Most People Expect

One of the biggest mistakes in sales-tax planning is treating the statewide rate as the full answer. In many jurisdictions, the full rate includes state plus local layers.

Layer Example
State Uniform statewide base rate
County Countywide add-on rate
City Municipal sales-tax layer
Special district Transit, tourism, or improvement districts

This is why destination-based rate lookup matters for checkout accuracy and why broad state averages are best treated as planning numbers, not exact address-level outcomes.

Illustration showing a tax-inclusive receipt total being reversed into pre-tax price and sales tax amount.
Reverse sales tax is just receipt math: divide the tax-inclusive total by one plus the combined rate, then separate the tax from the base price.

2025 State Sales Tax Reference Snapshot

The list below is a planning snapshot, not a substitute for live address-level tax lookup. Combined rates vary within each state based on local rules.

State State Rate Average Combined Context
California7.25%Often cited among the highest statewide rates
Tennessee7.00%Often cited among the highest average combined rates
Louisiana5.00%High local layering can push combined totals up materially
Texas6.25%Local add-ons can push many purchases to 8.25%
New York4.00%Large local variation; New York City is materially higher
Pennsylvania6.00%Philadelphia and Allegheny County increase the total
Oregon0.00%No general statewide sales tax
Delaware0.00%No general statewide sales tax

For current rates, state comparisons, and a live all-state table, use the Sales Tax Calculator. For public reference tables, the article sources at the end include Tax Foundation and Avalara.

What Is Taxable and What Is Not

Sales-tax rules are not uniform across product categories. Food, clothing, digital goods, medicine, shipping, and services all behave differently depending on the state.

Groceries

Unprepared groceries are exempt in many states, but some states still tax groceries fully or partially. Prepared food and restaurant meals are typically taxable.

Clothing

Clothing is taxable in many states, but states such as Pennsylvania and New Jersey have broad exemptions, and some states offer threshold-based rules or annual back-to-school tax holidays.

Digital products and software

Digital taxability is one of the fastest-changing categories. Downloaded software, SaaS, e-books, and streaming services can all be taxed differently depending on the state.

Services

Some states tax only narrow service categories, while others apply sales-tax-like rules more broadly. Telecommunications, entertainment, repair, and maintenance often have different treatment from professional services.

How Online Sales Tax Works After Wayfair

The 2018 Supreme Court decision in South Dakota v. Wayfair, Inc. shifted online sales tax from a physical-presence rule toward economic nexus. That means remote sellers can be required to collect sales tax in states where they exceed threshold levels of sales or transactions.

For consumers, the practical effect is simple: most mainstream online purchases now include destination-based sales tax at checkout. For businesses, the practical effect is more demanding: once you cross nexus thresholds, you may need to register, collect, file, and remit in multiple states.

Use Tax: The Tax Many Buyers Forget

If a seller does not collect sales tax on a taxable purchase and your home state imposes sales tax, you may still owe use tax. Use tax is essentially the consumer-side equivalent of sales tax.

This often comes up when goods are bought from an out-of-state seller, purchased in a no-tax state and brought home, or acquired through channels where tax was not charged properly at checkout.

Sales Tax for Businesses

If you sell taxable goods or services, sales tax is not just math. It is compliance.

  1. Determine where you have nexus.
  2. Register for the required sales-tax permit before collecting tax.
  3. Understand product taxability state by state.
  4. Calculate destination-based or origin-based tax correctly.
  5. File and remit on time.

One core rule matters above all: sales tax collected from customers is not revenue. It is money held on behalf of the tax authority until remitted.

Sales Tax Holidays and Exempt Shopping Periods

Many states run temporary sales-tax holidays for categories like school supplies, clothing, disaster-prep materials, or energy-efficient appliances. These events are usually time-limited and have price thresholds or category restrictions.

That means tax-free shopping windows can create real savings, but only when the purchased items actually qualify under the state's current rules.

Sales Tax vs. VAT vs. Gross Receipts Tax

System Core Trait Typical Consumer Experience
US sales tax Usually imposed at the final retail sale Tax added at checkout
VAT Collected across multiple stages with credits Often embedded in displayed price
Gross receipts tax Levied on business revenue rather than a final retail tax line Often passed through indirectly in prices

These systems can look similar from the buyer's perspective, but they operate very differently behind the scenes.

Can Sales Tax Affect Long-Term Financial Planning?

Yes. Over years, high combined sales-tax exposure can noticeably change household spending capacity. If two households spend similar amounts on taxable purchases but live in different sales-tax environments, the long-run difference can be meaningful.

That is why sales tax is not just a checkout detail. It is also a budgeting variable. If you want to see what redirected spending could grow into over time, use the Compound Interest Calculator.

Can You Deduct Sales Tax on Federal Taxes?

Some taxpayers who itemize deductions can deduct state and local sales taxes instead of state and local income taxes, subject to the SALT cap. This tends to matter most for households in no-income-tax states or those with large taxable purchases in the year.

That said, whether the deduction helps depends on the standard deduction, itemized totals, and current federal law. For filing decisions, this is an area where professional tax advice is better than general web guidance.

How to Use the NerdCalc Sales Tax Calculator Well

  1. Use the calculator tab when you know the purchase amount and want a fast estimated checkout total.
  2. Use the compare-states tab when you want to see how tax cost changes across likely purchase locations.
  3. Use midpoint when you need a realistic planning estimate without exact city-level data.
  4. Use maximum when you want a conservative budget buffer.
  5. Use the all-state table when comparing broad tax environments for budgeting or pricing research.

If your next question is what to do with the money you did not spend, pair the sales-tax estimate with the APY Calculator or the Compound Interest Calculator.

Frequently Asked Questions

How do I calculate sales tax on a purchase?

Multiply the pre-tax price by the tax rate as a decimal. For a total with tax included, multiply the pre-tax amount by 1 plus the tax rate as a decimal.

What is reverse sales tax?

Reverse sales tax means starting from the tax-inclusive total and working backward to find the pre-tax amount and the tax portion.

Which states have no statewide sales tax?

The commonly referenced no-statewide-sales-tax states are Delaware, Montana, New Hampshire, and Oregon. Alaska has no statewide rate but can still impose local sales tax.

Are groceries taxed?

It depends on the state. Many states exempt unprepared groceries, but several still tax groceries fully or partially, and prepared foods are usually taxable.

How does online sales tax work?

In most cases, online checkout tax is destination-based and tied to the buyer's ship-to address, especially after the economic nexus changes that followed the Wayfair decision.

What is use tax?

Use tax is the tax a buyer may owe when a seller does not collect sales tax on a taxable purchase and the buyer's home state still expects equivalent tax to be paid.

Can I deduct sales tax federally?

Some itemizing taxpayers can deduct state and local sales tax instead of state and local income tax, subject to current SALT limits and filing rules.

Why is the exact local rate so important for businesses?

Because overlapping local districts can create materially different rates across nearby addresses, and business collection obligations generally depend on accurate destination-level tax calculation.

Sources and Reference Links

Use the Sales Tax Calculator

Estimate checkout tax, compare states, and separate tax from a final total without doing the formulas manually.