How to Calculate Sales Tax: The Complete Guide
Learn how to calculate sales tax with a simple formula, add or remove tax from a price, find the rate from a receipt and understand state and local rates, with examples.
Updated 16 min read

In this guide
- The quick answer
- How to calculate sales tax step by step
- The mental math shortcut
- How to add sales tax to a price
- How to remove sales tax from a total
- How to find the sales tax rate from a receipt
- How sales tax rates work in the United States
- Where the sale happens: origin and destination rules
- What is taxable and what is exempt
- Discounts, coupons, shipping and fees
- Sales tax holidays
- Sales tax vs VAT and GST
- Sales tax in spreadsheets
- Sales tax for big purchases
- Who collects and pays sales tax
- Can you deduct sales tax?
- Common sales tax mistakes
- A worked shopping trip
- Quick reference: tax on common amounts
- How sales tax is rounded
- Sales tax for small business owners
- Sales tax on cars and other vehicles
- Returns, refunds and exchanges
- Sales tax on services and digital goods
- Sales tax on online purchases
- Use tax in more detail
- Sales tax rates by state: full list
- How to use our sales tax calculator
- Checking an online order
- A short history of US sales tax
- Frequently asked questions
- Work out your sales tax now
Sales tax looks simple on a receipt, but working it out yourself raises real questions. Which rate applies where you live? Is the tax charged before or after a discount? How do you take the tax back out of a total for an expense report? And why does the same laptop cost a different amount in two cities in the same state?
This guide answers all of it. You will learn the sales tax formula, how to add tax to a price, how to remove tax from a total, how to find the rate from a receipt, how state and local rates combine, which items are usually exempt and the mistakes that cost people money. You can check every example with our free sales tax calculator, which has state and average local rates built in.
The quick answer
To calculate sales tax, multiply the price by the sales tax rate written as a decimal. To get the total, add the tax to the price.
Sales tax = price × rate Total = price + sales tax = price × (1 + rate)
For an $80 purchase at a combined rate of 8.25 percent: 80 × 0.0825 = $6.60 in tax, for a total of $86.60.

How to calculate sales tax step by step

Step 1: Find the combined rate. In most of the United States, sales tax is made up of a state rate plus one or more local rates set by counties, cities and special districts. Add them together. In Houston, for example, the Texas state rate of 6.25 percent plus 2 percent of local taxes gives 8.25 percent.
Step 2: Convert the percentage to a decimal. Divide by 100. So 8.25 percent becomes 0.0825, 7 percent becomes 0.07 and 6.625 percent becomes 0.06625.
Step 3: Multiply by the taxable price. Use the price after any store discount or coupon the store applies before tax. Shipping may or may not be taxable, depending on the state.
Step 4: Add the tax to the price. That is the total you pay.
Worked examples
| Purchase | Rate | Tax | Total |
|---|---|---|---|
| $80.00 shoes | 8.25% | $6.60 | $86.60 |
| $49.99 game | 6% | $3.00 | $52.99 |
| $250.00 chair | 7% | $17.50 | $267.50 |
| $1,200.00 laptop | 9.03% | $108.36 | $1,308.36 |
| $100.00 dinner, New York City | 8.875% | $8.88 | $108.88 |
Notice the $49.99 game: 49.99 × 0.06 = 2.9994, which rounds to $3.00. Sales tax is normally rounded to the nearest cent, and half a cent rounds up.
The mental math shortcut
You can estimate sales tax in your head with the 10 percent trick:
- Move the decimal point one place left to get 10 percent. On $80 that is $8.
- Adjust for your rate. For 8 percent, take 10 percent and subtract a fifth of it: $8 − $1.60 = $6.40. For 5 percent, halve the 10 percent figure: $4.
- Add a little for the extra quarter or half point. At 8.25 percent on $80, add about 20 cents: about $6.60.
It is not exact, but it is close enough to know whether you are under budget at the checkout.
How to add sales tax to a price
When you already know the pre tax price, multiply by one plus the rate. This gives the total in a single step.
Total = price × (1 + rate)
At 8.25 percent, the multiplier is 1.0825. A $250 item costs 250 × 1.0825 = $270.63 with tax. This is how stores, quoting tools and our sales tax estimator work out what you will pay.
If you are buying several of the same item, multiply the unit price by the quantity first, then apply tax to the subtotal. Stores usually calculate tax on the whole taxable subtotal, not item by item, which can make a one cent difference.
How to remove sales tax from a total
This is the calculation people most often get wrong. If a receipt shows $108.25 including 8.25 percent tax, the price before tax is not $108.25 minus 8.25 percent of $108.25. That would give $99.32, which is wrong.
The correct method is to divide the total by one plus the rate:
Price before tax = total ÷ (1 + rate)
$108.25 ÷ 1.0825 = $100.00. The tax is the difference: $8.25.

