toolqik

29 · Hashing & Passwords

Password Entropy Calculator

Bits of entropy and crack times for passwords and passphrases.

Runs in your browser
Calculate for
Character sets
Entropy

About this tool

Password entropy measures how unpredictable a password is, in bits. Each bit doubles the number of guesses an attacker needs: a 40-bit password has about a trillion possibilities, a 60-bit one a million times more. This calculator works out the entropy for a given length and character set, for a passphrase of random words, or for a password you type, and shows how long cracking would take at different speeds.

The formula

For a password picked at random:

entropy = length × log2(pool size)

16 characters from a–z, A–Z, 0–9 (62):   16 × 5.95 = 95.3 bits
5 words from a 7,776-word list:          5 × 12.92 = 64.6 bits

Crack times assume the attacker finds the password after trying half the possibilities, on average.

Entropy only applies to random passwords

The formula assumes every character was chosen randomly. Password2024! is 13 characters from a pool of 94 (85 bits by the formula), but it’s one of the first things attackers try. The A password mode therefore shows an upper bound. To see how guessable a human-chosen password really is, use the Password Strength Checker.

How many bits are enough?

  • Under 40 bits: only safe behind a strict login rate limit.
  • 60–80 bits: good for most accounts if the site uses a slow password hash.
  • 80+ bits: resists offline cracking even with fast hashes: use this for password-manager master passwords and encryption keys you derive from a password.
  • 128 bits: the level of a random encryption key; beyond any brute-force attack.

FAQ

How is password entropy calculated?

For random passwords, multiply the length by log2 of the number of possible characters. 12 random characters from 94 printable ASCII characters give 12 × 6.55 ≈ 79 bits.

How much entropy does a good password need?

Aim for at least 60–80 bits for important accounts, and 80 or more for a password manager’s master password.

How much entropy is a passphrase?

Each word from the 7,776-word EFF list adds 12.9 bits, so 5 random words give about 65 bits and 6 words about 78 bits.

Why is my password’s entropy lower in the strength checker?

Entropy assumes random choice. Real passwords follow patterns that attackers exploit, so the strength checker’s estimate is usually much lower and more realistic.

esc
↑↓ navigate↵ open