Zidika ConsultingZidika Consulting +254 740 836041 Free consultation
  1. Home
  2. Payroll tools
  3. P9 form generator

KRA P9 form generator

Type a year's pay once and download a P9 in KRA's P9A format, as PDF or Excel. Doing the whole team? Upload one spreadsheet and download every P9 at once.

  • KRA P9A layout
  • Tax years 2025 and 2026
  • PDF and Excel
  • Nothing leaves your browser

Employer and employee

Fill the year in one go

Enter monthly amounts, choose the months, and apply. Then adjust any month in the table.

Monthly figures

Example figures are loaded so you can see how it works.
MonthBasic salary (A)Non-cash benefits (B)Value of quarters (C)NSSF *Other pensionSHIF *Housing levy *PRMFMortgage interestInsurance premiumPAYE deducted

* Worked out from basic salary using that month's rates. Type the amount actually deducted to replace it. All amounts in KES for the month.

Total gross payKES 0.00
Chargeable pay (K)KES 0.00
PAYE for 2026 (O)KES 0.00

Your P9A, as it will print

Every month and every year? ZidikaHR runs payroll, sends payslips and has each employee's P9 ready at year-end. Use ZidikaHR →

Files carry the line "Prepared with the free P9 generator by Zidika Consulting · www.zidika.com". Figures are as you enter them; check them against your payroll records before issuing P9 forms. Not tax advice.

How each P9 column is worked out

The generator follows KRA's P9A template. These are the rules it applies each month.

ABasic salary
Basic pay plus cash allowances for the month.
BNon-cash benefits
Taxable benefits such as a car or school fees paid by the employer.
CValue of quarters
Housing provided by the employer.
DTotal gross pay
A + B + C.
ERetirement contributions
The lowest of E1 (KES 30,000 a month), E2 (30% of basic salary) and E3 (actual NSSF and pension contributions).
FAffordable housing levy
1.5% of gross pay, deductible from December 2024.
GSHIF
2.75% of gross pay, minimum KES 300, deductible from December 2024.
HPost Retirement Medical Fund
Contributions up to KES 15,000 a month.
IOwner-occupied interest
Mortgage interest on the employee's home, up to KES 30,000 a month.
JTotal deductions
The lowest E plus F, G, H and I.
KChargeable pay
D minus J.
LTax charged
PAYE bands applied to K.
MPersonal relief
KES 2,400 a month.
NInsurance relief
15% of premiums, up to KES 5,000 a month.
OPAYE tax
L minus M and N.

P9 form questions

Prefer us to prepare your P9 forms? Our payroll service includes them.

What is a P9 form?

The P9A, or tax deduction card, is the yearly summary an employer gives each employee. It shows monthly pay, allowable deductions, chargeable pay and the PAYE deducted, and employees use it to file their annual income tax return on iTax.

When must employers issue P9 forms?

Employers issue P9 forms after the end of the tax year, by the end of February, so employees can file their returns before the 30 June deadline.

Is the information I type saved or sent anywhere?

No. The generator runs entirely in your browser. Nothing you type or upload is sent to Zidika Consulting or stored, and it is gone when you close the page.

Which years does the generator support?

Tax years 2025 and 2026. It applies the rules for each month, including the NSSF limits that changed in February 2025 and February 2026.

Is this the KRA P9 format?

Yes. The PDF and Excel files follow the columns of KRA's current P9A template, which includes the housing levy, SHIF and the Post Retirement Medical Fund as allowable deductions.

Can I create P9 forms for all my employees at once?

Yes. Download our template, fill one row per employee (with Month set to All for the same pay every month), upload it, and download every P9 as a ZIP of PDFs, one combined PDF or one Excel workbook.

What if the PAYE we deducted differs from the calculated figure?

Enter the PAYE actually deducted and the generator flags any month that differs. A P9 should show what was deducted, so check those months against your payroll before issuing the form.

From Zidika Consulting

P9s ready every year, automatically

Our payroll and HR app for Kenyan employers. It works out PAYE, NSSF, SHIF and the housing levy, checks every run before you approve it, sends payslips by email and WhatsApp, and prepares your filing files and year-end P9s.

ZidikaHR on a phone: an employee's November payslip with PAYE, NSSF, SHIF and housing levy, and buttons for the payslip PDF and P9

P9s every year without the work

Our payroll service runs payroll monthly and issues every employee's P9 at year-end.