You need this when you claim expenses, compare prices between states, or check what a "tax included" price really costs. We explain more examples in reverse sales tax.
How to find the sales tax rate from a receipt
If you have a receipt with the pre tax subtotal and the tax amount, you can find the rate:
Rate = tax ÷ price before tax × 100
A receipt showing a subtotal of $42.25 and tax of $3.38 has a rate of 3.38 ÷ 42.25 × 100 = 8.0 percent. If you only have the total and the subtotal, subtract to find the tax first. Rounding to the cent means the result can be slightly off, so round your answer to the nearest common rate. See how to find the sales tax rate from a receipt.
How sales tax rates work in the United States
The United States has no national sales tax. Each state decides whether to have a sales tax, what rate to charge and what goods and services are taxable. Then local governments often add their own rates on top.
- 45 states and the District of Columbia have a statewide sales tax.
- Five states have no statewide sales tax: Alaska, Delaware, Montana, New Hampshire and Oregon. Alaska and Montana still allow some local sales taxes. See states with no sales tax.
- Local rates are added by counties, cities and special districts such as transit authorities. In some states, such as Louisiana, Alabama and Oklahoma, local rates are higher than the state rate.
The number you pay is the combined rate for the place where the sale happens. That is why our calculator lets you pick a state and then use the average local rate or type your own local rate. Read state vs local sales tax to see how the layers stack up.
State rates at a glance
| State | State rate | Average local | Combined |
|---|---|---|---|
| California | 7.25% | 1.78% | 9.03% |
| Texas | 6.25% | 1.95% | 8.20% |
| New York | 4.00% | 4.54% | 8.54% |
| Florida | 6.00% | 0.98% | 6.98% |
| Illinois | 6.25% | 2.73% | 8.98% |
| Washington | 6.50% | 3.07% | 9.57% |
| New Jersey | 6.625% | 0% | 6.625% |
| Tennessee | 7.00% | 2.61% | 9.61% |
Average local rates are population weighted, so your own city may be higher or lower. Always check the exact rate for the address when the amount is large.

