Sales Tax Calculator

Sales tax shows up on almost every purchase you make, but figuring out exactly how much you're paying isn't always obvious. Whether you're budgeting for a big purchase, running a small business, or just trying to make sense of a receipt, a sales tax calculator takes the guesswork out of it. This guide walks through everything you need to know: the basic formula, how to add tax to a price, how to work backwards from a total, and why the rate you pay depends on where you live.

Enter Details

Result

Enter price and local sales tax rate.

Note — This result is an estimate. Talk to a healthcare provider for personalized guidance.

How to Calculate Sales Tax

Calculating sales tax comes down to one simple idea: multiply the price of the item by the tax rate. That's really it. The tricky part is making sure you have the right rate for your location, since it changes from state to state and even city to city.

Here's the basic process:

  1. Find the pre-tax price of the item.
  2. Look up the sales tax rate for your location (as a percentage).
  3. Convert the percentage to a decimal by dividing by 100.
  4. Multiply the pre-tax price by the decimal.
  5. Add the result to the original price to get your total.

For example, if something costs $50 and the tax rate is 8%, you'd multiply $50 by 0.08 to get $4.00 in tax. Your total comes to $54.00. Simple enough once you get the hang of it.

Sales Tax Formula Explained (Price × Tax Rate)

The core formula is: Sales Tax = Price × Tax Rate. That's the whole thing. Everything else is just a variation on this.

To put it in practical terms:

  • Price is the listed or pre-tax cost of the item.
  • Tax Rate is expressed as a decimal (so 7.5% becomes 0.075).
  • Sales Tax is the dollar amount you'll owe on top of the price.

Once you have the sales tax amount, you can find the total cost with a second formula: Total = Price + Sales Tax. Or you can combine both steps into one: Total = Price × (1 + Tax Rate). So for a $200 item at 6% tax, that's $200 × 1.06 = $212.00.

The combined formula is especially handy when you just want the final number without doing two separate calculations.

How to Add Sales Tax to a Price

Adding sales tax to a price is something you might need to do when writing up an invoice, quoting a customer, or just planning your spending ahead of time.

There are two ways to approach it. The first is the two-step method:

  1. Multiply the price by the tax rate (as a decimal) to find the tax amount.
  2. Add that amount to the original price.

The second is the one-step method: multiply the price by (1 + tax rate). Both get you to the same place.

Let's say you're buying a laptop priced at $899 and your local tax rate is 9.25%.

  • Tax amount: $899 × 0.0925 = $83.16
  • Total: $899 + $83.16 = $982.16

Or with the one-step method: $899 × 1.0925 = $982.16. Same answer either way. Pick whichever feels more natural to you.

How to Reverse Calculate Sales Tax

Sometimes you already know the total you paid and want to figure out how much of it was tax. This is called a reverse sales tax calculation, and it's useful for things like expense reports, bookkeeping, or just satisfying your curiosity about a receipt.

The formula works like this: Pre-Tax Price = Total Price ÷ (1 + Tax Rate). Then, Sales Tax Amount = Total Price - Pre-Tax Price.

Here's a quick example. Say you paid $107.50 for something and the tax rate was 7.5%.

  1. Divide $107.50 by 1.075.
  2. Pre-tax price = $100.00.
  3. Tax paid = $107.50 - $100.00 = $7.50.

The key thing to remember is that you're dividing by 1 plus the rate, not just the rate itself. It's a common mistake to divide by the rate directly, which gives you the wrong answer. Use the formula above and you'll be fine.

Combined State and Local Sales Tax Rates

The sales tax rate you pay at checkout usually isn't just one number from one source. Most of the time, it's a combination of a state-level rate and one or more local rates layered on top.

Here's how it breaks down:

  • State sales tax: Set by the state government. This is the base rate that applies everywhere within the state.
  • County tax: An additional percentage added by the county.
  • City or municipal tax: Some cities tack on their own rate as well.
  • Special district tax: Certain areas have extra taxes for things like transit or stadium funding.

All of these get added together to form your combined sales tax rate. For instance, a state might have a 6% base rate, your county adds 1%, and your city adds another 0.5%, putting your total rate at 7.5%.

This is why the rate in one city can be noticeably different from the rate in a neighboring town, even within the same state. When you're calculating sales tax, always try to use the combined rate for your specific location rather than just the state rate.

Step-by-Step Sales Tax Calculation Examples

Seeing the math in action makes the whole thing click faster. Here are a few examples covering different scenarios.

Example 1: Basic purchase
Item price: $45.00 | Tax rate: 6%
Tax = $45.00 × 0.06 = $2.70
Total = $45.00 + $2.70 = $47.70

Example 2: Higher combined rate
Item price: $1,200.00 | Tax rate: 10.25%
Tax = $1,200 × 0.1025 = $123.00
Total = $1,200 + $123 = $1,323.00

Example 3: Reverse calculation
Total paid: $54.25 | Tax rate: 8.5%
Pre-tax price = $54.25 ÷ 1.085 = $50.00
Tax paid = $54.25 - $50.00 = $4.25

Example 4: Multiple items
If you're buying several things, add up all the pre-tax prices first, then apply the tax rate to the combined total. So three items at $20, $35, and $15 (subtotal: $70) at 7% tax = $4.90 in tax, for a grand total of $74.90.

Pre-Tax vs Post-Tax Price Explained

These two terms come up constantly when talking about sales tax, so it's worth being clear about what each one means.

Pre-tax price (also called the base price or net price) is the cost of the item before any sales tax is added. This is the number you see on a price tag or product listing in most U.S. retail contexts.

Post-tax price (also called the total price or gross price) is what you actually pay at checkout. It includes the pre-tax price plus all applicable taxes.

TermAlso CalledIncludes Tax?Example ($50 item, 8% tax)
Pre-tax priceBase price, net priceNo$50.00
Sales taxTax amountN/A$4.00
Post-tax priceTotal, gross priceYes$54.00

Knowing which number you're starting with matters a lot when you're doing any kind of calculation. If you apply a tax rate to a post-tax price, you'll end up double-counting the tax. Always confirm whether the number you have is pre- or post-tax before you start.

Why Sales Tax Varies by Location

If you've ever noticed that you pay a different tax rate depending on where you shop, you're not imagining it. Sales tax in the U.S. is set and collected at the state and local level, not by the federal government. That means every state gets to make its own rules.

A few reasons the rate varies so much:

  • State policy: Some states have no sales tax at all (Oregon, Montana, New Hampshire, Delaware, and Alaska). Others have rates pushing toward 10% or higher when local taxes are included.
  • Local governments: Counties and cities can add their own taxes on top of the state rate, which is why two zip codes a few miles apart might have different totals.
  • Product exemptions: Many states exempt certain goods from sales tax entirely, like groceries or prescription medications. Some states tax clothing, others don't.
  • Ongoing legislation: Tax rates change. States and municipalities adjust rates through budget processes, ballot measures, or new legislation.

The bottom line is there's no single national sales tax rate you can rely on. The most accurate way to know what you owe is to look up the combined rate for the specific city or county where the purchase is taking place. Most state revenue department websites publish current rates, or you can use a sales tax calculator that pulls in up-to-date location data.

Other Finance Calculators

Explore all