Strength of 10 random characters
| Character set | Pool | Combinations | Entropy | Avg. time at 10 billion guesses/s |
|---|---|---|---|---|
| Digits only (PIN) | 10 | 1.00 × 10^10 | 33 bits | under a second |
| Lowercase | 26 | 1.41 × 10^14 | 47 bits | 2.0 hours |
| Lower + upper | 52 | 1.45 × 10^17 | 57 bits | 84 days |
| Letters + digits | 62 | 8.39 × 10^17 | 60 bits | 1.3 years |
| All four sets | 86 | 2.21 × 10^19 | 64 bits | 35 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) = 10 × log₂(86) ≈ 64.3
Each extra character multiplies the number of possibilities by the pool size. Going from 10 to 12 characters with all sets multiplies the search space by 86² = 7,396.