Sales Tax Calculator

Tax & Salary

Calculate total price with sales tax, or work tax backwards

Sales tax is one of the few taxes most Americans calculate mentally at the register, yet the actual math — and the rates themselves — vary enough from state to state and city to city that guessing rarely produces the right number. Unlike income tax, sales tax is a flat percentage added to the price of a taxable good or service at the point of sale, and it is set independently by each state, county, and sometimes city, meaning the same $100 purchase can cost $100.00 in Oregon and $110.25 in parts of Louisiana.

This sales tax calculator handles both directions of the problem. Forward mode takes a pre-tax price and a tax rate and returns the tax amount and final total — useful for budgeting a purchase or checking a receipt. Reverse mode does the opposite: given a total that already includes tax (common on receipts, invoices, or when you only know what you paid), it backs out the original pre-tax price and the tax amount embedded in that total.

Whether you're comparing prices across state lines, verifying a receipt, building a budget, or figuring out how much of an invoice is tax versus goods, this calculator gives you exact figures in seconds instead of error-prone mental math.

Why Sales Tax Calculator Matters

Sales tax affects nearly every retail purchase in the United States, and understanding how to calculate it matters for several practical reasons.

Budgeting accurately: Five states — Oregon, Montana, Delaware, New Hampshire, and Alaska — charge no statewide sales tax, while combined state-and-local rates in parts of Louisiana, Tennessee, and Arkansas exceed 10%. A shopper crossing from a no-tax state into a high-tax one who doesn't account for the difference can be caught off guard by a bill that's 10% higher than expected. Knowing the local rate and calculating it precisely avoids budget surprises, especially on large purchases like furniture, electronics, or vehicles.

Verifying receipts and invoices: Businesses occasionally apply the wrong tax rate, especially for online orders shipped across state lines or for mixed carts with taxable and tax-exempt items (groceries and prescription drugs are exempt or reduced in many states). Recalculating the tax on a receipt confirms you weren't overcharged.

Reverse calculations for pricing and accounting: Retailers, freelancers, and small business owners often need to know how much of a tax-inclusive price is actually revenue versus tax owed to the state. If a product is advertised at a flat $50 including tax, the seller needs the reverse calculation to know the pre-tax price and the tax liability to remit — getting this wrong leads to under- or over-collecting sales tax.

The Sales Tax Calculator Formula, Explained

Total = Price × (1 + tax rate) | Pre-tax price = Total / (1 + tax rate)

Forward calculation: Tax amount = Price × tax rate (as a decimal, e.g., 8% = 0.08). Total = Price + Tax amount, which simplifies to Price × (1 + tax rate).

Reverse calculation (when you only know the tax-inclusive total): Pre-tax price = Total / (1 + tax rate). Tax amount = Total − Pre-tax price. This is not the same as multiplying the total by the tax rate — that common mistake overstates the tax because it applies the rate to a base that already includes tax.

Example of why order matters: at an 8% rate, a $100 pre-tax price produces $8.00 tax and a $108.00 total. But reversing a $108.00 total at 8% does not mean $8.64 tax (108 × 0.08) — it correctly means $108 / 1.08 = $100.00 pre-tax and exactly $8.00 tax, because the tax rate applies to the pre-tax base, not the final total.

How to Use the Sales Tax Calculator: Step by Step

  1. Choose forward or reverse calculation

    Select whether you have a pre-tax price and want to add tax, or you have a tax-inclusive total and want to find the pre-tax price.

  2. Enter the price or total

    For forward mode, enter the pre-tax price of the item or cart. For reverse mode, enter the total amount you actually paid, which already includes tax.

  3. Enter the sales tax rate

    Enter the combined state and local sales tax rate as a percentage. Check your state's Department of Revenue site or your receipt for the exact local rate, since it can vary by city and county even within the same state.

  4. Review the tax amount and total or pre-tax price

    The calculator instantly shows the tax amount alongside either the final total (forward mode) or the pre-tax price (reverse mode).

  5. Adjust for exemptions if needed

    If part of your purchase is tax-exempt (groceries, prescriptions, or clothing under a threshold in some states), calculate the taxable and exempt portions separately for an accurate total.

Sales Tax Calculator Examples: Real-World Scenarios

1

Adding Sales Tax to a Purchase

Jordan is buying a $85.00 jacket in a city with an 8.25% combined sales tax rate (a typical Texas metro rate). He wants to know the total he'll pay at checkout.

Price:$85.00
Tax rate:8.25%

Calculation

Tax = 85.00 × 0.0825 = $7.01 | Total = 85.00 + 7.01 = $92.01

Result

Jordan pays $92.01 total, of which $7.01 is sales tax.

2

Finding the Pre-Tax Price from a Receipt Total

Priya paid $54.99 total for a meal, and she knows her local restaurant tax rate is 6%. She wants to know the pre-tax menu price and how much tax she actually paid.

Total paid:$54.99
Tax rate:6%

Calculation

Pre-tax price = 54.99 / 1.06 = $51.88 | Tax = 54.99 − 51.88 = $3.11

Result

The pre-tax price was $51.88, and $3.11 of the total was sales tax — not $3.30, which is what multiplying the total directly by 6% would incorrectly suggest.

3

Comparing a No-Tax State to a High Combined-Rate Area

Maria is comparing buying a $1,200 laptop in Oregon (0% sales tax) versus at home in a California city with a 9.5% combined state-and-local rate.

Price:$1,200.00
Oregon tax rate:0%
California local rate:9.5%

Calculation

Oregon: 1200 × 1.00 = $1,200.00 | California: tax = 1200 × 0.095 = $114.00, total = 1200 + 114 = $1,314.00

Result

Buying in Oregon saves Maria $114.00 in sales tax on this purchase. Note that use tax may still be owed in her home state for out-of-state purchases brought back for use there.

Common Mistakes to Avoid

  • Applying the tax rate to a tax-inclusive total instead of using the reverse formula — multiplying a total by the tax rate overstates the tax because it taxes the tax itself. Always divide by (1 + rate) to back out a pre-tax price.
  • Using the state rate alone and ignoring local add-ons — many states allow counties and cities to add their own sales tax on top of the state rate, so the effective rate at checkout can be several points higher than the statewide figure.
  • Assuming all items are taxed the same way — groceries, prescription drugs, and clothing are exempt or taxed at reduced rates in many states, so a cart total isn't simply price × (1 + full rate) if it contains exempt items.
  • Forgetting use tax on out-of-state or online purchases — if a seller doesn't charge sales tax (e.g., a purchase in a no-tax state), many states still require residents to self-report and pay an equivalent "use tax" on the item.

Tips & Tricks

  • To quickly estimate tax in your head, round the rate: at 8%, tax is roughly 1/12.5 of the price; at 10%, it's simply 1/10 of the price.
  • When comparing prices between two locations with different tax rates, compare the full out-the-door total, not just the listed price — a lower sticker price with a higher tax rate can end up costing more.
  • Keep in mind sales tax rates change periodically as states and cities adjust budgets; verify the current rate for your exact zip code before making a large purchase decision based on tax savings.

Sales tax math is simple in principle but easy to get backwards, especially when reverse-engineering a pre-tax price from a receipt total. This calculator handles both directions instantly and accurately. For related payroll and take-home pay questions, try the paycheck calculator or income tax calculator, and if you're figuring out compensation rather than purchases, the hourly to salary calculator and overtime calculator cover common wage conversions.

Sales Tax Calculator — Frequently Asked Questions

Related Calculators

Authoritative References

External links open in a new tab. OmniCalc.us is not affiliated with these organisations.

Related Calculators