Guide
How long does it take to crack a password?
Crack-time tables are everywhere, and they rarely agree. Here is what actually decides how long a password lasts, with numbers for today’s hardware.
By Mark Stoumann ·
The honest answer to “how long would my password take to crack?” is “it depends”, but on only three things: how the attacker gets to guess, how the site stored the password, and how random the password really is. Once you know those, the numbers make sense.
Online and offline attacks
In an online attack, someone types guesses into a real login page, by hand or with a script. That is slow, and sites push back: NIST’s guidelines require a site to allow no more than 100 failed attempts on an account before it locks or demands more proof, and most slow down long before that. Online, only the most common passwords are at risk, such as 123456, a pet’s name or a password that leaked from another site.
In an offline attack, the attacker has stolen a site’s password database and tests guesses on their own hardware, with no lockouts and no one watching. This is where the big numbers come from, and it is what every crack-time table, including the one in PwdForge’s password strength checker, is about.
How sites store passwords
A well-built site never stores your password itself. It stores a hash: the result of a one-way function that turns the password into a fixed string of characters. When you log in, the site hashes what you typed and compares. Each password also gets a salt, a random value mixed in before hashing, so two people with the same password get different hashes and the attacker has to crack each one separately.
What matters most is which hash. General-purpose hashes such as MD5, SHA-1 and SHA-256 are built to be fast, which is exactly wrong for passwords. Password hashes such as bcrypt, scrypt and Argon2id are built to be slow and, in the case of scrypt and Argon2id, to need a lot of memory, which graphics cards handle badly. OWASP, the web security project, recommends Argon2id first, and bcrypt with a cost of at least 10 for older systems.
How fast is a modern graphics card?
Password cracking runs on gaming graphics cards. Benchmarks of the free cracking tool Hashcat on a single Nvidia RTX 5090 show what the choice of hash means:
| Hash | Guesses per second, one RTX 5090 |
|---|---|
| NTLM (Windows) | about 340 billion |
| MD5 | about 220 billion |
| SHA-1 | about 70 billion |
| bcrypt, cost 10 | about 9,500 |
That is a difference of more than ten million times between MD5 and bcrypt on the same card. Attackers can rent dozens of cards, so the fast-hash numbers go up, but the gap stays.
Crack times for random passwords
The table shows the average time to find a truly random password by trying every combination, which on average takes half of them. The first column assumes a fast hash at 100 billion guesses a second, the same assumption PwdForge’s strength checker uses. The second assumes bcrypt with cost 10 on one RTX 5090.
| Random password | Fast hash | bcrypt, cost 10 |
|---|---|---|
| 8 digits | under a second | about an hour |
| 8 lowercase letters | 1 second | about 4 months |
| 8 letters and digits | 18 minutes | about 360 years |
| 8 characters, all four kinds | 5 hours | about 6,000 years |
| 12 lowercase letters | 6 days | about 160,000 years |
| 12 characters, all four kinds | 34,000 years | hundreds of billions of years |
| 16 characters, all four kinds | trillions of years | trillions of years |
| 4 random words | 5 hours | about 6,000 years |
| 5 random words | 5 years | about 47 million years |
| 6 random words | 35,000 years | hundreds of billions of years |
“All four kinds” means upper and lower case letters, digits and the 26 symbols PwdForge uses, 88 characters in all. Words come from the EFF’s list of 7,776, as in the passphrase generator. Two things stand out: each extra character multiplies the time, so length beats complexity; and you can’t know how a site stores your password, so plan for the fast column.
Why real passwords fall much faster
Every number above assumes the password was random. Attackers don’t start with every combination; they start with what people actually choose:
- Leaked passwords. Lists of billions of real passwords from earlier breaches are tried first, so a password used anywhere before is found almost instantly.
- Dictionary words with rules. Tools add capitals, years, symbols at the end and look-alike swaps (
@for a,0for o) to every word in many languages. - Patterns. Keyboard walks, names followed by dates, and repeated characters.
The security firm Hive Systems showed how much this matters in its 2026 password table: an 8-character bcrypt password that would take years to brute-force fell in about three seconds on one RTX 5090 once predictable guesses were tried first. A password that looks complex to you is not necessarily random to a cracking tool.
What this means for you
- Let a generator choose. A random password from the password generator has none of the patterns above, so the table applies to it.
- Go for 16 characters or more, or a passphrase of at least five random words for the few passwords you have to type.
- Never reuse a password. Crack times don’t matter once a password has leaked from another site; see what to do if your password is leaked.
- Add a second factor.Two-factor authentication stops an attacker who has cracked or stolen your password.
Frequently asked questions
How long does it take to crack an 8-character password?
It depends on how the site stored it. Against a fast hash such as MD5, a random 8-character password with upper and lower case letters, digits and symbols falls in about 5 hours on average at 100 billion guesses a second. Against bcrypt with cost 10 on one RTX 5090 it would take thousands of years. A predictable 8-character password like Summer24 falls in seconds either way.
Is a 12-character password long enough?
A random 12-character password with all four kinds of characters is out of reach of brute force today, even on a fast hash. But NIST now asks sites to require at least 15 characters for a password used without two-factor authentication, and a password manager makes 16 to 20 characters no harder to use than 12.
Can hackers try millions of passwords on a login page?
Not on a well-run site. NIST requires sites to limit failed attempts on an account to at most 100, and most lock or slow down well before that. Large-scale guessing happens offline, after a database of password hashes has been stolen.
Why do password crack-time tables online disagree?
They assume different hardware, hashes and attacks. A table for MD5 on a rig of GPUs and one for bcrypt on a single card can differ by a factor of millions, and most tables assume the password is truly random, which human-made passwords almost never are.
Will quantum computers crack passwords?
Not in any way that changes the advice. The known quantum speed-up for guessing (Grover’s algorithm) at best halves the effective length in bits, and it needs machines far beyond anything that exists. A long random password stays out of reach.