Sales Tax Calculator

About this calculator

The Sales Tax Calculator works in any direction. Enter a before-tax price and rate to get the tax and total, enter the total and rate to back out the original price, or enter both prices to find the rate that was charged.

Leave the field you want solved empty. A table of state and maximum local rates for every US state is included below.

$
%
$
Overrides the rate above with the general state rate (local taxes not included).
Embed this calculator

Paste this code into a Custom HTML block on your site. The calculator fits the width of the block. Adjust the height in the code if you want more room for results.

Find this widget in the publisher directory

What is sales tax?

Sales tax is a consumption tax charged when goods and some services are sold to the final consumer. The seller adds it to the price at checkout, collects it and sends it to the state and local governments. In the United States there is no national sales tax; each state, and often each county and city, sets its own rate and rules.

Sales tax formulas

Sales tax = before-tax price × rate
After-tax price = before-tax price × (1 + rate)
Before-tax price = after-tax price ÷ (1 + rate)
Rate = (after-tax price ÷ before-tax price) − 1

Worked examples

  • Adding tax: a $100 item at 6.5% has $6.50 of tax and costs $106.50.
  • Removing tax: a receipt total of $250.00 at 8.25% means the item was priced at $250 ÷ 1.0825 = $230.95, and the tax was $19.05.
  • Finding the rate: paying $86.40 for an $80 item means a rate of 86.40 ÷ 80 − 1 = 8%.

A common mistake when backing tax out of a total is to multiply the total by the rate and subtract. That overstates the tax, because the rate applies to the original price, not the total. Always divide by one plus the rate.

How sales tax works in the US

Forty-five states and the District of Columbia charge a statewide sales tax. Alaska, Delaware, Montana, New Hampshire and Oregon do not, although many Alaska localities do. Counties, cities and special districts add their own rates on top, so the combined rate can vary block by block. Louisiana, Tennessee, Arkansas, Washington and Alabama have some of the highest combined rates, above 9% on average.

What is taxable

Tangible goods are generally taxable. Many states exempt or reduce tax on groceries, prescription drugs and clothing, and services are taxed unevenly from state to state. Some states hold sales tax holidays, typically for back-to-school shopping or energy-efficient appliances.

Use tax

If you buy something from a seller who does not collect your state's tax, you technically owe the same amount as use tax to your state. Since the 2018 Supreme Court decision in South Dakota v. Wayfair, most large online sellers collect sales tax based on the buyer's address, so use tax mostly matters for private and foreign purchases.

Sales tax vs. VAT

Most other countries use a value-added tax instead. A VAT is collected at every step of production and distribution on the value added at that step, and businesses reclaim the VAT they paid on inputs. The end result for consumers is similar, but VAT rates are usually higher (often 15% to 25%) and are generally included in the shelf price, while US sales tax is added at the register.

Deducting sales tax

If you itemize on your federal return, you can deduct either state and local income taxes or state and local sales taxes, but not both. The sales tax option helps mainly in states without an income tax, or in a year with a large purchase like a car or boat. The deduction counts toward the overall state and local tax (SALT) cap. See the IRS sales tax deduction calculator for the standard tables.

Rounding and receipts

Stores calculate tax on the taxable subtotal of a receipt, not item by item, and round the result to the nearest cent. That is why adding up tax line by line can be a cent or two off the printed total. When you reverse a receipt total to find the pre-tax amount, small rounding differences are normal. For business bookkeeping, record the tax exactly as printed on the invoice, since that is the amount the seller reports to the state.

Frequently asked questions

How do I calculate sales tax?
Multiply the price by the tax rate as a decimal. For example, $50 at 7% is $50 × 0.07 = $3.50 in tax, for a total of $53.50.
How do I remove sales tax from a total?
Divide the total by one plus the rate. A $107 total at 7% tax means the pre-tax price was $107 ÷ 1.07 = $100.
Which states have no sales tax?
Alaska, Delaware, Montana, New Hampshire and Oregon have no statewide sales tax. Some local governments in Alaska and Montana resort areas do charge local sales taxes.
Which state has the highest sales tax?
California has the highest statewide rate at 7.25%. Including local taxes, combined rates are highest in places like Louisiana, Alabama and Tennessee, where some areas exceed 10%.

Formulas and sample results on this page were checked against independent references. Page last reviewed or updated . How we verify calculators. Project led by Shaun Connell.