Home / Taxes

Sales Tax Calculator

Quickly add sales tax to a price, or work backward from a receipt total to find the price before tax.

Total with tax—
Price before tax
Sales tax
Total

Sales tax formulas

Tax = price x tax rate

Total = price x (1 + tax rate)

Price before tax = total / (1 + tax rate)

A common mistake when removing tax is to subtract the rate from the total. Because tax is charged on the pre-tax price, you must divide instead.

Worked examples

How sales tax works in the US

There is no national sales tax. Each state sets its own rate, and many cities and counties add a local rate on top. Five states have no statewide sales tax: Alaska, Delaware, Montana, New Hampshire and Oregon, although some Alaska localities charge their own. Many states exempt or reduce tax on groceries and prescription drugs.

To find your exact combined rate, check your state revenue department's website, since rates can differ even between neighboring ZIP codes.

Frequently asked questions

How do I calculate sales tax?

Multiply the price by the tax rate as a decimal. For 7% tax on $40, that is $40 x 0.07 = $2.80.

How do I remove sales tax from a total?

Divide the total by 1 plus the tax rate. For a $53.50 total with 7% tax, $53.50 / 1.07 = $50.00 before tax.

Which states have no sales tax?

Alaska, Delaware, Montana, New Hampshire and Oregon have no statewide sales tax. Local sales taxes still apply in parts of Alaska.

Do I pay sales tax on online purchases?

Usually, yes. Since a 2018 Supreme Court decision, states can require large online sellers to collect sales tax even without a physical store in the state.

Related calculators

Sources

This calculator gives estimates for general information only. It is not financial, tax or legal advice. Last reviewed 11/21/2026.