Skip to content

Password strength calculator (entropy)

Estimate password entropy (bits) and crack time from length and character types.

Entropy
71 bits
RatingStrong
Character pool62
Crack time (fast attack)5,112 years

Theoretical estimate (10 billion guesses/s). Use a password manager and long, unique passwords.

How the calculation works

A password's strength is not how complicated it looks but how many attempts an attacker would need, on average, to hit it. That is measured in bits of entropy:

entropy = length × log₂(character pool size)

Each extra bit doubles the effort required. Note what the formula says: the character pool enters through a logarithm while length enters as a multiplier — so each additional character is worth far more than any special symbol.

How long each password holds out

Assuming an offline attacker able to test 100 billion guesses per second, realistic against a breach with weak hashing:

PasswordEntropyTime to crack
8 characters, lowercase and digits41 bits28 seconds
8 characters, full keyboard53 bitsunder a day
4 random words52 bitsunder a day
5 random words65 bitsabout 9 years
12 characters, full keyboard79 bits170,000 years

The limit of the measure

The entropy computed here assumes characters drawn at random. A password your brain chose has far lower real entropy than the formula suggests, because it follows predictable patterns: a dictionary word, a capital first, a number at the end. That is why "P@ssw0rd26" has 10 characters and holds out far less than 10 genuinely random ones.

Examples

  • "password123" has very low entropy (dictionary word + sequence).
  • Four random words beat swaps like "p4ssw0rd".

Frequently asked questions

What boosts strength the most?

Length. A longer password beats complex character substitutions.

What is password entropy?

A measure of unpredictability in bits. Each extra bit doubles the guesses needed. Above ~60 bits is strong.

Do letter-for-number swaps help?

Barely — attackers know these tricks (a→4, e→3). Length and randomness matter far more.

Related calculators

More Tech / IT calculators

See all →

Updated on June 18, 2026 · by Rafael Rossi · Methodology & sources