esc
ID checkers

Validare CNP:
Romania personal numeric code

Type a 13-digit CNP to check its control digit and see the sex, date of birth and county it contains.

More tools for Romania Other countries

How to use Validare CNP

  1. 01Type the CNP13 digits.
  2. 02Read the resultValid, sex, date, county.
  3. 03See the workingEach digit × the constant.
Front and back of an ID card on one sheet of paper

1850315401231: man, 15 March 1985, București.

A CNP is a sex and century digit, the date of birth, a county code, a serial and a control digit made with the constant 279146358279 modulo 11. The tool checks the digit and names the county, marking the abolished codes 47 and 48 as such.

Validare CNP: type the 13 digits of a cod numeric personal and the tool checks the cifra de control and reads the sex, century, date of birth and county code from the list on the Romanian Wikipedia page.

Structura: S AA LL ZZ JJ NNN C

  • S: sex and century. 1/2 man/woman born 1900–1999, 3/4 born 1800–1899, 5/6 born 2000–2099, 7/8 residents.
  • AA LL ZZ: year, month and day of birth.
  • JJ: county code, 01–46 and 51–52. 47 and 48 (Bucharest sectors 7 and 8) no longer exist; 70 is a single code used regardless of county.
  • NNN: serial number 001–999. C: control digit.

Cifra de control

Example: 185031540123 gives 2 + 56 + 45 + 0 + 12 + 6 + 15 + 20 + 0 + 2 + 14 + 27 = 199, and 199 mod 11 = 1, so the CNP is 1850315401231.

  1. Multiply the first 12 digits by the digits of the constant 279146358279.
  2. Add the products and divide by 11.
  3. If the remainder is below 10, it is the control digit; if it is 10, the control digit is 1.

At a glance

Price
Free. No sign-up, no watermark.
Privacy
Your text stays in your browser. Nothing is uploaded.
Works in
Chrome, Edge, Firefox and Safari, on phones and computers

Questions

What does the first digit of a CNP mean?

1 and 2 are a man and a woman born 1900–1999, 5 and 6 born 2000–2099, 3 and 4 born 1800–1899, and 7 and 8 residents.

Why does the control digit come out as 1 when the remainder is 10?

That is the rule: a remainder of 10 is written as 1.

Does a valid CNP mean the person exists?

No. It only means the digits and date fit together. The tool doesn’t connect to any register.

Is the CNP sent anywhere?

No. The check runs in your browser and nothing you type is sent to a server or stored.

Can I generate a CNP for testing?

The tool can make random test numbers that pass the check. Use them only as test data, never as a real person’s number.

Why is my county code not in the list?

The tool only names the codes published in its source. Codes outside the list are shown as such.