AllFreeCalculator

Sales Tax Calculator

Add sales tax to a pre-tax price or pull the tax out of a tax-inclusive total — switch modes with a tap.

$
%

Final price (with tax)

$0.00

Pre-tax

Sales tax

Final total

Step-by-step

    For general information only, not financial advice. Results are estimates — your actual loan, mortgage or return will depend on the lender, your credit, fees and other terms. Talk to a qualified professional before making decisions.

    What this sales tax calculator does

    This sales tax calculator handles the two real-world questions people actually ask: "what does this cost with tax?" and "how much of this total is tax?". The first is the everyday checkout maths; the second is what you need when you have a receipt or invoice with the tax already baked in and you want to know the pre-tax base. Both update live as you type, with a clear step-by-step breakdown beneath the result.

    The formulas, plainly stated

    To add tax to a pre-tax price:

    Tax = Price × (Rate ÷ 100)
    Final = Price + Tax = Price × (1 + Rate ÷ 100)

    To extract tax from a tax-inclusive total:

    Pre-tax = Total ÷ (1 + Rate ÷ 100)
    Tax = Total − Pre-tax

    The extract version trips people up: you cannot just multiply the total by the rate, because the rate was applied to the smaller pre-tax base, not the bigger total. Dividing by (1 + rate/100) reverses that step exactly.

    US sales tax is a patchwork

    Unlike most countries, the US doesn't have a single national sales tax. Each state sets its own rate, then counties, cities and special districts can add their own on top. The result is over 11,000 distinct combined rates. Five states (Alaska, Delaware, Montana, New Hampshire, Oregon) have no statewide sales tax at all, though Alaska allows local sales taxes. At the other end, combined rates in parts of Chicago, Los Angeles and Birmingham can exceed 10%. Check your state's department of revenue site for an exact, up-to-date rate.

    What is and isn't taxed

    Almost every US state taxes prepared food, restaurant meals, alcohol and tangible retail goods. Most exempt or reduce tax on unprepared groceries — buying chicken at the supermarket is usually tax-free, but a rotisserie chicken from the deli might not be. A handful of states exempt clothing entirely (Pennsylvania), or under a price threshold (Massachusetts, $175 per item). Many states have an annual "tax-free weekend" for back-to-school clothing or hurricane prep. Always check your receipt for the actual taxed line items.

    Business uses

    Small businesses use the "extract" mode constantly. If a client agrees to a $1,000 fixed fee that's tax-inclusive, you owe sales tax on that pre-tax base, not on the full $1,000. Same when reconciling a register where everything was rung up tax-included. For US online sellers, the 2018 Wayfair ruling expanded which states can require collection — most large marketplaces collect on your behalf, but if you sell on your own site, sales tax compliance gets real fast.

    Use with the other tools

    For income tax, use the federal income tax percentage calculator. For shopping discounts where you want sale price plus tax in one go, try the percent off calculator. For general percentage maths beyond tax, the percentage calculator covers every common variation.

    Frequently asked questions

    How is sales tax calculated?

    To add tax: multiply the pre-tax price by the tax rate to get the tax amount, then add it to the price. For example, $100 with 8% tax → 100 × 0.08 = $8 tax, $108 total. To pull tax out of a total: divide the total by (1 + rate/100) for the pre-tax price, then subtract.

    What is the formula to extract tax from a total?

    Pre-tax price = Total ÷ (1 + tax rate ÷ 100). Tax amount = Total − Pre-tax price. So $108 with 8% tax → 108 ÷ 1.08 = $100 pre-tax, $8 tax.

    Why does the tax rate vary so much?

    In the US, sales tax is set by state, county and city — there are over 11,000 distinct combinations. A purchase in Anchorage AK may have 0%, while parts of Chicago top 10.25%. Check your receipt or your state's department of revenue for your exact rate.

    Are food and clothes taxed?

    It depends on the state. Many states exempt unprepared groceries; a few exempt clothing under a price threshold (Massachusetts, Pennsylvania). Prepared food, restaurant meals and luxury items are usually taxed everywhere. Always check your local rules.

    Do I need to charge sales tax if I sell online?

    Since the 2018 Supreme Court Wayfair decision, online sellers may need to collect sales tax in states where they exceed an economic nexus threshold (e.g. $100,000 of sales). Most major marketplaces collect on your behalf. Talk to a tax professional if you sell on your own platform.

    Is sales tax the same as VAT?

    No. US sales tax is added at the final point of sale and only once. Value-added tax (VAT), used in most of Europe and many other countries, is collected at every step of production with sellers reclaiming the tax on inputs. Both end up roughly the same for the consumer, but the mechanics differ.

    Worked example

    Adding tax — a $129.99 jacket at 8.25% sales tax:

    • Tax: 129.99 × 0.0825 = $10.72
    • Final: 129.99 + 10.72 = $140.71

    Extracting tax — a $140.71 receipt at 8.25%:

    • Pre-tax: 140.71 ÷ 1.0825 = $130.00 (rounded display; actual $129.987)
    • Tax: 140.71 − 129.987 = $10.72

    Both modes round-trip — adding tax then extracting it returns the same numbers, modulo a penny of display rounding.

    Related calculators