Skip to content
Password Generator
Learn 02

Passphrase vs password: how many random words do you need?

7 min read · 7 sections

Four words rolled from the EFF list are worth 51.7 bits. Four words you chose because they sound nice are worth whatever a word-frequency list says, and that is usually far less. A passphrase is only as strong as the way its words were picked, so the real question is how many random words you need, not which words you like.

Official advice on this varies by a factor of two or more, and the numbers look contradictory until you put them in bits. Here is the table I hand to people, the rules for adding extras, and a worked dice example you can repeat on your kitchen table.

What the EFF list gives you

Diceware turns dice rolls into words. The EFF large list has 7,776 words, which is 6⁵: one word per combination of five dice. Each word therefore carries log₂(7776) = 12.925 bits when it is chosen at random. The words average about seven letters, none is shorter than three or longer than nine, and no word is a prefix of another, so even a passphrase with no separator can only be split one way. The EFF's own write-up explains the design and why entropy must be calculated assuming the attacker knows the list and the method.

That last point is the one people miss. The list is public and the method is public. The only secret is which words the dice picked, so strength is the word count times 12.925 and nothing else. Letters, length and cleverness do not enter the sum.

Word counts in bits and time

Random EFF words, worst-case time to try every combination
WordsBitsTypical length with hyphensSlow hash, 10⁴/sFast hash, 10¹⁰/sGPU rig, 10¹²/s
338.77about 23 characters1.5 years47 secondsinstant
451.70about 3111,600 years4.2 days1.0 hour
564.62about 3990 million years90 years329 days
677.55about 47700 billion years700,000 years7,000 years
790.47about 555.4 quadrillion years5.4 billion years54 million years
8103.40about 634.2 × 10¹⁹ years4.2 × 10¹³ years4.2 × 10¹¹ years
Bar chart of passphrase bits for 3 to 8 EFF words: 38.8, 51.7, 64.6, 77.6, 90.5 and 103.4, with the 60 and 80 bit marks
Each added word moves the bar by 12.9 bits, a factor of 7,776 in work.

Times are worst case; on average the attacker finds the passphrase in half of them. The speeds are the same four scenarios used across this site, explained in the entropy guide. Three words survive a throttled login form easily and fall in under a minute to a fast offline attack, which is why I do not stop at three when the passphrase protects something an attacker can attack offline.

Three words, or five to seven?

The UK NCSC recommends three random words for passwords that are long and strong enough for most purposes yet memorable, and warns that complexity rules push people into predictable patterns. CISA asks for at least 16 characters, either a random mix or a passphrase of 5 to 7 unrelated words. Both say the words must be random or unrelated, and both prefer a password manager where one is practical.

Put in bits, the advice does not conflict. Three words is 38.8 bits, a sensible floor where the service limits guessing. Five to seven words is 64.6 to 90.5 bits, a margin for the case where a hash leaks. My own rule follows from the table:

  • 5 words for an account you will type and where a second factor backs you up.
  • 6 to 7 words for a password-manager master password, a disk-encryption passphrase, or anything an offline attack could target.
  • 3 words only when the system throttles guesses and nothing better is allowed.

Capitals, digits and separators barely matter

Many sites demand a capital or a digit. You can satisfy them without pretending they make the passphrase stronger. The generator counts each option exactly, and the numbers are small:

What the options add to a random passphrase
SettingBits
5 words, hyphens, no options64.62
Different separator, or none+0
Capitalise every word+0
Capitalise one random word+2.32 (log₂ 5), total 66.95
Add one digit to one random word+5.64 (log₂ 10 + log₂ 5), total 70.27
6 words, digit and one capital77.55 + 3.32 + 2.58 + 2.58 = 86.04

A separator or an "all words capitalised" rule is a fixed pattern the attacker assumes, so it adds nothing. A sixth word adds 12.9 bits; a digit adds 5.6. If a site wants a digit, add it, then decide the word count on its own merits.

Roll your own with real dice

If you do not want to trust any software to be random, use dice. The method is mechanical:

  1. Roll five dice together. Read the digits left to right, for example 1 6 6 5 5.
  2. Convert the code to a position: subtract 1 from each digit and read the result in base 6. For 16655 that is 0 × 1296 + 5 × 216 + 5 × 36 + 4 × 6 + 4 = 1288 counting from zero.
  3. Look up the word at that position in the list. Position 1288 is "contusion".
  4. Repeat for each word. Write the words down before you decide how to join them.

The tool's dice mode does the lookup for you, offline, from codes you type. In dice mode the page only looks the words up, so the capital and digit options are switched off; add them by hand if a site insists. Here is a five-word example, which is an illustration and not something to use now that it sits on a web page:

Five dice codes and their words
CodeWord
16655contusion
43264overrun
55555spotter
25236emptier
61143subside

Joined with hyphens that reads contusion-overrun-spotter-emptier-subside and is worth 5 × 12.925 = 64.62 bits, provided the dice are fair. The corner cases are the ends of the list: 11111 gives "abacus" and 66666 gives "zoom".

Diagram: five dice showing 1 6 6 5 5 become the base-6 position 1288, which points to the word contusion in the EFF list
Five dice are a base-6 number between 0 and 7,775.

A passphrase against a random string

Five EFF words (64.6 bits) match ten random characters from the 88-character set (10 × 6.46 = 64.6 bits). Eight words (103.4 bits) match sixteen random characters. The passphrase costs you about 39 or 63 characters of typing against 10 or 16, and in return you can remember it, say it aloud and type it on a television remote. The random string wins when something else remembers it for you.

That sorts the uses. Passphrases belong where a human has to recall and type the secret: the master password for the manager, a disk-encryption or device passphrase, a Wi-Fi key you read out to guests. A long random string stored in a manager is better for everything else, and the only workable choice when a site caps length below what a passphrase needs.

Mistakes that undo the maths

  • Choosing the words yourself. People pick related, common words, and an attacker's word list is built from exactly those habits. Let dice or the generator choose, and do not re-roll until you like the result.
  • Counting letters. Six EFF words are 77.55 bits whether they are long or short.
  • Replacing letters with symbols. "C0ntus1on" is one word with a known swap, not extra entropy. The checker guide shows what those swaps are worth.
  • Reusing the passphrase. One master phrase for one purpose.

The words come from an English list in every language of this site; the interface is translated but the list is not, because strength depends on the list size. For the policy numbers behind the choice, see NIST, CISA and NCSC side by side, or open the generator and set the passphrase tab to five words.

Quick answers

Are three random words secure enough?

Three words are 38.8 bits. That suits an account whose login throttles guesses, as the NCSC advice assumes, but it falls in under a minute to a fast offline attack. I use at least five words for anything I type often.

Is a passphrase better than a password?

Per character typed, a random string is stronger. Per character remembered, a passphrase of random words is far easier to recall, so it fits secrets you must type from memory, such as a manager's master password.

How many words should a passphrase have?

Five words (64.6 bits) for ordinary accounts, six or seven (77.6 or 90.5 bits) for a master password or disk encryption. Choose the words by dice or a generator, never by hand.

Do capital letters and digits strengthen a passphrase?

Barely. Capitalising every word or changing the separator adds nothing, capitalising one random word adds log2 of the word count, and one random digit adds about 5.6 bits at five words. A sixth word adds 12.9.

Run the password generator

Related reading