30-character random password

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

Strength of 30 random characters

Character setPoolCombinationsEntropyAvg. time at 10 billion guesses/s
Digits only (PIN)101.00 × 10^30100 bitsover a trillion years
Lowercase262.81 × 10^42141 bitsover a trillion years
Lower + upper523.02 × 10^51171 bitsover a trillion years
Letters + digits625.91 × 10^53179 bitsover a trillion years
All four sets861.08 × 10^58193 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) = 30 × log₂(86) ≈ 192.8

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

Other lengths