How to Calculate Sales Tax: Formula, State Rates & Worked Examples

๐Ÿ“… February 25, 2026 ยท 14 min read ยท By CalcSharp Team

Whether you're a consumer trying to figure out the total cost of a purchase or a business owner who needs to collect and remit sales tax, understanding how to calculate sales tax is essential. Sales tax affects nearly every purchase you make in the United States โ€” from a cup of coffee to a new car โ€” yet many people don't fully understand how it works, how rates are determined, or why the amount varies so much from one location to another.

In this comprehensive guide, we'll explain exactly what sales tax is, walk through the formula with real worked examples, show you every state's base rate, cover tax-exempt items, explain use tax, break down how businesses collect and remit sales tax, and answer the most common questions people have about sales tax on online purchases. By the end, you'll be able to calculate sales tax on anything with confidence.

Try Our Free Sales Tax Calculator โ†’

Instantly calculate sales tax for any state and amount

What Is Sales Tax?

Sales tax is a consumption tax imposed by state and local governments on the sale of goods and certain services. It's calculated as a percentage of the purchase price and is collected by the seller at the point of sale. The seller then remits the collected tax to the appropriate government authority.

Unlike income tax, which is based on how much you earn, sales tax is based on how much you spend. It's considered a regressive tax because it takes a larger percentage of income from lower-income households โ€” someone earning $30,000/year who spends $20,000 on taxable goods pays a higher effective tax rate than someone earning $200,000 who spends the same amount.

In the U.S., there is no federal sales tax. Sales tax is entirely a state and local matter, which is why rates and rules vary so dramatically depending on where you live, shop, or do business.

The Sales Tax Formula

Calculating sales tax is straightforward. Here's the formula:

Sales Tax Amount = Price ร— Sales Tax Rate

And the total price you pay:

Total Price = Price + (Price ร— Sales Tax Rate)

Or simplified:

Total Price = Price ร— (1 + Sales Tax Rate)

The sales tax rate should be expressed as a decimal. So 7% becomes 0.07, 8.25% becomes 0.0825, and so on. Need help with that conversion? Our percentage calculator makes it easy.

Worked Example 1: Simple Sales Tax Calculation

Scenario: You're buying a pair of shoes for $85.00 in Texas, where the state sales tax rate is 6.25%.

Calculation:
Sales Tax = $85.00 ร— 0.0625 = $5.31
Total Price = $85.00 + $5.31 = $90.31

Worked Example 2: Combined State + Local Tax

In most places, you don't just pay a state sales tax โ€” there are also county and city taxes layered on top. You need to add all applicable rates together before multiplying.

Scenario: You buy a laptop for $1,200 in Chicago, Illinois.

Tax rates:
โ€ข Illinois state tax: 6.25%
โ€ข Cook County tax: 1.75%
โ€ข Chicago city tax: 1.25%
โ€ข Regional Transit Authority: 1.00%
โ€ข Combined rate: 10.25%

Calculation:
Sales Tax = $1,200 ร— 0.1025 = $123.00
Total Price = $1,200 + $123.00 = $1,323.00

That's $123 in sales tax alone โ€” which is why knowing your combined local rate matters, especially on big purchases. Use our sales tax calculator to look up your exact combined rate by state.

Worked Example 3: Reverse Sales Tax (Finding the Pre-Tax Price)

Sometimes you know the total amount paid and need to figure out the original price before tax. Here's the reverse formula:

Pre-Tax Price = Total Price รท (1 + Sales Tax Rate)
Scenario: Your receipt shows a total of $64.20 and you're in Florida (6% state sales tax).

Calculation:
Pre-Tax Price = $64.20 รท 1.06 = $60.57
Sales Tax Paid = $64.20 โˆ’ $60.57 = $3.63

State vs. Local Sales Tax Rates

Sales tax in the U.S. has two layers: state-level and local-level (county, city, and special district taxes). The state sets a base rate, and local jurisdictions can add their own taxes on top.

This means two stores 10 miles apart can charge very different tax rates. A purchase in downtown Seattle (10.25% combined) costs significantly more in tax than the same item bought in a nearby unincorporated area (6.5% state rate only).

