Password Entropy Explained

Entropy is useful when it describes a known random generation process. It is much less reliable when someone tries to assign a precise number to a password invented by a person.

What does entropy mean?

If a generator can produce N equally likely outputs, the theoretical selection entropy is log₂(N) bits. One additional bit doubles the number of equally likely possibilities. This is a property of the selection process, not a guarantee that the resulting credential cannot be stolen.

A word example

Five independent selections from a 2,048-word list create 2,048⁵ possible sequences. Because 2,048 is 2¹¹, that process provides 55 bits of theoretical selection entropy. If a person chooses the words, removes words they dislike, or follows a theme, the uniform-random assumption no longer holds.

A character example

Twenty independent characters selected uniformly from a 64-character pool provide 20 × log₂(64) = 120 bits. The formula works because the pool size and selection method are known. A human-created 20-character password cannot automatically be assigned the same value.

Why crack-time calculators disagree

An offline attack depends on the password-hashing method, work factor, available hardware, attacker budget, leaked information, and whether the generation method is known. An online attack may be slowed or blocked by rate limiting and additional authentication. A single “time to crack” number without these assumptions is easy to misread.

What entropy cannot measure

Entropy does not protect against phishing, malware, password reuse, compromised recovery channels, stolen sessions, or a service storing passwords poorly. It is one useful measurement, not a complete account-security score.