Quick Answer — How Is Password Entropy Calculated?
Password entropy is the base-2 logarithm of how many equally likely passwords could have been generated: H = L × log_2(R), where L is the length and R is the size of the character pool. With all four classes enabled the pool is 26 + 26 + 10 + 32 = 94 characters, worth 6.55 bits per character. A word-based passphrase uses the same formula with words in place of characters: the standard 7,776-word diceware list is worth 12.92 bits per word.
Each extra bit doubles the attacker's work. That is why length beats complexity — adding one character to a 94-character-pool password adds 6.55 bits, while switching a lowercase-only password to mixed case adds just 1 bit per character.
Entropy for common specifications, with average crack time against a fast offline attack at 10¹² guesses/second:
- 8 characters, lowercase only — 37.60 bits, *Very weak*, cracked in under 1 second
- 8 characters, all 94 — 52.44 bits, *Weak*, 50.8 minutes
- 10 characters, all 94 — 65.55 bits, *Reasonable*, 311.7 days
- 12 characters, all 94 — 78.66 bits, *Reasonable*, 7.5 thousand years
- 16 characters, letters + digits — 95.27 bits, *Strong*, 755.3 million years
- 16 characters, all 94 — 104.87 bits, *Excellent*, 588.7 billion years
- 6-word diceware passphrase — 77.55 bits, *Reasonable*, 3.5 thousand years
Note the 16-character letters-and-digits row: at 95.27 bits it beats a 12-character password that uses every symbol on the keyboard (78.66 bits) by a wide margin. Four extra characters are worth more than the entire symbol class.