Skip to main content
Toolspassword-generator9 min read

How long should a password be? What NIST, CISA and NCSC say

Entropy and crack-time tables from AltFTool's password tools, set against NIST SP 800-63B-4, CISA and the NCSC, plus how many random words are enough.

Published

Cover banner: How long should a password be? What NIST, CISA and NCSC say, with the free Password Generator

Make a password at least 15 characters long if it is the only thing protecting the account, and at least 8 if the account also has two-factor sign-in. That is the floor in NIST SP 800-63B-4. Length beats complexity: 15 random lower-case letters (about 70 bits) are stronger than 10 random characters with symbols (about 66 bits).

What NIST, CISA and the NCSC actually say

Three government bodies publish password guidance that people quote, and they are aimed at different readers:

SourceWritten forLength guidanceOther rules worth knowing
NIST SP 800-63B-4Organisations that build sign-in systems (the verifier)Require at least 15 characters for a password used on its own; at least 8 when it is one factor of multi-factor sign-in. Should allow at least 64.No composition rules (forced mixes of character types); no forced periodic changes; check new passwords against a list of known-bad ones.
CISA, Secure Our WorldEveryoneAt least 16 charactersRandom, and unique to each account; a password manager to store them.
UK NCSCEveryoneRecommends three random words rather than a set lengthA strong, separate password for your email account in particular.

The NIST figures are requirements for the systems that check passwords, not advice to you directly, but they are the clearest statement of where the floor now sits. Two of its rules matter as much as the number. Sites should stop forcing a mix of upper case, digits and symbols, and should stop forcing changes on a schedule. A rule like "one capital, one digit, one symbol, new every quarter" is easy to satisfy with a predictable pattern, such as Summer2024! followed by Autumn2024!, and those patterns are what cracking tools try first.

Length beats complexity: the entropy table

A truly random password's strength is measured in bits of entropy: its length multiplied by log₂ of the number of characters it could have been drawn from. Each extra bit doubles the guesses an attacker needs. The AltFTool Password Generator uses exactly this formula. By default it leaves out look-alike characters (I, l, 1, L, o, O, 0), which gives a pool of 81: 23 upper case, 24 lower case, 8 digits and 26 symbols. The Password Strength Checker judges a password it did not generate, so it adds up the classes it finds: 26 for lower case, 26 for upper case, 10 for digits and 33 for symbols, or 95 when all four are present. Rounded to whole bits:

Characters drawn fromPool8 chars12 chars15 chars16 chars20 chars24 chars
Digits only10274050536680
Lower case263856717594113
Upper + lower case5246688691114137
Letters + digits6248718995119143
Generator default81517695101127152
All four classes (checker)95537999105131158

Read across a row and down a column and the point makes itself. Going from lower case to the generator's 81-character default at 8 characters adds 13 bits. Going from 8 to 15 lower-case letters adds 33. Adding characters is the cheaper way to buy strength, and it is easier to type on a phone. These numbers only hold for passwords picked at random by a generator; a password you invented is weaker than its length suggests, which is the reason for the blocklist check.

Crack time depends on how the site stores your password

A crack-time figure means nothing without an attacker speed. The Password Strength Checker times every password against five speeds; four are shown below. The two extremes are a login form that limits attempts to about 100 guesses a second, and an attacker who has stolen a database of fast, unsalted hashes and runs about a trillion guesses a second on dedicated hardware. Using the checker's own formula (on average the right guess comes halfway through, so 2bits − 1 guesses at the given speed):

Password (random)BitsRate-limited login (100/s)Slow hash, bcrypt (10,000/s)Fast hash on a GPU (10 billion/s)Dedicated rig (1 trillion/s)
8 characters, 95-char pool52.6centuriescenturies4 days55 min
10 characters, 95-char pool65.7centuriescenturies95 years11 months
15 lower-case letters70.5centuriescenturiescenturies27 years
12 characters, 95-char pool78.8centuriescenturiescenturiescenturies
15 characters, 95-char pool98.5centuriescenturiescenturiescenturies

