Sales Tax Calculator
Free sales tax calculator. Add sales tax to a pre-tax price or extract tax from a tax-inclusive total at any US state, county, or city rate.
Sales Tax Calculator
Background.
A sales tax calculator converts between the two prices every shopper, store owner, accountant, and ecommerce operator has to reconcile every day — the pre-tax sticker price and the tax-inclusive total at the register. In the United States, sales tax is layered: forty-five states plus the District of Columbia levy a state-level sales tax, and most of those states allow counties, cities, and special districts (transit, tourism, stadiums) to stack additional local rates on top. The combined rate a buyer actually pays at a Brooklyn deli is 8.875% — 4.000% New York State plus 4.500% New York City plus a 0.375% Metropolitan Commuter Transportation District levy — and that combined rate changes the moment you cross a county or city line. Only five states levy no statewide sales tax at all: Alaska, Delaware, Montana, New Hampshire, and Oregon — though Alaska localities can and do impose their own.
Most state sales tax systems are tax-exclusive: the price on the shelf is the pre-tax amount, the cashier adds the tax, and the receipt shows both components separately. Europe runs the opposite convention. Under the EU VAT system (Council Directive 2006/112/EC) the price on the shelf must be the tax-inclusive total — VAT is baked in, and the receipt shows the implicit tax on the back side of the calculation. The United Kingdom kept the same convention after Brexit under HMRC VAT Notice 700. That convention split — tax-exclusive in the US, tax-inclusive in the EU and UK — is exactly why this calculator has two modes. Add mode is the US default: start with the sticker price, apply the combined state-plus-local rate, get the total. Extract mode is the reverse: you have a tax-inclusive total (a VAT invoice, an Amazon receipt where tax has already been added, a cross-border quote from a European supplier) and you need to back out the pre-tax amount and the tax component for bookkeeping.
The math is asymmetric. Adding 8.875% tax to $100 gives $108.88. But extracting 8.875% tax from $108.88 does not mean multiplying $108.88 by 8.875% — it means dividing by 1.08875 to recover the $100 pre-tax base. Treating the two operations as symmetric is the single most common arithmetic error in retail accounting and is one of the reasons a dedicated extract mode exists.
Sales tax is also fundamentally different from gross receipts tax, value added tax, and excise tax. A retail sales tax falls on the final consumer at the point of sale, collected by the seller as an agent of the state. A gross receipts tax (Washington's B&O, Ohio's CAT, Oregon's CAT) falls on the seller's revenue without distinguishing consumer-facing from business-to-business sales, which is why economists treat it as a different animal even when the rates look similar. A VAT collects tax at every stage of production, with each business reclaiming the VAT it paid on its inputs — which means the net tax on the final consumer is identical to a single-stage retail tax, but the collection mechanism is fundamentally different and more audit-resistant. Excise taxes are commodity-specific (fuel, alcohol, tobacco, tires) and stack on top of any general sales or value-added tax. Use this calculator for general retail sales tax and for VAT — the arithmetic is the same in both directions. For excise calculations or industry-specific gross receipts taxes, look up the specific rate schedule first.
The Wayfair decision (South Dakota v. Wayfair, 138 S. Ct. 2080, 2018) is the modern legal backbone of the US sales tax system. Before Wayfair, an out-of-state seller had to have physical presence (Quill, 1992) before a state could require it to collect sales tax. After Wayfair, every state has economic nexus thresholds — typically $100,000 in sales or 200 transactions per year — that force any ecommerce seller above the threshold to register and collect in that state. Amazon, Shopify, eBay, and Etsy have built marketplace facilitator compliance into their platforms, which is why a buyer in Tennessee now sees Tennessee sales tax on an Amazon order shipped from California; the platform, not the seller, is the legal collector. The same regime applies to remote sellers under their own brand once they cross the threshold.
Used correctly, this calculator is the single arithmetic step in a much larger compliance chain — and used in reverse (extract mode), it is the bookkeeping tool that turns tax-inclusive receipts into the pre-tax revenue figure your state Department of Revenue actually wants on the return.
What is sales tax calculator?
A sales tax is a consumption tax levied by a state or local government on the retail sale of tangible personal property and selected services, collected from the buyer by the seller at the point of sale and remitted on a periodic return (typically monthly or quarterly) to the taxing jurisdiction. In the United States, sales tax is a state-level instrument: forty-five states and the District of Columbia impose a statewide rate ranging from Colorado's 2.90% floor to California's 7.25% headline rate (highest statewide), and roughly 38 of those states allow local jurisdictions to stack county, city, and special-district rates on top, producing combined rates above 9% in parts of Louisiana, Tennessee, Arkansas, Washington, and Alabama. Five states levy no statewide sales tax: Alaska, Delaware, Montana, New Hampshire, and Oregon (Alaska localities may still impose local rates). A value added tax (VAT), used by every EU member state, the United Kingdom, and most of the developed world outside the United States, is also a consumption tax — but it is collected at every stage of the supply chain, with each business reclaiming the VAT it paid on its inputs and remitting only the incremental tax it added. Economically the burden of a VAT and a retail sales tax of equal rate falls on the same person (the final consumer) and produces the same revenue; operationally the VAT is more audit-resistant because every business in the chain has a financial incentive to collect a valid invoice from its supplier. Sales tax is also legally distinct from a gross receipts tax (which falls on the seller's revenue regardless of who the buyer is) and from excise taxes (which apply to specific commodities like motor fuel, tobacco, and alcohol on top of any general sales tax). The buyer pays sales tax economically; the seller is the legal collector. Tax-exclusive pricing (US convention) shows the pre-tax price on the shelf and adds tax at the register. Tax-inclusive pricing (EU and UK convention under the VAT directive and HMRC VAT Notice 700) shows the all-in total on the shelf with the implicit tax disclosed on the receipt.
How to use this calculator.
- Select the calculation mode. Choose 'add' if you have a pre-tax sticker price and want the tax-inclusive total at the register — the standard US shopping case. Choose 'extract' if you have an all-in total (a VAT invoice, an Amazon receipt, a tax-inclusive quote) and need to back out the pre-tax amount.
- Enter the price. In add mode this is the pre-tax amount; in extract mode this is the tax-inclusive total.
- Enter the combined sales tax rate at the point of sale. In the US this is the state rate plus the county rate plus the city rate plus any special-district add-ons. Most state Departments of Revenue publish a rate-lookup tool keyed by address or ZIP; the Tax Foundation's annual state-local rankings is the single most cited national source. For VAT, use the standard rate of the buyer's country (20% UK, 19% Germany, 21% Netherlands, 25% Denmark) or the reduced rate for any qualifying category.
- Read the tax-inclusive total — the headline output in add mode and the price you entered in extract mode.
- Read the pre-tax price and the tax amount. In extract mode these are the figures your accounting system actually wants: the pre-tax line goes to revenue, the tax line goes to a sales-tax-payable liability account and gets remitted on the next return.
- Verify the effective rate. The calculator displays effective rate (tax divided by pre-tax) as a sanity check — it should equal the rate you entered. If you're reconciling a receipt and the effective rate drifts, the receipt is rounding line-by-line and you're seeing aggregation noise, not a math error.
The formula.
The arithmetic is straightforward but asymmetric between the two modes. Add mode treats the input price as the pre-tax amount: taxAmount = price × (rate / 100), total = price + taxAmount, preTax = price. Extract mode treats the input price as the tax-inclusive total and reverses the algebra: preTax = price / (1 + rate / 100), taxAmount = price − preTax, total = price. The asymmetry catches people: extracting 8.875% from $108.88 is not 8.875% × $108.88 = $9.66, it is $108.88 − $108.88 / 1.08875 = $8.88. The factor (1 + rate) appears once in add mode as a multiplier and once in extract mode as a divisor. Effective rate (displayed for sanity-check purposes) is always taxAmount / preTax × 100 and should equal the input rate in both modes — if you ever see it drift, the source data has rounding aggregation. The calculator performs all intermediate arithmetic in arbitrary-precision Decimal to avoid IEEE 754 floating-point drift on currency values, and rounds to the cent (or two decimal places of the rate's currency unit) only at the return boundary.
A worked example.
Buy a $100 sweater at a Brooklyn boutique. The combined New York City sales tax rate is 8.875% — 4.000% New York State plus 4.500% New York City plus a 0.375% Metropolitan Commuter Transportation District levy. In add mode, the calculator multiplies $100 × 0.08875 to get $8.88 of sales tax, then adds it to the pre-tax price for a tax-inclusive total of $108.88. The seller collects $108.88 from the buyer, books $100 as revenue, and books the $8.88 as sales-tax-payable on its balance sheet until the next quarterly return to the New York State Department of Taxation and Finance. Run the same transaction in reverse: input $108.88 as the tax-inclusive total in extract mode at the same 8.875% rate. The calculator divides $108.88 by 1.08875 to recover the $100 pre-tax base and reports $8.88 as the implicit tax — proving the round trip closes to the cent. The contrast against California is instructive: the same $100 sweater bought at a San Francisco shop pays 8.625% combined (7.25% state + 1.375% local) for $108.63 total. Bought in Portland, Oregon, the same sweater pays $100.00 — Oregon has no statewide sales tax, the headline reason a steady stream of Washingtonians cross the Columbia River to buy electronics and appliances tax-free.
Frequently asked questions.
Which US states have no sales tax?
What is the difference between sales tax in New York City and Los Angeles?
Is shipping taxable for sales tax purposes?
How does Amazon collect sales tax on my orders?
What is the difference between a sales tax and a gross receipts tax?
Why is my receipt's sales tax a few cents off what the calculator says?
How do I calculate VAT in the UK or EU?
What is use tax, and how is it different from sales tax?
Which states have the highest combined sales tax rates?
Are sales tax payments deductible on my federal income tax return?
References& sources.
- [1]Tax Foundation — 2025 State and Local Sales Tax Rates (annual rankings of combined state plus local rates)
- [2]South Dakota v. Wayfair, Inc., 138 S. Ct. 2080 (2018) — Supreme Court decision establishing economic nexus for state sales tax collection on remote sellers
- [3]IRS Schedule A Instructions (2025) — State and Local General Sales Tax deduction guidance, including the optional sales tax tables that replaced Publication 600
- [4]OECD Consumption Tax Trends 2024 — Comparative analysis of VAT and retail sales tax systems across OECD member countries
- [5]HMRC VAT Notice 700 — The VAT Guide (UK operational reference for tax-inclusive pricing and VAT arithmetic)
- [6]Council Directive 2006/112/EC — EU common system of value added tax (legal basis for EU VAT rates and tax-inclusive retail pricing)
- [7]New York State Department of Taxation and Finance — Sales and Use Tax Rates by Locality (Publication 718)
- [8]California Department of Tax and Fee Administration — Sales and Use Tax Rates by City and County
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 313 calculators remain free
- No billing is enabled