Skip to content
D DocNectar

How Sales Tax Is Calculated in the US: A Practical Guide

8 min read · Published July 16, 2026 · Updated July 23, 2026

Contents

Sales tax feels simple at the register — a percentage gets added to the price, and you pay the total — but the system behind that one number is genuinely complicated, made up of overlapping state, county, and city rates, sourcing rules that determine whose rate even applies, and a remittance process most shoppers never see. This guide covers how the calculation itself works, why the rate keeps changing depending on where you are, how US sales tax differs fundamentally from VAT (a common point of confusion for international readers), and what a business actually has to do with the tax it collects.

The basic sales tax calculation

At its core, sales tax is a straightforward percentage calculation:

\[ \text{Sales tax} = \text{Price} \times \text{Tax rate} \]

\[ \text{Total cost} = \text{Price} \times (1 + \text{Tax rate}) \]

For example, an $85.99 item taxed at a combined rate of 8.25%:

Sales tax = $85.99 × 0.0825 = $7.09
Total cost = $85.99 + $7.09 = $93.08

That's the entire calculation — the complexity in US sales tax isn't in the arithmetic, it's in figuring out exactly which rate applies to a given purchase, which is where things get genuinely more involved. Check any purchase with the Sales Tax Calculator once you know the applicable rate.

Why the rate varies by state, county, and city

Unlike a national VAT, US sales tax has no single federal rate at all — it's authorized and set independently at the state level, and most states also allow counties and cities to layer their own additional local sales tax rates on top of the state rate. The rate you actually pay at checkout is typically the sum of all of these overlapping jurisdictions:

Combined rate = State rate + County rate + City rate (+ any special district rate)

This is exactly why the same product can carry noticeably different total tax rates depending on which side of a city or county line it's purchased in — each layer of government is setting its own piece of the total independently, and there's no requirement that neighboring jurisdictions align their rates. A handful of states charge no state-level sales tax at all, though even some of those still permit local jurisdictions to levy their own sales taxes. Always check the specific combined rate for the exact location of a purchase rather than assuming a single statewide figure applies everywhere within that state.

Origin-based vs. destination-based sourcing

Beyond just the rate, there's a separate question: whose location determines which rate applies — the seller's or the buyer's? This is called sourcing, and it comes in two forms:

  • Origin-based sourcing applies the tax rate where the seller is located, regardless of where the buyer receives the goods.
  • Destination-based sourcing applies the tax rate where the buyer actually takes possession of the goods — typically the shipping address for an online or mail order.

States set their own sourcing rules, and they aren't uniform nationwide — some use origin-based sourcing for sales within the state, while destination-based sourcing is the more common approach specifically for remote and interstate sales, including most online purchases shipped across state lines. Because the correct sourcing rule genuinely depends on the specific states and transaction type involved, a business selling across multiple states needs to check the applicable sourcing rule for each state it has a tax obligation in, rather than assuming one rule applies universally.

Sales tax vs. VAT: the key difference

International readers often assume US sales tax works like the Value Added Tax (VAT) common in many other countries, but the two are structured quite differently:

US Sales TaxVAT
When it's collectedOnce, at final retail sale to the end consumerAt every stage of production and distribution
Who pays it, structurallyThe final consumer onlyEach business in the supply chain, with credits for tax already paid on inputs
Displayed priceUsually excludes tax; added at checkoutUsually included in the displayed shelf price
Business-to-business salesTypically exempt (resale certificate)Taxed, but the business reclaims it as an input credit

The practical difference a shopper actually notices: with VAT, the sticker price is usually the final price, since the tax is already baked in. With US sales tax, the sticker price is typically pre-tax, and the tax gets added visibly at checkout — which is why the total on a US receipt is often higher than the price tag suggested, a frequent source of confusion for visitors from VAT countries.

What's commonly exempt from sales tax

