Skip to content

Sales tax calculator

Add sales tax to a price to see what you'll pay at the register, or take a receipt total and find the price before tax and the tax you paid. Works with any combined state and local rate.

  • Free, no limits
  • No sign-up
Everything happens in your browser; your data is never uploaded.
  • ✓ Free
  • ✓ No sign-up
  • ✓ Nothing uploaded

Next step

What to do next

How to use it

  1. Choose whether to add tax to a price or remove it from a total.
  2. Enter the amount.
  3. Enter your combined sales tax rate (state plus county, city and district).
  4. Read the total, the tax and the steps of the calculation.
Try it now

How sales tax is calculated

Adding tax to a price:

tax = price × rate / 100, and total = price + tax, or in one step total = price × (1 + rate / 100).

Finding the price before tax from a total (reverse sales tax):

price = total / (1 + rate / 100), and tax = total − price.

A common mistake when working backward is to take the rate off the total: 7% of $53.50 is $3.75, but the tax actually paid was $3.50, because the 7% was applied to the pre-tax price, not to the total. Dividing by 1.07 gives the right answer.

Example 1: adding tax

A $100 purchase at a 7.25% rate (California's statewide base rate, before local add-ons):

  1. Tax: 100 × 7.25 / 100 = $7.25.
  2. Total: 100 + 7.25 = $107.25.

A $1,249.99 laptop in New York City, where the combined rate is 8.875%: the tax is $110.94 and the total is $1,360.93.

Example 2: finding the price before tax

Your receipt shows $53.50 including tax, and the rate is 7%.

  1. Price before tax: 53.50 / 1.07 = $50.00.
  2. Tax paid: 53.50 − 50.00 = $3.50.

This is useful for expense reports, splitting a bill fairly, checking that a store charged the right rate, or figuring out how much sales tax you paid during the year if you itemize deductions.

Finding the right rate

The US has no national sales tax. Each state sets its own rate, and counties, cities and special districts can add their own on top, so the combined rate depends on your exact address. Two stores a few miles apart can charge different rates. A handful of states have no statewide sales tax at all, though some allow local sales taxes.

To find the rate for a specific address, use your state revenue department's rate lookup. Online orders are generally taxed at the rate of the address the item is shipped to.

What's taxed also varies by state. Many states exempt groceries or tax them at a lower rate, and prescription drugs are widely exempt. Clothing, digital downloads and services are treated differently from state to state. If an item may be exempt, enter 0% or the reduced rate that applies.

Rounding

The calculator rounds the tax to the nearest cent at the end. Stores may round per item or per invoice, and some states have specific bracket rules, so a receipt can differ from this calculation by a cent. When you remove tax from a total, the result may have more decimal places than a real price would; it is shown to the cent.

Coupons and discounts generally reduce the taxable price, so apply the discount first and then the tax. The discount calculator can do the first step.

Sales tax and income tax deductions

If you itemize deductions on your federal return, you can choose to deduct either state and local income taxes or state and local sales taxes, subject to the overall cap on state and local tax deductions. The sales tax option mostly helps people in states without an income tax or people who made a large purchase such as a car. The IRS offers a sales tax deduction calculator that estimates the amount from your income and location, and you can add the tax from major purchases on top. Keep receipts. This page doesn't give tax advice; check IRS guidance or a tax professional for your situation.

Sales tax versus VAT

Sales tax is charged once, at the final sale to the consumer, and is usually added at the register on top of the shelf price. Value-added tax (VAT), used in the UK, the EU and most other countries, is collected at every stage of production and is normally included in the displayed price for consumers. If you're working with a VAT rate, use the VAT calculator, which handles adding and removing VAT the same way.

Frequently asked questions

How do I calculate sales tax?

Multiply the price by the rate divided by 100. At 7.25%, the tax on $100 is $7.25 and the total is $107.25.

How do I find the price before tax from a total?

Divide the total by 1 plus the rate as a decimal. $53.50 at 7% is 53.50 / 1.07 = $50.00, so the tax was $3.50.

Why can't I just subtract 7% from the total?

Because the tax was 7% of the pre-tax price, not of the total. Subtracting 7% of the total takes off slightly too much.

What sales tax rate should I use?

The combined state and local rate for the address where you buy or where the item is delivered. Your state revenue department's lookup tool gives the exact rate.

Sources

Last updated: November 14, 2026

How we calculate – methodology

Recommended

Similar tools

If Sales tax calculator helped, you may need these too.

See all in category →

People also use