Passphrase Length Calculator

The passphrase twin of the Length Calculator: instead of testing a passphrase you have, find out how many random words it needs to survive as long as you need. 100% in your browser — nothing is sent anywhere.

Model — offline attack at 10 billion guesses/sec, same as the rest of PasswordLab. Worst case = full search space (word-list sizewords ÷ rate), so the answer is conservative in your favour.

How this calculation works

Bits needed = log₂(target seconds × 10,000,000,000). Bits per word = log₂(word-list size). Minimum words = the smallest W with list-sizeW ≥ target seconds × rate — equivalently, ceil(bits needed ÷ bits per word). A 100-year target needs 64.8 bits, so with the EFF short list (10.34 bits per word) the answer is 7 words; with Diceware (12.92 bits per word) it is 6.

Quick reference (offline attack, 10 billion guesses/sec)

This page only answers the word-count question, and only for random words. If your passphrase is memorable because you chose the words — a quote, a lyric, words that belong together — its real strength is far lower than the word count suggests. Generate it with the Passphrase Generator instead, or test what you have on the Strength Checker.

FAQ

How many words should my passphrase have?

With the EFF short list (1,296 words), 6 words survive an offline attack for about 15 years and 7 words for about 19,500 years. With Diceware (7,776 words), 5 words survive about 90 years and 6 words about 700,000 years. Six EFF words is the everyday answer; seven is for anything that must outlive you.

Why does one word matter so much?

Each added word multiplies the search space by the size of the word list — 1,296× for the EFF short list, 7,776× for Diceware. A 6-word EFF passphrase survives about 15 years offline, a 5-word one only about 4.2 days.

Does this assume my words are random?

Yes, and that assumption is load-bearing. The math counts every combination as equally likely. Words a human picks — a quote, a song lyric, words that go together — have a much smaller real search space. Use a generator with cryptographic randomness, like our Passphrase Generator, and never hand-pick the words.

EFF short list or Diceware — which word list?

The math is identical; only the bits per word differ: 10.34 bits per word for the 1,296-word EFF short list, 12.92 bits per word for the 7,776-word Diceware list. Five Diceware words carry about as much entropy as six and a quarter EFF short words. The EFF short list has shorter, easier-to-type words; Diceware buys more bits per word. Either is fine — what matters is that the picks are random.

Does capitalizing a word or adding a digit help?

Only a little. Capitalizing one random word adds log₂ of the word count — about 2.6 bits for a 6-word passphrase. Appending a random digit adds about 3.3 bits. Compare that with adding one more word: 10.3 bits (EFF short) or 12.9 bits (Diceware). If you want more strength, add a word; use capitalization and digits only to satisfy a site's password rules.

Is this a guarantee?

No — it is an estimate from a fixed model (uniform random words, offline attack at 10 billion guesses/sec, full search space). Treat it as a planning target with generous headroom, not a promise.