The highest combined rates are in Louisiana, Tennessee, Washington, Arkansas and Alabama, all above 9.4 percent on average. The lowest, apart from the states with no sales tax, are in places such as Hawaii, Maine and Wisconsin. Compare every state in highest and lowest sales tax states.
Where the sale happens: origin and destination rules
When you buy in a store, you pay the rate where the store is. When something is delivered, most states use destination based sourcing: the rate at the delivery address applies. A few states use origin based sourcing for sellers inside the state, where the seller's location sets the rate. This is why the same online order can show different tax depending on where you ship it.
What is taxable and what is exempt
Sales tax usually applies to the retail sale of tangible goods: things you can touch, such as clothing, furniture, electronics and household items. What is exempt varies a lot by state.
- Groceries are exempt or taxed at a reduced rate in most states, while prepared food and restaurant meals are usually taxed.
- Prescription drugs are exempt in almost every state.
- Clothing is exempt in a few states, such as Minnesota, New Jersey and Pennsylvania, and partly exempt in others, such as New York and Massachusetts, under a price limit.
- Services like haircuts, repairs and software are taxed in some states and not in others.
- Digital goods such as e books, music and apps are taxable in a growing number of states.
Our guide to items exempt from sales tax lists the common categories and how states differ.
Discounts, coupons, shipping and fees
The details on a receipt change the taxable amount:
- Store discounts and store coupons usually reduce the price before tax, so you pay tax on the lower price.
- Manufacturer coupons are often treated differently: in many states tax is charged on the price before the manufacturer coupon, because the store is reimbursed for it.
- Shipping and handling is taxable in some states and not in others, and sometimes only when it is part of the item price.
- Gift cards are not taxed when you buy them. Tax is charged when you spend them on taxable items.
- Returns should refund the tax you paid on the returned item.
If the numbers on a receipt do not match your own calculation, one of these rules is usually the reason.
Sales tax holidays
Several states hold sales tax holidays, short periods when certain items can be bought tax free. Back to school holidays for clothing and school supplies in late summer are the most common, along with holidays for hurricane supplies and energy efficient appliances. Price limits usually apply per item. Read how sales tax holidays work before you plan a big purchase around one.
Sales tax vs VAT and GST
If you shop internationally, you will meet VAT (value added tax) and GST (goods and services tax). Unlike US sales tax, VAT is usually included in the shelf price and is charged at every stage of production, with businesses reclaiming the tax they paid on inputs. The UK charges a standard 20 percent VAT, Canada a 5 percent federal GST plus provincial taxes, and Australia a 10 percent GST. Our comparison of sales tax, VAT and GST explains how they differ for shoppers and businesses.
Sales tax in spreadsheets
If you track purchases or price lists in Excel or Google Sheets, these formulas save time. Put the price in A2 and the rate as a percentage in B2.
| What you want | Formula |
|---|---|
| Sales tax | =ROUND(A2*B2, 2) |
| Total with tax | =ROUND(A2*(1+B2), 2) |
| Price before tax from a total | =ROUND(A2/(1+B2), 2) |
| Tax inside a total | =A2-ROUND(A2/(1+B2), 2) |
| Rate from price and tax | =C2/A2 |
Format the rate cells as percentages, so that typing 8.25 stores 0.0825.
Sales tax for big purchases
Sales tax matters most on large purchases, where a percentage point is real money.
| Purchase | At 6% | At 8% | At 10% |
|---|---|---|---|
| $500 phone | $30 | $40 | $50 |
| $1,500 sofa | $90 | $120 | $150 |
| $3,000 laptop setup | $180 | $240 | $300 |
| $30,000 car | $1,800 | $2,400 | $3,000 |
Cars often have their own rules, including separate vehicle tax rates, trade in credits and county or city add ons. Always check the rules in the state where you will register the vehicle.
Who collects and pays sales tax
Sales tax is paid by the customer but collected by the seller, who sends it to the state on a regular schedule. If you buy something without paying sales tax, for example from an out of state seller that did not collect it, you may owe use tax to your state at the same rate. Since the Supreme Court's 2018 decision in South Dakota v. Wayfair, most large online sellers and marketplaces collect sales tax in every state that has one, so this happens far less often than it used to.
Can you deduct sales tax?
If you itemize deductions on your federal income tax return, you can choose to deduct either state and local income taxes or state and local general sales taxes, not both. This choice mostly helps people in states with no income tax. The total state and local tax deduction is capped, so check the current IRS rules and limits for the year you file. This is general information, not tax advice.
Common sales tax mistakes

