How Net Pay Is Worked Out on a Payslip: formula, worked example and common mistakes
Type the earnings and the deductions with their kinds, read the net pay for the period you name. Free, nothing stored or sent.
Updated
What a payslip adds up
A payslip has two halves: what came in, and what was taken off. The page takes the earnings lines you typed and adds them into a gross; it then works each deduction the way its kind says — a percent of the gross, or an amount taken as typed — and subtracts the total. The result block is laid out like the document: a headline with the period and the net, details for the gross, the deductions and their share, and a table listing every earning and deduction in the order you typed it.
The calculator is at /tools/payslip/. Every deduction and its rate is typed by the visitor, so nothing is a stored rule; the pre-filled 12 percent and 5 percent are labeled examples. The page does not work out tax and keeps no copy, and print on the page prints a one-page sheet.
The formula
gross = sum of the earnings lines
percent deduction = gross × value ÷ 100
amount deduction = value
net = gross − total deductions
share of gross = total deductions ÷ gross
An unreadable kind counts as an amount and is counted, so the page can say how many rows were read that way; the kind column matches amount or percent case-insensitively, and a blank kind or an unknown word is read as an amount.
A worked example at the calculator’s defaults
Three earnings lines and three deductions, for January.
gross = 3000 + 400 + 150 = 3,550.00
tax = 3,550 × 12% = 426.00
pension = 3,550 × 5% = 177.50
insurance (amount) = 60.00
deductions = 663.50
share of gross = 663.50 ÷ 3,550 = 18.69%
net = 3,550 − 663.50 = 2,886.50
The headline reads Net pay for January: 2,886.50. The table lists all six rows in order — three earnings, two percent deductions and one amount deduction — and a donut chart splits the gross into net and deductions.
Deductions beyond the gross
Nothing stops a deduction from exceeding the pay, and the page does not pretend otherwise: when the deductions pass the gross, the net lands below zero and a red flag says so, while the figures themselves stay on the table. That makes an over-large deduction visible instead of hidden, and the share of gross beside the net shows by how much the take-home side was squeezed. An amount deduction of 600.00 against the 3,550.00 gross would leave 2,950.00; against a 500.00 gross it would leave −100.00 and the flag.
What the page does not know
No rate, band or rule of any country is stored, and the page does not work out tax: the tax line is whatever you typed, and the printed sheet is the record. Names and the period are optional plain text, a blank name prints as a blank line, and the currency label is your own typed text of up to four characters. For the pay side behind the earnings, the salary calculator works at the rates you type; for the after-deduction picture on its own, the take-home-pay calculator.
Frequently asked questions
What is the gross to net formula?
Gross = the sum of the earnings lines; each percent deduction takes its percent of the gross; each amount deduction is the value itself; net = gross − total deductions. On earnings of 3,550.00, deductions of 12% (426.00), 5% (177.50) and 60.00 leave a net of 2,886.50.
What does an unreadable deduction kind do?
It counts as a plain amount, and the page names how many rows were read that way with a grey note. The kind column matches amount or percent without worrying about capitals; a blank kind or an unknown word such as weekly is read as an amount and counted.
What happens when the deductions pass the gross?
The net goes negative and the page reports it as a result with a red flag rather than an error, so an over-large deduction is visible instead of hidden. The deductions share of the gross sits beside the net, which makes the size of what is taken off plain.
Are the rates stored on the page?
No. Every deduction and its rate is typed by the visitor, and the pre-filled 12 percent and 5 percent are labeled examples. The page does not work out tax and keeps no copy, so the tax line is exactly what you typed.
This tool shows math, not advice.
Cite this page
Copy this line into a reference list, a report or a spreadsheet note.
Investment Math Calculator. “How Net Pay Is Worked Out on a Payslip”. Updated 2026-11-22. https://investmentmathcalculator.com/guides/payslip-calculator/
Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.