Here's a table showing every U.S. state's base sales tax rate, along with average combined rates when local taxes are included:

StateState RateAvg. Combined Rate
Alabama4.00%9.24%
Alaska0.00%1.82%
Arizona5.60%8.40%
Arkansas6.50%9.45%
California7.25%8.85%
Colorado2.90%7.81%
Connecticut6.35%6.35%
Delaware0.00%0.00%
Florida6.00%7.02%
Georgia4.00%7.38%
Hawaii4.00%4.44%
Idaho6.00%6.02%
Illinois6.25%8.82%
Indiana7.00%7.00%
Iowa6.00%6.94%
Kansas6.50%8.69%
Kentucky6.00%6.00%
Louisiana4.45%9.56%
Maine5.50%5.50%
Maryland6.00%6.00%
Massachusetts6.25%6.25%
Michigan6.00%6.00%
Minnesota6.875%7.49%
Mississippi7.00%7.07%
Missouri4.225%8.39%
Montana0.00%0.00%
Nebraska5.50%7.00%
Nevada6.85%8.23%
New Hampshire0.00%0.00%
New Jersey6.625%6.60%
New Mexico5.125%7.72%
New York4.00%8.52%
North Carolina4.75%6.98%
North Dakota5.00%6.97%
Ohio5.75%7.24%
Oklahoma4.50%8.98%
Oregon0.00%0.00%
Pennsylvania6.00%6.34%
Rhode Island7.00%7.00%
South Carolina6.00%7.43%
South Dakota4.50%6.40%
Tennessee7.00%9.55%
Texas6.25%8.20%
Utah6.10%7.19%
Vermont6.00%6.24%
Virginia5.30%5.75%
Washington6.50%9.29%
West Virginia6.00%6.55%
Wisconsin5.00%5.43%
Wyoming4.00%5.36%

Highest combined rates: Louisiana (9.56%), Tennessee (9.55%), Arkansas (9.45%), Washington (9.29%), and Alabama (9.24%) consistently have the highest average combined sales tax rates in the country.

Lowest rates: Delaware, Montana, New Hampshire, and Oregon have no sales tax at all. Alaska has no state tax but allows local taxes averaging 1.82%.

States With No Sales Tax

Five states impose no state-level sales tax:

Living in or shopping in these states can mean significant savings, especially on big-ticket items. A $30,000 car purchased in Oregon saves you roughly $2,700 compared to buying the same car in Tennessee (9% combined rate). However, these states often make up the revenue with higher income taxes, property taxes, or other fees.

Calculate Your Exact Sales Tax โ†’

Enter any amount and get the precise tax for your state

Use Tax Explained

Use tax is the lesser-known counterpart to sales tax. It applies when you buy something from a seller who didn't collect sales tax โ€” typically because they're in a different state โ€” and you bring the item into your home state for use.

The use tax rate is almost always identical to your local sales tax rate. If your state charges 7% sales tax, you owe 7% use tax on any out-of-state purchase where tax wasn't collected.

Example: You live in New York (8% combined rate in your county) and buy a $500 piece of furniture from a small out-of-state seller who doesn't collect New York sales tax. You owe $500 ร— 0.08 = $40.00 in use tax to New York State on your tax return.

Technically, consumers are supposed to track all untaxed out-of-state purchases and report use tax on their state income tax return. In practice, compliance is low for individuals โ€” but states are increasingly enforcing use tax on business purchases and large consumer items like vehicles and boats, where they can cross-reference registration records.

โš ๏ธ Important: Since the 2018 Wayfair ruling, most online retailers now collect sales tax automatically, making use tax less of an issue for everyday purchases. But if you buy from small sellers, marketplace-exempt sellers, or out-of-state auctions, you may still owe use tax.

How Businesses Collect and Remit Sales Tax

If you run a business that sells taxable goods or services, you're responsible for collecting, reporting, and remitting sales tax to the appropriate tax authority. Here's how the process works:

1. Get a Sales Tax Permit

