Strength of 8 random characters
| Character set | Pool | Combinations | Entropy | Avg. time at 10 billion guesses/s |
|---|---|---|---|---|
| Digits only (PIN) | 10 | 1.00 × 10^8 | 27 bits | under a second |
| Lowercase | 26 | 2.09 × 10^11 | 38 bits | 10 seconds |
| Lower + upper | 52 | 5.35 × 10^13 | 46 bits | 45 minutes |
| Letters + digits | 62 | 2.18 × 10^14 | 48 bits | 3.0 hours |
| All four sets | 86 | 2.99 × 10^15 | 51 bits | 1.7 days |
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) = 8 × log₂(86) ≈ 51.4
Each extra character multiplies the number of possibilities by the pool size. Going from 8 to 10 characters with all sets multiplies the search space by 86² = 7,396.