How Long Should a Password Be? Entropy and Passphrases
How to generate strong passwords and passphrases under 2026 guidance: length over complexity, entropy math, EFF wordlists, and common mistakes that weaken them.
Most password advice you read online is still calibrated for 2010: "use complexity, mix in symbols, change every 90 days." Modern guidance is almost the opposite. Length is what matters, complexity is a distant second, and forced rotation often makes things worse. A good password generator removes the guesswork by letting the math do the picking. This guide explains how to use one well, what the slider really controls, and where people quietly give up entropy without realising it.
Why a Password Generator
The honest answer: humans are bad at randomness. Studies of leaked password dumps show the same patterns over and over - dictionary words, predictable substitutions, names plus a year, a single special character at the end. Even when you try to be creative, your brain falls back on familiar shapes, keyboard walks, and personal anchors. A computer has no such bias when it pulls bytes from a cryptographic source, so the password it produces is uniformly distributed across whatever alphabet you allow.
The other reason is hygiene. Reusing a strong password across two sites is not stronger than using two weaker but unique passwords; one breach still owns both accounts. A generator makes "fresh password per site" the path of least resistance, especially when paired with a password manager that fills it for you.
NIST 2026 Length-First Guidance
The current NIST direction (SP 800-63B and its successors) keeps drifting toward "longer, simpler, fewer rules." Revision 4 (2025) requires at least 15 characters when the password is the only factor and at least 8 when it is part of multi-factor authentication, asks verifiers to accept at least 64, and do not force special-character mixes if length is sufficient. The reason is entropy: every character you add multiplies the search space by the size of the alphabet.
Here is what that looks like in practice for randomly generated strings, using bits = length * log2(alphabet):
| Length | lowercase (26) | + digits (36) | + upper (62) | + symbols (~86) |
|---|---|---|---|---|
| 12 | 56 bits | 62 bits | 71 bits | 77 bits |
| 16 | 75 bits | 83 bits | 95 bits | 103 bits |
| 24 | 113 bits | 124 bits | 143 bits | 154 bits |
| 32 | 150 bits | 165 bits | 191 bits | 206 bits |
A few useful anchors: 60 bits resists casual offline cracking, 80 bits is comfortable for most personal accounts, and 100+ bits is overkill but pleasantly future-proof. Notice how a 24-character lowercase-only string (113 bits) is already stronger than a 12-character "complex" string with all four classes (77 bits). That is the length-first principle in one row.
Why Passphrases Work
Passphrases - several short words joined by a separator - exploit the same entropy math from a different angle. Instead of picking a uniformly random character per slot, you pick a uniformly random word per slot. The EFF "Diceware" short list contains 1,296 words (6^4), and each independent pick contributes log2(1296) ≈ 10.34 bits.
That makes the entropy table simple:
- 4 words: ~41 bits (weak, but better than
Summer2024!) - 5 words: ~52 bits (fine for low-stakes accounts)
- 6 words: ~62 bits (our default; the classic six-word Diceware recommendation assumes the 7,776-word list, ~77.5 bits)
- 7 words: ~72 bits (recommended for sensitive accounts)
- 8 words: ~83 bits (treat as a master password)
List size matters as much as word count. Six words from the 1,296-word short list give about 62 bits; six from EFF's 7,776-word long list give about 77.5. Our generator's passphrase mode uses the full short list and defaults to six words, about 62 bits. Add a separator and they become memorable and typeable, which is the killer feature: a 24-character random string is stronger but practically unreadable, while clay-broom-flag-crisp-cheer-plank is something you can dictate over the phone.
The catch is that the words must be picked uniformly at random by software, not chosen by you. The moment you start "tweaking" the output to make it more memorable, you collapse the search space and lose the entropy you paid for.
Common Mistakes
Using Math.random() for security
Math.random() is fast but not cryptographic. Its output is predictable enough that an attacker who sees a few values can guess the rest. Anything that touches secrets - passwords, tokens, salt - has to come from crypto.getRandomValues. Our generator uses exactly that, with rejection sampling, so the per-character distribution stays uniform even when the alphabet size doesn't divide cleanly into 2^32.
Character substitution as "complexity"
P@ssw0rd! is a textbook example. The substitution rules a -> @, o -> 0, s -> $ are baked into every cracking dictionary on the planet. A length-16 truly random lowercase string laughs at any rule-based cracker; a length-9 substituted word folds in seconds.
Reusing one strong password
Reuse is the silent killer. The breach doesn't have to be on the bank - it can be on a forum you forgot about in 2017 - and credential-stuffing bots will spray that combination across hundreds of services. Use a generator + a password manager, and accept that you don't need to remember anything except the master phrase.
Skipping MFA
Even a 100-bit password is just one factor. A leaked database, a phishing form, a malware-stolen cookie - any of these bypass the password entirely. Multi-factor authentication (preferably a passkey or hardware key, otherwise TOTP) is what separates "compromised account" from "compromise attempt blocked." Treat MFA as mandatory on anything financial, identity-related, or recovery-capable for other accounts.
Trusting "strength meters" too much
Most strength meters score the shape of a password, not its actual entropy source. A meter that gives Tr0ub4dor&3 four green bars is wrong, and one that flags a 20-character random string as "weak" because it has no symbols is also wrong. Our generator computes bits = length * log2(alphabet) directly so you see real numbers, not a colour.
FAQ
How long should my master password be? Aim for 80+ bits of entropy. Eight words from the 1,296-word list (83 bits), seven from the 7,776-word list (90 bits), or a 16-character all-classes random string (103 bits) all reach it.
Should I include symbols? Only if the site allows them and the manager handles them cleanly. The marginal entropy from symbols is small compared to adding two more characters of length.
Are passphrases safe against modern crackers? Yes, when picked uniformly from a known list. A 6-word passphrase from EFF's 7,776-word long list has a search space of 7776^6 ≈ 2.2 * 10^23 (about 77.5 bits), which is unreachable for offline brute force. A smaller list needs more words for the same strength.
Why does the generator sometimes feel "boring"? Because uniform randomness has no aesthetic preference. That is a feature - your brain is precisely the bias an attacker exploits.
Open our password generator to try the length slider and the passphrase mode side by side. If you also need fair random selection - team picks, raffles, anything where unpredictability matters - check our draw lots tool, which uses the same Web Crypto foundation.