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)
- H — entropy in bits
- L — password length (number of characters)
- N — character pool size (number of unique characters available)
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 Type | Example | Pool Size |
|---|---|---|
| Lowercase letters | a–z | 26 |
| Uppercase letters | A–Z | 26 |
| Digits | 0–9 | 10 |
| Common symbols | !@#$%^&*… | 21 |
| All types combined | 83 |
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.
| Length | Character Types | Pool | Entropy | Verdict |
|---|---|---|---|---|
| 6 | Lowercase only | 26 | 28.2 bits | Very Weak |
| 8 | Lowercase only | 26 | 37.6 bits | Weak |
| 12 | Lowercase only | 26 | 56.4 bits | Moderate |
| 8 | Alphanumeric | 62 | 47.6 bits | Weak |
| 12 | Alphanumeric | 62 | 71.5 bits | Moderate |
| 16 | Alphanumeric | 62 | 95.3 bits | Strong |
| 12 | All types | 83 | 76.5 bits | Moderate–Strong |
| 16 | All types | 83 | 102.0 bits ✓ | Very Strong |
| 20 | All types | 83 | 127.5 bits | Extremely Strong |
| 32 | All types | 83 | 204.0 bits | Unbreakable |
How Many Bits Do You Need?
| Entropy | Assessment | Recommended Use |
|---|---|---|
| < 40 bits | Very Weak | Do not use |
| 40–59 bits | Weak | Non-critical, temporary |
| 60–79 bits | Moderate | Acceptable with 2FA |
| 80–99 bits | Strong | Recommended minimum |
| 100+ bits | Very Strong | All 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. Passphrase • How Secure Is My Password?
We do not collect, store, or transmit any passwords.