How-To & Life · Guide · Money & Finance
How to Calculate Sales Tax
State + local rate stacking, tax on services vs goods, tax-free weekends, and inclusive vs exclusive pricing.
US sales tax is a layer cake. There’s a state rate, sometimes a county rate, often a city rate, occasionally a transit-district or special-purpose rate, and a list of exemptions that vary by category and by state. The “8.25%” you pay at checkout is usually four or five rates stacked together. Getting this math right matters when you’re budgeting large purchases, comparing cross-border buys, running a small business, or figuring out whether a tax-free weekend actually saves you anything. This guide covers the stacking math, the service-versus-goods split, inclusive-versus-exclusive pricing, and the most common places the number goes wrong.
Advertisement
The core formula
Tax amount equals pre-tax price times combined tax rate. Total equals pre-tax plus tax.
tax = price * rate total = price * (1 + rate) price = 100.00, rate = 8.25% tax = 100 * 0.0825 = 8.25 total = 108.25
Everything else is just figuring out the right rate.
State + local rate stacking
Combined rates in the US commonly include:
- State rate (0% to ~7.25%)
- County rate
- City rate
- Special district rate (transit, tourism, stadium, etc.)
These add, not multiply. California’s 7.25% state + 1% local + up to 2.5% district = up to 10.75% in some cities. The right rate depends on the ship-to or point-of-sale address, which is why cross-town purchases can have different tax.
combined = state + county + city + district CA base + LA county + LA city + transit = 6.00% + 0.25% + 0.75% + 2.25% = 9.25%
Origin-based vs destination-based
States are split on whether tax uses the seller’s location (origin) or the buyer’s (destination). Most are destination-based, which is why online orders charge tax based on your shipping address, not the warehouse’s. A handful — Texas, Arizona, Illinois for intrastate sales, for example — use origin for certain transactions. If you’re a seller, this affects which rate to collect.
Goods vs services: not everything is taxed
Most states tax tangible goods but not services — haircuts, legal advice, consulting. Exceptions multiply fast:
- Groceries: exempt in many states, taxed at reduced rate in others, fully taxed in a few
- Clothing: exempt in NJ, PA (non-luxury), taxed elsewhere
- Prepared food: almost always taxed, even where groceries aren’t
- SaaS: taxed in ~20 states, increasing every year
- Digital downloads: varies widely
- Shipping: taxed if it’s not separately stated in some states
Tax-free weekends — do the math
Back-to-school tax holidays typically exempt clothing under $100 and school supplies under $50. On a $300 purchase of qualifying items at 8% tax, you save $24 — real money but usually smaller than the 2–3% retailer markups added for the weekend. If you were going to buy anyway, the holiday is a small win. If you’re driving an hour and fighting crowds for 8% savings, the gas and time cost probably exceed the tax savings.
Inclusive vs exclusive pricing
US pricing is exclusive — sticker price doesn’t include tax, tax is added at the register. European and most international pricing is inclusive — VAT is baked in. To convert between them:
exclusive_to_inclusive: price * (1 + rate) inclusive_to_exclusive: inclusive / (1 + rate) $100 sticker + 8% tax = $108 inclusive €120 inclusive / 1.20 VAT = €100 ex-VAT
Use tax — the obligation you didn’t know about
If you buy something out of state and no sales tax is collected, most states require you to remit use tax when you file your income taxes. It’s at the same rate as sales tax. Historically unenforced for small purchases, but states now require online marketplaces to collect and remit, which mostly resolves this for consumers. For big cross-state buys — a car, furniture, art — use tax is real and audited.
Discounted-price calculation
Tax is applied after percent-off discounts. Store coupons reduce the taxable base. Manufacturer coupons in most states do not— tax is on the pre-coupon price because the manufacturer reimburses the store.
store coupon: tax on (price - coupon) mfg coupon: tax on full price rebate: tax on full price (you get rebate later)
Rounding rules
Tax is usually calculated to the penny on the total invoice, not line-by-line. A few systems still round per line, which creates small discrepancies. If a $3.33 item shows $0.27 tax instead of $0.28 under 8.25%, it’s because 3.33 × 0.0825 = 0.2747 — rounded down to $0.27.
Reverse-calculating from a receipt
If you only have the total and know the rate, back out the subtotal:
subtotal = total / (1 + rate) tax = total - subtotal total = 108.25, rate = 8.25% subtotal = 108.25 / 1.0825 = 100.00 tax = 8.25
Common mistakes
Using the state rate and missing the local stack — you can be off by 3%+. Applying tax to the full price when a store coupon was used. Forgetting tax-exempt categories (groceries, clothing in some states). Mis-converting inclusive to exclusive by subtracting the rate instead of dividing. And assuming online purchases are tax-free — post-2018, nearly all major sellers collect.
Run the numbers
Advertisement