Skip to content

Sales Tax Calculator

State and local tax on a sale, including shipping.

Calculate US sales tax from state and local rates, with the option to include shipping in the taxable base.

Written and maintained by Mohit PatelLast checked August 4, 2026How we build these
%
%

Rates change with budgets and local ballot measures, and the rate that applies depends on the delivery address and product category. Treat these as planning figures, not as a filing.

Total with tax

$108.85

$8.85 of tax at 8.85%

Price before tax$100.00
Taxable base$100.00
Sales tax at 8.85%$8.85
Total charged$108.85

Local district taxes usually exceed the state rate's variation, so the delivery address matters more than the state does. Rates are set per address, not per city.

How the Sales Tax Calculator works

US sales tax is set per address, not per state. The state rate is the floor; county, city and special district taxes stack on top and account for most of the variation between two customers a few miles apart. Whether shipping is taxable is a separate question with a different answer in about half the country.

Also known as: US sales tax calculator · add sales tax to price · state and local tax calculator

The underlying calculation

Sales tax is added to the price rather than extracted from it: tax = price × rate, and the total is price × (1 + rate). US sales tax is conventionally quoted and displayed exclusive of tax, which is why the shelf price and the till total differ.

The rate is the sum of every layer that applies at the delivery address: state, county, city, and any special district. Those layers are set independently and there are more than 13,000 combinations in the United States.

An example

A $58 order delivered to an address with a 6.25% state rate, a 1% county rate and a 1.75% city rate, 9% combined. Tax is $5.22 and the total is $63.22.

Move the same order two miles to an address outside the city limits: 7.25% combined, $4.21 of tax, $62.21 total. Identical order, a dollar apart, decided by a boundary the customer cannot see.

That is why rate lookup has to be by full address rather than by ZIP code. A single ZIP frequently spans several taxing jurisdictions, and ZIP-level rates are wrong often enough to matter.

What it does not tell you

Not everything is taxable, and what is exempt varies enormously by state. Groceries, prescription drugs, clothing and digital goods are each treated differently across the fifty states, and applying one rate to a mixed basket overcharges some lines and undercharges others.

The seller is liable for tax that should have been collected and was not. It cannot practically be recovered from customers afterwards, which means an under-collection is paid out of margin that has already been spent.

What this changes

Use address-level rate lookup rather than ZIP tables, and automate it. Maintaining rates by hand is viable in one state and fails everywhere else, because rates change hundreds of times a year across the country.

Then map product taxability per state rather than assuming. A product exempt in one state and taxable in the next is common, and the mapping is a one-time exercise that prevents a recurring error.

Sourcing: where the sale is taxed

Destination sourcing taxes the sale at the buyer's address; origin sourcing taxes it at the seller's. Most states use destination sourcing for remote sellers, and a handful use origin sourcing for sellers located within the state.

That means a business can face two different rules for the same product depending on whether the customer is in its home state or another one. Texas is the clearest example: origin-based for intrastate sales, destination-based for remote ones.

The practical consequence is that a business's home state is often its most complicated one, not its simplest. Remote states apply a single consistent rule; the home state applies whatever local arrangement exists, plus any local registration and filing obligations that come with having a physical presence there.

Several states require a registered seller to file a return even in periods with no sales. Zero returns are compulsory and missing them attracts penalties despite there being no tax due.

That is the hidden ongoing cost of a registration, every state you register in adds a filing calendar that continues whether or not you sell there again.

Where to go next

The Sales Tax question rarely arrives on its own. These are the ones that usually come with it:

Not financial advice. Marketplace fees change, and they vary by country, plan and seller status. Every rate here is an editable default, not a quoted price, check the platform's current fee schedule before you price a product against it. This is not tax or business advice.

Frequently asked questions

How do I calculate sales tax?

Multiply the taxable amount by the combined rate, state plus county plus city plus any special districts. The combined rate for a delivery address is what matters, not the state rate.

Is shipping taxable?

It depends on the state. Roughly half tax delivery charges when the goods themselves are taxable, and half do not. Some exempt shipping only when it is separately stated on the invoice, which is a common trap for sellers who bundle it into the item price.

Which rate applies, mine or the customer's?

Almost always the customer's, because most states are destination-sourced. A handful, including Texas, source intrastate sales to the seller's location. Interstate sales are destination-sourced everywhere.

Do I charge tax on every sale?

Only in states where you have nexus, and only on taxable products. Groceries, clothing and prescription items are exempt or reduced in many states, and resale certificates exempt wholesale sales entirely.

Put this calculator on your own site

Free to use, on any site, commercial or not. Paste this where you want it to appear. It is a plain iframe, so it works in WordPress, Squarespace, Wix, Webflow, Ghost and anything else that accepts HTML.

The one-line version
<iframe src="https://www.thecalclibrary.com/embed/sales-tax-calculator" width="100%" height="640" style="border:1px solid #e2e8f0;border-radius:12px" loading="lazy" title="Sales Tax Calculator"></iframe>
<p style="font:13px/1.5 system-ui,sans-serif;margin:6px 0 0;color:#64748b">Powered by <a href="https://www.thecalclibrary.com/sales-tax-calculator" style="color:#64748b">Sales Tax Calculator</a> from The Calc Library</p>

The only condition is that the credit line below the frame stays in place. That one line is what pays for the tool being free — it is how anyone else finds it.

Related calculators