Aadhaar Number Check Digit Explained: How the Verhoeff Algorithm Catches Typing Mistakes
How an Aadhaar number is built, how the Verhoeff check digit works, what a validation can and cannot prove and how to use a masked Aadhaar.

Aadhaar Number Check Digit Explained
Aadhaar is a 12-digit number issued by the Unique Identification Authority of India (UIDAI). It is used on forms for banks, telecom, schools and government schemes. Typing mistakes happen often, and one wrong digit means a rejected form. The Aadhaar Number Validator checks the structure and the check digit before you submit.
How the number is built
An Aadhaar number has 12 digits, shown in three groups of four. The first digit is between 2 and 9; numbers cannot start with 0 or 1. The last digit is a check digit. The other digits do not hold information about the person, such as a state or a birth date, which protects privacy. This means you cannot learn anything about a person from the number alone.
The Verhoeff algorithm
The check digit is made with the Verhoeff algorithm, published by the Dutch mathematician Jacobus Verhoeff in 1969. It uses the multiplication table of a mathematical group called the dihedral group of order 10, with a table of permutations that depends on the position of each digit. Working from the right-hand end, the algorithm combines the digits one by one. The result must be zero for a valid number. Unlike simple methods, it detects all single-digit mistakes and nearly all transpositions of two adjacent digits.
What the tool checks
It removes spaces and dashes and checks that the number has only digits, that it has 12 of them, that the first digit is not 0 or 1 and that the Verhoeff result is zero. For a valid number it shows the formatted number and a masked version. For an invalid one it explains why. It runs in your browser.
What a pass does not prove
About one random 12-digit number in ten passes the check, so a pass does not prove that a number was issued, that it is active or that it belongs to the person who gave it to you. To authenticate someone, official services use the holder's consent, a one-time password or biometrics. Use this tool to catch typing mistakes, not to verify identity.
Masked Aadhaar
When you must share a photocopy or a number, the safer option is a masked version where the first eight digits are hidden and the last four remain, like XXXX XXXX 9018. UIDAI allows you to download a masked Aadhaar. The law also restricts which organisations can ask for the full number and how they must store it. The tool shows the masked form so you can use it in a text.
A worked example
2234 5678 9018 passes all checks and is shown as XXXX XXXX 9018. 2234 5678 9017 has the wrong check digit. 1234 5678 9010 starts with 1, so it is rejected. A number with 11 digits is too short. If you type a number from a form and it fails, check the digits again against the original.
Privacy
Aadhaar is sensitive information. The tool does not send or store the number. Even so, avoid entering real numbers of other people into websites you do not trust.
Quick answers
How many digits does an Aadhaar number have? 12 digits. The first digit is 2 to 9, and the last is a check digit.
What is the Verhoeff algorithm? A check digit method that finds all single-digit errors and most swaps of neighbouring digits.
Does a pass prove that the Aadhaar is real? No. It only shows that the number is well formed. Verification needs the official services.
What is a masked Aadhaar? A version that hides the first eight digits and shows the last four.
Is the number stored? No. It is checked in your browser and not sent anywhere.
Can I check a list? Yes, but be careful with real personal data. Paste one number per line.
Limits
Structure and check digit only. It does not verify identity and is not legal advice.



