12-character random password

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

Strength of 12 random characters

Character setPoolCombinationsEntropyAvg. time at 10 billion guesses/s
Digits only (PIN)101.00 × 10^1240 bits50 seconds
Lowercase269.54 × 10^1656 bits55 days
Lower + upper523.91 × 10^2068 bits619 years
Letters + digits623.23 × 10^2171 bits5,112 years
All four sets861.64 × 10^2377 bits259,327 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) = 12 × log₂(86) ≈ 77.1

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

Other lengths