Calculate Gross Salary from Net Pay in Excel for New Zealand
Question details
Calculate gross annual salary in U2 from net annual pay in S2 using New Zealand's progressive income tax brackets.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A worksheet contains net salary amounts that need to be converted to gross annual salaries.
- Observed behavior
- The calculation needs to account for cumulative tax across marginal tax brackets rather than divide net pay by a single rate.
Confirm the tax year and whether S2 represents annual pay after income tax only. The example excludes ACC earners' levy, KiwiSaver, student loan repayments, tax credits, and other deductions.
Use a progressive tax table to calculate gross salary
Use this formula when you need to calculate gross salary for multiple rows without running Goal Seek separately for each one.
The formula finds the gross tax band corresponding to the net salary, then reverses the tax calculation within that band. The example rates apply to annual income from April 1, 2025; verify the rates for the tax year you are calculating.
This method assumes nonnegative annual income, income tax as the only deduction, and no tax credits.
Add a worksheet named TaxBands. Enter Gross threshold, Rate, Cumulative tax, and Net threshold in cells A1:D1.
Enter these threshold and rate pairs in A2:B6: 0 and 10.5%; 15600 and 17.5%; 53500 and 30%; 78100 and 33%; 180000 and 39%. Keep the thresholds in ascending order.
Enter 0 in TaxBands!C2. In C3, enter =C2+(A3-A2)*B2, then copy the formula down through C6.
In TaxBands!D2, enter =A2-C2 and copy the formula down through D6.
On the salary worksheet, enter this formula in U2: =INDEX(TaxBands!$A$2:$A$6,MATCH(S2,TaxBands!$D$2:$D$6,1))+(S2-INDEX(TaxBands!$D$2:$D$6,MATCH(S2,TaxBands!$D$2:$D$6,1)))/(1-INDEX(TaxBands!$B$2:$B$6,MATCH(S2,TaxBands!$D$2:$D$6,1))). Copy U2 down for other net salaries in column S.

Calculate gross salary in WPS Spreadsheets
Build the same progressive tax table in WPS Spreadsheets and use an INDEX and MATCH formula to calculate gross annual pay from net pay.
- 1. Open the workbook: Open WPS Spreadsheets and choose Open to load the workbook containing net annual pay in column S.
- 2. Add the tax brackets: Create a worksheet named TaxBands. In A2:B6, enter the threshold and rate pairs 0 and 10.5%, 15600 and 17.5%, 53500 and 30%, 78100 and 33%, and 180000 and 39%.
- 3. Calculate tax and net thresholds: Enter 0 in C2 and =C2+(A3-A2)*B2 in C3; copy C3 through C6. Enter =A2-C2 in D2 and copy it through D6.
- 4. Enter and copy the formula: On the salary sheet, enter =INDEX(TaxBands!$A$2:$A$6,MATCH(S2,TaxBands!$D$2:$D$6,1))+(S2-INDEX(TaxBands!$D$2:$D$6,MATCH(S2,TaxBands!$D$2:$D$6,1)))/(1-INDEX(TaxBands!$B$2:$B$6,MATCH(S2,TaxBands!$D$2:$D$6,1))) in U2, then copy it down for the remaining rows.

Frequently Asked Questions
Why can't I divide net pay by one tax rate?
New Zealand income tax is progressive: different portions of income are taxed at different marginal rates. A single rate does not account for tax accumulated in the lower brackets.
Do I need to run Goal Seek for every salary?
No. Once the tax table is set up, copy the U2 formula down to calculate gross pay for each net amount in column S. Goal Seek would otherwise need to be run separately for each calculation unless automated.
Does the formula include KiwiSaver and ACC deductions?
No. It reverses income tax only. If S2 includes deductions such as ACC levy, KiwiSaver, or student loan repayments, include those in a separate gross-to-net model before reversing the calculation.
Can I use the same brackets for an earlier tax year?
Not automatically. Check the rates and thresholds for the relevant tax year and update TaxBands!A2:B6. Transitional-year rates may differ from the example.




