Skip to content

Sales Tax Calculator

Add tax to a price or pull tax out of a total. Works with any rate from 0% to 30%, with a quick reference for common US cities.

Two questions, one calculator

The calculator runs in two directions. The first one is the obvious case: you know the pre-tax price and want to find what you’ll actually pay at checkout. Punch in the price and rate, get the tax amount and the total. Done.

The second case shows up more often than you’d think: you have a receipt that already has tax baked in, and you need to know the pre-tax amount for an expense report or a refund calculation. Toggle to “extract tax” mode and the math runs in reverse. The total stays the same; the calculator just splits it into the pre-tax base and the tax portion.

How the math actually works

Adding tax is straightforward, pre-tax × (1 + rate). Extracting tax is the inverse, total ÷ (1 + rate), and that’s where most people get tripped up. A common mistake is to multiply the total by the tax rate to get the tax amount, but that gives you a wrong number because the tax rate applies to the pre-tax price, not the total. On a $108 receipt with 8% tax, the tax isn’t $8.64 (which is 8% of $108); it’s $8.00 (which is 8% of the $100 pre-tax base). Off-by-1% errors are easy to introduce when you eyeball it.

Common US sales tax rates

State-level rates vary from 0% (Oregon, Delaware, Montana, New Hampshire, Alaska) to 7.25% (California). Most US states sit between 4% and 7%. The catch is that cities and counties layer their own local rates on top. NYC charges 8.875% combined. Los Angeles County hits 9.5%. Chicago is one of the highest at 10.25%. Seattle reaches 10.35% in some districts. If you’re shopping online with shipping to a specific address, the seller will usually compute the exact rate based on ZIP code.

Restaurants sometimes charge a different rate from retail stores in the same city, meal taxes can be higher. Some states (Texas, Pennsylvania) exempt groceries from sales tax entirely, which is why a $50 grocery run in Austin costs $50 flat but the same trip in Chicago shows up as $54.50 on the card.

When the calculator gets it wrong

The calculator gives an exact answer for a single tax rate. Three cases produce surprises:

  1. Tax-included pricing in Europe and parts of Latin America: VAT is built into the shelf price, so “extracting tax” is the actually relevant question, but the rate is often 19-25%, much higher than US sales tax. Just type the foreign rate in.
  2. Multiple tax jurisdictions on one receipt: some states tax certain categories at different rates (prepared food vs. groceries, alcohol, sugary drinks). Receipts will show separate tax lines. The calculator only handles one rate at a time.
  3. Rounded line items: retailers round each line individually, which can cause your computed total to differ from the receipt by a penny or two on multi-item purchases.

Frequently asked questions

Why does my receipt say 8.875% but online calculators show 8%? Online calculators usually default to state-level rates only. Real receipts include county and city additions. Always check the actual rate printed on the receipt.

How do I find the rate for my address? Most state revenue departments publish ZIP-code lookup tools. For occasional use, the Avalara or TaxJar free lookups cover any US address.

Does this work for VAT or GST? Yes, VAT (Europe) and GST (Canada, Australia) are mathematically identical to US sales tax for this calculation. Just enter your local rate.

Can I save calculations? Not on this page, the result lives in the URL only as long as you keep the tab open. For repeated tax math, bookmark the page with a specific rate already in the URL once we add that feature.

sales-tax calculator finance receipt retail

Related Tools

More in Math & Calculators