Find birthday, age and gender from an NIC number

A Sri Lankan NIC number contains the holder’s birth year, birthday and gender. Type an old or new NIC number to see them, along with the exact age today.

Runs in your browser. Nothing you type or upload is sent anywhere.

How it works

In an old NIC (9 digits and V or X), the first two digits are the birth year (85 = 1985). In a new NIC (12 digits), the first four are the year.

The next three digits are the day of the year the person was born. For women, 500 is added. So 340 means a man born on day 340, and 840 means a woman born on day 340.

The Department for Registration of Persons counts every year as if it had 366 days, so 29 February is always day 60 and 1 March is always day 61. This tool uses the same count.

The remaining digits are a serial number and a check digit. They do not contain personal information.

Questions people ask

Why is the date one day off from my birthday?

Some online calculators use a 365-day calendar for normal years, which puts every date after February one day early. The DRP always counts 366 days, which is what this tool uses. If the date still doesn’t match, the number may have been recorded with an error. Check the date printed on the card.

Can this tell me if an NIC is real?

No. It only checks that the number has a valid format and date. To check an NIC officially, contact the Department for Registration of Persons.

Does it work for new 12-digit NICs?

Yes. Type either format. The tool also shows the number in the other format where one exists.

Is the number stored?

No. Everything is worked out in your browser and nothing is sent anywhere.