pttooz
← Blog

How Long Should a Password Be? Length, Entropy and Crack Time

A password should be at least 16 characters long. A random 16-character password made from uppercase letters, lowercase letters, digits and symbols has 103.9 bits of entropy, and an offline attack at 10 billion guesses per second would need longer than the age of the universe to find the password.

Shorter passwords fall fast. A random 8-character password from the same 90-character pool falls in about 2 days.

Password length vs crack time

The table uses the formula from the pttooz Password Generator: entropy = length × log₂(pool size), and average crack time = 2^entropy ÷ 2 ÷ 10,000,000,000 guesses per second.

Length Entropy (90-character pool) Average time to crack
8 characters 51.9 bits 2 days
10 characters 64.9 bits 55 years
12 characters 77.9 bits 447,000 years
14 characters 90.9 bits 3.6 billion years
16 characters 103.9 bits longer than the age of the universe
20 characters 129.8 bits longer than the age of the universe

Every extra character multiplies the work by 90. Going from 12 to 14 characters turns 447,000 years into 3.6 billion years.

Why length beats symbols

Length adds more strength than extra character types. There are 3 common pools:

  • Lowercase only (26 characters): 4.70 bits per character.
  • Letters and digits (62 characters): 5.95 bits per character.
  • All 4 sets with symbols (90 characters): 6.49 bits per character.

Adding symbols to a 16-character password raises entropy from 95.3 to 103.9 bits, a gain of 8.6 bits. Adding 4 more characters to the same password raises entropy from 103.9 to 129.8 bits, a gain of 26 bits. A 12-character lowercase password has 56.4 bits and falls in about 55 days.

What NIST says about password length

The National Institute of Standards and Technology (NIST) sets 8 characters as the minimum length in SP 800-63B and asks services to accept passwords of at least 64 characters. NIST does not require symbols or forced changes on a schedule. The 8-character minimum is a floor for services, not a target for you: 8 random characters fall in about 2 days in an offline attack.

Passphrases: a readable alternative

A passphrase of random words is long and easy to type. The Electronic Frontier Foundation (EFF) long word list has 7,776 words, so each random word adds 12.9 bits.

Random words Entropy Average time to crack
4 words 51.7 bits 2 days
5 words 64.6 bits 45 years
6 words 77.5 bits 350,000 years

Use 6 random words or more, and pick the words with dice or a generator, not from memory. A phrase you choose yourself, such as a song lyric, has far less entropy than the table shows.

5 rules for strong passwords

  1. Use 16 characters or more for any account that matters.
  2. Use a different password for every account. A leaked password from one site gets tested on every other site.
  3. Let a generator pick the characters. People choose patterns, and attackers test patterns first.
  4. Store passwords in a password manager, not in a document or a browser note.
  5. Turn on two-factor authentication (2FA) for email, banking and work accounts.

Check your own password

Open the Password Generator and type a password into the field. The gauge shows entropy in bits, the timeline shows crack time, and the composition bar shows which character types you used. Nothing you type leaves your browser.

Crack times in this article assume a fast offline attack. Sites that store passwords with slow hashes such as bcrypt or Argon2 make real attacks much slower, but a long random password protects you on sites that don’t.