A Sri Lankan NIC (National Identity Card) is an official identity document issued in Sri Lanka. The NIC number contains encoded information that can be used to determine details such as the year of birth, date of birth, and gender.

A Sri Lankan NIC number is a unique identification number assigned to a person. The older NIC format contains 9 digits followed by a letter, while the newer format contains 12 digits.

The old NIC format contains 9 numbers and one letter, such as:

820149894V

The first two digits represent the year of birth, followed by three digits that encode the day of the year and gender. The final letter is V or X.

The new NIC format contains 12 numbers, such as:

198201409894

The first four digits represent the year of birth, followed by three digits that encode the day of the year and gender.

A NIC to DOB calculator is a tool that reads the birth information encoded in a Sri Lankan NIC number and converts it into a normal date of birth.

You can enter either an old or new NIC number into the NIC Converter to find the corresponding date of birth.

Enter your valid Sri Lankan NIC number into the NIC Converter and click Decode NIC or the relevant submit button.

The calculator reads the year and day-of-year information from the NIC and converts it into a calendar date.

Yes. The old NIC contains the birth year in the first two digits and the day-of-year information in the following three digits.

For example:

82014…

represents the year 1982 and day 014, which corresponds to 14 January.

Yes. The first four digits of the new NIC represent the birth year, while the following three digits contain the day-of-year and gender information.

For example:

1982014…

represents 1982 and day 014, which corresponds to 14 January 1982.

Yes. The three digits following the birth year are used to encode gender.

001–499 = Male
500–999 = Female

For female NIC numbers, 500 is added to the day-of-year value.

For an old NIC, the gender value is found in digits 3–5.

For a new NIC, it is found in digits 5–7.

If the value is below 500, it indicates male. If the value is 500 or higher, it indicates female.

The NIC uses a three-digit day-of-year value.

For example, 014 means the 14th day of the year, which is 14 January.

For female NIC numbers, 500 is added to the day value. Therefore, 514 represents day 014 after removing the 500 gender offset.

Yes. Once the date of birth is decoded from the NIC, the person’s current age can be calculated from the date of birth.

Our NIC calculator can be used to find the date of birth and calculate age.

Yes. After the date of birth is decoded, the calculator can also determine the day of the week, such as Monday, Tuesday, Wednesday, and so on.

The V at the end of an old NIC is associated with voting eligibility in the old NIC format. An old NIC ending in V indicates the holder was recorded as eligible to vote under that system.

The X at the end of an old NIC indicates that the holder was not recorded as eligible to vote under the old NIC voting-status convention.

No. The new Sri Lankan NIC uses a 12-digit numeric format and does not have the V or X character used in the old format.

Yes. The Old to New NIC Converter can convert an old-format NIC into the corresponding 12-digit format.

For example:

820149894V

can be converted to:

198201409894

The converter also supports conversion in the other direction, from the new 12-digit format to the old format where the corresponding old-format information is available.

Not necessarily. Old and new NIC formats can both be encountered. However, some modern websites, databases, and forms may specifically request the 12-digit NIC format.

The main difference is the number format.

Old NIC:

YY + DDD + serial/check information + V/X

New NIC:

YYYY + DDD + serial/check information

The old format uses a two-digit birth year and ends with V or X, while the new format uses the full four-digit birth year and contains only numbers.

The new 12-digit NIC format was introduced on 1 January 2016.

Yes.

For an old NIC, the first two digits represent the year of birth.

For a new NIC, the first four digits represent the year of birth.

For example:

82 → 1982

1982 → 1982

The three digits after the year represent the day of the year and gender.

For example, 014 represents the 14th day of the year. If the value is 500 or more, the 500 gender offset is removed to determine the actual day.

A NIC number decoder is a tool that reads the information encoded in a Sri Lankan NIC number.

Depending on the tool, it can show the date of birth, gender, age, old NIC format, new NIC format, and other available information.

A calculator can check whether an entered number follows the expected format and structure, but this does not mean that the person or NIC has been officially verified by the Department for Registration of Persons.

For official identity verification, use the appropriate government service.

No. A date of birth and gender are not enough to determine a complete NIC number.

The serial number and check digit cannot be determined from birth information alone. The NIC Number Finder therefore displays only the predictable part of the NIC and uses asterisks for the unknown portion.

The NIC Number Finder is a reverse calculator. Instead of entering an NIC to find a date of birth, you enter a date of birth and gender to see the corresponding partial NIC structure.

It does not generate a complete valid NIC number.

No. It only shows the predictable structure based on your date of birth and gender.

The remaining serial number and check digit cannot be determined from date of birth alone.

The NIC Calculator Excel Formula allows you to extract information from old and new Sri Lankan NIC numbers using Microsoft Excel.

The formulas can be used to calculate the year, month, day, gender, and age from an NIC number.

Yes. You can use Excel formulas to extract the birth year, date, gender, and age from both old and new NIC formats.

For example, the age calculation can use the decoded date of birth together with the current date.

The NIC contains the year and day-of-year information needed to determine the date of birth encoded in the number.

The three-digit value represents the day of the year, with the gender offset applied where applicable.

The NIC itself does not directly store an age. However, because the date of birth can be decoded from the NIC, the person’s current age can be calculated from that date.

The old NIC card also included a separate province number on the card. This is different from the information encoded in the main NIC number. The province indicator used numbers 1–9 for Sri Lanka’s provinces.

No. A NIC and a passport are different identity documents and use different identification numbers.

First, check that you entered the number correctly.

For an old NIC, check that it contains 9 digits followed by V or X.

For a new NIC, check that it contains 12 digits.

Remove unnecessary spaces or other characters and try again.

The three-digit date portion must represent a valid day of the year. If the NIC is entered incorrectly or contains an invalid value, the calculator may not be able to determine a valid date of birth.

Yes. The NIC Converter is designed to work with both the old 10-character NIC format and the new 12-digit NIC format.

A NIC converter can change an NIC between old and new formats.

A NIC decoder reads the information contained in the NIC, such as the date of birth and gender.

The NIC Converter can perform the decoding function, while the Old to New NIC Converter focuses on format conversion.

You can use the Old to New NIC Converter to convert between the old and new Sri Lankan NIC formats. It also supports conversion in the reverse direction.

Use the Sri Lankan NIC to DOB Calculator at the top of this page. Enter your NIC number and decode it to see the date of birth encoded in the number.

Depending on the information available in the entered NIC, the converter can provide:

Date of birth
Year of birth
Gender
Current age
Day of birth
Old NIC format
New NIC format
V/X information for old-format NICs

Yes. The old and new formats use the same basic birth-date and gender encoding, but the structure of the number changed. The old format uses a two-digit year and V/X character, while the new format uses a four-digit year and 12 numeric digits.

No. This is an independent online calculator designed to help users understand and convert the information encoded in Sri Lankan NIC numbers. It should not be considered an official identity-verification service.

No. The calculator can decode the structure of an NIC number, but decoding a number is not the same as officially verifying a person’s identity.

For official verification, use the relevant services provided by the Sri Lankan authorities.

Users should avoid sharing their NIC number unnecessarily. A National Identity Card number is sensitive personal information. Use online NIC tools carefully and only where necessary.

You can use different tools depending on what you need:

  • NIC Converter – Find date of birth, gender, age, and other decoded information.
  • Old to New NIC Converter – Convert between old and new NIC formats.
  • NIC Number Finder – Find the partial NIC structure from date of birth and gender.
  • NIC Calculator Excel Formula – Calculate NIC information using Microsoft Excel.

These tools cover the main ways users may need to work with Sri Lankan NIC numbers.