Skip to content
TaxPercentage

Sales tax calculator

Rates
2026
Rates verified
Jul 1, 2026

Sales tax = price × tax rate. Pick a state, city or ZIP code (or type a rate) and enter the price before tax. The calculator adds the combined state and local rate and shows how much of the tax goes to the state and how much to local governments. Switch to “Remove sales tax” to work backwards from a receipt total.

Your purchase

I want to
Tax rate

Choose a state, ZIP code or enter a rate to calculate. Tax is rounded half-up to the cent.

Total including sales tax

$100.00

Sales tax $0.00 at 0%

Price before tax $100.00
Total sales tax 0% $0.00
Total including tax $100.00
Share this result

Sales tax in the United States is set by states and, in most states, topped up by counties, cities and special districts. That is why the same purchase can be taxed at different rates a few miles apart.

How to calculate sales tax

Convert the rate to a decimal and multiply it by the price before tax:

Sales tax = Price × (Rate ÷ 100)
Total = Price + Sales tax

Example: a $250 purchase at a combined rate of 8.25% carries $250 × 0.0825 = $20.63 in sales tax (rounded to the cent), for a total of $270.63.

Which rate applies?

For in-person sales, the rate is normally the one at the store's location. For shipped orders, most states use destination-based sourcing: the rate at the address where the buyer receives the goods. A handful of states use origin-based sourcing for in-state sellers, so the seller's location sets the rate. Your state page explains the rule for that state.

The combined rate is built from up to four layers:

  • State rate: the same everywhere in the state.
  • County rate: added by many counties.
  • City rate: added by many cities and towns.
  • Special district rate: for transit, stadiums, tourism or public safety districts that cover only part of an area.

State, city, ZIP or manual rate?

Choosing a state uses the state rate plus the population-weighted average local rate: a good estimate when you don't know the exact location. Choosing a city uses that city's combined rate where we have verified it. A ZIP code gives an estimate, because ZIP codes are drawn for mail delivery and often cross tax boundaries. If your invoice or point-of-sale system shows a specific rate, enter it manually.

Rounding

We calculate tax on the total and round half up to the nearest cent, which is how most invoices and registers work. Some states require tax to be computed per line item or use bracket tables for very small amounts, so a receipt can differ from this calculator by a cent.

Calculate by state

Frequently asked questions

How do I calculate sales tax by hand?

Multiply the price before tax by the tax rate written as a decimal. For a 7% rate, multiply by 0.07: $40 × 0.07 = $2.80 in tax, so you pay $42.80.

Is shipping subject to sales tax?

It depends on the state. Some states tax delivery charges whenever the goods are taxable, others exempt shipping when it is separately stated on the invoice. Check the state page or the state revenue department before relying on either rule.

Is sales tax charged before or after a discount?

Store discounts and coupons funded by the seller usually reduce the taxable price, so tax is charged on the discounted amount. Manufacturer coupons that the seller is reimbursed for are often taxed on the price before the coupon. Rules vary by state.

Why is my receipt different from this calculator?

The store may be in a special district with an extra rate, may tax individual items at different rates (for example groceries or prepared food), or may round per item. Use the city or manual rate option to match a specific receipt.

What is the difference between sales tax and use tax?

Sales tax is collected by the seller at the time of sale. Use tax is owed by the buyer at the same rate when no sales tax was collected, for example on some online or out-of-state purchases. Paying one means you do not owe the other on the same purchase.

Can I deduct sales tax on my federal return?

If you itemize deductions, you can choose to deduct either state and local income taxes or state and local general sales taxes, subject to the federal cap on state and local tax (SALT) deductions. The IRS publishes a sales tax deduction calculator for this.

Written by

International finance and tax specialist

Last updated · How we check rates