How to create a strong, memorable password

A strong password is long, random and used for one account only. Aim for at least 15 characters. Let a password manager generate a random one, or join four to six random words into a passphrase you can remember. Skip tricks like P@ssw0rd, which attackers try first, and add two-step verification.

The short answer: length beats complexity

Most guidance has moved away from “use a capital, a number and a symbol”. The US standards body NIST now tells websites not to force those mixes, and asks them to accept long passwords (at least 64 characters) and to let people paste from a password manager. The UK’s National Cyber Security Centre (NCSC) points out that a password such as “Pa55word!” can satisfy a website’s rules and still be easy to guess.

What matters is how many guesses an attacker needs. For a password chosen truly at random, that depends on two things only: how many symbols you pick from, and how many you pick. The chart shows the strength, in bits, of several random choices. Every extra bit doubles the number of guesses.

Strength of random passwords, in bits
  • 8 random characters (94 symbols)52.4 bits
  • 12 random characters (94 symbols)78.7 bits
  • 16 random characters (94 symbols)105 bits
  • 4 random words51.7 bits
  • 5 random words64.6 bits
  • 6 random words77.5 bits

Random words come from a list of 7,776 words, so each word adds about 12.9 bits (the EFF long list). Each random character from the 94 printable keyboard symbols adds about 6.6 bits.

Show the data as a table
Strength of random passwords, in bits: the data
MethodBits
8 random characters (94 symbols)52.4
12 random characters (94 symbols)78.7
16 random characters (94 symbols)104.9
4 random words51.7
5 random words64.6
6 random words77.5

Notice that six random everyday words (about 78 bits) are almost as strong as twelve random characters (about 79 bits), and far easier to remember and type. That is why the EFF recommends six words for a passphrase.

Common password myths

Tap each card to see what the evidence says.

Myth Adding a symbol and a number makes any password strong.

Fact Attackers know the usual substitutions (a→@, o→0, a “1!” at the end) and try them early. NCSC’s own example, “Pa55word!”, follows every rule and is still quite guessable.

Myth You should change your passwords every few months.

Fact NIST says sites should not require periodic changes. Change a password when you have reason to think it was exposed, and otherwise leave a strong, unique one alone.

Myth Eight characters with every character type is safe enough.

Fact Eight random characters from the full keyboard are about 52 bits. Against fast offline guessing of a stolen database, the average time is about 8 hours in our model (see the calculator below).

Myth A password manager puts all your eggs in one basket.

Fact It does create one thing to protect, so protect it with a long passphrase and two-step verification. The alternative, remembering passwords you reuse or can easily guess, exposes every account after one breach.

Three good ways to make a password

Pick the method that fits the job. The tabs show when each one makes sense and how to do it.

Manager-generated

Best for almost every account. Let your password manager create a random password of 16 characters or more, and let it fill the field. You never need to remember it, so make it long. Use our password generator if you do not have a manager yet, then paste the result straight into the new-password box.

Strength: about 105 bits for 16 random characters.

Random-word passphrase

Best for the few passwords you must type from memory: your password manager, your computer login and your phone. Choose words at random, with dice or a generator such as our passphrase generator, never ones that “feel” random. Use five or six words.

Strength: about 65 bits for five words and 78 bits for six.

Numeric PIN

Some things only accept digits: phone unlock, bank cards. Use a random PIN from our PIN generator and avoid dates, repeats and runs such as 1234. A PIN is only safe when something else limits the number of tries, such as a lock-out after a few wrong attempts.

Compare the options

How common password methods compare
MethodStrengthEasy to remember?Best for
16 random characters from a managerAbout 105 bitsNo, but the manager fills it inEvery ordinary account
6 random wordsAbout 78 bitsYes, after a few days of usePassword manager, computer and phone
4 random wordsAbout 52 bitsYesLow-value logins that also use two-step verification
Word plus “1!” or P@ssw0rd-style swapsMuch lower than it looksYesNothing. Attackers try these patterns first
The same password reusedZero extra protectionYesNothing. One breach exposes every account

How long would it take to crack?

The graph assumes an attacker who has stolen a database of passwords protected by a fast hash and can try 100 billion guesses a second on specialised hardware. That is a deliberately pessimistic case, and the speeds are illustrative, not measurements. The vertical axis is logarithmic, so each gridline is far longer than the one below it.

Average time to find a random password, by length
1 second1 hour1 year1,000 years1 million yrs1 billion yrsAge of universePassword length (characters)6810121416
  • Lowercase letters only (26)
  • Letters and digits (62)
  • Every keyboard symbol (94)

Assumes 100 billion guesses a second, a fast hash and a truly random password.

