- Home
- Payroll tools
- 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.| Month | Basic salary (A) | Non-cash benefits (B) | Value of quarters (C) | NSSF * | Other pension | SHIF * | Housing levy * | PRMF | Mortgage interest | Insurance premium | PAYE 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.
Your P9A, as it will print
Employer and year
Download the template
One row per employee per month, or one row with Month set to All when pay is the same every month. Add a row for any month that differs. Leave NSSF, SHIF and the levy blank to have them calculated.
Upload your file
Your P9 forms
| Employee | PIN | Months paid | Chargeable pay | PAYE | Checks | Download |
|---|
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.
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.

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

