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) × 100Reverse — Pre-Tax Price
Before Tax = Final Price ÷ (1 + Tax Rate)Effective tax % of total
Effective % = (Tax Amount ÷ Final Price) × 100Sales 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
Related Calculators
- Commission CalculatorCalculate flat and tiered sales commissions, rates, and effective payout breakdowns.
- Discount CalculatorCalculate sale price, savings, and discount percentage instantly.
- Present Value CalculatorDiscount future cash flows and annuity deposits to today's value with full year-by-year schedule.
- Profit Margin CalculatorCalculate margin, markup, and ideal selling price for any product.
- Percentage CalculatorCalculate % of a number, percentage change, and reverse percentages.
- Cash Back or Low Interest CalculatorCompare auto rebates against low APR financing offers to find the cheapest path.