Password Entropy Explained

Password entropy tells you how hard a password is to guess by measuring its unpredictability in bits. The higher the entropy, the longer it takes to crack by brute force. Understanding entropy is the single most useful tool for evaluating password strength.

The Formula

Entropy is calculated with one simple formula:

H = L × log₂(N)

Example: A 16-character password using all character types (pool of 83) gives 16 × log₂(83) ≈ 102 bits.

Character Pool Sizes

The pool size depends on which character types a password uses:

Character TypeExamplePool Size
Lowercase lettersa–z26
Uppercase lettersA–Z26
Digits0–910
Common symbols!@#$%^&*…21
All types combined83

Note: This tool uses 21 common symbols (!@#$%^&*()-_=+[]{}<>?) rather than all 32 printable ASCII special characters, to maintain broad compatibility with website password fields.

Entropy Examples

The table below uses accurate entropy values based on the actual pool sizes above.

LengthCharacter TypesPoolEntropyVerdict
6Lowercase only2628.2 bitsVery Weak
8Lowercase only2637.6 bitsWeak
12Lowercase only2656.4 bitsModerate
8Alphanumeric6247.6 bitsWeak
12Alphanumeric6271.5 bitsModerate
16Alphanumeric6295.3 bitsStrong
12All types8376.5 bitsModerate–Strong
16All types83102.0 bits ✓Very Strong
20All types83127.5 bitsExtremely Strong
32All types83204.0 bitsUnbreakable

How Many Bits Do You Need?

EntropyAssessmentRecommended Use
< 40 bitsVery WeakDo not use
40–59 bitsWeakNon-critical, temporary
60–79 bitsModerateAcceptable with 2FA
80–99 bitsStrongRecommended minimum
100+ bitsVery StrongAll accounts, especially critical

At 10 billion guesses per second — a realistic offline attack rate against SHA-256 hashed passwords on a modern GPU — a password with 80 bits of entropy would take approximately 1.9 trillion years to crack by exhaustive search.

Why Length Beats Complexity

A common misconception is that passwords like P@ssw0rd! are secure because they mix character types. In reality, this specific pattern is in every attacker's dictionary. The entropy of the pattern is what matters, not just the character set.

A truly random 12-character lowercase password (56.4 bits) is far harder to crack than a human-invented "complex" 8-character password that follows a predictable pattern. Always use a generator — never invent passwords yourself.

NIST SP 800-63B (2017) explicitly moved away from mandatory complexity requirements (forced uppercase, symbols, expiry rotations) because they encourage predictable patterns and do not meaningfully improve security. The standard now emphasizes length and screening against known-breached password lists.

How This Tool Calculates Entropy

For random passwords, the tool computes H = L × log₂(N) using the exact character pool you selected. This is the theoretical maximum entropy for a randomly generated password of that length and pool.

For memorable passwords (Word-Word-Word format), the tool calculates true entropy based on the actual generation space: number of words³ × number range × symbol count. This is significantly lower than character-based detection would suggest.

FAQ

What is password entropy?

Password entropy is a measure of unpredictability expressed in bits. Calculated as H = L × log₂(N), where L is length and N is pool size. It represents the theoretical work required to guess the password by brute force.

How is password entropy calculated?

Multiply the password length by log₂ of the character pool size. For example: 16 characters × log₂(83) = 16 × 6.38 ≈ 102 bits.

Is 80 bits of entropy enough?

Yes. At 10 billion guesses/second, a search through half of 280 possibilities takes approximately 1.9 trillion years. 80 bits is the widely recommended minimum for strong passwords.

Does complexity improve entropy?

Only if it genuinely increases the pool size used by a random generator. Human-invented complexity patterns (substituting @ for a, 0 for o) are predictable and add minimal real entropy.

What is the difference between bits and character count?

Bits measure the information content of the password, independent of encoding. A 16-character password with an 83-character pool contains 102 bits of entropy — meaning there are 2102 equally likely possibilities.

Ready to generate a password with real entropy? Use the secure password generator.

Also read: Password vs. PassphraseHow Secure Is My Password?

We do not collect, store, or transmit any passwords.