Exemptions vary considerably by state and even by specific product category, so this section describes the general pattern rather than any specific state's rules, which should always be verified directly for your situation. Common categories of exemption across many (not all) states include:

  • Groceries or unprepared food — many states exempt or apply a reduced rate to basic grocery items, though prepared food (restaurant meals) is typically still fully taxed.
  • Prescription medication — commonly exempt, though over-the-counter medication rules vary more by state.
  • Resale purchases. A business buying inventory it intends to resell can typically purchase it tax-free using a resale certificate, since the tax is meant to apply once, at the final retail sale — not at every step a product passes through on its way to a consumer.
  • Certain services. Historically many states taxed goods but not services, though this has been shifting over time as more states extend sales tax to cover specific service categories.

Because these categories and rates genuinely differ state by state (and sometimes city by city), always confirm current exemption rules for the specific jurisdiction and product in question rather than assuming a pattern from one state applies elsewhere.

How a business remits collected sales tax

When a business collects sales tax from a customer, that money never belongs to the business — it's collected as an agent of the state, held temporarily, and owed in full to the relevant tax authority. The general process looks like this:

  1. Determine nexus. A business only needs to collect sales tax in states where it has "nexus" — sufficient business presence, which can be physical (an office, warehouse, or employees) or, since the 2018 Supreme Court decision in South Dakota v. Wayfair, economic (exceeding a certain volume of sales into a state, even without any physical presence there).
  2. Register with the state. A business registers for a sales tax permit in each state where it has nexus before it's allowed to legally collect tax there.
  3. Collect the correct rate at the point of sale, using the applicable combined state/county/city rate and the correct sourcing rule for that transaction.
  4. File a periodic return (commonly monthly, quarterly, or annually, depending on sales volume) reporting total taxable sales and tax collected for that period.
  5. Remit the collected tax to the state, generally by the filing deadline — this is simply forwarding money that was already collected from customers, not an additional cost to the business itself.

Because collected sales tax isn't the business's own money, most accounting systems track it as a separate liability from the moment it's collected, rather than mixing it into regular revenue — which keeps the amount owed to the state clearly separated from the business's actual earnings.

Frequently asked questions

Do online purchases always get taxed at the buyer's local rate?

Usually, for interstate sales shipped to a buyer, since destination-based sourcing is the more common rule for remote sales — but the exact rule depends on the states involved on both ends of the transaction, so it isn't a universal guarantee across every state.

Why did I get charged sales tax on an online purchase from a seller in another state?

Since the 2018 Wayfair Supreme Court decision, states can require an online seller to collect sales tax based on economic nexus — meaning sufficient sales volume into that state — even without any physical presence there. This significantly expanded which online sellers are required to collect tax on out-of-state sales compared to the rules that existed previously.

Is sales tax the same thing as a "use tax"?

They're closely related but not identical: sales tax is collected by the seller at the point of sale, while use tax is generally owed directly by the buyer on a taxable purchase where sales tax wasn't collected at the time — for example, an item bought from an out-of-state seller with no obligation to collect tax there. Use tax exists specifically to close that gap and is usually assessed at the same rate as the equivalent sales tax would have been.

Can a business ever keep a portion of the sales tax it collects?

Some states offer a small collection allowance or discount to businesses that file and remit on time, as compensation for the administrative work of collecting the tax — but this is a specific, limited state-level incentive, not a general rule that businesses keep any meaningful share of what they collect.

Calculate sales tax on your own purchase

DocNectar's Sales Tax Calculator works out the tax amount and total cost instantly for any price and rate — useful for checking a receipt, estimating a purchase before checkout, or working the calculation in reverse from a known total back to the pre-tax price.

✓ Key takeaways

  • ✓ The core calculation is simple: sales tax = price × tax rate, and total cost = price × (1 + tax rate)
  • ✓ US sales tax rates are combined from overlapping state, county, and city rates, which is why the same purchase can be taxed differently just a few miles away
  • ✓ Whether a sale is taxed at the buyer's location or the seller's location depends on state-specific sourcing rules — destination-based sourcing is the more common approach for remote sales
  • ✓ US sales tax is a single-stage tax collected only at final retail sale — unlike VAT, which is collected incrementally at every production stage with credits for tax already paid
  • ✓ A business collects sales tax as an agent of the state, not as its own revenue, and must periodically file and remit everything it collected to the relevant tax authority

Tools mentioned in this guide

DN

Written by the DocNectar Team

Last updated July 2026

Favorites