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 TaxTo 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
Related Tools
Related Calculators
- Canada GST/HST Calculator
Estimate GST, HST, and province-based sales tax totals in Canada with before-tax and after-tax workflows.
- Budget Calculator (50/30/20 Rule)
Split your monthly income into needs, wants, and savings using the 50/30/20 rule.
- Markup vs Margin Calculator
Convert between markup and margin percentages, calculate selling prices, and see the difference between markup and profit margin.
- Loan Calculator
Estimate monthly loan payments and total borrowing cost.
- Car Loan Calculator
Estimate monthly car payments including down payment, trade-in, and sales tax.