How to Calculate Sales Tax: Formula, State Rates & Worked Examples
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:
And the total price you pay:
Or simplified:
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
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.
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:
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:
| State | State Rate | Avg. Combined Rate |
|---|---|---|
| Alabama | 4.00% | 9.24% |
| Alaska | 0.00% | 1.82% |
| Arizona | 5.60% | 8.40% |
| Arkansas | 6.50% | 9.45% |
| California | 7.25% | 8.85% |
| Colorado | 2.90% | 7.81% |
| Connecticut | 6.35% | 6.35% |
| Delaware | 0.00% | 0.00% |
| Florida | 6.00% | 7.02% |
| Georgia | 4.00% | 7.38% |
| Hawaii | 4.00% | 4.44% |
| Idaho | 6.00% | 6.02% |
| Illinois | 6.25% | 8.82% |
| Indiana | 7.00% | 7.00% |
| Iowa | 6.00% | 6.94% |
| Kansas | 6.50% | 8.69% |
| Kentucky | 6.00% | 6.00% |
| Louisiana | 4.45% | 9.56% |
| Maine | 5.50% | 5.50% |
| Maryland | 6.00% | 6.00% |
| Massachusetts | 6.25% | 6.25% |
| Michigan | 6.00% | 6.00% |
| Minnesota | 6.875% | 7.49% |
| Mississippi | 7.00% | 7.07% |
| Missouri | 4.225% | 8.39% |
| Montana | 0.00% | 0.00% |
| Nebraska | 5.50% | 7.00% |
| Nevada | 6.85% | 8.23% |
| New Hampshire | 0.00% | 0.00% |
| New Jersey | 6.625% | 6.60% |
| New Mexico | 5.125% | 7.72% |
| New York | 4.00% | 8.52% |
| North Carolina | 4.75% | 6.98% |
| North Dakota | 5.00% | 6.97% |
| Ohio | 5.75% | 7.24% |
| Oklahoma | 4.50% | 8.98% |
| Oregon | 0.00% | 0.00% |
| Pennsylvania | 6.00% | 6.34% |
| Rhode Island | 7.00% | 7.00% |
| South Carolina | 6.00% | 7.43% |
| South Dakota | 4.50% | 6.40% |
| Tennessee | 7.00% | 9.55% |
| Texas | 6.25% | 8.20% |
| Utah | 6.10% | 7.19% |
| Vermont | 6.00% | 6.24% |
| Virginia | 5.30% | 5.75% |
| Washington | 6.50% | 9.29% |
| West Virginia | 6.00% | 6.55% |
| Wisconsin | 5.00% | 5.43% |
| Wyoming | 4.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:
- Alaska โ No state tax, but local municipalities can impose their own (up to ~7.5% in some areas)
- Delaware โ No sales tax at any level; however, businesses pay a gross receipts tax
- Montana โ No sales tax; some resort communities charge a small local option tax
- New Hampshire โ No sales tax; relies heavily on property taxes instead
- Oregon โ No sales tax at any level
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.
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.
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:
- Having a physical location (office, warehouse, store) in the state
- Having employees or contractors working in the state
- Storing inventory in the state (including Amazon FBA warehouses)
- Exceeding economic nexus thresholds โ typically $100,000 in sales or 200 transactions in a state per year
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.
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.
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:
- Pennsylvania โ Most clothing is fully exempt
- New Jersey โ Clothing and footwear are exempt
- New York โ Items under $110 per piece are exempt
- Minnesota โ Clothing is exempt
- Vermont โ Clothing under $110 is exempt
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:
- Back-to-school supplies and clothing
- Computers and electronics (in some states)
- Energy-efficient appliances
- Emergency preparedness supplies (flashlights, batteries, generators)
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
- Resale purchases โ Items bought for resale (with a valid resale certificate) are exempt; tax is collected when the item is sold to the end consumer
- Non-profit purchases โ Qualifying 501(c)(3) organizations are often exempt
- Manufacturing equipment โ Many states exempt machinery used directly in manufacturing
- Agricultural supplies โ Seeds, feed, and farm equipment are often exempt
- Services โ Most states don't tax services (haircuts, legal advice, accounting), though this is gradually changing
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.
Tips for Saving on Sales Tax
While you can't avoid sales tax entirely (legally), there are smart ways to minimize what you pay:
- Shop during sales tax holidays โ Time major purchases around your state's tax-free weekends
- Buy tax-exempt items in bulk โ Stock up on groceries and other exempt categories
- Consider where you buy big-ticket items โ If you live near a state border, compare combined rates
- Claim the sales tax deduction โ Especially if you live in a state with no income tax
- Use a percentage calculator to double-check โ Our percentage calculator helps verify tax amounts quickly
- 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.