Sales Tax Calculator

Calculate sales tax, before-tax price, after-tax price, and tax amounts instantly. Reverse-calculate taxes and understand the total cost of purchases with detailed breakdowns.

Sales Tax Calculator

Leave any one field blank and the calculator solves for it

$
%
$

The Complete Guide to Sales Tax

Sales tax is a consumption tax added to the price of most retail purchases — groceries, electronics, services, and almost everything you ring up at a register. In the United States it's administered by individual states (and most cities and counties), so two identical $100 purchases can produce wildly different receipts depending on where they happen. This page solves for the missing piece of the equation — pre-tax price, tax rate, or after-tax total — and adds advanced tools for shoppers, freelancers, and small businesses.

How Sales Tax Is Calculated

Forward: Sticker Price → Total

Tax Amount = Before Tax Price × Tax Rate. After Tax Price = Before Tax Price + Tax Amount. A $200 jacket in a 7% state costs $200 × 1.07 = $214 at the register.

Reverse: Total → Sticker Price

Before Tax Price = Final Price ÷ (1 + Tax Rate). The same $214 receipt at 7% reverses to $214 ÷ 1.07 = $200 pre-tax. Use this when your receipt only shows the total.

Six Ways to Use This Calculator

#1

Pricing a product

Enter cost basis and tax rate to see what customers actually pay at checkout, so your shelf price is competitive after tax.

#2

Reverse-engineering a receipt

Use the Reverse Sales Tax Calculator to back out the pre-tax amount from a final total — useful for expense reports and reimbursements.

#3

Comparing states

Run the Multi-State Comparison before a big purchase like furniture or electronics to see whether crossing a border saves real money.

#4

Building an invoice

The Invoice Tax Calculator handles line-item × quantity × tax so you can send accurate quotes and invoices in seconds.

#5

Stacking discounts and shipping

The Advanced calculator layers in discounts, shipping, handling, and service fees — the math most calculators get wrong.

#6

Estimating budget impact

Test how a 1% tax-rate change hits a typical week of spending using the sensitivity chart, especially helpful for high-purchase months.

Best Practices for Estimating Sales Tax

  • Use combined rates, not state base rates. Most U.S. consumers pay a state + city + county rate, not the state minimum. Combined rates routinely run 1–4 points higher.
  • Look up the destination, not the origin. Online retailers charge tax based on the shipping address — that's the rate to enter, not the rate at the warehouse.
  • Apply discounts before tax. A coupon almost always reduces the taxable amount; the Advanced calculator does this in the correct order automatically.
  • Don't assume shipping is taxable. Some states (CA, NJ, NY) typically exempt separately-stated shipping; others (TX, NC, GA) treat it as part of the sale.
  • Save the receipt — and the calculation. If you need to claim a refund, return a product, or file an expense, keep both the receipt and the breakdown of how tax was applied.

Why Sales Tax Math Matters

For a single $20 lunch, the difference between a 6% and 9% sales tax is sixty cents — easy to ignore. But scale that across a year of household spending, a small e-commerce store's annual revenue, or a $30,000 vehicle purchase, and a few percentage points become real money. A combined rate that's two points higher on a $30,000 car is an extra $600 out the door.

For businesses, the stakes are higher still: charging the wrong rate to a customer creates a tax liability that has to be paid even if the customer was undercharged. Getting the math right at the point of sale is cheaper than reconciling it during a quarterly filing.

Tricky Cases the Simple Formula Misses

Bundled discounts

When two products are bought together at a bundle price, the discount has to be apportioned across taxable and non-taxable items before tax is applied.

Manufacturer vs store coupons

A store coupon usually reduces the taxable amount; a manufacturer coupon often does not, because the store will be reimbursed.

Trade-ins

Many states let car dealers subtract a trade-in value from the taxable price; some apply tax to the full sale price regardless.

Digital goods and SaaS

Streaming subscriptions, downloads, and SaaS subscriptions are taxed by some states (Washington, Texas) and exempt in others (California, New York for many cases).

Tax-free holidays

Back-to-school and emergency-preparedness weekends temporarily zero out tax on specific items in certain states. Always check the dates and item list.

Marketplace facilitator rules

Since the Wayfair decision (2018), Amazon, Etsy, and similar marketplaces collect tax on behalf of small sellers — sellers should still keep records but don't remit themselves.

Core Sales Tax Formulas

Tax Amount

Tax = Before Tax Price × (Tax Rate ÷ 100)

After Tax Price

After Tax = Before Tax + Tax = Before Tax × (1 + Tax Rate)

Sales Tax Rate

Rate = (Tax Amount ÷ Before Tax Price) × 100

Reverse — Pre-Tax Price

Before Tax = Final Price ÷ (1 + Tax Rate)

Effective tax % of total

Effective % = (Tax Amount ÷ Final Price) × 100

Sales Tax vs VAT vs GST

Sales Tax (USA)

Collected only at the final retail sale to the consumer. The seller hands it over to the state. Resellers buy tax-free with a resale certificate. Rates vary by state, city, and county.

VAT (EU, UK, ~170 countries)

Charged at every stage of production; businesses reclaim what they paid on inputs. Net effect on the final customer is similar to sales tax, but the collection is distributed across the supply chain.

GST (Canada, India, Australia, NZ)

A federal goods-and-services tax that works structurally like VAT. Canada layers a provincial sales tax (PST) or harmonised sales tax (HST) on top; India splits it into CGST + SGST + IGST.

