Example 1
- length 12
- charset 95
78.8 bits
What entropy at 12 and 95 characters? 78.8 bits. Shannon, not a cracker.
Type a length and a charset. 12 and 95 give 78.8 bits. 8 and 62 give 47.6 bits. 16 and 26 give 75.2 bits. Shannon bits, not a cracker.
This is len × log2(charset) for independent characters. Not a cracker and not HaveIBeenPwned. Hash risk sits on hash collision probability.
Enter data and click Calculate.
Password Entropy Calculator in this calculator is length times log2 of the charset. 12 characters and 95 give 78.8 bits. 8 and 62 give 47.6 bits. 16 and 26 give 75.2 bits. The calculator does not crack a password and does not query HaveIBeenPwned.
Field pass-len is the length. Select pass-charset in the examples is 95, 62, or 26. Field pass-chars gets the same number. 12 × log2(95) ≈ 78.8. 8 × log2(62) ≈ 47.6. 16 × log2(26) ≈ 75.2.
78.8 bits is not a hashcat measurement. 47.6 bits does not come from rockyou. 75.2 bits on lowercase only does not know a dictionary. You type length and charset. This is not a leak checker.
Hash collisions next door take n and digest bits. JWT token size estimates token characters. Here 12 and 95 stay 78.8 bits, Shannon alone.
Type 12, leave charset 95, then Calculate. The result is 78.8 bits. Charset 62 at 8 gives 47.6 bits. Zero length gives no bits.
12 and 95 give 78.8 bits. 8 and 62 give 47.6 bits. 16 and 26 give 75.2 bits. Another length at 95 changes 78.8 bits.
bits = length × log2(charset). Shannon for independent characters, not a cracker.
Bits = length × log2(charset). 12 and 95 give 78.8 bits. Not a cracker.
78.8 bits
What entropy at 12 and 95 characters? 78.8 bits. Shannon, not a cracker.
47.6 bits
What entropy at 8 and 62? 47.6 bits.
75.2 bits
What entropy at 16 and 26? 75.2 bits.
78.8 bits. 12 × log2(95). Shannon, not a cracker.
47.6 bits. Alphanumeric charset 62.
75.2 bits. Lowercase only, a longer entry.
No. No hashcat and no HaveIBeenPwned.
95, 62, or 26 in the examples. pass-chars gets the same number.
No. The formula assumes independent characters. A list word is weaker.
No. Length must be positive.
That card uses n and digest bits. Here 12 and 95 give 78.8 bits.
Yes as a number. The examples keep 12, 8, and 16.
The calculator counts bits, bytes or throughput from your numbers. Below are SI and bit definitions (NIST).
Page updated in 2026.
Password entropy is the number of bits describing how much "uncertainty" (randomness) a password carries against a guess-and-check attack. Higher entropy means more possible combinations to search through — it is the standard strength measure used in cryptography and security guidance (e.g. NIST SP 800-63B).
The calculator computes entropy as H = L × log₂(N), where L is the password length and N is the number of possible characters in the set. The full keyspace is N^L — too large a number to display directly, so we show its base-10 logarithm instead (log₁₀(N^L) = L × log₁₀ N).
| Set | Character count (N) | Bits per character (log₂N) |
|---|---|---|
| Lowercase a-z | 26 | ~4.70 |
| Lowercase + uppercase | 52 | ~5.70 |
| Alphanumeric (a-zA-Z0-9) | 62 | ~5.95 |
| Full ASCII (with special characters) | 95 | ~6.57 |
This formula assumes each character is chosen uniformly at random. In practice, people pick dictionary words, common substitutions (a→@, o→0), and patterns (a year, a name plus digits) — the real entropy of such a password is much lower than this calculator’s output. That is why a passphrase built from several random words can be practically stronger than a short "random-looking" password.