Sales Tax Calculator
Calculate sales tax for purchases, shopping carts, or find the pre-tax price from a total.
Total with Tax
$108
Sales Tax
+$8
Pre-Tax
$100
Tax Amount
$8
Tax Rate
8.25%
What Is Sales Tax?
Sales tax is a consumption tax levied by state and local governments on the retail sale of goods and, increasingly, services. Unlike income tax — which is paid annually and withheld throughout the year — sales tax is collected at the point of sale by the seller and remitted to the government on a regular basis. As a buyer, you pay it in real time every time you make a qualifying purchase.
The United States does not have a federal sales tax. Instead, each of the 45 states that impose a general sales tax (plus the District of Columbia) sets its own base rate. On top of that, counties, cities, and special taxing districts layer additional local rates. The result is that the combined rate you pay depends on the exact jurisdiction where the sale takes place — not just the state, but the specific city block. In Illinois, for example, the base state rate is 6.25%, but purchases in Chicago carry a total combined rate of over 10.25%.
This calculator uses 2024 average combined rates (state + weighted average local) for each state. Your actual rate may differ based on your specific city or county. For precise rates, consult your state's department of revenue or the Tax Foundation State Sales Tax database.
How to Use This Calculator
Simple Mode
Enter a pre-tax purchase amount and either set a custom tax rate with the slider or pick your state to auto-populate the combined state + average local rate. The result shows the tax amount and the total you will pay at the register.
Shopping Cart Mode
Add individual items with name, price, and quantity. Toggle the taxable checkbox to exclude exempt items like unprepared groceries or prescription drugs. The cart totals your subtotal, taxable amount, tax owed, and final total.
Reverse Mode
Got a receipt and want to know the pre-tax price? Enter the total you paid (including tax) and your tax rate. The calculator works backward to extract the original price and the exact tax amount charged.
How Sales Tax Is Calculated
Sales tax calculations follow one of two directions depending on what you know:
Forward Calculation (pre-tax amount known)
Tax Amount = Pre-Tax Price × (Tax Rate ÷ 100) Total Price = Pre-Tax Price + Tax Amount Example: $85.00 purchase at 8.25% tax rate Tax Amount = $85.00 × 0.0825 = $7.01 Total Price = $85.00 + $7.01 = $92.01
Reverse Calculation (total with tax known)
Pre-Tax Price = Total Price ÷ (1 + Tax Rate ÷ 100) Tax Amount = Total Price − Pre-Tax Price Example: $92.01 receipt total at 8.25% tax rate Pre-Tax Price = $92.01 ÷ 1.0825 = $85.00 Tax Amount = $92.01 − $85.00 = $7.01
A common mistake is to calculate the pre-tax price as Total × (1 − Rate%) — this undercounts the tax. The correct divisor is (1 + Rate%), not subtraction.
Combined Rate Calculation (state + local)
Combined Rate = State Rate + County Rate + City Rate + Special District Rate Example: California purchase in Los Angeles State Rate: 6.25% County (LA): 1.00% City (LA): 0.75% Metro Transit: 0.50% Combined Rate: 8.50% ← rate applied to purchase
Sales Tax Rates by State (2024)
The table below lists the 2024 state base rate and average combined rate (state + weighted average local) for all 50 states and D.C. Combined rates reflect average local rates as compiled by the Tax Foundation and may differ from your specific city or county rate.
| State | State Rate | Avg. Local | Combined |
|---|---|---|---|
| Alaska (AK) | 0.00% | 1.76% | 1.76% |
| Oregon (OR) | 0.00% | 0.00% | 0.00% |
| Montana (MT) | 0.00% | 0.00% | 0.00% |
| New Hampshire (NH) | 0.00% | 0.00% | 0.00% |
| Delaware (DE) | 0.00% | 0.00% | 0.00% |
| Hawaii (HI) | 4.00% | 0.44% | 4.44% |
| Wyoming (WY) | 4.00% | 1.36% | 5.36% |
| Wisconsin (WI) | 5.00% | 0.44% | 5.44% |
| Maine (ME) | 5.50% | 0.00% | 5.50% |
| Virginia (VA) | 5.30% | 0.45% | 5.75% |
| South Dakota (SD) | 4.50% | 1.90% | 6.40% |
| North Dakota (ND) | 5.00% | 2.04% | 7.04% |
| Colorado (CO) | 2.90% | 4.87% | 7.77% |
| Georgia (GA) | 4.00% | 3.35% | 7.35% |
| Florida (FL) | 6.00% | 1.02% | 7.02% |
| Texas (TX) | 6.25% | 1.94% | 8.19% |
| California (CA) | 7.25% | 1.57% | 8.82% |
| Illinois (IL) | 6.25% | 2.57% | 8.82% |
| New York (NY) | 4.00% | 4.52% | 8.52% |
| Tennessee (TN) | 7.00% | 2.55% | 9.55% |
| Louisiana (LA) | 4.45% | 5.07% | 9.52% |
| Arkansas (AR) | 6.50% | 2.97% | 9.47% |
| Alabama (AL) | 4.00% | 5.24% | 9.24% |
| Washington (WA) | 6.50% | 2.73% | 9.23% |
| Oklahoma (OK) | 4.50% | 4.47% | 8.97% |
A representative selection. For a complete list of all 50 states, use the state selector in the calculator above. Rates are 2024 averages — actual rates vary by city and county. Source: Tax Foundation, state revenue departments.
Common Sales Tax Exemptions
Sales tax exemptions vary significantly by state. What is tax-exempt in one state may be fully taxable in another. The categories below represent the most widely recognized exemptions across U.S. states — always verify your specific state's rules before assuming an item is exempt.
Groceries and Food
- Unprepared food / groceries — Exempt or reduced rate in AL, AZ, CO, GA, ID, IL, KS, KY, LA, MI, MS, MO, NE, NV, NM, NC, ND, OH, OK, SC, SD, TN, TX, UT, VA, WV, WI, WY
- Prepared / restaurant food — Generally taxable at full rate in all states, including states that exempt groceries
- Candy and soft drinks — Often taxable even in states that exempt groceries — TX, CO, and others explicitly tax these
- Baby formula — Exempt in many states including TX, FL, PA, and NY as an essential food item
Medical and Health
- Prescription drugs — Exempt in all 45 states that have a general sales tax. One of the most consistent nationwide exemptions
- Over-the-counter medications — Exempt in roughly half of states; taxable in others including TX, CA, and NY
- Medical devices and equipment — Durable medical equipment (wheelchairs, crutches, glucose monitors) exempt in most states; varies for home-use items
- Eyeglasses and contacts — Exempt in most states when prescribed by a licensed optometrist or ophthalmologist
Clothing and Apparel
- General clothing — Exempt in PA, NJ, NY (under $110 per item), MN, and VT. Taxable in most other states
- Formal and luxury clothing — Often taxable even in states that exempt general clothing (NY taxes items $110+)
- Protective work clothing — Safety gear, uniforms, and protective equipment may have special exemptions in certain states
- School clothing (tax holidays) — Many states provide annual back-to-school sales tax holidays exempting clothing under a per-item threshold (typically $100–$150)
Agricultural and Industrial
- Farm equipment and machinery — Broadly exempt in agricultural states (IA, IL, IN, KS, NE, MN, OH, TX) to support food production
- Agricultural inputs — Seeds, fertilizer, pesticides, and livestock feed exempt in most farm states
- Manufacturing machinery — Equipment used directly in manufacturing exempt in many states to avoid pyramiding tax on the production chain
- Raw materials for resale — Items purchased for resale exempt via resale certificate — the end consumer pays the tax, not each step in the supply chain
Sales Tax Holidays: When to Shop Tax-Free
A sales tax holiday is a temporary period — typically a weekend — when a state suspends its sales tax on specific categories of goods. As of 2024, 17 states hold at least one annual sales tax holiday. These are most popular in the South and Southeast, where state sales tax rates tend to be highest. Planning major purchases around these dates can save 6–10% off the purchase price.
Back-to-School
Timing: Late July – Early August
States: AL, AR, FL, IA, MD, MA, MO, NM, OH, OK, SC, TX, VA, WV
Covers: Clothing (under $50–$100/item), school supplies (under $15–$30/item), computers and related equipment (some states)
Emergency Preparedness
Timing: Late May – Early June
States: AL, FL, LA, MS, SC, VA
Covers: Portable generators, weather radios, flashlights, batteries, tarps, and other storm supplies — typically under $750–$1,000 per item
Energy Efficiency
Timing: Varies (often spring)
States: FL, MD, MO, TX
Covers: ENERGY STAR appliances, water heaters, air conditioners, washing machines — significant savings on large appliance purchases
Second Amendment / Hunting
Timing: September – October
States: AR, FL, MS, TN, TX, WV
Covers: Hunting and fishing supplies, firearms, ammunition, archery equipment, and outdoor sporting gear
Computers and Technology
Timing: Typically August
States: MD, MO, NC (varies)
Covers: Computers, tablets, and related peripherals for personal use or school — typically under $1,500–$3,500 per item
Sports and Recreation
Timing: Varies
States: FL, WV
Covers: Sporting equipment, athletic gear, and related items — often tied to the start of a specific recreational season
Dates and covered items change annually. Verify current-year details with your state's department of revenue before planning a purchase around a holiday.
Sales Tax on Online Purchases: The Post-Wayfair Rules
Before 2018, a business was only required to collect sales tax in states where it had a physical presence — stores, warehouses, employees. In South Dakota v. Wayfair (2018), the U.S. Supreme Court ruled that states can require out-of-state sellers to collect and remit sales tax based on economic nexus: a threshold of sales volume or transaction count in that state, regardless of physical presence.
Economic Nexus Thresholds (Most States)
- $100,000 in sales or 200 transactions in a state in the prior or current calendar year triggers collection obligations in most states
- Large platforms (Amazon, eBay, Etsy, Walmart Marketplace) are marketplace facilitators — they collect and remit sales tax on behalf of third-party sellers automatically
- Direct-to-consumer sellers (Shopify stores, own website) must track economic nexus in every state and register once thresholds are met
- Small sellers below all state thresholds are still not required to collect — but the buyer technically owes a use tax to their state, rarely enforced on individuals
What This Means as a Consumer
- Most purchases from major online retailers (Amazon, Walmart, Target, Best Buy) now include sales tax at checkout — often at your local rate, not just the state rate
- Smaller independent online stores may still not collect tax if they are below economic nexus thresholds — but you owe your state's use tax on those purchases
- Shipping charges are taxable in most states if the item shipped is taxable; exempt in others (CA, FL, TX vary by how shipping is billed)
- Digital goods (e-books, software downloads, streaming subscriptions) are now taxable in 30+ states, though rules vary by product type
Frequently Asked Questions
Which states have no sales tax?
Five states impose no general state-level sales tax: Alaska, Delaware, Montana, New Hampshire, and Oregon. However, Alaska is a special case — while it has no state sales tax, it allows local jurisdictions (cities and boroughs) to levy their own sales taxes, and many do. The average combined local rate in Alaska is 1.76%. Delaware, Montana, New Hampshire, and Oregon have neither a state nor a general local sales tax, making them the true zero-rate states for most purchases.
Why is the sales tax rate different in different cities in the same state?
Most states authorize counties, cities, transit districts, and other special taxing jurisdictions to add local sales taxes on top of the state rate. These local rates are determined independently by each jurisdiction and can vary significantly — even between neighboring cities. For example, the Texas state rate is 6.25%, but Dallas adds 1.0% (city) + 1.0% (DART transit) for an 8.25% combined rate, while some rural Texas municipalities charge only the base 6.25% state rate. The combined rate applied to your purchase is the rate of the jurisdiction where the sale takes place — the seller's location for in-store purchases, and the buyer's delivery address for online orders.
Are groceries taxed?
It depends on the state. About 13 states fully exempt unprepared groceries (food for home preparation): CA, FL, IL, MA, MI, MN, NJ, NY, OH, PA, TX, VA, and WI. Several other states tax groceries at a reduced rate rather than the full rate — for example, AR taxes groceries at 0.125%, ID at 6% with a flat food tax credit, and KS at 0% starting in 2025. States like AL, MS, and SD fully tax groceries at the standard rate. Prepared food (restaurant meals, hot deli items, food sold with utensils) is taxable at the full rate in virtually every state, even those that exempt unprepared groceries.
How do I calculate the sales tax from a total price (reverse calculation)?
To find the pre-tax price from a total that already includes sales tax, divide the total by (1 + the tax rate as a decimal). For an $108.25 receipt at 8.25% tax: $108.25 ÷ 1.0825 = $100.00 pre-tax. The tax amount is $108.25 − $100.00 = $8.25. A common error is to multiply the total by the tax rate (e.g., $108.25 × 0.0825 = $8.93) — this overcounts because it applies the rate to the tax-inclusive total rather than the pre-tax base. Use the Reverse tab in this calculator to do this instantly.
Are digital products and software subscriptions taxable?
Increasingly, yes. As of 2024, more than 30 states tax digital goods including downloaded software, e-books, digital music and video, and streaming services. However, the definitions and rules vary significantly: some states distinguish between downloaded software (taxable) and software-as-a-service/SaaS (sometimes exempt or taxed differently), and between digital products transferred by download vs. accessed via streaming. States that currently do not tax digital goods include FL, GA, MO, ND, and VA — though legislation in this area is rapidly evolving. For business purchases of software, the B2B exemption or resale certificate may apply.
What is the difference between sales tax and use tax?
Sales tax is collected by the seller at the point of sale and remitted to the state. Use tax is a complementary tax owed by the buyer on taxable purchases where sales tax was not collected — typically out-of-state or online purchases. Use tax rates are identical to your state's sales tax rate. For example, if you live in Ohio and buy furniture from a small out-of-state seller who does not collect Ohio sales tax, you technically owe Ohio use tax on that purchase (7.25% in most of Ohio). Most states include a use tax line on the annual individual income tax return, but individual compliance is low and enforcement is rarely pursued for small consumer purchases. Businesses are more closely audited for use tax compliance.
Related Calculators
Tip Calculator
Calculate tip and split the bill
Discount Calculator
Find sale price after percentage discount
Income Tax Calculator
Full federal and state income tax
Take-Home Pay
Net pay after all taxes and deductions
50/30/20 Budget
Build a budget from your take-home pay
Cost of Living
Compare living costs between cities