Skip to content
toolsdocks

Strong passwords and passphrases: what entropy means

8 min read · Updated 23 October 2026

What makes a password strong? Length and randomness. A password is strong when an attacker would need an impractical number of guesses to find it, and that is only true when the password is chosen by a random generator, not by a person. Aim for at least 15 characters for any password that stands alone, or a random passphrase of five to six words, and never reuse one across sites. The password and passphrase generator creates both and shows the entropy.

For a randomly generated password, strength can be calculated exactly, and it is usually written as bits of entropy. This guide explains that number, shows how long attacks take under stated assumptions, covers what current US government guidance says, and walks through simple steps for phones and computers. It is general education, not a full security plan.

Bits of entropy

If each character is chosen uniformly at random from a set of N symbols, every character adds log base 2 of N bits. A bit is a yes-or-no question: each extra bit doubles the number of guesses an attacker needs.

Character set Symbols Bits per character
Digits 10 3.32
Lowercase letters 26 4.70
Upper and lower case letters 52 5.70
Upper and lower case letters and digits 62 5.95
All keyboard characters (letters, digits, 32 symbols) 94 6.55

A 16-character password from the 94-symbol set has about 16 × 6.55 ≈ 105 bits. A 12-character one has about 79 bits. An 8-character one has about 52 bits.

This calculation only holds for random passwords. A human-chosen P@ssw0rd2026! has far less real entropy than its length suggests, because attackers try common words, substitutions such as @ for a, and years first. Humans are bad at randomness, so any pattern you can remember is a pattern an attacker can try.

What the numbers mean in practice

Time to guess depends on how fast an attacker can test guesses, which varies enormously. A website with rate limiting allows a handful of guesses per second. But if a service's password database leaks, an attacker can test guesses offline, and fast hardware against a poorly protected hash can reach billions of guesses per second.

As an illustration only, assume an offline attacker who can test 10 billion guesses per second. On average the attacker finds a password after trying half of all possibilities:

Password Entropy Average time to crack
8 random digits 26.6 bits under 1 second
10 random lowercase letters 47 bits about 2 hours
8 random characters, all 94 symbols 52.4 bits about 3.5 days
5 random words 64.6 bits about 45 years
12 random characters, all 94 symbols 78.7 bits about 750,000 years
6 random words 77.5 bits about 350,000 years
16 random characters, all 94 symbols 105 bits far beyond any realistic attack

The guess rate is an assumption, not a measurement. Real attacks vary, and well-designed sites slow attackers with deliberately slow password hashing. The point is the shape of the curve: each extra random character multiplies the work by 94, so length wins quickly.

Passphrases

A passphrase is several random words, such as carrot-ledger-cobalt-humid-ritual. With the EFF's large word list of 7,776 words (designed for rolling five dice per word), each word adds log base 2 of 7,776 ≈ 12.9 bits.

Words Entropy
4 51.7 bits
5 64.6 bits
6 77.5 bits
7 90.5 bits
8 103.4 bits

Passphrases are easier to type on a phone and easier to remember than a jumble of symbols. The words must be chosen randomly by a generator or by dice, not by you. "Correct horse battery staple" is in every attacker's word list precisely because people copied that example. A lyric, a quote or a phrase that means something to you is also a poor choice.

What current NIST guidance says

In the US, the National Institute of Standards and Technology (NIST) publishes the digital identity guidelines (SP 800-63B-4) that federal systems follow, and many companies copy them. For passwords, the final revision says:

  • A password used alone as a single factor must be at least 15 characters long. A password used only as part of multi-factor authentication may be shorter, but at least 8.
  • Sites should allow passwords of at least 64 characters, and accept spaces and all printing characters, so passphrases work.
  • Sites must not impose composition rules, such as "one capital, one number, one symbol".
  • Sites must not force periodic password changes. A change is required only when there is evidence of compromise.
  • New passwords must be checked against a list of common or already breached passwords.

In short: long beats complicated, and changing a good password on a schedule does not help. If a site makes you do things the older way, you may have to follow its rules, but a long random password still gives you the strongest result it will accept.

How much is enough?

  • Accounts protected by two-factor authentication and rate limiting: 60 to 80 bits is plenty. A random passphrase of five or six words, or a random password of 12 to 15 characters, fits.
  • Password manager master password and disk encryption: These can be attacked offline, so aim for 80 bits or more. A six or seven word passphrase works well.
  • Everything else: Let a password manager generate a random password of 16 to 20 characters. You never need to remember or type it.

Most important of all: use a different password for every account. When a site is breached, attackers try the leaked email and password on other services. This is called credential stuffing, and unique passwords make it fail.

Steps to put this into practice

  1. Choose a password manager. The built-in options (Apple's Passwords app and iCloud Keychain on iPhone and Mac, Google Password Manager on Android and Chrome, the password manager in Edge on Windows) work for many people. Dedicated managers add sharing and cross-platform features.
  2. Protect the manager. Create one strong passphrase for it, turn on two-factor authentication for the account that syncs it, and keep recovery options current.
  3. Change the most important passwords first: your main email (it resets everything else), banking, your phone carrier and the manager itself.
  4. Let the manager fill them. On iPhone, open Settings, then Passwords. On Android, look under Settings, Passwords and accounts, or Google, then Autofill (menu names vary by phone). On Windows and Mac, use the manager's browser extension or built-in feature.
  5. Turn on two-factor authentication wherever it is offered. An authenticator app or a hardware key is stronger than a text message.
  6. Use passkeys where a site offers them. A passkey replaces the password with a cryptographic key on your device, so there is nothing to guess, reuse or phish.

Generating them safely

The password and passphrase generator uses your browser's cryptographic random number generator and avoids "modulo bias", which would make some characters slightly more likely than others. Nothing is stored or sent: once you leave the page, the generated values exist only where you saved them. Copy the result straight into your password manager.

If you need a random identifier rather than a password, such as an ID for a database record, the UUID generator creates random UUIDs. Those are meant to be unique, not secret, so do not use them as passwords.

Common mistakes

  • Reusing a password with small changes ("Summer2026!" then "Fall2026!"). Attackers guess the pattern.
  • Using personal information: names, birthdays, pets, street names. Much of it can be found online.
  • Adding a number or symbol to a short word. Dragon1! has far less strength than its look suggests.
  • Storing passwords in a notes app or spreadsheet that is not protected by strong encryption.
  • Giving security question answers truthfully. If a site asks for your mother's maiden name, treat the answer as another password and store a random string.
  • Sharing a password over text or email. If you must share access, use the manager's sharing feature.

FAQ

How long should a password be? At least 15 characters if it is the only thing protecting an account, which matches NIST guidance. Longer is better, up to the limit a site allows. For a manager's master password, use a random passphrase of six or more words.

Is a passphrase more secure than a password? Per character, a random password is stronger. Per effort to remember, a random passphrase is stronger. Five or six random words give about the same strength as a 10 to 12 character random password, and are much easier to type.

Are special characters required? No. Current NIST guidance says sites should not require them. Length and randomness matter more. Add symbols only if a site demands them.

How often should I change my passwords? Only when there is a reason, such as a breach notice, suspicious activity or sharing the password with someone. Scheduled changes tend to produce weaker, predictable passwords.

Is it safe to use an online password generator? It is safe when the generator runs in your browser and does not send the result anywhere. The toolsdocks generator works this way. Still, for your most important accounts, a generator inside your password manager is just as good.

What if a site limits password length or characters? Use the longest random password it accepts. If the limit is very short, such as 8 characters, that is a sign of weak design, so turn on two-factor authentication.