A strong password takes years or decades to break by brute force

A password made of 12 random characters — uppercase, lowercase, numbers, and symbols mixed together — would take a modern computer roughly 200 years to crack by trying every possible combination. An 8-character password takes hours. A 16-character one takes centuries. The math is straightforward: each character you add multiplies the time needed, and the type of characters you use determines how many possibilities exist for each position.

But "brute force" — trying every combination until one works — is not how most passwords actually get broken. Hackers use shortcuts. They try common passwords first (like "password123" or "qwerty"). They use stolen password lists from old data breaches. They trick you into typing it somewhere fake. They guess based on what they know about you. Understanding both the theoretical time and the practical threats tells you what actually matters when you choose a password.

Key Takeaways

  • A 12-character password with mixed character types resists brute-force attack for roughly 200 years with current hardware, but length matters more than complexity.
  • Passwords shorter than 10 characters can be cracked in hours or days, even with mixed character types.
  • Most real password breaks happen through stolen lists, phishing, or reused passwords — not through guessing every combination.
  • A passphrase like "coffee-Tuesday-blanket-47" is often stronger and easier to remember than a random string like "Kx#9mL2$pQ".

How brute-force cracking actually works

A brute-force attack means a computer tries password combinations one after another until it finds the right one. The time this takes depends on three things: how many possible characters exist at each position, how many positions there are, and how fast the computer can try combinations.

For a password using only lowercase letters (26 possibilities per character), an 8-character password has 208 billion possible combinations. For a password using uppercase, lowercase, numbers, and symbols (94 possibilities per character), an 8-character password has 6 quadrillion combinations. A modern graphics processing unit (GPU) can try billions of combinations per second, so the lowercase version takes minutes and the mixed version takes days.

Length is the strongest defense. Adding one character to a mixed-type password multiplies the total possibilities by 94. Adding one character to a lowercase-only password multiplies it by 26. This is why security experts emphasize length over complexity: a 16-character password of only lowercase letters (208 trillion trillion combinations) is stronger than a 10-character password with every symbol available.

Real cracking times for common password types

These estimates assume a single modern GPU and no other shortcuts. Real attacks often use multiple computers or specialized hardware, which speeds things up. They also assume the attacker knows the exact password format — for instance, that it is 12 characters long and uses mixed types. In practice, the attacker has to guess the format too.

8 characters, mixed types (Kx#9mL2$): Hours to days. This is the minimum length many websites still require, and it is not strong enough for accounts that matter.

10 characters, mixed types (Kx#9mL2$pQ): Weeks to months. Noticeably stronger, but still vulnerable if the password is in a stolen list or if the attacker uses multiple computers.

12 characters, mixed types (Kx#9mL2$pQvR): Years to decades. A reasonable target for accounts you care about.

16 characters, mixed types (Kx#9mL2$pQvRwXyZ): Centuries. Overkill for most purposes, but not unreasonable for a password manager master password.

12 characters, lowercase only (kxmlopqvrzab): Months to years. Length compensates for fewer character types, but mixing types is still faster.

Why stolen lists and phishing beat brute force

The theoretical time to crack a password by brute force is almost never the real threat. Instead, passwords break because they appear in a stolen list from a past data breach, because you reused the same password on multiple sites, or because you typed it into a fake login page.

When a company's database is breached, hackers get a file containing millions of passwords (usually scrambled with a process called hashing, but often reversible). They cross-reference these passwords against other breached databases and against common password lists. If your password appears in any of these, they can log in to your account when ready — no cracking required. This is why checking whether your password has appeared in a breach matters more than how long it would theoretically take to guess.

Phishing is even simpler: a fake email or website tricks you into typing your password, and the attacker has it when ready. No cracking, no lists, no time required. This is why password strength does not protect you if you type it somewhere you should not.

How password hashing changes the math

When a website stores your password, it should not store the actual password. Instead, it runs the password through a hashing function — a one-way mathematical process that turns "Kx#9mL2$pQ" into a scrambled string like "a7f3k9m2x8q1". The website stores only the scrambled version. When you log in, it scrambles what you typed and compares it to the stored version.

A good hashing function is deliberately slow. It might take 0.1 seconds to hash a single password, which is fine for you logging in once. But if an attacker is trying a billion combinations, it takes 0.1 seconds times a billion — roughly 3 years. This is called key stretching, and it is why a password that would take hours to crack in raw form takes years to crack against a properly hashed version.

Not all websites hash passwords well. Some use outdated methods like MD5, which is fast to compute and offers almost no protection. Others use no hashing at all. This is why a breach at a poorly-secured site is worse than a breach at a well-secured one, even if the passwords are the same.

Passphrases versus random strings

A passphrase is a sequence of real words or a sentence, like "coffee-Tuesday-blanket-47" or "my-dog-ate-three-socks". A random string is a jumble of characters, like "Kx#9mL2$pQvR". Both can be equally strong if they are long enough.

A passphrase of four random words (each from a list of 7,000 common words) has 2.4 quadrillion combinations — roughly the same as a 12-character random string. But passphrases are easier to remember and easier to type without errors. The downside is that if an attacker knows you are using a passphrase, they can try word combinations instead of character combinations, which is faster. This is why the words should be random (not a famous quote) and why adding a number or symbol helps.

For a password manager — a tool that stores and fills in passwords for you — a random string is fine because you will not type it often. For a password you have to remember, a passphrase is usually the better choice.

What happens when you forget or lose a password

If you forget your password, the website cannot tell you what it is, because the website does not know. It only has the hashed version. Instead, you reset the password by proving you own the account — usually by clicking a link sent to your email or by answering a security question. This takes minutes, not years.

If you lose access to the email address linked to your account, resetting becomes harder. You may have to contact support and prove your identity another way. This is why keeping your recovery email current and find matters as much as the password itself.

Frequently Asked Questions

Can a password be cracked when ready?

Yes, if it is in a stolen list or if you typed it into a phishing page. Brute-force cracking takes time, but most real password breaks happen through shortcuts. This is why using a unique password on each site matters more than how complex the password is.

Is a 12-character password really safe?

Against brute force, yes — it would take years. But it is only safe if you did not reuse it elsewhere, if it is not in a stolen list, and if you did not type it into a fake login page. A strong password is one part of security, not the whole thing.

Do special characters make a password harder to crack?

Yes, but only slightly. Adding one special character multiplies the possibilities by 94 instead of 26, which saves the attacker a few hours. Adding one more character to the length multiplies the possibilities by 94 again, which saves much more time. Length is the stronger defense.

What if I use a password manager — does it need to be super strong?

The master password (the one you use to unlock the password manager) should be strong, because it protects all your other passwords. A 12-character passphrase is reasonable. The individual passwords the manager generates can be random and complex, because you will not type them.

How do I know if my password was in a breach?

You can check websites like Have I Been Pwned, which maintains a searchable database of passwords from known breaches. If your password appears, change it on that site and on any other site where you used the same password.