TapCub is live — analytics, insights and live chat, free on one platform

Free tool Reverse sales tax calculator: price before tax from a total

Enter the total you paid or collected and the combined rate. The calculator divides the tax out and shows the price before tax, the tax and its state and local parts. Anything in the total that was not taxed can be set aside first.

  • Total to pre-tax price
  • State and local split
  • Runs locally

Take sales tax out of a total

The sample is a $541.25 receipt in Texas at 8.25%. Change the total, or pick another state and set its local rate.

Calculator

1Inputs

The number after each name is the statewide rate, before local taxes.

Filled from the state you pick.

City, county and district tax. Prefilled with the state average.

The amount on the receipt or payout.

Optional: gift cards, exempt goods, untaxed shipping.

2Results

Price before tax

$500.00

$541.25 ÷ 1.0825

Sales tax

$41.25

At a combined rate of 8.25%

Total including tax$541.25
Taxable amount before tax$500.00
State part (6.25%)$31.25
Local part (2%)$10.00
Runs entirely in your browser. Nothing you type here is uploaded or stored by TapCub.
State sales tax rates (all 50 states and DC)

Rates as of 2026-07-01. “Average local” is weighted by population, so a single address can be higher or lower. Click a state to use it above. Source: Tax Foundation, 2026 midyear sales tax rates

StateState rateAverage localCombinedHighest local
4.00%5.46%9.460%8.00%
0.00%1.82%1.82%7.85%
5.60%2.94%8.540%5.30%
6.50%2.98%9.48%6.13%
7.25%1.78%9.030%5.25%
2.90%4.99%7.89%9.10%
6.35%0.00%6.35%0.00%
0.00%0.00%0.00%0.00%
6.00%0.00%6.00%0.00%
6.00%0.98%6.98%2.00%
4.00%3.56%7.56%5.00%
4.00%0.50%4.50%0.50%
6.00%0.03%6.03%3.00%
6.25%2.73%8.98%4.75%
7.00%0.00%7.00%0.00%
6.00%0.94%6.94%1.00%
6.50%2.21%8.710%4.25%
6.00%0.00%6.00%0.00%
5.00%5.13%10.130%7.00%
5.50%0.00%5.50%0.00%
6.00%0.00%6.00%0.00%
6.25%0.00%6.25%0.00%
6.00%0.00%6.00%0.00%
6.875%1.26%8.14%3.00%
7.00%0.06%7.06%1.00%
4.225%4.22%8.44%6.25%
0.00%0.00%0.00%0.00%
5.50%1.48%6.98%2.00%
6.85%1.39%8.24%1.53%
0.00%0.00%0.00%0.00%
6.625%-0.02%6.60%3.31%
4.875%2.80%7.68%4.560%
4.00%4.54%8.540%4.88%
4.75%2.35%7.10%3.50%
5.00%2.09%7.09%3.75%
5.75%1.54%7.29%2.25%
4.50%4.560%9.06%7.00%
0.00%0.00%0.00%0.00%
6.00%0.34%6.34%2.00%
7.00%0.00%7.00%0.00%
6.00%1.49%7.49%3.00%
4.20%1.91%6.11%4.50%
7.00%2.61%9.61%2.75%
6.25%1.95%8.200%2.00%
6.10%1.32%7.42%4.70%
6.00%0.43%6.43%1.00%
5.30%0.47%5.77%2.70%
6.50%3.07%9.57%4.20%
6.00%0.60%6.60%1.00%
5.00%0.72%5.72%2.90%
4.00%1.39%5.39%3.00%

Share these inputs: the values go after the # in the link, so they never reach a server.

Use this tool often? Save it to My tools.Saved to My tools. Find it any time at the top of the free tools page. You can also press Ctrl+D to bookmark this page in your browser.You can also press ⌘+D to bookmark this page in your browser.You can also tap your browser’s Share button (at the bottom in Safari) and choose Add Bookmark or Add to Home Screen.You can also open the ⋮ menu at the top right and tap ☆ to bookmark it, or choose Add to Home screen.You can also tap ··· at the top right and choose Favorite, or open it in your browser and bookmark it there.

Problem or suggestion?Send feedbackChat with support

Version v1.0Updated Update history

Read the result

Reading a reversed total

Three numbers come out of one total.

  • Rates for all 50 states and DC
  • Reverse sales tax from a total
  • Taxable and exempt items
Sales tax calculator illustration: US sales tax by state with your local rate: add tax to a basket, or work backwards from a tax-included total
Sales tax calculator, illustrated

Price before tax

What the goods cost without tax. This is the figure to book as sales revenue.

Sales tax

The difference between the total and the pre-tax price. It is money collected for the state and local governments, not revenue.

State and local parts

The pre-tax taxable amount times each rate. A one-cent difference from adding them separately is absorbed in the local part.

Non-taxable amount

