Quantum Fountains

Home › Free tools › KRA PIN format checker

Free tool · Tax

KRA PIN format checker

Type a PIN to check its shape. This checks the format only.

Try it

Result

What this tool works out

A KRA PIN has 11 characters: A for an individual or P for a company, nine digits, and a final letter. The tool checks only this shape on your device. It does not know whether the PIN is real.

Formula: ^[AP][0-9]{9}[A-Z]$

It runs on your device. Nothing you type is sent to us. It is a guide: check figures that matter with KRA, SHA, NSSF or your adviser.

A worked example

Start with these figures:

  • KRA PIN: A123456789Z

Result: Shape is Looks like a valid PIN shape.

PIN as read
A123456789Z
Length
11
Shape
Valid
Type
Looks like an individual

How it is worked out:

  1. Letter A or P, nine digits, a final letter: yes.

Rates and rules used

ItemRate or ruleSource
KRA PIN shapeA letter (A for individuals, P for companies), nine digits, then a letter. Shape only: it does not prove the PIN existsKRA. Rates change: check with the authority before you file.

Rates as at 3 November 2026. They are kept in one table in the QF ERP payroll and reference data, and a rate we cannot confirm from there is marked for you to check with KRA, SHA or NSSF.

Common questions

What does a KRA PIN look like?

A letter, nine digits and a letter, such as A123456789Z.

Does A or P mean something?

A is usually an individual and P a company or other entity.

Does a valid shape prove a PIN is real?

No. Verify the PIN on iTax or with KRA.

Why check PINs?

A wrong PIN on an invoice or payroll record causes rejected returns.

Run this on your own books with QF ERP

The same rules run inside QF ERP, with approvals, an audit trail and your own records. See it on a call.