How Long Should a Password Be?

Twelve characters is the practical minimum today, sixteen is comfortable, and twenty is sensible for anything that protects money or email. The reason is arithmetic: each added character multiplies the work an attacker has to do.

The arithmetic of length

A random lowercase password of length n has 26 to the power n possibilities. At 8 characters that is about 200 billion; at 12 it is about 95 quadrillion; at 16 it is more than the number of seconds in the age of the universe squared.

Modern offline cracking hardware can test enormous numbers of guesses per second against a fast hash, which is why 8 characters stopped being enough years ago.

Generate a password at the length you need.

Open the Password Generator →

Why the old advice changed

Older guidance suggested 8 characters with a mix of cases, digits and symbols, changed every 90 days. That produced passwords like Summer2019! which are easy for a rule-based attack and hard for a person to remember.

Current guidance emphasises length, uniqueness and no routine rotation. The reason is that attackers adapted to the complexity rules faster than people could adapt to remembering the results.

Lengths by account type

AccountSuggested lengthWhy
Email16 or moreResets almost everything else
Banking and payments16 or moreDirect financial loss
Password manager master20 or moreProtects every other password
Work accounts14 or moreOften regulated
Low-value forums12 or moreStill worth doing properly

If you use a manager, there is no reason to go below 16 anywhere. The length costs you nothing because you never type it.

Random characters versus passphrase length

Twelve random characters from a 94-character set is enormously strong. A passphrase needs to be longer to match it, because each word carries less entropy than each random character.

Five randomly chosen words from a list of 7,776 is comparable to about 12 random characters. The passphrase is easier to type and to remember, which is why it suits the one password you type often.

What length cannot fix

Reuse. A 20-character password reused on ten sites is only as strong as the weakest of those sites.

Phishing. A password typed into a convincing fake page is captured regardless of length. Two-factor authentication is the defence there.

Rate limiting changes the picture

Online guessing against a login form is limited by the server: a few attempts per second at most, often with lockouts. In that setting even a modest password is hard to guess remotely.

The real risk is offline cracking after a breach, where the attacker has the hashes and no rate limit. That is why length matters most for passwords stored by sites that may be breached.

The entropy idea

Entropy measures how many guesses an attacker needs, in bits. Each doubling of the search space adds one bit. A random 12-character lowercase password has about 56 bits; 16 characters has about 75.

You do not need to compute this, but the concept explains why length dominates and why a predictable pattern wastes it.

Common mistakes

Practical targets

Use 16 random characters for email, banking and the password manager. Use a five-word passphrase where you must type it often. Let the manager generate everything else at maximum length the site allows.

Those three rules cover the whole problem without requiring you to remember anything but one passphrase.

If a site limits you

Some sites still cap length or ban symbols. Use the longest value they accept, generated randomly, and do not reuse it elsewhere.

A site with a low maximum length is a signal about its security practices. Do not store anything sensitive there that you can avoid.

Frequently asked questions

Is 8 characters enough?

No. It can be cracked offline in a reasonable time against a fast hash.

Is 12 characters enough?

It is a reasonable minimum for low-value accounts. Use 16 or more for anything important.

Does length matter more than symbols?

Yes, for random passwords. A long lowercase password beats a short complex one.

Sources

More free tools

Related guides