Home / Guide
The complete playbook

The Complete Guide to US Sales Tax Rates for Online Stores

Everything an online seller needs to understand about where sales tax applies, how rates are built, and how to collect, file, and stay out of trouble. Written by the small team that maintains a rate lookup product, kept deliberately product neutral.

In short

This guide explains how US sales tax works for online stores: what creates nexus in a state, how state and local rates combine, why origin and destination sourcing matter, how product taxability and shipping affect the amount you charge, what marketplaces collect for you, and how to register, file, remit, and fix past mistakes without panic.

Sales tax is the part of running an online store that nobody starts a business to deal with, and it is also one of the few areas where a small mistake compounds quietly for years. Unlike income tax, which you settle once a year with an accountant, sales tax is transactional. Every order that ships to a US address is a small decision: is this sale taxable, in which jurisdiction, at what combined rate, and who is responsible for collecting it? Get that decision right and the tax passes through your business untouched, collected from the customer and handed to the state. Get it wrong and you either overcharge customers, which hurts conversion and invites refund requests, or undercharge them, which means the shortfall comes out of your own margin later, plus penalties and interest that the state will not hesitate to add.

This guide is the hub for everything we have written on the subject. It is organized around the seven questions every online seller eventually has to answer: how the system works, where you are obligated to collect, how rates are built and sourced, how to charge the right amount at checkout, what marketplaces handle for you, how to register and file, and how to recover when something has already gone wrong. Each section summarizes the essentials and links to a deeper article. We build rate lookup software, so we spend our working days inside this material, but the guidance here does not depend on any particular tool. The rules are the rules regardless of how you apply them, and a seller who understands the rules will make better decisions about software, accountants, and process than one who is simply hoping the checkout plugin has it covered.

How US Sales Tax Actually Works

There is no federal sales tax in the United States. Sales tax is a state and local tax, and that single fact explains most of the complexity that follows. Forty-five states plus the District of Columbia impose a statewide sales tax. Five states do not: Alaska, Delaware, Montana, New Hampshire, and Oregon, although Alaska allows its cities and boroughs to levy local sales taxes, so a shipment to Alaska is not automatically tax free. Within the states that do have a sales tax, counties, cities, and special purpose districts are usually allowed to add their own rates on top of the state rate. The number you charge a customer is the sum of every layer that applies at the delivery address, and that sum can differ between two houses on the same street if a district boundary runs between them.

In most states, sales tax is legally a tax on the consumer rather than the seller, and even in the states that impose it on the retailer, the seller in practice collects it from the customer. Either way, the seller acts as a collection agent, holding the tax in trust for the state until it is remitted. This distinction matters more than it sounds. Because the money was never yours, states treat unremitted sales tax far more harshly than an ordinary business debt, and in most states the responsible officers of a company can be held personally liable for it even when the business itself is a corporation or LLC. The companion to sales tax is use tax, which the buyer owes directly to their own state when a seller did not collect. Consumer compliance with use tax has historically been poor, which is precisely why states spent two decades pushing to make remote sellers collect at the point of sale.

The compliance lifecycle has six steps, and each depends on the one before it. First you determine where you have nexus, meaning a sufficient connection to a state to be required to collect. Then you register for a permit in each of those states. Then you calculate and collect the correct tax on each taxable sale. Then you file returns on the schedule the state assigns you, remit what you collected, and keep records that would let an auditor reconstruct all of it. Layered across the whole process is product taxability: not everything you sell is taxed, and not everything that is taxed is taxed at the full rate. If you are new to this, start with the fundamentals article and then read about taxability, because those two topics shape every later decision.

Nexus: Where You Are Required to Collect

Nexus is the legal term for the connection between your business and a state that allows the state to require you to collect its tax. Historically nexus meant physical presence: an office, a store, employees, inventory sitting in a warehouse, sales representatives, or in some states even attendance at a trade show. Physical presence still creates nexus today, and it catches online sellers more often than they expect. Inventory stored in a third-party fulfillment warehouse is the classic example. If a logistics provider moves your stock into a state you have never visited, you may have nexus there from the day it arrives. Remote employees and contractors can have the same effect, depending on the state and on what they do for you.

