Password Entropy Calculator

Entropy Measures How Many Guesses a Password Actually Costs

"Strong password" is a vague instruction until it's converted into a number. Entropy, measured in bits, expresses exactly how large the search space is that an attacker has to work through — each additional bit doubles the number of possible passwords, which is why a small increase in length or character variety produces an outsized increase in resistance to guessing.

The Formula

Entropy (bits) = Length × log2(Charset Size)

Charset size is the sum of every character class enabled: 26 for lowercase, 26 for uppercase, 10 for digits, and 32 for symbols. A 12-character password using all four classes draws from a charset of 94 characters.

Where This Matters

  • Password policy design — setting minimum length and complexity rules that guarantee a target entropy floor.
  • Comparing password choices — deciding whether a longer password with fewer character types beats a shorter one with more variety.
  • Security audits — quantifying how much margin a password policy actually provides against offline guessing.

Entropy by Length and Character Set

Entropy in bits for common password configurations
LengthCharacter classesCharset sizeEntropy
8Upper + lower + digits6247.63 bits
12Upper + lower + digits6271.45 bits
12Upper + lower + digits + symbols9478.66 bits
16Upper + lower + digits + symbols94104.87 bits

Values computed directly from Entropy = Length × log2(Charset Size).

How to Use This Calculator

  1. Enter the Password Length in characters.
  2. Check the character classes included: lowercase, uppercase, digits, and/or symbols.
  3. Select Calculate to get the entropy in bits.

Related Calculations

Pair entropy with a plain-language rating using the Password Strength Calculator, or see how entropy translates into real crack time with the Brute Force Attack Time Calculator.