Most password advice sounds contradictory: make them long, make them complicated, never write them down, never reuse them, and somehow remember dozens of them. The rules become much simpler once you understand how passwords are actually attacked. This guide explains what makes a password strong, how to measure strength in a way that means something, and a practical system you can follow without memorising pages of gibberish.
How passwords really get broken
It helps to know what you are defending against. Very few accounts are broken by someone sitting at a login screen typing guesses. The common routes are these:
- Credential stuffing. When a website is breached, lists of email addresses and passwords are often leaked or sold. Attackers then try the same pairs automatically on email providers, shops and banks. If you reused the password, the second account falls without any guessing at all.
- Offline guessing. Breached sites usually store passwords as hashes rather than plain text. Attackers can test huge numbers of guesses against those hashes on their own hardware, with no login limit to slow them down.
- Dictionary and pattern attacks. Guessing software starts with the passwords people actually choose: common words, names, keyboard patterns like
qwerty, years, and predictable substitutions such as@foraor1!on the end. - Phishing. A fake login page simply asks you for the password. No amount of strength helps here, which is why password managers and two-factor authentication matter so much.
Two lessons follow. First, strength only helps if the password is unique; reuse defeats it completely. Second, a password is strong when it is unpredictable, not when it merely looks complicated.
Length versus complexity
For years, sign-up forms insisted on "at least one uppercase letter, one number and one symbol". The result was passwords like Summer2024!, which tick every box and are among the first things guessing software tries. Complexity rules tend to push everyone towards the same small set of tricks.
Length is a far more powerful lever. Each extra character multiplies the number of possible passwords by the size of the character set, while adding another character type only enlarges that set a little. The table shows the strength of passwords chosen completely at random:
| Length | Lowercase only (26) | Letters and digits (62) | All four types (77) |
|---|---|---|---|
| 8 characters | about 38 bits | about 48 bits | about 50 bits |
| 12 characters | about 56 bits | about 71 bits | about 75 bits |
| 16 characters | about 75 bits | about 95 bits | about 100 bits |
| 20 characters | about 94 bits | about 119 bits | about 125 bits |
A random 16-character password made only of lowercase letters is stronger than a random 8-character password that uses every character type. The pool of 77 characters in the last column matches the Preslo Password Generator with uppercase, lowercase, numbers and its 15 symbols all selected.
Entropy, explained without the headache
The "bits" in the table measure entropy, which describes how large the space of possible passwords is. For a randomly generated password the formula is short:
bits = length × log2(pool size)
The pool size is the number of different characters each position could hold. log2 answers the question "how many times must I double 1 to reach this number?" For 26 lowercase letters, log2(26) is about 4.7, so each random lowercase letter adds about 4.7 bits. With a pool of 77 characters, each position adds about 6.27 bits, and 16 positions give about 100 bits.
What makes bits useful is that every extra bit doubles the number of possibilities. A 40-bit password has about 1.1 trillion possible values; an 80-bit password has roughly a trillion times more than that. Moving from 8 to 16 characters is therefore not "twice as strong" but enormously stronger.
There is one crucial catch: the formula only applies to passwords chosen randomly. If you invent P@ssw0rd2024!, its length and character mix suggest high entropy, but its real strength is tiny because it follows patterns attackers try first. Simple strength meters that only count character types can be fooled the same way. Randomness, whether from a generator or from dice, is what makes the number honest.
Passphrases: strong and memorable
For the few passwords you must type from memory, a passphrase is usually the best choice. A passphrase is a sequence of randomly chosen words, such as orbit lantern pickle seventy cactus. The important word is randomly: a famous quotation, song lyric or sentence about yourself is not random.
A well-known method, often called Diceware, uses a list of 7,776 words. You roll five ordinary dice for each word and look up the result in the list. Because there are 6 × 6 × 6 × 6 × 6 = 7,776 possible rolls, each word adds log2(7,776), or about 12.9 bits:
| Random words | Approximate entropy |
|---|---|
| 4 words | about 52 bits |
| 5 words | about 65 bits |
| 6 words | about 78 bits |
| 7 words | about 90 bits |
Six random words give strength comparable to a random 12 or 13-character password using all character types, yet many people find the words far easier to remember and type, especially on a phone. A few tips: let chance pick the words rather than swapping in ones you like, keep the separator simple, and add a digit or symbol only if a site insists on it. Preslo's generator creates random-character passwords rather than word-based passphrases, so for a passphrase you would use dice and a published word list, or a password manager that offers this option.
A password manager does the remembering
Nobody can memorise a unique, random password for every account. A password manager solves this by storing your passwords in an encrypted vault that you unlock with one strong master password or passphrase. In practice, it changes the problem from "remember a hundred passwords" to "remember one very good one".
Password managers bring other benefits:
- They generate long random passwords for you and fill them in automatically, so length costs you nothing.
- Most will only fill a password on the website it was saved for. That gives some protection against look-alike phishing domains, because the manager will not recognize the fake site.
- They make it practical to change one password quickly after a breach.
Choose a reputable manager, protect it with a passphrase you have never used anywhere else, and turn on two-factor authentication for the manager account itself. If you prefer to generate passwords separately, you can create one with the Password Generator, which runs entirely in your browser, and paste it into the manager.
One account, one password
Reuse is the single most common weakness, because it turns one website's security failure into yours. Even a strong password becomes useless if a careless site leaks it and an attacker tries it everywhere else. Make every password unique, and give the highest priority to your email account: whoever controls your email can usually reset the passwords for everything else.
Add a second factor
Two-factor authentication (2FA) means a login needs something more than the password, such as a code from an authenticator app, a hardware security key, a passkey or a code sent by text message. A stolen or guessed password alone is then not enough.
Not all second factors are equal. Codes sent by SMS are better than nothing but can be intercepted or redirected, for example through SIM-swap fraud. Authenticator apps are a solid step up. Hardware security keys and passkeys are designed to resist phishing, because they check the website's real address before responding. Turn on the strongest option each important account offers, and store the backup codes somewhere safe.
What current NIST guidance recommends
The US National Institute of Standards and Technology publishes digital identity guidelines in Special Publication 800-63B. They are written for organisations that run login systems rather than for individuals, but they reflect modern thinking and explain why many websites have relaxed their old rules. In broad terms, the guidance says services should:
- Favour length over forced complexity. Set a sensible minimum length, allow long passwords (at least 64 characters), and avoid rules that demand particular mixes of character types.
- Stop forcing periodic changes. Passwords should not have to be changed on a fixed schedule, only when there is evidence they have been compromised. Forced rotation tends to produce predictable variations such as
Spring2025!becomingSummer2025!. - Screen new passwords against known-bad lists. Check passwords against lists of previously breached, very common or obviously predictable choices, and reject matches.
- Make good passwords easy to use. Accept spaces and a wide range of characters, allow pasting so password managers work, and drop password hints and security questions.
The lesson for everyday users is consistent with everything above: long and random beats short and clever, and there is no need to change a strong, unique password unless you suspect it has leaked.
A simple routine you can follow today
- Pick a password manager and create a six-word random passphrase as its master password.
- Turn on two-factor authentication for your email and your password manager first.
- Change any password you have reused, starting with email, banking and shopping accounts, replacing each with a unique random password of 16 or more characters.
- Use the "exclude look-alike characters" option in a generator when you might need to read a password aloud or type it from paper, at a small cost in entropy.
- When a service tells you it has been breached, change that password straight away, and anywhere else you may have used it.
If you are curious about how websites store passwords as hashes, the Hash Generator shows what common hash functions produce for a given input. Real login systems use deliberately slow, salted password-hashing schemes, so treat it as an illustration rather than a model of good storage.
Key takeaways
- Unpredictability is what counts; length is the easiest way to get it.
- Entropy (length × log2 of the pool size) is only meaningful for randomly generated passwords.
- Use random passphrases for the few passwords you must remember, and a password manager for the rest.
- Never reuse a password, and protect your email account above all.
- Turn on two-factor authentication, preferring authenticator apps, security keys or passkeys over SMS.
- Change a password when there is a reason to, such as a breach, not on a calendar.