In 2018 the Supreme Court decided South Dakota v. Wayfair and allowed states to impose collection obligations based purely on economic activity. Every state with a sales tax has since adopted an economic nexus standard. The typical rule looks at your sales into the state over the current or previous calendar year and sets a threshold, most commonly around one hundred thousand dollars in sales, with a few states using higher figures. Many states originally paired that dollar amount with a transaction count, often two hundred transactions, but a growing number have dropped the transaction test because it swept in very small sellers. The details differ from state to state: some count gross sales, some count only taxable sales, some include marketplace sales in the measurement even when the marketplace collects, and the lookback period is not identical everywhere.

The practical approach is to measure rather than guess. Pull sales by ship-to state at least monthly, compare each state against its threshold, and set an internal alert well before you cross so you have time to register. Watch for physical presence events too: a new warehouse relationship, a hire in another state, a pop-up event. Once you cross a threshold, the timing of your obligation varies. Some states expect collection on the very next transaction, others give you until the first day of the following month or quarter. Registering slightly early is almost always cheaper than registering late, because tax you failed to collect after the trigger date is money you owe out of pocket. Our economic nexus article goes through the measurement questions in detail, and the marketplaces article explains how facilitated sales interact with thresholds.

How Rates Are Built and Why They Keep Changing

A combined sales tax rate is a stack. At the bottom is the state rate. On top of that sits a county rate in most states, then often a city or municipal rate, and then any number of special purpose district rates: transit authorities, stadium districts, hospital districts, fire districts, economic development zones, and more. Each layer has its own boundary, and those boundaries do not respect one another. A city can span two counties. A transit district can cover parts of several cities. This is why ZIP codes are an unreliable proxy for tax jurisdictions. ZIP codes were designed to route mail, not to define taxing authorities, and a single ZIP code routinely contains addresses with different combined rates. A few ZIP codes even cross state lines. Any system that assigns a rate by ZIP code alone will be wrong for some fraction of orders, and you will not know which ones.

Rates change constantly because every one of those layers can change independently. Voters approve or reject local measures, a district rate expires on a sunset date, a city annexes a new neighborhood, a state legislature adjusts the base rate or adds a new category. Many jurisdictions align changes with the first day of a calendar quarter, which is why January, April, July, and October are busy months for anyone maintaining rate data, but plenty of changes fall on other dates. On top of ordinary rate changes, many states run sales tax holidays that temporarily exempt specific categories, such as school supplies or emergency preparedness items, for a weekend or a week. Some states cap the tax on high-value single items or apply reduced rates to groceries, and those special cases have to be carried alongside the base rates.

Which rate applies also depends on sourcing rules. Most states are destination based, meaning the rate at the address where the customer receives the goods governs. A minority of states use origin sourcing for sales that start and end inside the state, so a seller located there charges the rate at its own location for in-state orders. For sales that cross state lines, destination rules apply almost universally, which means a remote seller shipping into an origin state still uses the customer's local rate. A couple of states let remote sellers elect a single statewide rate to simplify things, and that election has its own tradeoffs. The two articles linked here dig into sourcing and into the mechanics of why and when rates move.

Charging the Right Amount at Checkout

Charging the right tax on an order requires answering several questions in sequence, and a checkout that skips any of them will drift. First, is each line item taxable at all in the destination state, and if so at the full rate or a reduced one? Second, which jurisdictions does the ship-to address fall inside, resolved at the level of the actual building rather than the ZIP code? Third, what were those jurisdictions' rates on the date of the transaction, not the date you last updated a table? Fourth, is shipping taxable, and is handling treated the same way? Fifth, how do discounts, coupons, and store credit reduce the taxable amount? Sixth, is the buyer exempt, and do you have the paperwork to prove it? Each of these has a right answer for each state, and the answers are not the same across the country.

Product taxability is where sellers most often get surprised. Clothing is exempt or partially exempt in a handful of states and fully taxable in most others. Groceries are exempt or reduced in many states, but prepared food and candy frequently fall outside the grocery exemption. Digital products, streaming access, and software delivered as a service are taxable in some states, exempt in others, and taxed on only part of the charge in at least one. Dietary supplements, over-the-counter medicine, and medical devices each have their own patchwork. Bundling a taxable item with a nontaxable one can make the whole bundle taxable in some states unless the pieces are separately stated. Shipping follows the taxability of the goods in many states, is exempt when separately stated in others, and handling charges are often treated differently from pure freight.

