Strength of 50 random characters
| Character set | Pool | Combinations | Entropy | Avg. time at 10 billion guesses/s |
|---|---|---|---|---|
| Digits only (PIN) | 10 | 1.00 × 10^50 | 166 bits | over a trillion years |
| Lowercase | 26 | 5.61 × 10^70 | 235 bits | over a trillion years |
| Lower + upper | 52 | 6.31 × 10^85 | 285 bits | over a trillion years |
| Letters + digits | 62 | 4.16 × 10^89 | 298 bits | over a trillion years |
| All four sets | 86 | 5.31 × 10^96 | 321 bits | over a trillion years |
The guessing rate is an assumption for illustration (a fast offline attack on a weak hash); real attacks can be far slower or faster. Times apply only to truly random passwords like these.
How entropy is calculated
bits = length × log₂(pool size) = 50 × log₂(86) ≈ 321.3
Each extra character multiplies the number of possibilities by the pool size. Going from 50 to 52 characters with all sets multiplies the search space by 86² = 7,396.