How long should a password be? The minimum safe length in 2026
By TechCompare · Updated · How we check
Use 16+ characters. Use a password manager to generate and store them so you don't have to remember them. Length is your primary defense against brute-force attacks. Complexity (mixing character types) helps, but length matters far more.
Password length is the single most important factor in password strength. An 8-character password drawn from all 95 printable ASCII characters can be brute-forced by a modern GPU cluster in hours. A 12-character password takes about 43,000 years on average against a single RTX 5090 testing a fast hash. A 16-character password is effectively uncrackable by any known attack with current hardware. Length beats complexity every time.
How this is calculated
The math: a password's keyspace is characterSetSize^length. With 95 printable ASCII characters, an 8-character password has 95^8 ≈ 6.6 × 10^15 combinations. A single RTX 5090 can test roughly 2×10^11 hashes per second against fast hashes like MD5 or NTLM. That's 3.3 × 10^4 seconds, or about 9 hours for the entire keyspace, and 5 hours on average.
Against bcrypt (which is deliberately slow), the same attack would take millennia. But you don't know which hash algorithm the service uses, and many still use fast hashes. A 16-character password has 95^16 ≈ 4.4 × 10^31 combinations, taking longer than the age of the universe on any hardware.
For reference, NIST SP 800-63B-4 requires at least 15 characters when a password is the single authentication factor, or at least 8 when it is only one factor in MFA. Those are minimum requirements, not strength targets. A password manager-generated 16-character password is a sensible target.
Verdict
Use 16 or more characters, because the keyspace math settles the length versus complexity debate. At 95 printable ASCII characters, an 8-character password holds about 6.6 x 10^15 combinations, which one RTX 5090 at 2×10^11 hashes per second cracks in about 5 hours average against fast hashes. Bumping to 16 characters pushes that to 4.4 x 10^31, longer than the age of the universe.
NIST's current floor is 15 characters for single-factor passwords and 8 when the password is only part of MFA. Those are minimums, not targets.
More Passwords scenarios
Related guides
Frequently asked questions
Is a 12-character password safe enough in 2026?
Why is password length more important than complexity?
What password length does NIST recommend?
Related tools
CHMOD Configurator
Calculate Linux file permissions using checkboxes or octal numbers, then view the matching symbolic notation.
Use toolText Encoding Converter
Convert between Text, Base64, Binary, Hexadecimal, and Decimal formats.
Use toolCron Generator
Visually build standard 5-part cron expressions or translate them into readable schedules.
Use tool