Paycheck explained: formula, worked example and common mistakes
Take-home pay from gross, with pre and post-tax deductions, a flat rate or bands, and a payroll tax with a cap. Free, no sign-up.
Updated
What the paycheck calculator works out
It turns a gross pay figure into the amount that lands in the bank, for one pay period or a year. You type gross pay, how many periods a year, any deductions taken before or after tax, the income tax rate or bands, the payroll tax rate, and its cap if there is one. The page returns the income tax, the payroll tax, both deduction lines, the in-hand figure per period and a year, and the take-home share.
The formula
The page works in four steps, each one a plain subtraction or a percentage:
taxable = gross - pre
income_tax = flat_rate% of taxable (or sum of banded slices)
payroll_tax = payroll_rate% of min(gross, cap)
after_tax = taxable - income_tax - payroll_tax
in_hand = after_tax - post
take_home_share = in_hand / gross
Pre-tax deductions come off gross before income tax is worked out, which is why they lower the tax bill. Payroll tax is charged on the gross, not on the taxable amount, and only up to the cap if one is typed. Post-tax deductions come off last, after both taxes, so they lower only the in-hand figure. The take-home share is the in-hand figure divided by the gross, which is the cleanest single number for comparing two pay offers.
A worked example
Gross of 5,000 a month, 12 periods a year, 200 of pre-tax deductions, a 20 per cent flat income tax, 7 per cent payroll tax with no cap, and 150 of post-tax deductions.
taxable = 5,000 - 200 = 4,800
income_tax = 20% of 4,800 = 960
payroll_tax = 7% of 5,000 = 350 (cap is 0, so the whole gross is taxed)
after_tax = 4,800 - 960 - 350 = 3,490
in_hand = 3,490 - 150 = 3,340
in_hand_a_year = 3,340 x 12 = 40,080
take_home_share = 3,340 / 5,000 = 66.8%
A gross of 5,000 a month leaves 3,340 in the hand each month, 40,080 a year, which is 66.8 per cent of the gross.
What changes the answer
The pre-tax deduction line. Every unit of pre-tax deduction lowers the taxable amount, so it also lowers the income tax. It is worth more than a post-tax deduction of the same size, because the tax saving comes back to you.
The payroll tax cap. With no cap, payroll tax applies to the whole gross. With a cap, the part of the gross above the cap is free of payroll tax, so a higher gross stops raising the payroll tax line. Type zero if there is no cap where you are.
The flat rate against bands. A flat rate is one percentage on the whole taxable amount. Bands slice the taxable amount and tax each slice at its own rate, which usually gives a lower bill than a flat rate set at the top band’s rate. The page uses whichever you give it figures for.
The number of periods. The in-hand figure per period scales with how the gross is split. The in-hand a year is the per-period figure times the periods, so the yearly number is the one to compare across pay offers that quote different period lengths.
When to use it, and when not to
Use it to compare two pay offers, to see what a raise is worth in the hand, or to check that a payslip’s lines add up to the figure on it. It works one period at a time at the rates you type.
It does not know the tax rates, the bands, the caps, the allowances or the contribution limits where you live. Nothing statutory is stored anywhere on the page; you type the figures from your own tax table or your employer’s paperwork, and the page does the arithmetic on them. It also works a single rate for the whole year, so a rate that changes mid-year has to be modeled as two runs.
Common mistakes people make
1. Comparing gross figures across offers. Two gross figures can hide very different deductions and tax rates. The in-hand a year is the number that lands in the bank, and it is the one to compare.
2. Forgetting that payroll tax is on the gross. Income tax is on the taxable amount, but payroll tax is on the gross, so a pre-tax deduction lowers income tax and not payroll tax.
3. Treating the take-home share as 100 minus the tax rates. It is in-hand divided by gross, and the deductions pull it down further than the tax rates alone would. In the worked example the two tax rates add to 27 per cent but the take-home share is 66.8 per cent, not 73 per cent.
4. Mixing up pre-tax and post-tax deductions. They look similar on a payslip but they work differently. Pre-tax lowers the tax bill; post-tax lowers only the in-hand figure. The page keeps them in separate fields for that reason.
5. Ignoring the cap on payroll tax. With a cap, the payroll tax line stops growing once gross passes the cap. A pay rise above the cap costs less in payroll tax than the same rise below it, which is worth knowing before you read the in-hand figure.
6. Annualizing a period that had a one-off deduction. The in-hand a year is the per-period figure times the periods, so a one-off deduction in one period would drag the yearly figure down if you typed it as if it were recurring. Run those periods separately.
Frequently asked questions
How is take-home pay worked out?
Gross pay minus pre-tax deductions gives the taxable amount. Income tax is taken off that, then payroll tax off the gross, then post-tax deductions off what is left. In the worked example, 5,000 gross less 200 pre-tax leaves 4,800 taxable; a 20 per cent flat income tax takes 960; a 7 per cent payroll tax takes 350; 150 of post-tax deductions leaves 3,340 in the hand.
What is the difference between pre-tax and post-tax deductions?
Pre-tax deductions come off before income tax is worked out, so they lower the taxable amount. Post-tax deductions come off after both taxes, so they lower only the in-hand figure. The page applies them in that order, and the order is the reason the two fields exist separately.
How does the payroll tax cap work?
Payroll tax is charged on gross up to the cap you type. Below the cap, the full gross is taxed. Once gross passes the cap, only the cap amount is taxed and the rest is free of payroll tax. Type zero for the cap if payroll tax applies to the whole gross with no ceiling.
Flat rate or bands — which do I use?
A flat rate is one percentage applied to the whole taxable amount. Bands split the taxable amount into slices, each taxed at its own rate, and the page adds the slices. Type the rate for a flat run, or fill the bands for a banded run; the page uses whichever you give it figures for.
Why is the take-home share not just 100 minus the tax rates?
Because pre-tax deductions lower the taxable amount, payroll tax is on the gross not the taxable amount, and post-tax deductions come off after both. The take-home share is in-hand divided by gross, and in the worked example it is 66.8 per cent, not the 73 per cent a naive 100 minus 27 would give.
Does this know the tax rate where I live?
No. Nothing statutory is stored on this page. You type the rates, the bands, the cap and the deductions from your own paperwork or your tax table, and the page does the arithmetic on the figures you give it.
What is not in this calculator?
Year-end true-ups, benefits in kind, pension contributions that interact with tax, anything paid by the employer on your behalf, and any rule that changes the rate part way through the year. It works one period at a time at the rates you type.
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. “Paycheck Calculator”. Updated 2026-10-31. https://investmentmathcalculator.com/guides/paycheck-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.