Smekys
Ad Space

Sales Tax Calculator

Free sales tax calculator: add tax to a price or reverse-calculate the pre-tax price from a receipt total, with combined state and local rates.

Enter Values

1 = add tax to a pre-tax price; 2 = strip tax out of a receipt total.

$

The pre-tax price in Add Tax mode; the full receipt total in Remove Tax mode.

%

Combined state + local sales tax rate; the US average is roughly 7%–8%.

Result

Pre-Tax Price
$100.00
Sales Tax
$8.25
Total (Price + Tax)
$108.25
Tax as % of Total
7.62%

Every price tag you see in a store is missing one number: the tax. In the United States, sales tax is layered on top of the listed price at checkout, and the combined rate — state, county, city, and special district — changes not only from state to state but sometimes from one ZIP code to the next. This sales tax calculator does two jobs at once. In Add Tax mode it takes a pre-tax price and tells you exactly what you will pay at the register. In Remove Tax mode it does the reverse: hand it a receipt total and it strips the tax back out so you can see how much of that $108.25 was actually the item.

Both directions use the same simple math, and once you see it you will never need to wonder again.

How to Use

  1. Pick the Calculation Mode. Choose Add Tax when you know the shelf price and want the out-the-door total. Choose Remove Tax when you only have the receipt total in front of you.
  2. Enter the Amount. In Add Tax mode this is the pre-tax price — the number on the tag or in your online cart before tax is computed. In Remove Tax mode this is the full amount charged on the receipt, including tax.
  3. Type the Sales Tax Rate as a percentage. Use your combined state plus local rate: the state rate plus any county, city, or district tax that applies where you take delivery. A common example is 8.25% (California state rate plus typical local districts). If you do not know your exact rate, the national average is roughly 7%–8%.
  4. Read the result card. It shows the Pre-Tax Price, the Sales Tax dollars, the Total, and the Tax as % of Total — which is always slightly lower than the rate itself, because the tax is a slice of the bigger final number.

Switching the mode does not change the math, only the direction of the division. That is the whole trick to understanding receipts.

The Formula

Forward, the way a checkout register works:

Sales Tax = Price × Rate ÷ 100 Total = Price + Sales Tax

So on a $100 purchase at 8.25%, the tax is 100 × 0.0825 = $8.25, and the total is $108.25.

Reverse, the way a receipt is read backward:

Pre-Tax Price = Total ÷ (1 + Rate ÷ 100) Sales Tax = Total − Pre-Tax Price

Feed $108.25 back in at the same 8.25%: 108.25 ÷ 1.0825 = $100.00, and the tax is $108.25 − $100.00 = $8.25. The two directions are exact mirrors of each other. Notice what happens if you naively multiply the total by the rate instead: 108.25 × 0.0825 = $8.93, which overstates the tax and understates the pre-tax price by 68 cents. That mistake is surprisingly common on expense reports, which is why the divide-by-1.0825 step matters.

How US Sales Tax Actually Works

There is no federal sales tax in the United States. Instead, 45 states plus the District of Columbia levy a state-level rate, and most cities and counties add their own on top:

  • State rate ranges from about 2.9% (Colorado) to 7.25% (California) at the state level.
  • Local rates can push the combined figure to 10% or higher in parts of Louisiana, Tennessee, and California.
  • Five states have no general state sales tax at all: Alaska, Delaware, Montana, New Hampshire, and Oregon — though Alaska allows local borough taxes.
  • Groceries, prescription drugs, and clothing are taxed at reduced or zero rates in many states, so the rate you enter should match the category of item you are buying.
  • Online sellers generally must collect the rate of the buyer's location (destination-based sourcing), not the seller's home state, thanks to the 2018 Supreme Court decision in South Dakota v. Wayfair.

That last point is why the same $100 item can ring up at $108.25 in Los Angeles, $106.00 in Atlanta, and $100.00 in Portland, Oregon.

Examples

Example 1 — The textbook purchase. A textbook is marked $100.00. You are shopping in a ZIP code with an 8.25% combined rate. Enter 100, rate 8.25, Add Tax mode. The calculator shows pre-tax $100.00, tax $8.25, and a total of $108.25.

Example 2 — Reading a receipt backward. Your credit-card statement shows a charge of $108.25 and you forgot what the item cost before tax. Switch to Remove Tax mode, enter 108.25 and 8.25%. The calculator recovers a pre-tax price of $100.00 and tax of $8.25 — exactly undoing the register.

Example 3 — A small everyday purchase. A shirt priced at $49.99 in a 6.0% tax state: tax is $3.00 (49.99 × 0.06), for a total of $52.99. The rounding to the nearest cent happens once, on the tax itself.

Example 4 — A large transaction. On a $1,000,000 purchase at 8.25% — think a vehicle or equipment sale split across dealers — the tax alone is $82,500 and the out-the-door total is $1,082,500. At that scale, knowing the reverse direction lets a buyer verify that a $1,082,500 invoice really does break down to a $1,000,000 base.

FAQ

How do I calculate sales tax from a total?

Divide the total by 1 plus the tax rate as a decimal. For an 8.25% rate, divide the receipt total by 1.0825 to get the pre-tax price; subtract that from the total to isolate the tax. Do not simply multiply the total by the rate — that computes the tax on a number that already includes tax, which overstates it.

What is the sales tax formula?

Forward: tax = price × rate ÷ 100, then total = price + tax. Reverse: pre-tax price = total ÷ (1 + rate ÷ 100), then tax = total − pre-tax price. The rate you use must be the combined state, county, city, and special-district rate for the location where you take delivery.

Which US states have no sales tax?

Five states have no broad-based state sales tax: Alaska, Delaware, Montana, New Hampshire, and Oregon. Alaska is the exception that still allows local borough sales taxes, so a delivery into parts of Alaska can still carry a small local tax.

Why is "tax as % of total" lower than the tax rate I entered?

Because the tax is calculated on the pre-tax price, not on the final total. At 8.25%, an $8.25 tax on a $100 base is 7.62% of the $108.25 total. The wider the gap, the more the two numbers diverge — which is exactly why the reverse-direction division uses 1.0825 rather than 0.0825.

Is online sales tax based on where I live or where the seller is?

Since the 2018 South Dakota v. Wayfair Supreme Court decision, most online sellers collect tax based on the destination — the buyer's shipping address — not the seller's home location. That means the same item can carry different tax depending on which state or even which ZIP you ship it to.

Are groceries and clothing always taxed at the full rate?

No. Many states exempt or reduce tax on unprepared groceries, prescription drugs, and sometimes clothing (for example, New York and Massachusetts have clothing thresholds, and several states hold annual tax-free weekends). Enter the rate that applies to your specific item category, not the headline state rate.

Can this calculator handle Canadian GST or VAT-style taxes?

The math is identical — any percentage add-on works the same way — but the rate and the exemption rules differ by country. Enter the local combined rate and the forward and reverse results will still be correct; just confirm which goods are taxable under your country's rules.

Disclaimer

This sales tax calculator is provided for informational purposes only and does not constitute tax, accounting, or legal advice. Results depend entirely on the rate you enter; actual combined rates vary by state, county, city, special district, product category, and date, and may include exemptions, caps, or tax-holiday rules. Always confirm the exact rate with your state's department of revenue or a qualified tax professional before relying on these figures for filing, invoicing, or expense reporting.

Related Calculators

Disclaimer

Results are estimates for illustration only. Verify important figures independently.