Sales Tax Calculator

Knowing the true cost of a purchase before you swipe a card is harder than it should be, because shelf prices in the United States almost never include sales tax and combined state plus local rates can swing from 0% to over 10% across a short drive. Use this sales tax calculator to add tax to a pretax price for shopping, restaurant tipping, or business pricing decisions, or to reverse-engineer the pretax amount and tax portion from a receipt total. You will learn the before-tax price, the tax dollars, the after-tax total, and the effective rate on your purchase.

The price before tax if adding tax, or the total price including tax if extracting tax.

The combined sales tax rate including state and local taxes. US rates typically range from 0% to about 10.25% depending on state and locality.

Choose whether to add tax to a pretax price or extract/reverse-calculate the tax from a total that already includes tax.

This calculator handles two common scenarios: calculating the total price after adding sales tax to a pretax amount, and reverse-calculating the original price and tax from a tax-inclusive total. It works with any US state, county, or city rate, any Canadian provincial rate, or a custom rate you type in. Sales tax in the United States is unusually fragmented because it stacks state, county, city, and sometimes special district rates on top of one another, so the combined rate at one address can be three or four percentage points higher than at a store five miles away. That fragmentation also explains why most US storefronts and websites display tax-exclusive pricing - the shelf price does not include tax because the tax depends on the destination address - while most European, UK, and Asia-Pacific retailers under VAT or GST regimes display a single tax-inclusive sticker price. The calculator surfaces both the dollar amount of tax and the effective rate so you can compare scenarios: a shopper deciding whether to buy a big-ticket item in a higher-tax city or drive to a neighboring jurisdiction, a diner who wants to tip on the pretax subtotal rather than the post-tax total, a small business setting list prices that bake in tax for a clean round number, and a B2B buyer claiming a resale or exemption certificate. Use it for quick shopping math, expense report reconciliation, or pricing decisions when the rate matters more than the formula.

How It Works

Sales Tax Calculation

Add Tax: Total = Amount x (1 + Rate/100); Extract Tax: Before Tax = Total / (1 + Rate/100); Tax = Total - Before Tax

To add tax, multiply the pretax price by one plus the tax rate. To extract tax from a total, divide the total by one plus the tax rate to find the original price, then subtract to find the tax amount.

When adding tax, the tax amount is calculated by multiplying the pretax price by the tax rate divided by 100, and the total is the pretax price plus that tax amount.

When extracting tax from a tax-inclusive total, the before-tax amount is found by dividing the total by (1 + rate/100), and the tax amount is the difference between the total and the before-tax amount.

Combined US sales tax rates are built by stacking a state rate, a county rate, a city rate, and sometimes a special district rate (transit, stadium, tourism) - the calculator treats this as a single combined percentage rather than asking you to enter each layer separately.

Use tax-exclusive math (Add Tax mode) when you are pricing a sale, planning a purchase from a US shelf price, or building a quote where the customer expects to see tax as a separate line item on the receipt.

Use tax-inclusive math (Extract Tax mode) when you have a final total - a receipt, a VAT/GST sticker price, or a contract amount stated as tax-inclusive - and need to separate the base price from the tax portion for expense reporting, accounting, or input tax credits.

Retailers typically round each line item to two decimal places using standard half-up rounding, but a few jurisdictions and POS systems calculate tax on the total cart and then allocate by line item, which can produce a one- or two-cent difference compared with this calculator.

When calculating a restaurant tip, the conventional US practice is to tip on the pretax subtotal, not the post-tax total - use Extract Tax mode on the bill total, then apply your tip percentage to the before-tax amount the calculator returns.

For business markup math, remember that sales tax sits on top of your markup and is collected on behalf of the taxing authority - it is not revenue, so the markup percentage should be applied to your cost, with tax added separately at checkout rather than baked into the markup calculation.

