Paritian

Work & Productivity

PIN Generator

Random numeric PINs of any length, with how many combinations exist and the entropy.

Results

PINs 4366 1268 2006 3113 4950
Possible combinations 10,000
Entropy 13.29 bits

What this tool does

A four-digit PIN has exactly ten thousand possibilities, which sounds like a lot until you learn how few of them people actually use. Drawing one at random puts you somewhere in the whole range rather than in the crowded corner, and adding two digits multiplies the space by a hundred at the cost of two more button presses.

Formula

combinations = 10^length

Variables

SymbolMeaningUnit
lengthDigits in the PIN
countHow many
seedSeed
OUTPINs
CBPossible combinations
ENEntropybits

Worked example

  • Digits in the PIN4
  • How many5
  • Seed2026
  • PINs4366 1268 2006 3113 4950
  • Possible combinations10,000
  • Entropy13.29 bits

Limitations

  • The calculation runs entirely in your browser. The values you type are never sent to a server.

Frequently asked questions

Why avoid choosing a PIN yourself?

Because people choose from a very small part of the range. Studies of leaked PIN sets keep finding the same thing: a handful of codes — 1234, 1111, 0000, and years beginning 19 — account for a large share of all PINs in use, so guessing the most common few gets an attacker in far more often than one try in ten thousand would suggest. A randomly drawn PIN is spread evenly across the whole range.