Common Mistakes to Avoid

  • Using the state base rate when local tax also applies. Most U.S. residents pay a combined rate that's 1–4 points higher than the state-level number.
  • Applying tax before subtracting a coupon. Most discounts (and almost all store coupons) reduce the taxable base, not the total after tax.
  • Forgetting that some items are exempt. Groceries, prescription medication, and clothing are exempt or reduced-rate in many states. Always verify the category.
  • Reversing tax with the wrong formula. Don't multiply by (1 − rate); divide by (1 + rate). The Reverse calculator does it correctly.
  • Charging customers your own state's rate online. The destination state's rate governs, not yours. Most modern checkout systems handle this automatically; double-check yours.

How We Built This Calculator

All sales-tax math on this page runs locally in your browser using the standard formulas above — no API calls, no analytics tracking, and no logging of the values you enter. The state rate table is sourced from published 2024–2025 state revenue departments and the Tax Foundation, and the combined rates blend state with an average of local jurisdictions; we refresh the figures when state legislatures change them. The page is built and reviewed by the SamCalculator editorial team and cross-checked against worked examples in widely-used retail and accounting references. See our editorial policy for sourcing and the review process.

This page is for educational purposes only and is not tax, legal, or accounting advice. Sales tax law is set by each state and changes frequently — verify rates with your state Department of Revenue before filing or invoicing, and consult a licensed CPA for any business compliance decision.

Frequently Asked Questions

Sales tax is a consumption tax added to the price of most goods and many services at the point of sale. In the United States it is administered by individual states — and frequently by cities and counties on top — so the rate you pay depends on where the sale takes place. The seller collects the tax from the buyer at checkout and remits it to the appropriate tax authority. Forty-five states plus the District of Columbia charge a statewide sales tax; five states (Alaska, Delaware, Montana, New Hampshire, Oregon) do not.

Sales tax equals the pre-tax price multiplied by the tax rate expressed as a decimal. A $100 purchase at a 6.5% combined rate produces $100 × 0.065 = $6.50 in tax, for a total of $106.50. To solve for the rate when both the tax amount and pre-tax price are known, divide tax by pre-tax price. To reverse-engineer the pre-tax amount from a receipt total, divide the total by (1 + rate). The smart calculator on this page handles all three directions automatically — leave the unknown field blank and click Calculate.

Yes. To find the pre-tax price from a final total, divide the total by (1 + the tax rate as a decimal). A receipt showing $214.00 at a 7% rate reverses to $214 ÷ 1.07 = $200 pre-tax, with $14 in sales tax. A common mistake is multiplying by (1 − rate) instead of dividing by (1 + rate) — that produces a too-low pre-tax figure. The Reverse Sales Tax Calculator section above does the math correctly.

Sales tax is collected only once, at the final retail sale to the consumer. Value-added tax (VAT) is collected at every stage of production and distribution, but businesses reclaim the VAT they paid on their own purchases, so the net amount paid by the end customer ends up similar. VAT is used in the EU, UK, and roughly 170 other countries; the United States uses sales tax. Canada, Australia, India, and New Zealand use goods-and-services tax (GST), which works structurally like VAT.

It depends on the state and how the shipping is invoiced. Some states (California, New Jersey, New York for most cases) generally exempt separately-stated shipping charges from sales tax. Others (Texas, North Carolina, Georgia, and most Southern states) treat shipping as part of the taxable sale even when it is broken out on the invoice. A handful tax shipping only if the shipped item itself is taxable. The Advanced calculator on this page includes a toggle so you can model either treatment.

Since the 2018 Wayfair v. South Dakota Supreme Court decision, online retailers must collect sales tax based on the buyer's shipping address once they exceed a state's economic nexus threshold (typically $100,000 in sales or 200 transactions per year). Marketplace facilitators like Amazon, Etsy, and eBay collect and remit tax on behalf of third-party sellers in most states. Smaller sellers below the nexus threshold are generally not required to collect tax in states where they have no physical presence.

A tax-exempt purchase is one on which sales tax is not charged because of who is buying, what is being bought, or when it is being bought. Common categories include: groceries and unprepared food (exempt in many states), prescription medication (almost always exempt), clothing under a price cap (Pennsylvania, Minnesota), purchases by registered non-profits with an exemption certificate, items bought for resale by a reseller with a valid resale certificate, and any item bought during a state-declared tax-free holiday — usually a weekend before back-to-school season or hurricane season.

States set their own sales tax policy because the U.S. federal government does not impose a national sales tax. Each state's rate reflects how much revenue the legislature wants to raise from consumption vs other sources like income tax or property tax. States with no income tax (Texas, Florida, Washington, Tennessee, South Dakota) often lean on higher sales tax rates; states with high income tax (Oregon, Delaware) sometimes have no sales tax at all. Local jurisdictions can add their own rate on top, which is why combined rates in a single state can vary by city and county.

In the United States, no — listed shelf prices are almost always pre-tax, and the tax is added at the register. This differs from the convention in most of Europe and the United Kingdom, where shelf prices include VAT. The U.S. exception is gasoline, whose pump price always includes federal and state excise taxes. Some U.S. restaurants and hotels also quote totals that include service fees but rarely tax.

The arithmetic is exact for the inputs you provide — multiplication and division use full floating-point precision and are rounded only at display. The state rate table is sourced from 2024–2025 state revenue departments and the Tax Foundation; combined rates blend the state rate with an average of local jurisdictions, so your actual rate at a specific address may be one or two points higher or lower. Sales tax rules around exemptions, shipping, services, and digital goods change often — always verify with your state Department of Revenue before invoicing customers or filing returns.