Important Notes:

  • This calculator uses a single flat tax rate you enter manually rather than looking up the rate for your address. Rate lookup is intentionally not automated because combined state, county, city, and special district rates change frequently and depend on the destination of the sale - verify the current rate on your state's department of revenue site or a recent local receipt before relying on the result.
  • Combined state and local tax rates in the US range from 0% in the five no-sales-tax states (Alaska, Delaware, Montana, New Hampshire, Oregon) to over 10% in some Louisiana, Tennessee, Arkansas, Alabama, and Washington jurisdictions, with most metro areas falling between 6% and 9%.
  • Special tax categories are common: many states either exempt or reduce the rate on unprepared groceries, prescription drugs, medical devices, and (in a few states) clothing under a price threshold. Prepared food and restaurant meals are often taxed at a higher combined rate than groceries because of additional meal or hospitality taxes.
  • Sales tax holidays - typically one weekend a year for back-to-school clothing, computers, or hurricane-prep supplies - temporarily exempt certain items in roughly 17 states. The calculator does not auto-detect these; set the rate to 0% to model an exempt purchase during a holiday.
  • If you buy from an out-of-state seller that did not collect sales tax, you generally owe use tax to your home state at the same rate you would have paid locally. Use tax is reported on your state income tax return or on a separate consumer use tax form and is widely under-reported by individual consumers.
  • Marketplace facilitator laws now require platforms like Amazon, Etsy, eBay, and Walmart Marketplace to collect and remit sales tax on behalf of third-party sellers in all states that impose sales tax, so most online purchases from major marketplaces already include the correct tax even when the seller is small.
  • B2B purchases for resale, manufacturing inputs, or qualified agricultural use are typically exempt with a valid resale or exemption certificate on file with the seller. Nonprofit, government, and educational institution purchases may also be exempt under state-specific rules - the calculator does not apply these exemptions automatically, so set the rate to 0% for exempt transactions.
  • Economic nexus thresholds from the 2018 South Dakota v. Wayfair decision (typically $100,000 in sales or 200 transactions per year per state) determine which out-of-state sellers must register and collect sales tax. Multi-state sellers should track nexus by state and use a sales tax automation tool rather than this calculator for compliance.

Worked Example

A shopper wants to know the total cost of a $100 item in a jurisdiction with an 8.25% sales tax rate.

Inputs:

  • amount:100
  • tax Rate:8.25
  • calculation Mode:addTax

Result:

The sales tax on a $100 item at 8.25% is $8.25, making the total cost $108.25. If you instead had a receipt showing $108.25 total and wanted to extract the tax, the before-tax price would be $100.00 and the tax portion would be $8.25. To see how much the local rate matters on the same purchase, compare two real scenarios. In a moderate-tax jurisdiction like Richmond, Virginia at a 6% combined rate, the same $100 item costs $106.00 - $6.00 in tax. In a high-tax city like Seattle, Washington at roughly 10.35% combined, that identical $100 item costs $110.35 - $10.35 in tax, or $4.35 more for the exact same product. On a $1,000 purchase the gap widens to $43.50, which is enough to make a meaningful difference on a TV, an appliance, or a piece of furniture and is why some shoppers near a no-sales-tax state line drive across to make big-ticket purchases (though use tax may still apply when they bring the item home). The effective rate output confirms the percentage of the before-tax price you paid in tax, which is useful for expense reports and pricing decisions.

Who Is This Calculator For?

  • shoppers estimating totals
  • small business owners
  • online sellers
  • anyone budgeting for purchases

Frequently Asked Questions

