How tax on salary (PAYE) is calculated
How employers work out income tax on pay: gross pay, reliefs, tax bands and statutory deductions, explained simply for any country.
The short answer: PAYE (Pay As You Earn) is income tax an employer takes out of salary each payday and sends to the tax authority. Start with gross pay, take off the reliefs the law allows to get taxable income, tax each slice at its band's rate, subtract any tax credits, then deduct the employee's statutory contributions to reach net pay.
In the US it's called federal and state income tax withholding. The details differ by country, but the steps are the same.
Step 1: Gross pay
Add up basic salary, allowances such as housing and transport, overtime and bonuses. Many payrolls multiply the month's pay by 12, work out the year's tax and divide by 12. The UK's system is cumulative: each month's tax takes account of earlier months in the tax year.
Step 2: Reliefs and allowances
Every system leaves part of income untaxed, in one of two ways. Some take a tax-free amount off income before the bands apply. Others work out the tax first, then take a fixed credit off the tax.
| Country | Tax-free part (2026) | How it works |
|---|---|---|
| Nigeria | First ₦800,000 of taxable income a year | 0% band |
| Ghana | First GH₵588 a month (GH₵490 before September 2026) | 0% band |
| United Kingdom | £12,570 personal allowance, reduced above £100,000 | Off income |
| United States | $16,100 standard deduction (single) | Off income |
| Kenya | KES 2,400 a month personal relief | Credit off the tax |
| South Africa | R17,820 a year primary rebate (under 65) | Credit off the tax |
The difference matters. An allowance saves you its amount multiplied by your tax rate, so it's worth more to higher earners. A credit saves its face value whatever you earn, as long as you owe at least that much tax.
Some contributions also come off before tax, such as pension in Nigeria, SSNIT in Ghana, NSSF, SHIF and the housing levy in Kenya, and 401(k) deferrals in the US. Others, like UK National Insurance, South Africa's UIF and US Social Security, don't reduce taxable income.
Step 3: Tax bands
Taxable income is split into bands, each taxed at its own rate. A higher rate only applies to income inside that band. That's why a pay rise never leaves you with less take-home pay.
Step 4: Credits, then contributions
Take any credits off the band tax to get income tax, then subtract the employee's contributions. What's left is net pay, the amount that reaches the employee's bank account.
Worked example 1: an allowance system (UK)
An employee in England earns £30,000 a year on the standard 1257L tax code, 2026/27 rates:
| Step | Working | Amount |
|---|---|---|
| Gross pay | £30,000.00 | |
| Personal allowance | − £12,570.00 | |
| Taxable income | £30,000 − £12,570 | £17,430.00 |
| Income tax | 20% × £17,430 | £3,486.00 |
| National Insurance | 8% × (£30,000 − £12,570) | £1,394.40 |
| Net pay | £30,000 − £3,486 − £1,394.40 | £25,119.60 (£2,093.30 a month) |
Worked example 2: a rebate system (South Africa)
An employee under 65 earns R25,000 a month (R300,000 a year) with no retirement fund contributions. 2026/27 tables:
| Step | Working | Amount |
|---|---|---|
| Tax on the first R245,100 | 18% × R245,100 | R44,118 |
| Tax on the next R54,900 | 26% × R54,900 | R14,274 |
| Tax before rebate | R58,392 | |
| Primary rebate | − R17,820 | |
| Income tax for the year | R40,572 (R3,381 a month) | |
| UIF | 1% of pay, capped at R17,712 a month | R177.12 a month |
Monthly take-home pay is R25,000 − R3,381 − R177.12 = R21,441.88. The rebate also explains why nobody under 65 pays tax on income up to R99,000 a year: 18% of R99,000 is exactly R17,820.
Effective rate and marginal rate
Your effective rate is total income tax divided by gross pay. Your marginal rate is the rate on the next unit you earn. In the UK example, the effective rate is 11.6% (£3,486 ÷ £30,000), but the marginal rate is 20%, plus 8% National Insurance. In the South African example, they're 13.5% and 26%. The marginal rate is what a pay rise or bonus really costs in tax.
What employers pay on top
Employers usually pay their own contributions on top of salary, as a business cost, not a deduction from the employee: Nigeria's 10% employer pension, Ghana's 13% SSNIT, Kenya's matching NSSF and 1.5% housing levy, South Africa's 1% UIF, UK employer's National Insurance at 15% above £5,000 a year (£3,750 on a £30,000 salary), and the US employer's 6.2% Social Security and 1.45% Medicare.
Common mistakes
- Applying the top rate to all income. Each rate applies only to its own band.
- Running gross pay through the bands. Reliefs come off first; the bands apply to taxable income.
- Mixing up employer and employee contributions. Only the employee's share is deducted from pay.
- Using last year's tables. In 2026 alone, Nigeria moved to new law in January, Kenya's NSSF rates changed in February and Ghana changed its bands in September.
- Forgetting US state tax, which varies by state and isn't part of federal withholding.
Questions people ask
Is PAYE a different tax from income tax? No. PAYE is a way of collecting income tax from employees as they're paid, rather than in one bill after the year ends.
Why does a colleague on the same salary pay a different amount? Their reliefs may differ: pension, rent, a UK tax code, US filing status or South African age rebates.
My country isn't listed. Can I still calculate PAYE? Yes. Manual mode lets you enter a tax-free allowance, your own bands and rates, and deductions as a percentage of pay, before or after tax.
This guide is general information, not tax advice. Check payroll and filings with your tax authority (such as your state IRS in Nigeria, GRA, KRA, SARS, HMRC or the IRS) or an adviser.
Our free PAYE calculator applies the current rules for Nigeria, Ghana, Kenya, South Africa, the UK and the US, shows every band, relief, effective and marginal rate, and downloads as a PDF computation sheet. To put the result on a payslip, use the payslip generator. For the Nigerian rules in detail, read how to calculate PAYE in Nigeria.
