Find a course

Module 2: Creating Strong PasswordsLesson 3 of 1112 min

Length Beats Complexity: Passphrases and Entropy

Measure password strength in bits of entropy, build random passphrases from word lists, and see why four random words can beat a short jumble of symbols.

Step 1 of 13Learn

M@rath0n&5 or four random words?

Which is stronger: M@rath0n&5 or lantern ostrich velvet pumpkin? Most people pick the first, because it looks complicated. It's actually the weaker one.

The first password is a real dictionary word with predictable substitutions (@ for a, 0 for o) and a symbol and digit tacked on. Attack tools try exactly those tricks. Its real unpredictability is far smaller than its jumbled appearance suggests, and it's hard to remember, so people write it down or reuse it.

The second is a passphrase: several words chosen at random from a large list. It's long, easy to type, easy to remember with a quick mental picture (a lantern-carrying ostrich in a velvet coat, sitting on a pumpkin), and, if the words really were picked randomly, very hard to guess.

Security experts measure unpredictability in bits of entropy. Each bit doubles the number of guesses an attacker needs. A password with 40 bits needs about a trillion guesses; one with 80 bits needs about a trillion times more than that. The key word is random: entropy only counts if the choice came from chance, not from your head.

Step 2 of 13Compare

M@rath0n&5 vs lantern ostrich velvet pumpkin

AspectM@rath0n&5lantern ostrich velvet pumpkin
Built fromOne dictionary word plus common tricksFour words picked at random
Length10 characters30 characters
What attack tools trySubstitutions and a digit at the end, early onMust search every combination of words
Easy to remember?No: people write it down or reuse itYes, with a silly mental picture
Real unpredictabilityFar less than it looksHigh, if the words were truly random

Step 3 of 13Learn

Calculating entropy

For a password chosen completely at random, entropy is:

entropy (bits) = L × log₂(N)

where L is the number of symbols (characters or words) and N is the number of possible choices for each one.

  • A random lowercase letter: log₂(26) ≈ 4.7 bits. So 12 random lowercase letters ≈ 56 bits.
  • A random character from all 95 printable symbols: log₂(95) ≈ 6.6 bits. So 10 random characters ≈ 66 bits.
  • A random word from a list of 7,776 words (a standard dice word list, five dice per word): log₂(7,776) ≈ 12.9 bits. So 5 random words ≈ 65 bits, and 6 words ≈ 78 bits.

How much is enough? For important accounts, many security professionals suggest aiming for roughly 70 bits or more for passwords you create yourself, and password managers easily generate 100 or more. For a master password that protects a password manager, use at least 6 random words.

The formula assumes the attacker knows your method, for example "six words from this list." That's fine. The security comes from the random choice, not from keeping the method secret.

Step 4 of 13Practice · Work it out

Using a word list of 7,776 words (about 12.9 bits per word), how many bits of entropy does a 6-word random passphrase have? Round to the nearest whole number.

Step 5 of 13Try the calculator

Entropy calculator

Compare random characters with random words. Entropy only applies if each choice is truly random.

Character password entropy
71.5 bits
Passphrase entropy
64.6 bits
Difference (positive favors the passphrase)
-6.8 bits

Step 6 of 13Learn

Making a good passphrase

The weak point of passphrases is people choosing the words themselves. "I love my dog Max" is four words, but it's a phrase that people actually say, built from very common words. Song lyrics, movie quotes and famous sayings are all in attackers' lists.

To make a strong passphrase:

  1. Let chance choose. Use real dice with a published dice word list, or a password manager's passphrase generator. Don't pick words that "feel random."
  2. Use enough words. Five words for ordinary accounts, six or more for a master password or your main email.
  3. Keep the words in the order they came. Rearranging them into a sentence that makes sense reduces randomness.
  4. Separators are optional. Spaces, dashes or nothing all work. If a site insists on a digit, uppercase letter or symbol, add one, but the strength comes from the words.
  5. Make a memory hook. Picture a silly scene linking the words, and type the passphrase a few times over the first days.

Good modern sites accept long passwords and spaces. If a site limits passwords to something short like 12 characters, that's a warning sign about how it handles security; use a random password from your manager there.

Step 7 of 13Note

Step 8 of 13Practice · Choose one

Which passphrase is likely the strongest?

Step 9 of 13Practice · Select all that apply

Which practices make a passphrase stronger? Select all that apply.

Select all that apply.

Step 10 of 13Note

Step 11 of 13Practice · Choose one

Two random passwords are compared: (A) 6 words from a 7,776-word list, (B) 10 characters from all 95 keyboard symbols. Which has more entropy?

Step 12 of 13Practice · Chart

Entropy of truly random passwords

Which is the shortest option here that clears the 70-bit target?

Tap the bar that answers the question, then press Check.

Entropy of truly random passwordsBar chart with 6 categories: 8 random chars (all symbols): 52.6 bits; 12 random lowercase: 56.4 bits; 5 dice words: 64.6 bits; 10 random chars (all symbols): 65.7 bits; 6 dice words: 77.5 bits; Manager: 20 random chars: 131 bits.0 bits50 bits100 bits150 bits8 random chars (all symbols)52.6 bits12 random lowercase56.4 bits5 dice words64.6 bits10 random chars (all symbols)65.7 bits6 dice words77.5 bitsManager: 20 random chars131 bits
Entropy = L × log₂(N). About 70+ bits is a good target for passwords you create; every extra bit doubles the guesses.
Entropy of truly random passwords
ItemBits of entropy
8 random chars (all symbols)52.6 bits
12 random lowercase56.4 bits
5 dice words64.6 bits
10 random chars (all symbols)65.7 bits
6 dice words77.5 bits
Manager: 20 random chars131 bits

Step 13 of 13Practice · True or false

A passphrase stays strong even if an attacker knows you created it with six random words from a public 7,776-word list.