How Long Does It Take to Crack a Password?
Ever wondered how secure your password really is? The answer depends on length, complexity, and how fast an attacker can guess. In this guide, we'll explain password entropy, show you how to estimate cracking time, and prove why length beats symbols.
What Determines How Long a Password Takes to Crack?
Three main factors determine cracking time:
- Password length: The primary factor. Each character exponentially increases cracking time.
- Character sets used: More variety (uppercase, digits, symbols) means more possibilities.
- Attack method: Brute force is slow; dictionary attacks are faster but less effective.
Password Entropy Explained
Entropy measures randomness in a password. Higher entropy = stronger password.
Entropy is calculated as:
Entropy (bits) = log₂(N) × L
Where:
- N = number of possible characters
- L = password length
Character Set Sizes
- Lowercase only: 26 possibilities
- Lowercase + uppercase: 52 possibilities
- Lowercase + uppercase + digits: 62 possibilities
- Lowercase + uppercase + digits + symbols: 94 possibilities
Practical Examples: Cracking Time Estimates
Example 1: Short Password with Symbols
Password: Pass1! (6 characters)
- Character set: 94 (mixed case + digits + symbols)
- Entropy: ~39.5 bits
- Cracking time (average): 1 hour
Example 2: Medium Password, No Symbols
Password: correcthorsebattery (20 characters, passphrase)
- Character set: 52 (mixed case only)
- Entropy: ~115 bits
- Cracking time (average): Billions of years
Example 3: Strong Random Password
Password: k9#mL2$xQ&vP4@rT (16 characters)
- Character set: 94 (mixed case + digits + symbols)
- Entropy: ~105 bits
- Cracking time (average): Millions of years
Key Insight: Length Matters More Than Complexity
A 20-character lowercase passphrase is stronger than an 8-character password with numbers and symbols. Why?
Compare these two:
- A8!b#Kl: 8 characters, 94 possibilities, ~52 bits entropy
- correcthorsebattery: 20 characters, 26 possibilities, ~94 bits entropy
The passphrase has far more entropy despite using only lowercase letters. Length compounds exponentially.
Attack Methods & Speeds
Brute Force Attack
Try every possible combination. Slowest method, but works on any password.
Speed: ~1-100 billion guesses per second (depending on hardware)
Dictionary Attack
Try common words and known password patterns first. Much faster for weak passwords.
Speed: ~1 million guesses per second (using precomputed lists)
Specialized Attacks (GPU/Quantum)
GPUs can perform billions of guesses per second. Quantum computers could theoretically break certain encryption faster, though this is still theoretical for password hashing.
Why You Shouldn't Rely on "Cracking Time" Alone
Cracking time estimates assume:
- The attacker only has the password hash (not the full password)
- The password is hashed with a strong algorithm (bcrypt, Argon2)
- The attacker has modern hardware
In reality:
- Breach scenarios: If a company's database is breached, passwords might be in plain text or weakly hashed.
- Phishing: An attacker with your password doesn't need to crack anything.
- Quantum computing: Future quantum computers could reduce cracking times dramatically.
Password Strength Guidelines
| Entropy (Bits) | Typical Length | Security Level |
|---|---|---|
| <50 bits | 6-8 characters | Weak (crackable in hours) |
| 50-80 bits | 10-14 characters | Moderate (crackable in months-years) |
| 80-120 bits | 16+ characters | Strong (impractical to crack) |
| >120 bits | 20+ characters | Very Strong (effectively uncrackable) |
Bottom Line: Recommendations
- Use 16+ characters minimum. Length is king.
- Mix character sets if possible, but don't sacrifice length for complexity.
- Use a passphrase for accounts you must remember (main email, password manager).
- Use a password manager to generate and store unique random 16-20 character passwords for everything else.
- Enable 2FA. Even a "crackable" password is useless without your second factor.
Need a tool to generate strong 16+ character passwords? Try StrongPass.
Related Articles
Password Entropy Explained
A deeper dive into entropy and what makes passwords strong.
How to Create a Truly Strong Password
Practical steps to generate uncrackable passwords.