- Forgetting local tax. Using only the state rate understates the tax in most places.
- Removing tax the wrong way. Divide by one plus the rate. Do not subtract the rate from the total.
- Taxing the wrong amount. Store discounts usually come off before tax.
- Assuming everything is taxable. Groceries, medicine and some clothing are often exempt.
- Using an old rate. Local rates change, often on January 1, April 1, July 1 or October 1.
- Confusing rounding. A one cent difference between your figure and the receipt is usually rounding.
A worked shopping trip
Real receipts mix taxable and exempt items, so here is a full example in a state that exempts groceries, with a combined rate of 8.25 percent.

- Separate the items. Groceries ($62.40) are exempt. Paper towels, shampoo and a phone charger are taxable.
- Add the taxable items: $12.99 + $8.49 + $24.99 = $46.47.
- Calculate the tax: $46.47 × 0.0825 = $3.834, which rounds to $3.83.
- Add everything: $62.40 + $46.47 + $3.83 = $112.70.
If you had applied 8.25 percent to the whole $108.87, you would have expected $8.98 in tax, more than double the real amount. That is why it matters which items are taxable.
Quick reference: tax on common amounts
| Amount | 5% | 6% | 7% | 8% | 9% | 10% |
|---|---|---|---|---|---|---|
| $10 | $0.50 | $0.60 | $0.70 | $0.80 | $0.90 | $1.00 |
| $25 | $1.25 | $1.50 | $1.75 | $2.00 | $2.25 | $2.50 |
| $50 | $2.50 | $3.00 | $3.50 | $4.00 | $4.50 | $5.00 |
| $100 | $5.00 | $6.00 | $7.00 | $8.00 | $9.00 | $10.00 |
| $500 | $25.00 | $30.00 | $35.00 | $40.00 | $45.00 | $50.00 |
For rates with decimals, such as 8.25 or 6.625 percent, the calculator is quicker than mental math, but this table helps you sanity check any result.
How sales tax is rounded
Sales tax is calculated to a fraction of a cent and then rounded to the nearest cent. Most states use standard rounding: half a cent or more rounds up, less than half a cent rounds down. Some states allow sellers to round tax per item, while others require rounding on the invoice total. That is why two stores can charge a one cent difference on the same basket. For everyday purposes, rounding the total tax once is the clearest method, and it is what our calculator does.
Sales tax for small business owners
If you sell taxable goods or services, you are usually responsible for collecting sales tax from customers and paying it to the state. The basics:
- Register with the revenue department of each state where you have nexus, which can come from a physical presence or from sales above a state's economic threshold.
- Charge the right rate for each sale. For deliveries, that is usually the combined rate at the customer's address.
- Keep records of taxable sales, exempt sales and exemption certificates.
- File returns monthly, quarterly or yearly, depending on how much tax you collect.
- Pay on time. Late filing usually brings penalties and interest.
Sellers often price products before tax and show the tax separately on the invoice. If you sell at tax included prices, use the reverse formula to split each sale into price and tax for your records. This is general guidance only, so check with your state or a tax professional for your situation.
Sales tax on cars and other vehicles
Vehicles are the biggest taxable purchase most people make, and the rules are different from everyday shopping:
- Where you register decides the tax. Buying a car in a cheaper state does not help if you register it at home, because your home state charges its own vehicle tax when you register.
- Trade ins often reduce the taxable price. Many states tax only the difference between the new car price and your trade in value. A $30,000 car with a $10,000 trade in may be taxed on $20,000. A few states give no trade in credit.
- Rebates and fees vary. Manufacturer rebates, documentation fees and extended warranties are taxable in some states and not in others.
- Some states use a separate vehicle tax with its own rate, and counties or cities can add more.
- Private sales between individuals are usually taxed when the buyer registers the car, often based on the sale price or a book value.
At 7 percent, a $30,000 car carries $2,100 in tax, or $1,400 if a $10,000 trade in is credited. That difference alone can be worth negotiating around.
Returns, refunds and exchanges
When you return an item, the store should refund the sales tax along with the price. If you exchange an item for a cheaper one, you should get back the tax on the difference. If you exchange for a more expensive one, you pay tax on the extra amount. Keep receipts, because without them a store may refund only the price, or refund at a different rate.
Sales tax on services and digital goods
Sales tax began as a tax on physical goods, and services have caught up unevenly. A handful of states, including Hawaii, New Mexico and South Dakota, tax most services. Many others tax only a list of specific services, such as repairs, landscaping, dry cleaning or amusement admissions, and leave professional services like legal and accounting work untaxed. Digital products, from streaming subscriptions to software and e books, are taxable in a growing number of states, sometimes at a different rate. If you sell or buy services and digital products across state lines, check each state's list rather than assuming the rules match your own state.
Sales tax on online purchases
Since the Wayfair decision in 2018, every state with a sales tax requires large remote sellers to collect it, and marketplaces such as Amazon, Etsy and eBay collect tax for their third party sellers. In practice, almost every online order shipped to a state with a sales tax now shows tax at checkout, calculated at the combined rate for the delivery address. Smaller sellers below a state's threshold may not charge tax, in which case use tax technically applies.
Use tax in more detail
Use tax is the partner of sales tax. It applies when you buy taxable goods without paying sales tax and then use them in a state that has a sales tax. The rate is normally the same as the sales tax you would have paid locally. Common examples include furniture bought in a no sales tax state and shipped home, or equipment a business buys from an out of state supplier that did not charge tax. Individuals often report use tax on their state income tax return, and businesses report it on their sales and use tax returns.
Sales tax rates by state: full list
This table lists every state's rate and the population weighted average local rate used in our calculator. Your exact local rate depends on your address.
| State | State rate | Avg local | Combined |
|---|---|---|---|
| Alabama | 4% | 5.46% | 9.46% |
| Alaska | 0% | 1.82% | 1.82% |
| Arizona | 5.6% | 2.94% | 8.54% |
| Arkansas | 6.5% | 2.98% | 9.48% |
| California | 7.25% | 1.78% | 9.03% |
| Colorado | 2.9% | 4.99% | 7.89% |
| Connecticut | 6.35% | 0% | 6.35% |
| Delaware | 0% | 0% | 0% |
| District of Columbia | 6% | 0% | 6% |
| Florida | 6% | 0.98% | 6.98% |
| Georgia | 4% | 3.56% | 7.56% |
| Hawaii | 4% | 0.5% | 4.5% |
| Idaho | 6% | 0.03% | 6.03% |
| Illinois | 6.25% | 2.73% | 8.98% |
| Indiana | 7% | 0% | 7% |
| Iowa | 6% | 0.94% | 6.94% |
| Kansas | 6.5% | 2.21% | 8.71% |
| Kentucky | 6% | 0% | 6% |
| Louisiana | 5% | 5.13% | 10.13% |
| Maine | 5.5% | 0% | 5.5% |
| Maryland | 6% | 0% | 6% |
| Massachusetts | 6.25% | 0% | 6.25% |
| Michigan | 6% | 0% | 6% |
| Minnesota | 6.875% | 1.26% | 8.13% |
| Mississippi | 7% | 0.06% | 7.06% |
| Missouri | 4.225% | 4.22% | 8.45% |
| Montana | 0% | 0% | 0% |
| Nebraska | 5.5% | 1.48% | 6.98% |
| Nevada | 6.85% | 1.39% | 8.24% |
| New Hampshire | 0% | 0% | 0% |
| New Jersey | 6.625% | 0% | 6.62% |
| New Mexico | 4.875% | 2.8% | 7.67% |
| New York | 4% | 4.54% | 8.54% |
| North Carolina | 4.75% | 2.35% | 7.1% |
| North Dakota | 5% | 2.09% | 7.09% |
| Ohio | 5.75% | 1.54% | 7.29% |
| Oklahoma | 4.5% | 4.56% | 9.06% |
| Oregon | 0% | 0% | 0% |
| Pennsylvania | 6% | 0.34% | 6.34% |
| Rhode Island | 7% | 0% | 7% |
| South Carolina | 6% | 1.49% | 7.49% |
| South Dakota | 4.2% | 1.91% | 6.11% |
| Tennessee | 7% | 2.61% | 9.61% |
| Texas | 6.25% | 1.95% | 8.2% |
| Utah | 6.1% | 1.32% | 7.42% |
| Vermont | 6% | 0.43% | 6.43% |
| Virginia | 5.3% | 0.47% | 5.77% |
| Washington | 6.5% | 3.07% | 9.57% |
| West Virginia | 6% | 0.6% | 6.6% |
| Wisconsin | 5% | 0.72% | 5.72% |
| Wyoming | 4% | 1.39% | 5.39% |
How to use our sales tax calculator
Our sales tax estimator is built for the three questions people ask most:
- Add tax. Pick your state, keep the average local rate or type your own, then enter the price and quantity. You get the state tax, local tax, total tax and the total to pay, laid out like a receipt.
- Remove tax. Enter a total that already includes tax, and the calculator finds the price before tax and the tax inside it.
- Find the rate. Enter the price before tax and the total on the receipt, and it works out the rate you were charged.
Below the result you can compare the same purchase in all 50 states and DC, sorted from lowest to highest tax, which is handy when you are deciding where to buy something big. Recent calculations are kept on your device so you can come back to them.
Checking an online order
Online checkouts calculate tax at the last step, after shipping is chosen and the delivery address is entered. If the tax looks wrong:
- confirm the delivery address, since the rate follows the address in most states
- check whether shipping was taxed, which depends on the state
- look for items that should be exempt, such as groceries or clothing in some states
- compare the rate with the combined rate for your area
If an error remains, contact the seller. Large marketplaces calculate tax automatically, but mistakes with addresses or product categories still happen.
A short history of US sales tax
General sales taxes spread across the United States during the Great Depression, when property tax collections collapsed and states needed a new source of revenue. Mississippi adopted one of the first modern general sales taxes in 1932, and many states followed within a few years. Today sales tax is one of the largest sources of state revenue, and in states without an income tax, such as Texas, Washington and Tennessee, it carries even more of the load.
Frequently asked questions
How do I calculate 8 percent sales tax?
Multiply the price by 0.08. For a $50 item, 50 × 0.08 = $4 in tax and $54 in total.
How do I calculate the price before tax?
Divide the total by one plus the rate. A total of $54 at 8 percent: 54 ÷ 1.08 = $50.
Is sales tax charged on the price before or after a discount?
Usually after a store discount or store coupon, so you pay tax on the lower price. Manufacturer coupons are treated differently in many states.
Why does the same item have different tax in nearby towns?
Because local rates vary. Counties, cities and special districts can add their own rates, so two stores a few miles apart can charge different totals.
Which states have no sales tax?
Alaska, Delaware, Montana, New Hampshire and Oregon have no statewide sales tax, although Alaska and Montana allow some local sales taxes.
Work out your sales tax now
You now know the formula, how to add and remove tax, how to find a rate from a receipt and how state and local rates combine. For any real purchase, the fastest route is a calculator with current rates built in. Pick your state, enter the price and see the tax, the total and a comparison with every other state in our free sales tax calculator.
Try it now: Open the free calculator (Sales Tax Calculator)
More guides in this series
- Reverse Sales Tax: How to Find the Price Before Tax
- How to Find the Sales Tax Rate From a Receipt
- State vs Local Sales Tax: How Combined Rates Work
- States With No Sales Tax (and the Catch in Each One)
- Highest and Lowest Sales Tax States
- What Is Exempt From Sales Tax? Groceries, Clothing and More
- Sales Tax Holidays: How Tax Free Weekends Work
- Sales Tax vs VAT vs GST: What Is the Difference?
Sources
Free calculator
Run your own numbers now
Add or remove sales tax for any state in seconds with the free calculator. No sign up, and nothing leaves your browser.


