International · Validation

Bulgarian EGN validator.

Check a Bulgarian EGN (единен граждански номер), the 10-digit personal number. The tool recomputes the check digit and reads the birth date and sex from the code. Format and checksum only.

How it works: multiply the first 9 digits by 2, 4, 8, 5, 10, 9, 7, 3, 6 and take the total mod 11. A remainder of 10 becomes 0. The result must equal the 10th digit.

Source: python-stdnumAlgorithm and example 7523169263 from python-stdnum

Advertisement

Inputs

Spaces and hyphens are ignored. Only try numbers you are entitled to use.

Result

Enter a number and press Validate.

How the EGN check works

The algorithm, step by step
StepWhat happens
1Digits 1 to 6 are the birth date YYMMDD; the month carries the century (+20 for 1800s, +40 for 2000s, unchanged for 1900s)
2Digits 7 to 9 are a regional serial number; digit 9 is even for men and odd for women
3Multiply the first nine digits by 2, 4, 8, 5, 10, 9, 7, 3, 6 and add
4Take the total mod 11; a remainder of 10 becomes 0
5The result must equal digit 10

Worked example

7523169263: 7×2 + 5×4 + 2×8 + 3×5 + 1×10 + 6×9 + 9×7 + 2×3 + 6×6 = 234. 234 mod 11 = 3, the last digit. The month field 23 is March plus 20, so the date is 16 March 1875.

Century is hidden in the month

A month field of 21 to 32 means a 1800s birth, 41 to 52 means a 2000s birth. The tool subtracts the offset before it checks that the date exists.

Checksum only, not a register lookup

A passing result means the characters are consistent with each other. It does not confirm that the number was issued or that it belongs to anyone. Use it as a typo and format check. For the same kind of check on a Canadian number, see the SIN validator, or browse all ID and number validators.

Sources: python-stdnum, stdnum/bg/egn.py.

Frequently asked questions

What is the Bulgarian EGN?

The Единен граждански номер is the 10-digit personal number used for Bulgarian citizens and residents.

How do I tell the sex from an EGN?

Look at the 9th digit. An even digit means male and an odd digit means female.

Can a valid EGN still be fake?

Yes. A made-up number can satisfy the checksum by chance or design. Only the civil registry can confirm a number was issued.

Format and checksum only

This tool checks format and checksum entirely in your browser. It does not query any register, and a passing result is not proof the number was issued or belongs to anyone. Nothing you type is transmitted, stored, or logged.

Advertisement
Advertisement