Romania CNP validator
How the CNP format works
- Format
- 13 digits
- Example
- 2700116065277
Things to watch for
- 13 digits with a weighted mod-11 check on the final digit (a remainder of 10 maps to check digit 1)
- The first digit encodes sex/century and the next 6 a date of birth — we validate format and checksum only, never the date, and never store what you enter
- Checksum only — a valid CNP does not confirm the number is currently issued to a real person
^[0-9]{13}$CNP (Cod Numeric Personal, Personal Numeric Code) is the 13-digit identifier Romania’s Direcția pentru Evidența Persoanelor (DEPABD) assigns to citizens and residents, used for ID cards, passports, tax records, healthcare, banking, and employment. Unlike the JMBG family used elsewhere in the Balkans, CNP is a distinct algorithm with its own structure: a leading digit for sex and century of birth, six digits for date of birth, two for county or country code, three for a sequence number, and a final check digit.
How this validator works
The check digit comes from a weighted sum over the first 12 digits using the fixed control key 2-7-9-1-4-6-3-5-8-2-7-9: each digit is multiplied by its corresponding weight, the products are added together, and the total is reduced modulo 11. If that remainder is 10, the check digit is defined as 1; otherwise the check digit equals the remainder itself. This tool reruns that exact calculation in your browser and compares it to the 13th digit you entered, so a single mistyped or transposed digit is almost always caught before it reaches a form.
What a pass doesn’t tell you
A matching check digit only confirms the 13 digits are mathematically consistent with each other. It doesn’t confirm the CNP was ever issued to a real person, and this tool doesn’t attempt to decode or verify the sex, birth date, or county information the leading digits appear to encode.
Scope: this page covers CNP format and checksum validation only — not registry lookups. Nothing you type is sent to a server, stored, or logged.
Content last reviewed 2026-08-09.
CNP FAQ
What does the first digit of a Romanian CNP mean?
The first digit encodes both the holder's sex and the century of birth. This validator doesn't decode or verify that meaning — it only checks that the 13 digits pass the CNP checksum formula.
Who issues the CNP, and what is it used for?
Romania's Direcția pentru Evidența Persoanelor (DEPABD) administers the Cod Numeric Personal, which is required for ID cards, passports, tax filings, healthcare, banking, and employment records.
Does a valid CNP checksum mean the number is registered to someone?
No. It confirms the 13 digits are internally consistent with each other — confirming a CNP is genuinely assigned requires access to Romania's population register, which this tool doesn't query.