Hash Rate Crack Time Calculator

Estimate crack time for password hashes based on hash algorithm and hardware hash rate. Compare MD5, SHA-256, bcrypt, and Argon2 speeds.

Average Crack Time
2,103.7 years
Arithmetic average of values
Maximum Crack Time
4,207.4 years
Keyspace
6.63e+15
Total Hash Rate
50,000/s
1 GPU(s)
Planning notes, formulas, and examples

About the Hash Rate Crack Time Calculator

The hash algorithm used to store a password is the single biggest factor in how quickly an attacker can crack it offline. Fast algorithms like MD5 allow modern GPUs to compute over 100 billion hashes per second, while memory-hard algorithms like Argon2 reduce throughput to mere thousands. This calculator lets you select a hash algorithm, specify a keyspace, and see how long cracking takes at the algorithm's real-world hash rate.

This comparison is essential for security architects choosing password storage algorithms and for penetration testers estimating crack feasibility. By seeing the concrete time difference between MD5 and bcrypt for the same password, the case for proper password hashing becomes crystal clear.

When This Page Helps

Many legacy systems still use fast hashes like MD5 or SHA-1 for password storage. This calculator demonstrates, in concrete time estimates, the enormous difference proper hashing algorithms make. It helps justify migration efforts and algorithm selection decisions to both technical teams and management.

How to Use the Inputs

  1. Select the hash algorithm from the dropdown.
  2. Enter the password charset size and length to compute keyspace, or enter keyspace directly.
  3. Review the hash rate for the selected algorithm (per single GPU).
  4. Specify how many GPUs are used in the attack.
  5. See the estimated average and maximum crack times.
  6. Compare multiple algorithms to understand the security difference.
Formula used
Keyspace = Charset ^ Length. Crack Time = Keyspace / (Hash_Rate ร— GPU_Count). Average = Crack_Time / 2. Hash rates per GPU: MD5 โ‰ˆ 150B/s, SHA-256 โ‰ˆ 10B/s, bcrypt(12) โ‰ˆ 50K/s, Argon2id โ‰ˆ 1K/s.

Example Calculation

Result: 1,363 years (average)

An 8-character full-charset password has 95โธ โ‰ˆ 6.63 trillion combinations. Against bcrypt (cost 12) at 50,000 hashes/s per GPU, the average crack time exceeds 1,363 years. The same password stored as MD5 would fall in about 22 seconds, showing a 2-billion-fold improvement from proper hashing.

Tips & Best Practices

  • Always use bcrypt, scrypt, or Argon2id for password storage โ€” never MD5 or SHA.
  • Increase bcrypt cost factor by 1 each time hardware doubles in speed (roughly every 2 years).
  • Argon2id is the modern gold standard, offering resistance to both GPU and ASIC attacks.
  • Multiple GPUs scale linearly โ€” 8 GPUs crack 8ร— faster.
  • Hash rate varies significantly by GPU model; RTX 4090 is ~2ร— faster than RTX 3090.
  • Consider pepper (server-side secret) in addition to salt for defense in depth.

Hash Algorithm Speed Comparison

The speed difference between hash algorithms spans many orders of magnitude. A single RTX 4090 GPU can compute ~150 billion MD5 hashes per second but only ~50,000 bcrypt hashes at cost 12. This 3-million-fold difference is why algorithm selection is the most impactful password security decision.

Why Memory-Hard Algorithms Win

bcrypt slows down computation but can still be parallelized on GPUs with limited memory per core. Argon2 and scrypt require significant memory (64MB+ per hash), which severely limits GPU parallelism because GPU cores share limited VRAM. This makes Argon2 the best choice for new implementations.

Migration Strategy

If your system currently uses MD5 or SHA for passwords, plan a migration. A common approach is to wrap existing hashes: bcrypt(MD5(password)). On the next login, rehash directly with bcrypt. This provides immediate protection without requiring all users to change passwords.

Hardware Trends

GPU hash rates roughly double every 2โ€“3 years. Plan for this by choosing algorithms and parameters that provide at least 10 years of security margin.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Hash rate is the number of hash computations a device can perform per second. It depends on the hash algorithm's computational complexity and the hardware's processing power. Fast algorithms have high hash rates (bad for passwords), while slow algorithms have low hash rates (good for passwords).