James Goodfellow patents the coded plastic token and PIN pairing used by modern card systems.
an everyday code, decoded
The secret
life of PINs.
Why four digits guard your money, your phone, and your front door.
Scroll to explore how a bathtub idea became a global security habitWhere PIN numbers came from
Two Scots. One quiet
revolution at the cashpoint.
In the mid-1960s, two inventors separately answered the same question: how can a machine safely know it is really you?
The modern PIN
Not just an
ATM ritual.
A PIN is a small secret with a very wide footprint. Open each field note for the system behind it.
Then: four digits. Now: many devices default to six, creating one million possible combinations instead of ten thousand.
The rulebook: ISO 9564. Your PIN should never be mailed with its card, stored in readable form, or transmitted without encryption.
The pattern problem
Every four-digit
secret, mapped.
Ten thousand possible PINs. Not ten thousand equally likely choices.
PINs in the original DataGenetics analysis of leaked codes.
band
Each square is one possible PIN: the first two digits run top-to-bottom; the last two run left-to-right. Move over the grid or use arrow keys to inspect it.
Familiar wins
1234 alone represented roughly 10–11% of analyzed PINs. The first three—1234, 1111 and 0000—made up more than 18%.
Dates leave tracks
The bright diagonal comes from DD/MM or MM/DD birthdays. The stripe at 19 points to birth years used as PINs.
Patterns persist
A 2025 dark-web analysis found the same habits: repeated digits, birth years, and 1234 still at the top.
Often chosen
- 011234
- 021111
- 030000
- 041212
- 057777
- 061004
- 072000
- 084444
- 092222
- 106969
Lower-frequency examples
- 018068
- 028093
- 039629
- 047637
- 050738
- 068398
- 076793
- 088557
- 098438
- 109539
a last check
Your PIN should be
hard to guess, not hard to remember.
Try the pattern check
Nothing is saved or sent. This only checks familiar patterns illustrated on this page.