You budgeted $100 for the thing in your cart. The card statement says $108.25. Nothing went wrong. That's sales tax doing exactly what it does, and the $8.25 is the part most people never check before they pay.

The maths is one line. Tax is price times rate. Total is price plus tax. At 8.25%, a $100 item carries $8.25 of tax, so you pay $108.25. That's the whole formula, and it fits in a single line of code. The hard part is the rate, because the rate is never just one number.

The rate depends on the street address

The US has no federal sales tax and no single national rate. Each state sets its own, then counties, cities and special districts pile their own rates on top. The Tax Foundation counts more than 10,000 taxing jurisdictions. Your street address decides the number, which is why two buyers ordering the same item from the same site can pay different totals.

Counting state plus average local tax, the highest combined rates as of July 2026 are Louisiana at 10.13%, Tennessee at 9.61%, Washington at 9.57%, Arkansas at 9.48% and Alabama at 9.46%. California has the highest statewide rate at 7.25%, and with average local taxes it lands around 9.03%. A $275 item in California costs $24.83 in tax, $299.83 all in.

Five states have no statewide sales tax at all: Alaska, Delaware, Montana, New Hampshire and Oregon. Alaska is the awkward one. Plenty of its boroughs and cities add their own tax, about 1.82% on average, so "no sales tax in Alaska" is true at the state level and wrong at the till in Anchorage. Montana has the same wrinkle in a few resort areas.

Put a number on it with an irregular price, because round numbers hide rounding. A $137.48 order in Louisiana at 10.13% carries $13.93 of tax and totals $151.41. A $49.99 item in Tennessee at 9.61% carries $4.80 and totals $54.79. Same item, same site, different state, different answer. The price didn't change. The address did.

Taking the tax out is where people get it wrong

Adding tax is a multiply. Removing it is not a subtract, and this is the mistake that shows up in receipts, invoices and refunds.

Say the total is $108.25 and the rate was 8.25%. The price before tax is $108.25 divided by 1.0825, which is $100.00. Take 8.25% off $108.25 instead and you get $99.32, which is wrong by 68 cents and wrong in a way that compounds across a whole invoice. The rule is simple enough to tape to a monitor: to add tax, multiply by the rate; to remove it, divide by one plus the rate.

This matters most when a customer asks for a refund on a tax-inclusive price, or when you're reconciling a receipt against a quote. The seller collected $8.25 on a $100 sale. Hand back $8.93 because you subtracted the percentage from the total and you've given away money that was never yours.

If you build checkout, the rate is data, not a constant

This is the part that bites developers. A hardcoded 8.25% works until a customer in Louisiana checks out, and then it silently undercharges by nearly two points. The rate belongs in a table keyed by jurisdiction, fetched per order, never baked into the code.

Since the 2018 Wayfair decision, states can make out-of-state sellers collect tax once they pass a threshold, commonly $100,000 of sales or 200 transactions in that state. Big retailers collect everywhere now. A small shop might not collect in a state yet, but the buyer technically still owes use tax on the purchase in most states. Your checkout code doesn't decide the law. It decides whether the number on the screen matches it.

Sourcing matters too. For online orders the rate usually follows the delivery address, not the warehouse. Ship to a different county and the rate changes, even when the item and the seller stay the same. A calculator that asks for the state and lets you type the exact local rate is doing the honest version of this: averages get you close, the exact rate gets you right.

Sales tax is not VAT

The US is almost alone in charging sales tax instead of VAT, and the difference is structural. VAT gets collected at every stage of production, with each business reclaiming what it paid, so the tax stays invisible until the final price. US sales tax is charged once, at the final sale, which is why businesses can buy tax-free with an exemption or resale certificate. Use one of those for personal purchases and that's tax fraud, and states do audit it.

For a buyer the practical difference is small: one number added at the end either way. For anyone building pricing, it's the whole game. VAT rates are national and consistent. US sales tax is a patchwork, and the patch is the address.

FAQs

How do I calculate sales tax?

Multiply the price by the rate. A $100 item at 8.25% carries $8.25 of tax, so you pay $108.25.

Which states have no sales tax?

Alaska, Delaware, Montana, New Hampshire and Oregon have no statewide sales tax. Watch the fine print: many Alaska cities add local tax, and some Montana resort areas charge a resort tax, so the till can still add a line.

Why doesn't the state rate match my receipt?

Because the receipt's rate is state plus local. Cities, counties and special districts add their own taxes on top of the state rate, and the exact mix depends on where the sale happens. The calculator starts from the state rate plus the average local rate; type your exact rate in for a precise figure.

Do I pay sales tax on online purchases?

Usually yes. Since the 2018 Wayfair decision, states can require out-of-state sellers to collect once they pass a threshold, commonly $100,000 of sales or 200 transactions in the state. Big retailers collect everywhere.

The number on the shelf is never the number you pay, and the gap is decided by an address, not by the item. Check the rate before you quote a price, and if you're removing tax from a total, divide. The sales tax calculator on xplosole adds or removes tax for any US state. It starts from each state's rate plus its average local rate for 2026, and you can type your exact city rate in when you know it. It's free, no signup, and it runs in your browser, so the prices you type never leave your device. Rates are averages from the Tax Foundation's midyear 2026 table, so treat the result as an estimate and check your state revenue department for the exact figure. This is a calculator, not tax advice.