Skip to content

How to calculate net pay in Excel and Google Sheets

Topic:Finance basics
Excel & Google Sheets
=A2-SUM(B2:E2)

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Lay out one column per pay component: A = Gross pay, B = Income tax, C = Provident fund / social security, D = Insurance, E = Other deductions.
  2. 2In the net-pay cell (F2) enter =A2-SUM(B2:E2) — gross minus the total of all deduction columns.
  3. 3For a deduction that is a percentage of gross, compute it in its own column, e.g. income tax at 20% in B2 as =A2*0.2, then let SUM pick it up.
  4. 4For tiered or slab tax, replace the flat percentage with a lookup or nested IF (see the tips) so the rate follows the salary band automatically.
  5. 5Format F2 as Currency and copy the formula down for every employee row.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

What is the difference between gross pay and net pay?

Gross pay is the full amount before any deductions. Net pay, or take-home pay, is what is left after tax, provident fund or social security, insurance and other deductions are subtracted.

How do I calculate a deduction as a percentage of gross?

Put the percentage deduction in its own cell — for 20% income tax on gross in A2, use =A2*0.2 — then include that cell in the SUM of deductions.

How do I handle slab or bracket-based tax?

Replace the flat percentage with a nested IF, or an IFS or lookup, that returns the correct rate for each salary band, then subtract it like any other deduction.

How do I stop net pay going negative?

Wrap the subtraction in MAX(0, ...): =MAX(0, A2-SUM(B2:E2)) clamps the result at zero if total deductions ever exceed gross.

More on Finance basics

See all →

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: