By the usual textbook arithmetic, “P@ssw0rd2026” carries about 79 bits of entropy: twelve characters, each drawn from 95 possible keyboard symbols. A password-strength estimator built to think like an attacker puts it at about 19.5 bits, roughly the difference between a lock with a billion trillion combinations and one with under a million. The gap comes from one misunderstanding about what entropy measures. Entropy belongs to the process that made the password, not to the string itself, and that distinction decides which advice actually protects an account.
What entropy measures
Bits of surprise
In information theory, a password’s entropy in bits is the base-2 logarithm of the number of equally likely possibilities it was chosen from. One coin flip is one bit. A password picked at random from a million possibilities is about 20 bits, because 2^20 is roughly a million. Each added bit doubles the number of guesses an attacker needs in the worst case.
The process, not the string
The catch is “equally likely” and “at random.” The string “kq7#Lm2!vZ9p” and the string “P@ssw0rd2026” have the same length and use the same kinds of characters. The first came from a random generator. The second came from a person starting with the word “password” and applying the letter-for-symbol swaps that guessing tools already try. An attacker doesn’t try strings in alphabetical order; they try the likely ones first.
Random characters
When characters really are chosen at random, the arithmetic is straightforward: length times the base-2 logarithm of the alphabet size.
| Alphabet | Bits per character | 8 chars | 12 chars | 15 chars | 16 chars |
|---|---|---|---|---|---|
| Lowercase (26) | 4.70 | 37.6 | 56.4 | 70.5 | 75.2 |
| Upper + lower (52) | 5.70 | 45.6 | 68.4 | 85.5 | 91.2 |
| Letters + digits (62) | 5.95 | 47.6 | 71.5 | 89.3 | 95.3 |
| Printable ASCII (95) | 6.57 | 52.6 | 78.8 | 98.5 | 105.1 |
Length does more than variety. Fifteen random lowercase letters beat eight random characters from the full keyboard by about 18 bits.

Measuring what people actually pick
An attacker’s-eye estimator
Dropbox engineer Dan Wheeler released zxcvbn in 2012 to estimate strength the way an attacker would. His post introducing it explains that it matches against several dictionaries, including English words, names and surnames, and Burnett’s list of 10,000 common passwords, and also checks keyboard patterns. It estimates how many guesses a smart attack would need. Its Python port was run on ten example passwords and compared with the naive “length times log of character set” figure.
Results
| Password | Length | Naive bits | zxcvbn bits |
|---|---|---|---|
| Password1! | 10 | 65.7 | 14.2 |
| qwertyuiop12 | 12 | 62.0 | 13.9 |
| iloveyou123456789 | 17 | 87.9 | 13.9 |
| P@ssw0rd2026 | 12 | 78.8 | 19.5 |
| Summer2026! | 11 | 72.3 | 24.7 |
| Tr0ub4dor&3 | 11 | 72.3 | 36.5 |
| kq7#Lm2!vZ9p | 12 | 78.8 | 39.9 |
| correcthorsebatterystaple | 25 | 117.5 | 48.0 |
| correct horse battery staple | 28 | 164.7 | 67.5 |
| xkcd-fern-bolt-mango-tide | 25 | 147.1 | 80.7 |
Reading it
The worst offenders aren’t short. “iloveyou123456789” is 17 characters long and rates under 14 bits, because it is a famous phrase followed by a keyboard run. “Password1!” ticks every box on a typical complexity checklist (uppercase, lowercase, digit, symbol) and still rates about 14 bits. The famous phrase “correct horse battery staple,” from the xkcd comic that Wheeler cites in his post, loses a lot of its strength precisely because it became famous; zxcvbn knows the words are common. The random string “kq7#Lm2!vZ9p” rates only 39.9 bits because zxcvbn assumes a plain brute-force search for anything with no recognizable pattern and gives it a cautious estimate; generated truly at random, its real strength is the full 78.8.
What the guess counts mean
Turning bits into time
How long a guess takes depends on the setting, which is why time-to-crack figures vary so widely online. The table uses three illustrative guess rates, not measurements: 1,000 per second for an online attack that a site throttles, 10,000 per second against a deliberately slow password hash, and 10 billion per second against a fast, unsalted hash on dedicated hardware. Times are for searching half the space, the average case.
| Bits | Online (1,000/s) | Slow hash (10,000/s) | Fast hash (10 billion/s) |
|---|---|---|---|
| 14 | 8 seconds | under 1 second | instant |
| 25 | 4.7 hours | 28 minutes | instant |
| 40 | 17 years | 1.7 years | 55 seconds |
| 52.6 | 108,000 years | 10,800 years | 4 days |
| 64.6 | 443 million years | 44 million years | 44 years |
| 77.5 | 3.4 trillion years | 340 billion years | 339,000 years |
What it shows
Anything under about 25 bits falls quickly in every scenario. Around 40 bits survives online guessing but not an offline attack on a fast hash. Somewhere past 70 bits, even the fast-hash attacker runs out of time. The other lesson is that the site’s choices matter as much as the password: a site that throttles login attempts and stores passwords with a slow hash buys its users many orders of magnitude.

Passphrases from dice
The method
The Electronic Frontier Foundation publishes word lists for building passphrases with dice. Rolling five dice at once picks one word from a list of 6^5, or 7,776, entries, and the page says that for most applications it suggests a six-word passphrase, which it puts at about 2^77 possibilities.
The arithmetic
Each word is worth log₂(7,776), about 12.9 bits. Four words give 51.7 bits, five give 64.6, six give 77.5 and seven give 90.5. Six random words land at the same strength as a 12-character password drawn at random from the whole keyboard, and they’re far easier to type and remember.
The condition
Those numbers hold only if the words are chosen by dice or a random generator. A person picking four words that “feel random” is back in the territory zxcvbn was built to catch: song lyrics, favorite things, and phrases other people have already used.
What NIST now says
Length over complexity
The U.S. National Institute of Standards and Technology’s digital identity guidelines, SP 800-63B, reflect the same thinking. Passwords used as the only authentication factor must be at least 15 characters long, while those used only as part of multi-factor sign-in must be at least eight. Services should permit passwords of at least 64 characters.
No forced complexity, no forced changes
The guidelines state that verifiers “SHALL NOT impose other composition rules,” meaning no required mix of symbols and digits. They also forbid requiring periodic password changes, while requiring a change when there is evidence a password has been compromised. Instead, new passwords must be checked against a blocklist of commonly used, expected or compromised passwords.
Why that matches the data
The zxcvbn results show why. Composition rules push people toward “Password1!” and “Summer2026!”, which satisfy the rule and fail the attacker test. Forced changes push people toward predictable increments. Length requirements plus a blocklist go after the actual weakness, predictability, and leave room for long passphrases.
Testing the two rules on a real list
The SecLists security-testing project on GitHub publishes a list of the 10,000 most common passwords, the kind of file testers and attackers both feed to guessing tools. A count of its entries shows how the two NIST rules divide the work. Of the 10,000, 7,914 are shorter than eight characters, so even the multi-factor minimum rejects them outright. Only 10 entries are 12 characters or longer, and just one reaches 15. A 15-character minimum alone rules out all but one password on the list. The blocklist matters for the shorter passwords allowed alongside a second factor: “password1”, “qwertyuiop” and “iloveyou” are all on the list. “P@ssw0rd2026”, “Summer2026!” and “Password1!” are not, because the blocklist compares the whole password, and these exact strings aren’t among the 10,000. That is the gap length closes and a list can’t.

A practical summary
For the person choosing
A password manager generating long random strings gives the full textbook entropy for every account. For the few passwords that must be memorized, such as the manager’s own master password, a dice-generated passphrase of six or more words gives around 77 bits or more in a form a person can actually type.
For the site storing them
The other half of the equation sits with whoever stores the password. Throttled logins, slow hashing and a blocklist check at signup turn a 40-bit password from a one-minute problem into a multi-year one. Entropy is a property of how a password was made, and an attacker’s guessing speed is a property of how it was stored. The strength a user actually gets comes from both.
Sources
- Dan Wheeler, “zxcvbn: realistic password strength estimation,” Dropbox Tech Blog, April 10, 2012: https://dropbox.tech/security/zxcvbn-realistic-password-strength-estimation
- Electronic Frontier Foundation, “EFF Dice-Generated Passphrases”: https://www.eff.org/dice
- SecLists, “10k-most-common.txt” (GitHub): https://github.com/danielmiessler/SecLists/blob/master/Passwords/Common-Credentials/10k-most-common.txt
- NIST Special Publication 800-63B, Digital Identity Guidelines: Authentication and Authenticator Management: https://pages.nist.gov/800-63-4/sp800-63b.html
