A basket of groceries that costs 40 in one state costs 43.60 in another, and the difference is not the retailer. Sales tax in the United States is not one national rate but a patchwork of state, county, city, and special-district rates, each applied to a taxable base that the state defines differently. Two stores on opposite sides of a municipal border can charge different totals on identical items, and a single store can charge different totals depending on whether the item is food, medicine, or clothing.
This guide explains how sales tax is structured, how destination and origin sourcing determine which rate applies, what is exempt, and how marketplace facilitator rules change who is responsible for collecting it. It is scoped to the United States; there is no national VAT and the rates below do not apply to other countries.
The price a shopper pays is the taxable base times the combined rate:
total = taxable\ base \times (1 + combined\ rate)
The combined rate is the sum of several layers: a statewide rate, a county or parish rate, a municipal or city rate, and any special district rate for schools, transit, or infrastructure. A base state rate of 6 percent with a county rate of 1.5 percent and a city rate of 1.0 percent gives a combined rate of 8.5 percent.
Which rate applies is settled by sourcing. Under origin-based sourcing, the tax is based on where the seller is located. Under destination-based sourcing, the tax is based on where the buyer is. Most states use destination sourcing for sales made in the state; a smaller group, including Texas, Pennsylvania, and Delaware in their general rules, use origin sourcing. States with no statewide sales tax — New Hampshire, Oregon, Montana, Alaska (with a local option), and Delaware — still have local or use taxes in many places, so "no tax" is rarely the whole story.
The taxable base is the second half of the calculation, and this is where most surprises live. States set the base differently: some use the invoice price, some use the price after discounts and rebates, and some use the price after returns and trade-in allowances. A 100 item discounted to 80 is taxed on 100 in some states and 80 in others.
Exemptions are defined per state. Groceries are exempt for the full value of eligible food in some states, while other states exempt only food sold for off-premises consumption, meaning restaurant meals are taxed even though the groceries are not. Prescription medicine is exempt in nearly all states, with over-the-counter medicine taxed in most. Many states also exempt clothing, textbooks, and medical devices, and many apply a higher rate to luxury items such as cars, boats, and jewellery.
Marketplace facilitator laws shift the collection obligation. Under these rules, a platform such as a large online marketplace or a payment processor must collect and remit the applicable tax on the sales it facilitates, rather than leaving it to the individual seller. The economic burden on the buyer is the same rate, but the compliance path differs, and a marketplace with no presence in a state may still collect that state's tax because of the facilitator law.
Two categories are commonly mis-taxed in both directions. Tipping is not part of the taxable sale in most states: tax is computed on the pre-tip amount, though some jurisdictions tax a mandatory service charge. And mandatory fees — delivery, service, and facility charges — are generally outside the taxable base unless the state specifically includes them.
Take a purchase in a city where the combined state, county, and district rate is 8.75 percent. The basket contains a 120 item of general merchandise, a 40 grocery basket of eligible food, and a $15 prescription medicine.
Assume this state's grocery exemption applies to eligible food at full value, medicine is exempt, and the general merchandise is taxed on the invoice price with no discount.
Taxable base is the merchandise alone: $120.
Tax owed: 120 \times 0.0875 = 10.50.
Total paid: 120 + 10.50 = $130.50.
Now the same basket with three changes: the grocery exemption applies only to food for off-premises consumption (so it still holds here, at home), the taxable base uses the discounted price of 100 instead of 120, and the city rate is 1.25 percentage points higher, giving a combined rate of 10 percent.