Strength of 16 random characters
| Character set | Pool | Combinations | Entropy | Avg. time at 10 billion guesses/s |
|---|---|---|---|---|
| Digits only (PIN) | 10 | 1.00 × 10^16 | 53 bits | 5.8 days |
| Lowercase | 26 | 4.36 × 10^22 | 75 bits | 69,094 years |
| Lower + upper | 52 | 2.86 × 10^27 | 91 bits | 4,528,136,764 years |
| Letters + digits | 62 | 4.77 × 10^28 | 95 bits | 75,532,362,580 years |
| All four sets | 86 | 8.95 × 10^30 | 103 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) = 16 × log₂(86) ≈ 102.8
Each extra character multiplies the number of possibilities by the pool size. Going from 16 to 18 characters with all sets multiplies the search space by 86² = 7,396.