Password Entropy, Explained in Bits

Entropy is the one honest number in password strength: it counts, in bits, how many yes/no questions an attacker must answer to find your password by guessing. A password with B bits of entropy takes on average 2B−1 guesses. For a password drawn uniformly at random, the math is a single line — bits = length × log2(pool size) — and every figure on this site comes from it.

bits = length × log2(pool size)

One bit, one doubling

Each bit doubles the search space. A pool of 94 printable characters gives log2(94) ≈ 6.55 bits per character, so a 16-character password carries 104.9 bits and an attacker faces 2105 possibilities. Nothing about that depends on the password "looking random" — it depends only on it actually having been drawn uniformly from the pool. That is why this site generates with crypto.getRandomValues and rejection sampling rather than asking you to mash keys: mashed keys are not a uniform draw.

Pool sizes, honestly

PoolSizeBits per character12 characters16 characters
Digits103.3239.9 bits53.2 bits
Lowercase264.7056.4 bits75.2 bits
Lowercase + digits365.1762.0 bits82.7 bits
Letters525.7068.4 bits91.2 bits
Letters + digits625.9571.5 bits95.3 bits
All printable ASCII946.5578.7 bits104.9 bits

The same formula prices words. Drawing uniformly from a list of 1,316 words gives log2(1316) ≈ 10.36 bits per word — more per unit than any single character, which is why five words reach 51.8 bits while staying typeable. Entropy does not care whether the symbols are letters or words; it cares how many there are and how they were chosen.

Where the headline number leaks

The formula prices a uniform random draw. Human choices are not uniform, so their true entropy is lower — often far lower — than the formula suggests:

The strength checker turns that into arithmetic: it starts from the formula and subtracts explicit penalties for each pattern it finds, so you can see the deduction rather than trust a color. And the clean way to keep the full headline number is to not choose at all — generate the password, or draw the words, and let uniformity do the work.

FAQ

How many bits is "enough"?

Against offline guessing at a stated 10 billion guesses/second, 60 bits lasts months-to-years and 80 bits lasts geological time. This site recommends ≈95+ bits for stored passwords (16 characters, letters+digits+symbols) simply because managers make it free.

Is entropy the same as password strength?

Entropy is the measurable part of strength: resistance to guessing. It says nothing about phishing, reuse, or malware, which defeat strong passwords without guessing. Both halves matter.

Why do calculators disagree about the same password?

They assume different pools and different pattern penalties. Any calculator that will not show its formula and deductions is asking for trust instead of offering evidence; this one shows both.