Calculate Net Salary Using Microsoft Excel

Man using spreadsheet on laptop

Ariel Skelley / Getty Images 

A net salary formula calculates an employee's actual take-home pay in light of gross wages and relevant deductions. 

Collect Payroll Data

Create a new workbook in Microsoft Excel, using your own pay stub or payroll remittance advice form as a guide. Populate the sheet's columns as follows:

Column Value
A Pay Date
B Hours Worked
C Hourly Rate
D Positive Adjustments (e.g., reimbursements or stipends)
E Negative Adjustments (e.g., voluntary payroll deductions)
F Pre-Tax Deductions (e.g., insurance premiums)
G Post-Tax Deductions (e.g., garnishments)
H State Income Tax Rate
I Local Income Tax Rate
J Federal Income Tax Rate
K Medicare Tax Rate
L Pre-Tax Retirement Contributions
M Post-Tax Retirement Contributions

Because every employer is different and every state has slightly different tax rules, you'll need to identify for yourself which of your deductions and contributions are assessed before or after your taxes. Your federal tax rates may vary based on your exemptions; you can calculate your tax rates by dividing your assessed taxes against your taxable gross income from your pay stub.

Calculate Net Salary

Use the following formulas to calculate your net salary and other interesting financial metrics:

  • Net Salary:
    =((((B*C)+D)-Sum(E+F+L)) - (((B*C)+D)-Sum(E+F+L))*H - (((B*C)+D)-Sum(E+F+L))*I - (((B*C)+D)-Sum(E+F+L))*J - (((B*C)+D)-Sum(E+F+L))*K) - G - M
  • Gross Salary:
  • Pre-Tax Salary


Using a formula to calculate net salary makes sense if you're trying to approximate your take-home pay. However, some situations may adversely affect your calculations:

  • If you're paid every other week, some deductions may not apply to the third payroll in the same month. In a calendar year, there are 26 pay periods but 24 fortnights and some deductions (e.g., for health insurance) may be calculated to pull only 24 times per year.
  • Watch your pay stub to identify which deductions are pre-tax or post-tax. 
  • Some deductions are based on a percentage of gross payroll — for example, garnishments.