Your local sales tax rate is the sum of your state rate plus any county, city, and special district rates that apply at the specific address where the sale occurs (delivery address for online orders, store address for in-person purchases). The most reliable sources are your state's department of revenue website, which usually has an address-level rate lookup tool, and a recent receipt from a brick-and-mortar store in your neighborhood. Free third-party lookup tools from sales tax software vendors like Avalara and TaxJar are accurate enough for most personal purchases. Rates can change every quarter, so a year-old receipt may understate or overstate the current rate by a few tenths of a percent.
Reverse sales tax calculation finds the original pretax price from a total that already includes tax. The math is total divided by (1 + tax rate as a decimal): a $108.25 receipt at an 8.25% rate becomes $108.25 / 1.0825 = $100.00 pretax, with $8.25 in tax. This is useful for expense reports where you need to separate the tax portion for accounting, for returns where the merchant refunds the pretax amount and the tax separately, for budgeting against pretax category totals, and for restaurant tipping where the conventional practice is to tip on the pretax subtotal rather than the post-tax total. Use the Extract Tax mode in this calculator to handle the math automatically.
Five US states have no state-level sales tax: Alaska, Delaware, Montana, New Hampshire, and Oregon - often remembered with the acronym NOMAD. There are important caveats. Alaska has no state sales tax but allows local jurisdictions to impose their own, so cities like Juneau and Wrangell charge 5% or more on local purchases. Montana cities are limited to a small resort tax in tourist towns. New Hampshire has no sales tax but does charge a 9% meals and rooms tax on restaurants and hotels. Delaware and Oregon are the closest to truly sales-tax-free for everyday shopping. Shoppers near these state borders sometimes drive across for big purchases, but use tax may still apply when they bring the item home.
Sales tax, used in the US, is collected once at the final retail sale to a consumer - businesses buying for resale present an exemption certificate and pay nothing. Value Added Tax (VAT), used in the EU, UK, and much of the world, and Goods and Services Tax (GST), used in Canada, Australia, India, and elsewhere, are collected at every stage of production and distribution, but each business in the chain claims a credit for the tax it paid on inputs. The end consumer ends up paying roughly the same effective tax in either system, but VAT and GST are administratively heavier on businesses and far harder for the final consumer to evade because the tax has already been collected upstream. Most VAT/GST countries also display tax-inclusive prices on store shelves, unlike the US.
In most cases, yes. After the 2018 Supreme Court ruling in South Dakota v. Wayfair, states can require out-of-state online retailers to collect sales tax once they cross an economic nexus threshold - typically $100,000 in sales or 200 transactions per year into that state. Marketplace facilitator laws now require Amazon, Etsy, eBay, Walmart Marketplace, and similar platforms to collect and remit on behalf of third-party sellers in every state with sales tax. If you buy from a small out-of-state seller below the threshold and tax is not collected, you technically owe use tax to your home state at the equivalent rate, reported on your state income tax return or a consumer use tax form. Compliance by individual consumers is famously low, but states are increasingly cross-checking large purchases.
Sales tax holidays are designated weekends - usually one to three days - when certain categories of goods are exempt from state (and often local) sales tax. Roughly 17 states run at least one holiday each year. Common categories include back-to-school clothing under a price threshold (often $100 per item), school supplies, computers up to a price cap, energy-efficient appliances with the Energy Star label, and hurricane preparedness supplies in coastal states. Item-by-item price caps usually apply, so a $1,500 laptop may be fully taxed even during a computer holiday with a $1,000 cap. Online purchases generally qualify if ordered during the holiday window. Check your state's department of revenue page in late spring for a current list of dates, eligible items, and price thresholds.
It varies dramatically by state. Most states either fully exempt unprepared groceries from sales tax or apply a reduced rate. A handful of states - including Alabama, Hawaii, Idaho, Mississippi, and South Dakota - still tax groceries at the full state rate, though several offer income tax credits to offset the burden. Prescription drugs are exempt in almost every state with sales tax. Over-the-counter medications, vitamins, and supplements are generally taxable. Prepared food - hot deli items, restaurant meals, and ready-to-eat grocery items - is usually taxed at the full rate or even at a higher combined rate due to additional meals or hospitality taxes. A small number of states exempt clothing entirely (Pennsylvania, New Jersey) or below a price threshold (Massachusetts, New York). Always check your specific state for current rules.
Divide the tax-inclusive total by (1 + tax rate expressed as a decimal). For an 8.25% rate that means dividing by 1.0825. So a $216.50 receipt becomes $216.50 / 1.0825 = $200.00 pretax, with $16.50 in tax. The common mistake is to multiply the total by the tax rate and call that the tax portion - that overstates the tax because the rate applies to the pretax base, not the post-tax total. Set the calculator's mode to Extract Tax and the math runs automatically. This is the right approach for expense reports, returns, restaurant tipping on the pretax subtotal, and any contract or invoice quoted as a tax-inclusive total that needs to be broken into base price and tax for accounting.
US sales tax is layered: the state sets a base rate, and counties, cities, and special districts (transit, stadium, tourism, school) can each add their own rate on top, all collected as one combined percentage at the register. Two stores ten miles apart in the same state can carry rates differing by a full percentage point or more because one sits inside a city with a local sales tax and the other in an unincorporated county. Some states are nearly uniform (Connecticut, Indiana, Massachusetts, Maryland) because they bar local add-ons, while others - Louisiana, Colorado, Alabama, Tennessee - have highly variable combined rates across thousands of jurisdictions. For online orders, the destination address determines the rate, which is why Amazon often shows different tax totals for the same item shipped to different addresses.
The conventional and traditional US practice is to tip on the pretax subtotal, because the tax goes to the government, not to the server. In high-tax cities like Chicago (10.75% on meals) or New York (8.875%), tipping on the post-tax total inflates the tip by roughly the tax rate - a 20% tip on a post-tax bill is effectively closer to 22% of the food cost. Many modern POS systems and tip-suggestion screens calculate the suggested 18%, 20%, and 22% tip lines on the post-tax total, which subtly inflates server compensation. Either approach is socially acceptable; if you want to be precise, use the Extract Tax mode in this calculator to find the pretax subtotal, then apply your tip percentage to that figure. The difference is usually one to two dollars on a typical meal.

Related Tools

Last updated: April 11, 2026