In practice, accuracy at checkout comes down to a few disciplines. Validate and standardize the shipping address before you calculate, because a misspelled city or a missing suffix can put the address in the wrong jurisdiction. Look up rates at rooftop precision, with effective dates, rather than caching a number per ZIP. Assign a taxability category to every product in your catalog once, up front, so the calculation can apply the right rule per state automatically. Store the rate, jurisdiction, and amount you charged on every line of every order, because that record is your defense in an audit years later. And if you sell to businesses, collect exemption certificates at the time of sale and keep them where you can find them. The checkout article walks through this in the order a developer or store owner would actually implement it.

Marketplaces, Multichannel Selling, and Who Collects

Every state with a sales tax has adopted a marketplace facilitator law. In broad terms, these laws shift the obligation to collect and remit tax on marketplace orders from the individual seller to the marketplace operator, provided the operator meets the state's definition of a facilitator and exceeds the state's threshold. For a seller, that means tax on orders placed through a qualifying marketplace is calculated, collected, and remitted by the marketplace, and you should not collect it a second time. It does not mean the sales disappear from your compliance picture. Many states still count facilitated sales toward your economic nexus threshold, many require you to report them on your own return as a deduction or exempt amount if you are registered, and the marketplace's collection does nothing for orders on your own website.

Multichannel sellers therefore live with two parallel systems. Marketplace orders are handled by the marketplace, and your job is to reconcile its reports and reflect them correctly on your returns. Direct orders through your own store are entirely your responsibility: nexus, rates, taxability, collection, and remittance. Inventory in a marketplace's fulfillment network can also create physical nexus in states where you would otherwise have none, which can trigger a registration obligation for your direct channel even if you never cross that state's economic threshold. Sellers who assume that selling mostly through a marketplace makes the topic go away tend to discover the problem when a state sends a nexus questionnaire.

The practical habits are simple but easy to neglect. Keep sales records by channel and by state. Learn how each state where you are registered wants facilitated sales reported, because the line items on returns differ. Confirm that a platform you sell through is legally acting as a facilitator and not merely processing payments, since the two look similar from the seller's seat and carry opposite obligations. And never assume that a rate the marketplace charged on one of its orders is the rate you should charge on a direct order to the same customer, because the marketplace may be applying sourcing or taxability rules that fit its situation rather than yours. Our marketplaces article lays out who collects in each situation and what you still owe.

Registration, Filing, and Remittance

Registration comes before collection, not after. In most states it is a violation to collect sales tax without a permit, even if you intend to remit it, because the state has no account to receive it. Registering usually means an online application with the state department of revenue that asks for your federal employer identification number, business structure, an industry code, the date you began or will begin making sales into the state, and an estimate of monthly taxable sales. Roughly two dozen states participate in the Streamlined Sales Tax project, which offers a single registration form that creates accounts in every member state you choose. In home rule states, where certain cities or parishes administer their own tax, a state permit may not be enough and you may need to register with local jurisdictions separately.

Once registered, the state assigns you a filing frequency based on your expected volume: monthly for larger sellers, quarterly or annually for smaller ones, with some states offering a semiannual option. Due dates are commonly around the twentieth of the following month but vary, and a few states require prepayments from high-volume filers before the period ends. Returns are not just a total. Most states want gross sales, exempt or nontaxable sales, taxable sales, and tax due, and destination-based states typically require the taxable amount broken out by local jurisdiction so they can distribute the local share. A return is required even for a period with no sales, and a missed zero return generates the same late notices as a missed real one. Several states offer a small discount for filing and paying on time, which is worth taking, and most require electronic filing above a modest threshold.

Preparing a return is mostly reconciliation. The tax you collected in a period should match the liability you calculate from your order data, and when it does not, the gap has a cause worth finding: an order with a bad address, a refund processed without reversing tax, a product miscategorized, a rate that changed mid-period. Marketplace sales need to be reported the way each state expects. Exemption certificates for exempt sales need to be on file before you claim the deduction. Sellers who keep a simple monthly close routine, where they pull sales by state and jurisdiction, compare collected tax to computed tax, and note any discrepancies, find filing takes minutes rather than a weekend. The filing preparation article gives a checklist you can follow every period.

Mistakes, Audits, and Getting Back on Track

