Password entropy measures how unpredictable a randomly generated password is, in bits. The formula is E = L × log₂(R), where L is the length and R is the number of possible characters. Each extra bit doubles the number of guesses an attacker needs.
The formula
Entropy (bits) = length × log2(pool size)
Example: 12 characters from 95 printable ASCII
12 × log2(95) = 12 × 6.57 = 78.8 bits
A pool of 95 covers upper and lower case letters, digits and the 33 symbols on a US keyboard. For passphrases, the pool is the word list and the length is the number of words.
Common pools
| Characters | Pool | Bits per character |
|---|---|---|
| Digits (PIN) | 10 | 3.32 |
| Lowercase letters | 26 | 4.70 |
| Letters + digits | 62 | 5.95 |
| All printable ASCII | 95 | 6.57 |
| EFF large word list (per word) | 7,776 | 12.92 |
Crack time
On average an attacker finds the password after searching half the possibilities, so the time is 2(bits − 1) divided by guesses per second. The calculator shows four speeds, from a rate-limited login form to a GPU rig attacking fast hashes.
At 10 billion guesses per second, 60 bits falls in about 1.8 years, 70 bits takes about 1,900 years, and 80 bits takes about 1.9 million years.
The big caveat
This formula is only true for passwords chosen at random. A human-chosen password like Summer2025! has the same length and character types as a random one, so the formula overrates it badly.
Use the "From a password" tab as an upper bound. For real passwords, a pattern-aware estimator gives a truer picture, so test them with the password strength checker.
How much entropy is enough?
- Under 40 bits: weak against any offline attack.
- 60–80 bits: strong for most accounts.
- 80+ bits: recommended for master passwords and encryption keys protected by a password.
Frequently asked questions
What is a good password entropy?
Aim for at least 60 bits for normal accounts and 80 bits or more for a password manager master password or encrypted backups.
Why does the calculator overrate my password?
Entropy assumes every character was picked at random. Real passwords use words and patterns that attackers try first, so their true strength is lower.
How do I calculate passphrase entropy?
Multiply the number of words by log2 of the word list size. Six words from 7,776 give 6 × 12.92 = 77.5 bits.
Do capital letters add entropy?
Only when they appear at random positions. Capitalizing the first letter, as most people do, adds about one bit.