Show the data as a table
Average time to find a random password, by length: the data
LengthLowercase letters only (26)Letters and digits (62)Every keyboard symbol (94)
6less than a secondless than a second3 seconds
81 second18 minutes8 hours
1012 minutes49 days8.5 years
126 days511 years75 thousand years
1410 years2 million years666 million years
167 thousand years8 billion years6 trillion years

The lines tell the story: going from 26 symbols to 94 shifts a line up a little, but adding characters moves it up much more. Now try your own numbers.

Password crack-time calculator

Choose how the password was made, how long it is, and how fast the attacker can guess. The starting values show a random 12-character password with every keyboard symbol.

Possible combinations
4.8 × 10²³
Strength
78.7 bits
Average time to guess it
75 thousand years
Verdict for this attacker
Strong

How it is calculated

Combinations = (number of possible symbols) ^ (length). Strength in bits = length × log2(number of symbols). The attacker tries about half of all combinations on average, so average time = combinations ÷ 2 ÷ guesses per second. For the starting values: 9412 ≈ 4.8 × 10²³, which is 78.7 bits, and at 100 billion guesses a second the average time is about 75 thousand years.

Assumptions. The password is picked truly at random, for example by a generator, and the attacker knows how it was made. The guess speeds are illustrative, not measurements: real speeds depend on the hardware and on how the site stores passwords. A password you made up yourself is usually far weaker than this model suggests, because people choose predictable patterns. The verdict only compares the average time with an hour, a year, a thousand years and a billion years.

A worked example

Five random words are 7,7765 combinations, about 2.8 × 10¹⁹, or 64.6 bits. Divide by two for the average and by 100 billion guesses a second: about 4.5 years. Six words take about 35 thousand years.

Against a slow, purpose-built password hash such as bcrypt (100,000 guesses a second), even four random words take about 579 years, but against a fast hash they fall in about 5 hours. The way a site stores passwords is out of your hands, which is why a longer passphrase is the safer choice.

For comparison, twelve random characters from the full keyboard take about 75 thousand years and sixteen about 6 trillion years against a fast hash.

One warning: these figures describe random choices. A password you invented yourself, such as a pet’s name with a year, is guessed from lists of common patterns and falls far faster than the arithmetic suggests.

Your password checklist

Work through these once. Your ticks stay in this browser only.

Strong password checklist

Test yourself

Five-question quiz

Pick an answer to see feedback straight away.

  1. Which change makes the biggest difference to how long a random password takes to guess?
    Show the answer

    Adding several more random characters. Each extra random character multiplies the number of possibilities. The other changes are patterns that guessing programs already try.

  2. What does NIST’s current guidance say about forcing people to change passwords on a schedule?
    Show the answer

    Do not require it; change when a compromise is suspected. NIST SP 800-63B-4 says sites should not require periodic password changes, but must act if a password may be compromised.

  3. Roughly how many bits of strength does each word add when it is chosen at random from a 7,776-word list?
    Show the answer

    About 12.9 bits. log₂(7,776) is about 12.9. Six words give about 77 bits.

  4. Which of these is the best choice for the password that unlocks your password manager?
    Show the answer

    Five or six words picked at random. A passphrase of random words is long and memorable. The other options are guessable, follow common patterns or reuse a password.

  5. What is the main danger of reusing a password?
    Show the answer

    One breach can unlock every account that shares it. Attackers try leaked passwords on other sites, a technique called credential stuffing. Unique passwords limit the damage to one account.

Tools used in this guide

Frequently asked questions

How long should a password be?

NIST requires at least 15 characters when a password is the only sign-in step, and allows a shorter one (at least 8) when it is part of multi-factor sign-in. For anything that matters, use 16 or more random characters from a manager, or five to six random words.

Is a passphrase better than a random password?

They are equally strong when both are truly random and have the same number of bits. Passphrases are easier to remember and type, so use them for the few passwords you cannot store in a manager. Use manager-generated passwords for everything else.

Do I still need symbols and numbers?

No, not for strength. Length and randomness do the work, and NIST says sites should not impose mixed-character rules. Add a symbol or number only when a site insists on it.

How can I check whether my password has leaked?

Services such as Have I Been Pwned’s Pwned Passwords can check a password without receiving it in full: your device sends only the first five characters of its SHA-1 hash and compares the answers locally. Treat any password that appears in a breach as unusable.

Is it safe to use an online password generator?

It is when the page generates the password in your browser with a cryptographic random source and sends nothing. Our password generator works that way, and you can check by turning off your connection after the page loads.

Sources and further reading

This guide gives general information and is not personalised security advice. Crack times are estimates from a simple model with assumed guessing speeds, not predictions.