Strength of 24 random characters
| Character set | Pool | Combinations | Entropy | Avg. time at 10 billion guesses/s |
|---|---|---|---|---|
| Digits only (PIN) | 10 | 1.00 × 10^24 | 80 bits | 1,584,404 years |
| Lowercase | 26 | 9.11 × 10^33 | 113 bits | over a trillion years |
| Lower + upper | 52 | 1.53 × 10^41 | 137 bits | over a trillion years |
| Letters + digits | 62 | 1.04 × 10^43 | 143 bits | over a trillion years |
| All four sets | 86 | 2.68 × 10^46 | 154 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) = 24 × log₂(86) ≈ 154.2
Each extra character multiplies the number of possibilities by the pool size. Going from 24 to 26 characters with all sets multiplies the search space by 86² = 7,396.