Before collecting sales tax, you must register for a sales tax permit (also called a seller's permit or certificate of authority) in each state where you have nexus โ€” a sufficient business presence that triggers a tax obligation. Nexus can be established by:

2. Determine the Correct Rate

Sales tax rates depend on the destination of the sale in most states (called "destination-based sourcing"). You charge the combined state + local rate for where the buyer receives the goods. Some states use "origin-based sourcing," where the seller's location determines the rate.

With over 13,000 sales tax jurisdictions in the U.S., determining the right rate for every order can be complex. This is where automation tools become essential for businesses with multi-state sales.

Automate Sales Tax with Avalara โ†’ Free Trial Available

Accurate rate calculation, filing, and remittance for all 13,000+ U.S. tax jurisdictions. Affiliate link

3. Collect Tax at the Point of Sale

Add the appropriate sales tax to every taxable transaction. Your POS system or e-commerce platform should handle this automatically once configured. The tax amount should appear as a separate line item on receipts and invoices.

4. File Sales Tax Returns and Remit Payment

Depending on your sales volume, you'll file sales tax returns monthly, quarterly, or annually. Each return reports your total sales, taxable sales, exempt sales, and the tax collected. You then remit the collected tax to the state.

Filing deadlines and frequencies vary by state. Missing a deadline can result in penalties ranging from 5% to 25% of the tax due, plus interest. Many states offer small vendor discounts (1-3% of tax collected) as a reward for on-time filing.

Simplify Sales Tax Filing with TaxJar โ†’ Plans from $19/mo

AutoFile in 30+ states. Integrates with Shopify, Amazon, eBay, WooCommerce, and more. Affiliate link

If you're self-employed and also trying to keep track of self-employment taxes, our self-employment tax calculator can help you estimate your quarterly obligations alongside sales tax duties.

Sales Tax on Online Purchases

The landscape of online sales tax changed dramatically in 2018 with the Supreme Court's ruling in South Dakota v. Wayfair, Inc. Before this decision, online sellers only had to collect sales tax in states where they had a physical presence (a brick-and-mortar store, office, or warehouse). This meant many online purchases were effectively tax-free for consumers.

The Wayfair decision allowed states to establish economic nexus laws, which require online sellers to collect and remit sales tax once they exceed certain sales thresholds in a state โ€” typically $100,000 in annual sales or 200 separate transactions.

Today, 45 states (plus D.C.) impose sales tax on online purchases. All major e-commerce platforms โ€” including Amazon, Walmart, eBay, Etsy, and Shopify-powered stores โ€” now collect sales tax in every applicable state. As a consumer, you'll see sales tax added automatically at checkout based on your shipping address.

Marketplace Facilitator Laws

Most states have also passed marketplace facilitator laws that shift the tax collection responsibility from individual sellers to the marketplace platform itself. If you sell through Amazon, eBay, or Etsy, the platform collects and remits sales tax on your behalf in most states. However, you're still responsible for sales made through your own website or in states where marketplace laws don't apply.

Tax-Exempt Items

Not everything is subject to sales tax. Exemptions vary widely by state, but here are the most common categories:

Groceries (Unprepared Food)

Most states exempt unprepared grocery items from sales tax. Raw meat, vegetables, bread, milk, and other staples are tax-free in about 32 states. However, prepared food (restaurant meals, hot deli items) is almost always taxable. Some states like Alabama, Mississippi, and South Dakota tax groceries at the full rate, while others like Illinois and Virginia tax groceries at a reduced rate.

Prescription Medications

Nearly all states exempt prescription drugs from sales tax. Most also exempt over-the-counter medications, though some states (like Louisiana and Hawaii) do tax them. Medical devices and durable medical equipment are often exempt as well.

Clothing

A handful of states exempt clothing from sales tax, at least partially:

Sales Tax Holidays

Many states offer sales tax holidays โ€” specific weekends (usually in late summer) where certain items are temporarily tax-free. Common categories include:

Texas, Florida, and Tennessee are among the most generous with sales tax holidays. Check your state's department of revenue for specific dates and eligible items.

Other Common Exemptions

File Your Taxes with TurboTax โ†’ Get Maximum Refund Guaranteed

TurboTax automatically handles sales tax deductions on your federal return. Affiliate link

Sales Tax Deduction on Federal Taxes

If you itemize deductions on your federal income tax return, you can choose to deduct either state income tax OR state sales tax (but not both). This is especially valuable for residents of states with no income tax (like Texas, Florida, and Washington), who can deduct sales tax instead.

The IRS provides optional sales tax tables based on your income and location, so you don't need to track every receipt. However, if you made major purchases (a car, boat, or home renovation materials), keeping receipts can allow you to claim a higher deduction than the standard table amount.

Example: You live in Texas (no state income tax) and earned $80,000. The IRS table gives you a $1,380 sales tax deduction. But you also bought a $35,000 car this year with $2,888 in sales tax. You can add the car's tax to the table amount for a total deduction of $4,268 โ€” a significant tax benefit.

Tips for Saving on Sales Tax

While you can't avoid sales tax entirely (legally), there are smart ways to minimize what you pay:

  1. Shop during sales tax holidays โ€” Time major purchases around your state's tax-free weekends
  2. Buy tax-exempt items in bulk โ€” Stock up on groceries and other exempt categories
  3. Consider where you buy big-ticket items โ€” If you live near a state border, compare combined rates
  4. Claim the sales tax deduction โ€” Especially if you live in a state with no income tax
  5. Use a percentage calculator to double-check โ€” Our percentage calculator helps verify tax amounts quickly
  6. Keep receipts for large purchases โ€” You may be able to deduct the sales tax paid on your federal return

Final Thoughts

Sales tax is one of the most common taxes Americans encounter, yet it's surprisingly complex once you dig into the details. Between state rates, local surcharges, exemptions, and the post-Wayfair online sales tax landscape, there's a lot to navigate โ€” whether you're a consumer budgeting for a purchase or a business owner trying to stay compliant.

The good news is that the core calculation is simple: price ร— tax rate = sales tax. Layer in an understanding of your local combined rate, know which items are exempt, and use our free sales tax calculator for instant results โ€” and you'll never be surprised by the total at checkout again.

Frequently Asked Questions

How do I calculate sales tax on a purchase?

Multiply the item's price by the sales tax rate as a decimal. For example, a $50 item with a 7% sales tax: $50 ร— 0.07 = $3.50 in tax. The total you pay is $53.50. If there are both state and local taxes, add the rates together first, then multiply.

Which states have no sales tax?

Five states have no state-level sales tax: Alaska, Delaware, Montana, New Hampshire, and Oregon. However, Alaska allows local municipalities to charge their own sales tax, so some areas in Alaska do collect sales tax.

What is the difference between sales tax and use tax?

Sales tax is collected by the seller at the point of sale. Use tax is owed by the buyer when they purchase an item from an out-of-state seller who didn't collect sales tax. The rate is typically the same as the local sales tax rate. Use tax ensures that in-state and out-of-state purchases are taxed equally.

Do I have to pay sales tax on online purchases?

Yes, in most cases. Since the 2018 Supreme Court ruling in South Dakota v. Wayfair, states can require online sellers to collect sales tax even if they don't have a physical presence in the state. Most major online retailers like Amazon now collect sales tax in all states that impose it.

What items are exempt from sales tax?

Exemptions vary by state, but commonly exempt items include most groceries (unprepared food), prescription medications, and clothing (in some states like Pennsylvania, New Jersey, and New York). Many states also hold sales tax holidays โ€” temporary periods where certain items like school supplies or emergency preparedness gear are tax-free.

Methodology, Assumptions, and Limitations

About this page: How to Calculate Sales Tax (Formula + Examples) is designed to help visitors make faster, better-informed decisions without creating an account or giving up personal data.

This article is written for educational planning, not legal, tax, investment, or lending advice. Examples are simplified to show the decision logic clearly and may not match your exact situation without additional inputs.

Worked example: Worked examples in this article are directional and simplified on purpose; they are meant to help you evaluate scenarios quickly before acting.

Source References

Editorial Transparency

Last updated: March 9, 2026 ยท Author: CalcSharp Editorial Team ยท Reviewed by: CalcSharp Finance Review Desk

CalcSharp publishes free educational calculators and guides. We prioritize plain-English explanations, visible assumptions, and links to primary or official references wherever practical.

BlogEditorial PolicyContact