20-character random password

A random 20-character password using upper and lower case, digits and symbols has about 129 bits of entropy.

Strength of 20 random characters

Character setPoolCombinationsEntropyAvg. time at 10 billion guesses/s
Digits only (PIN)101.00 × 10^2066 bits158 years
Lowercase261.99 × 10^2894 bits31,574,246,608 years
Lower + upper522.09 × 10^34114 bitsover a trillion years
Letters + digits627.04 × 10^35119 bitsover a trillion years
All four sets864.90 × 10^38129 bitsover 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) = 20 × log₂(86) ≈ 128.5

Each extra character multiplies the number of possibilities by the pool size. Going from 20 to 22 characters with all sets multiplies the search space by 86² = 7,396.

Other lengths