You have a receipt total of $108. You know the sales tax was 8%. What was the price before tax?
That is a reverse tax calculation, and it trips up a lot of people because the obvious shortcut gives the wrong answer. The good news is that Excel handles it with one short formula.
In this guide, you will learn how to calculate reverse tax in Excel, how to split a total into the net price and the tax amount, and how to avoid the mistakes that quietly throw off your numbers.
What Is Reverse Tax?
Reverse tax means working backward from a tax-inclusive total to find two things:
- The pre-tax price (also called the net price)
- The tax amount that was added
You will see it called other names too: reverse sales tax, backing out tax, removing tax from a total, or extracting VAT or GST from a gross amount. The math is the same in every case.
You need it when you:
- Reconcile receipts and expense reports
- Prepare invoices from prices that already include tax
- Work out the net revenue from tax-inclusive sales figures
- Handle VAT or GST in countries where shelf prices include tax
- Keep clean records for your books (our guide to bookkeeping for a healthy, growing business explains why this matters)
The Reverse Tax Formula
Here is the core idea. A tax-inclusive total is the pre-tax price multiplied by (1 + tax rate). So to go backward, you divide.
Pre-tax price = Total price / (1 + Tax rate)
Tax amount = Total price – Pre-tax price
Let’s test it with the example from the start:
- Total: $108
- Tax rate: 8% (0.08)
- Pre-tax price: 108 / 1.08 = $100
- Tax amount: 108 – 100 = $8
Clean and simple. Now let’s build it in Excel.
How to Calculate Reverse Tax in Excel (Step by Step)Step 1: Set Up Your Data
Open a blank sheet and enter this layout:
| ABCD | ||||
| 1 | Total Price | Tax Rate | Pre-Tax Price | Tax Amount |
| 2 | 108 | 8% |
Type the tax rate with the percent sign, like 8%. Excel stores it as 0.08, which is exactly what the formula needs. If you type 8 without the percent sign, the formula will treat it as 800%. More on that in the mistakes section below.
Step 2: Calculate the Pre-Tax Price
Click cell C2 and enter:
excel
=A2/(1+B2)
Press Enter. You should see 100.
Step 3: Calculate the Tax Amount
Click cell D2 and enter:
excel
=A2-C2
You get 8. That is the tax that was baked into the $108.
Step 4: Fill Down for More Rows
Select C2:D2 and drag the fill handle down to apply the formulas to every row. Each row will use its own total and tax rate, so you can mix different rates in one sheet.
Calculate the Tax Amount Directly (One Formula)
If you only need the tax portion and not the net price, you can skip the subtraction:
excel
=A2*B2/(1+B2)
With a total of 108 and a rate of 8%, this returns 8. It is the same result as the two-step method, just shorter.
Use a Fixed Tax Rate Cell
When every item shares one tax rate, put the rate in a single cell and lock the reference. This makes it easy to update later.
| AB | ||
| 1 | Tax Rate | 8.25% |
| 2 | ||
| 3 | Total Price | Pre-Tax Price |
| 4 | 54.99 | |
| 5 | 108.00 |
In cell B4, enter:
excel
=A4/(1+$B$1)
The dollar signs ($B$1) lock the rate cell, so it does not shift when you fill the formula down. For 54.99 at 8.25%, the pre-tax price comes out to about 50.80, and the tax is 4.19.
Worked Example With Mixed Tax Rates
Real data rarely uses one rate. Here is a small table with different rates and the results you should get.
| Total PriceTax RatePre-Tax PriceTax Amount | |||
| 107.00 | 7% | 100.00 | 7.00 |
| 59.99 | 8.25% | 55.42 | 4.57 |
| 119.00 | 19% | 100.00 | 19.00 |
| 24.99 | 6% | 23.58 | 1.41 |
Use the same two formulas in every row:
- Pre-Tax Price (C2): =ROUND(A2/(1+B2),2)
- Tax Amount (D2): =A2-C2
You can use this table to double-check your own sheet. If your numbers match, your setup is correct.
Round Your Results Properly
Money should have two decimal places, but Excel keeps many more behind the scenes. Formatting a cell to show two decimals does not actually change the stored value. That can cause small penny differences when you add up a column.
Wrap the formula in ROUND to fix it:
excel
=ROUND(A2/(1+B2),2)
The 2 tells Excel to round to two decimal places. Because the tax amount is the total minus the rounded net price, the two parts always add back up to the exact total. That is exactly what auditors and accountants want to see.
Find the Tax Rate When You Only Have Two Numbers
Sometimes you know the total and the pre-tax price, but not the rate. Work it out with:
excel
=(A2/C2)-1
Format the result as a percentage. If the total is 108 and the pre-tax price is 100, you get 8%. This is handy for checking whether a vendor charged the right rate.
Look Up the Tax Rate Automatically
If your data covers several states, regions or product categories, you can store rates in a small lookup table and pull them in with a formula.
Say your rate table sits in G2:H5, with locations in column G and rates in column H. If the location for each row is in column D, this formula finds the rate and does the reverse calculation in one go:
excel
=ROUND(A2/(1+XLOOKUP(D2,$G$2:$G$5,$H$2:$H$5)),2)
On an older version of Excel without XLOOKUP, use VLOOKUP instead:
excel
=ROUND(A2/(1+VLOOKUP(D2,$G$2:$H$5,2,FALSE)),2)
This keeps your rates in one place. When a rate changes, you update one cell and every result refreshes.
Use an Excel Table for Cleaner Formulas
If you turn your data into an Excel Table (select it and press Ctrl + T), you can use column names in your formulas instead of cell references:
excel
=ROUND([@[Total Price]]/(1+[@[Tax Rate]]),2)
Tables also fill formulas down automatically when you add new rows. For a growing list of sales or expenses, that saves a lot of repetitive work.
Common Mistakes to AvoidMistake 1: Subtracting the Tax Rate From the Total
This is the most common error. People take 8% off $108 and think they are done:
excel
=A2*(1-B2)
That gives 99.36, not 100. It is wrong because the 8% tax was calculated on the original pre-tax price, not on the total. Always divide by (1 + rate).
Mistake 2: Typing the Rate as a Whole Number
If a cell contains 8 instead of 8%, the formula =A2/(1+B2) divides by 9 and you get a tiny number. Either type the percent sign, or adjust the formula:
excel
=A2/(1+B2/100)
Mistake 3: Forgetting to Lock the Rate Cell
If you use a single rate cell and forget the dollar signs, the reference slides down as you fill the formula and starts pointing at empty cells. Use $B$1, not B1.
Mistake 4: Mixing Up Rate Types
Some totals include more than one tax, such as a state and a local rate. Add them together first, then use the combined rate:
excel
=A2/(1+B2+C2)
Here B2 is the state rate and C2 is the local rate. Do not apply them one after the other, because that gives a different answer.
Double-Check Your Numbers
It is smart to verify a few results, especially before you send figures to a client or file a return. A quick way is to run the same total through an online sales tax calculator and compare it with your sheet. If both agree on the pre-tax price and the tax amount, you can trust your formulas.
You can also check in reverse. Multiply the pre-tax price by (1 + rate) and confirm you land back on the original total:
excel
=C2*(1+B2)
If the result matches column A, the row is correct.
Reverse Tax Calculation for VAT and GST
The formula does not care what the tax is called. For VAT, GST or any other tax-inclusive price, the method is identical.
For a gross price of 119 with 19% VAT:
- Net price: 119 / 1.19 = 100
- VAT amount: 119 – 100 = 19
One thing to watch: always use the rate that applies to the specific product or service. Many countries have a standard rate and one or more reduced rates, and mixing them up is a common source of bookkeeping errors. If you want to see how tax handling fits into the wider world of digital payments and business software, our Finance and Fintech sections are good places to keep reading.
Quick Reference: Reverse Tax Formulas in Excel
| What You NeedFormula | |
| Pre-tax price | =A2/(1+B2) |
| Pre-tax price, rounded | =ROUND(A2/(1+B2),2) |
| Tax amount | =A2-C2 |
| Tax amount in one step | =A2*B2/(1+B2) |
| Tax rate from two values | =(A2/C2)-1 |
| Combined rate (two taxes) | =A2/(1+B2+C2) |
| Rate stored as whole number | =A2/(1+B2/100) |
| Check the result | =C2*(1+B2) |
Frequently Asked QuestionsWhat is the formula for reverse tax in Excel?
Divide the tax-inclusive total by 1 plus the tax rate. If the total is in A2 and the rate is in B2, use =A2/(1+B2). This returns the price before tax.
How do I remove sales tax from a total in Excel?
Use the same formula, =A2/(1+B2), to get the pre-tax price. Then subtract that price from the total to see how much tax was included.
Why can’t I just subtract the tax percentage from the total?
The tax was calculated on the original price, not on the final total. Taking a percentage off the total removes too little. Dividing by (1 + rate) is the only method that reverses it exactly.
How do I calculate reverse VAT in Excel?
Divide the gross price by (1 + VAT rate) to get the net price. For example, =119/1.19 gives 100 at a 19% VAT rate. The VAT amount is the gross price minus the net price.
How do I calculate reverse tax for multiple items with different rates?
Put each item’s tax rate in its own cell, or use a lookup table with XLOOKUP or VLOOKUP. Then apply =ROUND(A2/(1+B2),2) to every row and fill the formula down.
Does Excel have a built-in reverse tax function?
No, there is no dedicated function for it. A simple division formula does the job, and it is easy to reuse across a whole sheet.
Final Thoughts
Reverse tax in Excel comes down to one idea: divide the total by (1 + tax rate). Everything else, from the tax amount to rounding and lookups, builds on that.
To recap:
- Use =A2/(1+B2) for the pre-tax price
- Subtract it from the total to get the tax amount
- Wrap it in ROUND so your cents add up
- Lock your rate cell with dollar signs
- Check a few results to be safe
Set up the sheet once, save it as a template, and you will never have to work out a tax-inclusive price by hand again.