The mistakes we see most often are not exotic. Sellers assign rates by ZIP code and undercharge in high-rate districts while overcharging in low-rate ones. They treat every product as fully taxable everywhere, or as exempt everywhere, instead of categorizing the catalog. They collect tax in a state before registering, or register and then forget to file the zero returns. They charge tax on shipping in states where separately stated shipping is exempt, or fail to charge it where it is taxable. They accept a customer's word that they are exempt without collecting a certificate. They collect tax in a state where they have no nexus, then keep it, which is illegal even though the underlying sale did not require collection: tax collected must always be remitted or refunded. And they treat collected tax as revenue in their bookkeeping, spend it, and then scramble when the return comes due.

Audits happen for many reasons: a mismatch between the sales reported on your income tax return and on your sales tax returns, a customer complaint about being charged incorrectly, industry targeting, a nexus questionnaire you ignored, a former employee, or simple random selection. Auditors typically ask for sales records by jurisdiction, exemption certificates supporting every exempt sale, evidence of the rate applied on sample transactions, and proof that tax collected was remitted. Small sellers are often audited by sampling a period and extrapolating, which means one systematically wrong setting can be multiplied across years. The lookback period for filed returns is typically three or four years depending on the state. If you never filed in a state where you had nexus, there is generally no limit, and the state can go back to the day your obligation began.

If you discover a problem, the order of operations matters. Quantify it first: which states, which periods, roughly how much. For states where you never registered but should have, most offer a voluntary disclosure program that limits the lookback period and waives most or all penalties in exchange for coming forward before the state contacts you. For states where you are registered but filed incorrectly, amended returns are the path. Register going forward in every state where you have crossed a threshold, fix the root cause in your checkout or catalog so the error stops accumulating, and document what you changed. Sellers who approach this methodically usually find the exposure is manageable. The ones who wait for a letter give up the voluntary disclosure option and the penalty relief that comes with it. Start with the common mistakes article, then use the filing checklist to rebuild a clean process.

Further reading from the SalesTaxly blog, each answering one specific question in depth.

Sales tax rewards sellers who treat it as a system rather than a series of surprises. The system has a clear shape: nexus tells you where you owe, sourcing and jurisdiction data tell you which rate applies, taxability tells you what to apply it to, registration and filing turn collection into compliance, and records protect you when someone checks. None of the individual pieces is beyond a small team. The difficulty is that they interact, and that the underlying rules shift on their own schedule whether or not you are paying attention. Rates change on quarter boundaries, thresholds get amended, a new fulfillment warehouse opens in a state you had not considered, and a product category that was exempt last year is taxable this year.

Our honest advice is to invest in accuracy at the two points where errors multiply: the address-level rate applied at checkout and the taxability category assigned to each product. Those two decisions are made once and then applied to every order, so getting them right is cheap and getting them wrong is expensive. Everything else, from nexus tracking to filing, is easier to fix retroactively. Use the articles linked throughout this guide as references when a specific question comes up, revisit your nexus footprint at least quarterly, and keep the records that let you prove what you charged and why. Whether you handle rates with a spreadsheet, a platform setting, an API, or a full-service provider, the underlying knowledge in this guide is what lets you judge whether the tool is doing the job.

Frequently asked questions

Do I have to charge sales tax on every online order shipped within the United States?

No. You are required to collect only in states where you have nexus, either through physical presence or by exceeding the state's economic nexus threshold, and only on products that are taxable in the destination state. Orders shipped to states where you have no nexus generally carry no collection obligation, although the buyer may owe use tax directly. Orders through a qualifying marketplace are typically collected by the marketplace rather than by you.

Why is a ZIP code not good enough for looking up a sales tax rate?

ZIP codes are postal delivery routes, not tax jurisdictions. A single ZIP code often contains addresses in different cities, counties, or special districts that carry different combined rates, and a few ZIP codes cross state lines. A rate assigned by ZIP will be correct for many addresses and wrong for some, and you will not know which orders were wrong until an audit or a customer complaint. Rooftop-level lookup based on the validated street address avoids the problem.

What should I do if I realize I should have been collecting sales tax in a state for the past two years?

Quantify the exposure first, then look at the state's voluntary disclosure program, which usually limits how far back the state will look and waives most penalties if you come forward before the state contacts you. Register going forward, fix the setting or process that caused the gap, and consider working with a sales tax professional for the disclosure itself. Waiting for a notice generally removes the penalty relief that voluntary disclosure offers.

Charge the right US sales tax, every time

US sales tax rates and lookup for online stores.

Look up a rate