Formula Errors

Excel Formula to Calculate Gross Amount from Net Amount and Taxes

Huma Ashraf ChHuma Ashraf Ch Nov 22, 2026 871 views

Question details

Calculate a gross distribution from a known net amount when one tax is rounded to the nearest whole dollar.

Calculate a Gross Amount from Net and Taxes in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
The user knows the desired net distribution and two tax rates and needs to estimate the gross amount.
Observed behavior
A standard gross-up formula may not produce the desired net amount when a tax is rounded separately.
Before you start

Confirm the target net amount, both tax rates, and the applicable rounding rules. The example assumes a whole-dollar gross amount, an unrounded first tax, a second tax rounded to whole dollars, and combined rates below 100%.

Solution 1Recommended

Estimate the gross amount and calculate each tax separately

Use this approach to get a whole-dollar gross estimate, then check the resulting net against the target.

1
Enter the target and rates

In the worksheet, enter the desired net amount in B6 and the two tax rates in B7 and B8 as percentages, such as 10%.

2
Estimate the gross amount

In B9, enter =ROUNDUP(B6/(1-B7-B8),0). This rounds the standard gross-up estimate up to a whole dollar.

3
Set up the calculation

Enter =B9 in B1, =B7 in A2, and =B8 in A3. Then enter =-B1*A2 in B2 and =ROUND(-B1*A3,0) in B3 to calculate the two tax deductions.

4
Check the net amount

Enter =SUM(B1:B3) in B4 and compare B4 with the target in B6. For example, a target of 80 and two rates of 10% produce a gross amount of 100 and a net amount of 80.

Estimate the gross amount and calculate each tax separately
The estimate may not match exactly: Rounding the second tax can make B4 differ from B6. Test nearby whole-dollar gross amounts by replacing the formula in B1 with a value; an exact match may not exist. Apply the actual tax and rounding rules for your situation.
Calculate in WPS Spreadsheets

Calculate a Gross Distribution in WPS Spreadsheets

Use WPS Spreadsheets to estimate a whole-dollar gross distribution, calculate each tax separately, and compare the resulting net with your target.

  1. 1. Open a spreadsheet: Open WPS Spreadsheets and create a workbook or open an existing Excel file.
  2. 2. Enter the inputs: Enter the target net in B6 and the two tax rates as percentages in B7 and B8.
  3. 3. Calculate the estimate and deductions: Enter =ROUNDUP(B6/(1-B7-B8),0) in B9, =B9 in B1, =-B1*B7 in B2, and =ROUND(-B1*B8,0) in B3.
  4. 4. Verify the net: Enter =SUM(B1:B3) in B4 and compare it with B6. If they differ, test nearby whole-dollar values in B1 and check the applicable tax rules.
Use ROUNDUP and ROUND to account for whole-dollar tax roundingOpen and edit Microsoft Excel XLSX filesCompare the calculated net amount with the target in the same worksheet
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't the standard gross-up formula always match the target net?

The formula net/(1-rate1-rate2) assumes both taxes are calculated without separate rounding. Rounding one tax to a whole dollar can change the resulting net.

Does rounding the gross estimate up guarantee an exact net amount?

No. Compare the calculated net in B4 with the target in B6 and test nearby whole-dollar gross values if needed. Depending on the rates and rounding rules, an exact match may not exist.

How do I enter the tax rates in Excel?

Enter each rate as a percentage in B7 and B8, such as 10% rather than 10. The example assumes their combined rate is below 100%.

What if both taxes must be rounded?

Apply the required rounding to each deduction separately. For example, use =ROUND(-B1*B7,0) for the first tax if it must also be rounded to a whole dollar, then recalculate and check the net.