Strength of 6 random characters
| Character set | Pool | Combinations | Entropy | Avg. time at 10 billion guesses/s |
|---|---|---|---|---|
| Digits only (PIN) | 10 | 1.00 × 10^6 | 20 bits | under a second |
| Lowercase | 26 | 3.09 × 10^8 | 28 bits | under a second |
| Lower + upper | 52 | 1.98 × 10^10 | 34 bits | under a second |
| Letters + digits | 62 | 5.68 × 10^10 | 36 bits | 2.8 seconds |
| All four sets | 86 | 4.05 × 10^11 | 39 bits | 20 seconds |
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) = 6 × log₂(86) ≈ 38.6
Each extra character multiplies the number of possibilities by the pool size. Going from 6 to 8 characters with all sets multiplies the search space by 86² = 7,396.