"Centuries" is the checker's cap for anything over 100 years; an 8-character password against a rate-limited login is roughly a million years. The left-hand columns explain why a short password can survive for years on a well-run site. The right-hand columns are what happens after a breach on a site that stored passwords badly. You cannot know which kind of site you are dealing with, so a password has to be long enough for the worst case. That is what NIST's 15-character floor and CISA's 16 are protecting against.

Password Generator

Generate a random password of 8 to 128 characters in your browser and see its entropy in bits.

Open Password Generator

Three random words: how many is enough?

The NCSC's three-random-words advice is about memorability: a string of unrelated words is long, and far easier to remember and type than random symbols. The strength of a passphrase, though, comes from the size of the word list it is drawn from, not from the number of letters. The Password Strength Checker's passphrase generator draws distinct words from a 128-word list, capitalises one, and adds a separator and a two-digit number. By its own formula:

WordsBitsFast hash on a GPU (10 billion/s)Dedicated rig (1 trillion/s)
3 (the slider starts at 4)32.2instantinstant
439.641 secinstant
546.92 hours1 min
654.111 days3 hours
761.24 years15 days

With a 128-word list, even seven words (61 bits) falls to a dedicated rig in about 15 days, so the list is too small for an offline attack however many words you add. Each word adds log₂ of the list size: about 7 bits from a 128-word list, and about 12.9 bits from a 7,776-word list, where six words reach about 77.5 bits. Words you chose yourself, rather than at random, add less. If you rely on a passphrase, draw it at random from a large list and use six words or more.

Where length stops being enough

A long password protects against guessing. It does nothing against a phishing page that you type it into, or a site that leaks it in plain text. Two habits cover those cases. First, use a different password on every account, so one leak does not unlock the rest; a password manager makes that practical, and it can store a 24-character random password as easily as an 8-character one. Second, turn on two-factor sign-in wherever it is offered. That is also the case in which NIST's floor drops to 8 characters, because the password is no longer the only thing standing between an attacker and the account. The 2FA Authenticator generates time-based sign-in codes in the browser. The Password Policy Tester checks one password against typical bank, corporate, government and school portal rules.

Frequently asked questions

On an account without two-factor sign-in, aim for 15, NIST's floor for a password used on its own (CISA says 16). A random 12-character password from the full character set, about 79 bits, is still out of reach of every attack speed in our table; a 12-character password you made up is not random and is weaker.

Not for strength. Moving from letters and digits (62 characters) to the 95-character pool adds about 0.6 bits per character; one more random character adds about 6.6 bits. NIST tells sites not to impose composition rules, but some still do, so a generator that can include symbols saves you a rejected form.

Not on a schedule. NIST tells sites not to require periodic changes and to require a change only when there is evidence the password has been compromised, such as a breach.

It depends on how it was stored. A random 8-character password from a 95-character pool is about 52.6 bits: centuries against a rate-limited login, about 4 days on one GPU against a fast hash, and under an hour on a trillion-guess rig.

It is easier to remember and type, and exactly as strong as its bits, which depend on the word list. Seven words from the checker's 128-word list give about 61 bits, less than a random 10-character password (about 66); six words from a 7,776-word list give about 77.5. Use a random passphrase from a large list for the few passwords you must remember, and a password manager for the rest.

Sources and notes

Links the author listed for this post.

  1. 1
  2. 2
  3. 3
    Three random words (opens in a new tab)

    UK National Cyber Security Centre

Reader feedback

Was this guide helpful?

Your signal helps the editorial team improve stale or unclear guides faster.

Share this article

Written by

Entropy and crack-time figures were computed on 2026-11-13 with the formulas in the site's Password Generator (length × log2 of its pool: 81 characters by default, with look-alike characters excluded) and Password Strength Checker (95-character symbol pool, 128-word passphrase list; the 7,776-word list figure is log2(7776) per word, 2^(bits−1) guesses at five attacker speeds, its humanizeSeconds rounding).

Your inbox, your topics

What do you want more of?

Pick the topics you'd like in your inbox. We've ticked one that matches this guide — change them freely.

Topics you want more of

Up to 200 characters.

Privacy policy

Discussion

0 comments

Loading discussion