How we rate PIN strength
Length sets the starting grade below. Detected weaknesses can only lower it.
- 4 digits
- Weak
- 5 digits
- Fair
- 6–7 digits
- Strong
- 8–16 digits
- Very Strong
Grades assume retry limits. A high grade does not prove that a PIN is random or safe.
Patterns that lower the score
- Common PINs, numeric sequences (including wraparound), repeated digits or blocks, and mirrored PINs lower the grade.
- Straight keypad lines receive the lowest grade. Corners, diagonals with one turn and square perimeters cap it at Weak for 4–5 digits, Fair for 6–7 and Strong for longer PINs.
- A six-digit value that could be a date from 1900–2099 caps the grade at Fair. An eight-digit date caps it at Strong.
- Two or more complete keypad rows or columns cap the grade at Fair for 6–7 digits and Strong for 8–16. Direction and order do not matter; the middle column may include zero.
- Complex connected paths and patterns covering only part of the PIN are notes, not automatic downgrades. Stricter penalties still apply.
These grades are heuristics for PINs protected by retry limits, not proof of safety. Entropy assumes uniformly random digits. Full-search times assume uninterrupted guessing; common choices may be guessed much sooner. No match in our patterns or lists does not establish randomness.
About our common-PIN reference lists
We compare 4-, 5-, 6- and 8-digit PINs with reference lists. A match flags a potentially common choice, not a global popularity rank or an attacker’s guessing order. These lists are not a representative survey of device PINs.
Current list coverage
- 4 digits
- 100 entries
- 5 digits
- 100 entries
- 6 digits
- 100 entries
- 8 digits
- 10,000 entries
Other supported PIN lengths do not currently have a common-PIN list. A missing match does not prove that a PIN is random or secure.
Research and guidance
Dataset sources and limitations are listed first. The research links that follow provide further reading on PIN security and retry limits; they are not sources for the bundled lists.
- 4, 5 and 6 digits: RockYou password dataset — Software Reliability Lab pin-bank (2018)
Top 100 number sequences per length, in source frequency order. Sequences may be fragments of longer numbers. A match flags a common choice; frequency position does not change the score and is not an attacker’s guessing rank. The source has no eight-digit list.
- 8 digits: bundled reference list; original dataset, collection date, and frequency rankings unverified.
- NIST SP 800-63B-4
- On the Security of Smartphone Unlock PINs (2021)