Whatever you set aside is passed through unchanged: it is added back to the pre-tax price after the division.

The average local rate is a planning figure. For a real invoice or return, use the rate for the exact address from the state’s revenue department.

How to use it

Reverse a receipt in three steps

You need the total and the rate that was applied to it.

  1. 1

    Find the rate

    Use the rate printed on the receipt, or pick the state and enter the local rate for the store’s address.

  2. 2

    Enter the total

    Type the tax-included total. If it contains untaxed lines such as a gift card, enter their sum as non-taxable.

  3. 3

    Read the split

    Copy the pre-tax price and tax into your books. If you only know both prices, switch to “Find the rate”.

Reverse formula

Price before tax = total ÷ (1 + rate)

The tax was calculated on the pre-tax price, so it has to be divided out, not subtracted.

  • Write the rate as a decimal: 8.25% is 0.0825
  • Tax = total − price before tax
  • With untaxed lines: (total − exempt) ÷ (1 + rate), then add the exempt amount back

Divisor

1 + 6.25% + 2%

1.0825

Price before tax

$541.25 ÷ 1.0825

$500.00

Sales tax

$541.25 − $500.00

$41.25 ($31.25 state, $10.00 local)

Worked example

A $100 total at different rates

The higher the rate, the bigger the gap between dividing and subtracting.

Reverse sales tax on a $100 tax-included total
RatePrice before taxTax inside $100Wrong way: $100 minus the rate
4%$96.15$3.85$96.00
6%$94.34$5.66$94.00
7%$93.46$6.54$93.00
8.25%$92.38$7.62$91.75
10%$90.91$9.09$90.00

With a non-taxable line: a $64.18 receipt that includes a $10 gift card at 7% is ($64.18 − $10) ÷ 1.07 = $50.64, plus the $10, so $60.64 before $3.54 of tax.

Common mistakes

Where reversing goes wrong

Each of these leaves the books a little off.

Multiplying the total by the rate

$541.25 × 8.25% is $44.65, which is more than the $41.25 actually charged. Divide first.

Using today’s rate for an old receipt

Local rates change during the year. Use the rate in force on the date of sale.

Dividing exempt lines too

Dividing the whole total when part of it was not taxed understates the pre-tax price.

Expecting every cent to match

A register that rounds tax line by line can differ from a single division by a cent or two.

FAQ

Reverse sales tax questions

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

What is the reverse sales tax formula?

Price before tax = total ÷ (1 + rate), with the rate as a decimal. Tax = total − price before tax. For a $541.25 total at 8.25%: $541.25 ÷ 1.0825 = $500, so the tax is $41.25.

Why can’t I just subtract the tax percentage from the total?

Because the percentage was taken of the smaller, pre-tax price. 8% of $100 is $8, but 8% of $108 is $8.64. Subtracting 8% from $108 gives $99.36 instead of $100.

How do I back out sales tax when only part of the receipt was taxed?

Take the untaxed amount off the total, divide the rest by 1 plus the rate, then add the untaxed amount back. The “non-taxable amount” field does this for you.

How do I find the tax rate from a receipt?

Divide the tax by the price before tax. $6.60 tax on $80 is 8.25%. Switch to “Find the rate” and enter the price and the total.

I collected tax-included prices. How much tax do I owe?

Reverse each rate separately: sum the tax-included sales per jurisdiction, divide by 1 plus that rate, and the difference is the tax. Rules for tax-included pricing and rounding differ by state, so check before filing.

Why is the result one cent different from the receipt?

Tax is often rounded on each line or by a bracket schedule, while reversing rounds once on the total. A difference of a cent or two is normal.

Feedback

Is this tool working for you?

Rate it, or tell us what went wrong and what you’d like improved. A person reads every message, and frequent requests go into the next update.

Rate this tool

Please don’t include passwords or other sensitive information.

Only used to reply to this feedback.

Type, details and email are required.

We only use this to handle your feedback. See the privacy policy.

Feedback received

Thank you! We will read it and reply from hello@tapcub.com if needed.

Need help right now?

Chat with our support team, best for urgent problems; you can leave a message when we are offline.

Chat with support
Changelog

Update history

New features, fixes and data refreshes for this tool, newest first.

  1. · v1.0

    LaunchedFirst release.

Data this tool relies on

  • US state sales tax rates — checked 2026-12-02, reviewed every 3 months (next review by 2027-03-02)

Missing something or found an error? Tell us — requests that come up often go into the next update. All tool updates

Cite this tool

Recommend this tool in an article or on your site

This tool is free to cite and share. Copy the URL or link below into your article, tutorial or resource page; to write a review, embed a tool or partner with us, get in touch.

URL
https://tapcub.com/tools/sales-tax-calculator
HTML link
<a href="https://tapcub.com/tools/sales-tax-calculator">Sales tax calculator - TapCub</a>

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics