Calculate Password Cracking Time
Free password cracking time estimator. See how long to brute-force any password based on length and character set. Updated for 2026.
See step-by-step calculation
When to use this calculator
- Security auditors benchmarking a company's password policy (e.g., verifying that a mandated 12-char minimum with special characters exceeds 1,000 years of cracking time at modern GPU speeds)
- IT administrators comparing the real-world strength of MD5-hashed vs. bcrypt-hashed passwords before migrating a legacy authentication system
- Developers setting minimum password requirements for a new web application and needing to justify the character-set and length rules to stakeholders with concrete time estimates
- End users deciding between a short, complex password ('P@5w!') and a longer passphrase ('correct-horse-battery-staple') to understand which is actually harder to brute-force
- Cybersecurity students and educators demonstrating exponential growth in password complexity during lessons on brute-force and dictionary attack defenses
Password Cracking Time by Length & Charset (Brute Force Reference)
| Length (L) | Charset (N) | Combinations (C = N^L) | Time @ 10B/s — MD5 | Time @ 10K/s — bcrypt |
|---|---|---|---|---|
| 6 | Lowercase (26) | 308 million | < 1 second | 31 seconds |
| 6 | Alphanumeric (62) | 56 billion | 6 seconds | 65 days |
| 8 | Lowercase (26) | 208 billion | 21 seconds | 2.4 years |
| 8 | Alphanumeric (62) | 218 trillion | ~6 hours | 692,000 years |
| 8 | Full ASCII-95 (95) | 6.6 quadrillion | 7.6 days | 21 billion years |
| 10 | Alphanumeric (62) | 839 quadrillion | ~2.7 years | 2.7 trillion years |
| 12 | Alphanumeric (62) | 3.2 quintillion | ~10,000 years | Practically infinite |
| 16 | Alphanumeric (62) | 4.7 × 10²⁸ | ~150 billion years | Practically infinite |
| 20 | Lowercase (26) | 1.9 × 10²⁸ | ~60 billion years | Practically infinite |
Fuente: NIST SP 800-63B / 800-63-4 + calculations based on H = 10,000,000,000 hashes/sec (MD5, single consumer GPU) and H = 10,000 hashes/sec (bcrypt cost factor 12). ASCII-95 includes uppercase, lowercase, digits and 33 special characters. Times represent worst-case exhaustive search; average case is ÷2.
How it works
How It's Calculated
The math behind brute-force cracking time rests on two sequential formulas:
Step 1 — Total Combinations:
C = N ^ L
N = size of the character set (e.g., 26 for lowercase only, 62 for alphanumeric)
L = password length in characters
Step 2 — Cracking Time (worst case / exhaustive search):
T (seconds) = C / H
H = attacker's hash rate in hashes per second
T_avg (seconds) = C / (2 × H) ← average case: attacker finds it halfway through
Example:
8-char alphanumeric (N=62, L=8)
C = 62^8 = 218,340,105,584,896 (~218 trillion)
At H = 10,000,000,000 (10B hashes/sec, single RTX 4090 on MD5):
T_worst = 218,340,105,584,896 / 10,000,000,000 ≈ 21,834 seconds ≈ 6.07 hours
T_avg ≈ 3.03 hours> Note: Slower hash algorithms (bcrypt, Argon2) drop H to ~10,000–100,000/sec, multiplying time by a factor of 100,000× or more.
---
Reference Table
The table below uses H = 10 billion hashes/second (single consumer GPU, MD5) as the baseline. "bcrypt" column assumes H = 10,000/sec (cost factor 12).
| Length | Charset (N) | Combinations | Time @ 10B/s (MD5) | Time @ 10K/s (bcrypt) |
|---|---|---|---|---|
| 6 | Lowercase (26) | 308 million | < 1 second | 31 seconds |
| 6 | Alphanumeric (62) | 56 billion | 6 seconds | 65 days |
| 8 | Lowercase (26) | 208 billion | 21 seconds | 2.4 years |
| 8 | Alphanumeric (62) | 218 trillion | ~6 hours | 692,000 years |
| 8 | Full ASCII-95 (95) | 6.6 quadrillion | 7.6 days | 21 billion years |
| 10 | Alphanumeric (62) | 839 quadrillion | ~2.7 years | 2.7 trillion years |
| 12 | Alphanumeric (62) | 3.2 quintillion | ~10,000 years | practically infinite |
| 16 | Alphanumeric (62) | 4.7 × 10²⁸ | ~150 billion years | practically infinite |
| 20 | Lowercase (26) | 1.9 × 10²⁸ | ~60 billion years | practically infinite |
ASCII-95 includes uppercase, lowercase, digits, and all 33 standard special characters.
---
Typical Cases
Case 1 — The Classic "8-char Corporate Password" (e.g., P@ssw0rd)
Case 2 — The NIST-Recommended 15-char Passphrase (e.g., correct-horse-battery)
Case 3 — The "Secure-Looking but Short" Password (X$9!)
---
Common Mistakes
1. Assuming complexity beats length. A 6-char password using all 95 ASCII characters (C ≈ 7.4 billion) is cracked in under 1 second at modern GPU speeds, while a 20-char all-lowercase passphrase has C ≈ 1.9 × 10²⁸ — fundamentally uncrackable by brute force. Length dominates because the exponent is L, not N.
2. Ignoring the hash algorithm. Cracking time calculations are meaningless without knowing how the password is stored. MD5 and SHA-1 allow 10–100 billion guesses/sec per GPU. bcrypt (cost 12) or Argon2id allow only ~10,000/sec. Using a fast hash on a production database negates even a strong password policy.
3. Treating "worst case" as the only metric. Brute-force assumes random, uniform character distribution. In reality, attackers use dictionary attacks and rule-based mutations (e.g., Hashcat rules) that crack P@ssw0rd in milliseconds regardless of its theoretical combination count, because it matches a known pattern.
4. Forgetting salting. Unsalted hashes allow precomputed rainbow table attacks, reducing cracking time to a simple table lookup — effectively 0 seconds regardless of password length. NIST SP 800-63B mandates salting for all stored credentials.
5. Conflating online and offline attacks. Online attacks (login form) are rate-limited to perhaps 10 attempts/second; offline attacks (against a stolen hash database) run at full GPU speed. This calculator models offline brute force — the worst-case threat scenario.
---
Related Calculators
Example calculation
Frequently asked questions
What character set sizes should I use for common password types?
How fast can modern hardware actually crack passwords?
Does this calculator account for dictionary attacks?
What does NIST currently recommend for password length and complexity?
Why does adding one character make such a huge difference?
Is a 12-character password actually safe today?
What is the difference between average and worst-case cracking time?
How does password salting affect cracking time calculations?
Does this apply to PINs and numeric-only codes?
Sources & references
Methodology & trust
Calculadora de tecnología revisada por el equipo editorial de Hacé Cuentas, contrastada con NIST SP 800-63B — Digital Identity Guidelines: Authentication and Lifecycle Management, según nuestra política editorial y metodología.
Última revisión: June 20, 2026. Los parámetros se verifican periódicamente con las fuentes citadas.
Calculations run 100% in your browser. We do not store or transmit your data.
Indicative results. For critical decisions, consult a professional.
Rodríguez, M. (2026). Calculate Password Cracking Time. Hacé Cuentas. https://hacecuentas.com/password-cracking-time-length
Contenido bajo licencia CC-BY 4.0 — reutilizable citando la fuente con enlace a Hacé Cuentas.