Password Entropy Calculator — Measure Password Randomness
One number can lie to you — compare pool-based and true Shannon entropy, see word-based passphrase strength, and check a realistic crack-time estimate. Prefer a verdict with actionable tips? Use the Password Strength Checker, or create a fresh one with the Password Generator.
What is Password Entropy Calculator?
Think of entropy as the odds in your favor. It measures how unpredictable a password is, in bits — every extra bit doubles the number of guesses an attacker has to grind through. The more bits, the harder a brute-force crack becomes.
Zero-Server Tool Data Guarantee
All computation happens locally in your browser. Your password is never sent to any server.
How to Use
Enter a Password
Type or paste any password or string into the input box.
Review the Metrics
Pool-based and true Shannon entropy, character composition, and the crack-time estimate update instantly as you type.
Toggle & Copy
Use the eye icon to toggle visibility and the copy button to save your password.
Common Use Cases
Compare Password Candidates
Enter two or more password options and compare their entropy bits to choose the strongest one.
Understand Pool Size Impact
See how adding uppercase letters, digits, or symbols changes the character pool and overall entropy.
Estimate Brute-Force Resistance
Use the crack time estimate to see how long an attacker running 1 billion guesses per second would need to break the password.
Spot Patterned Passwords
Compare the pool-based and true Shannon entropy numbers — a big gap reveals repeated characters or patterns that lower real-world strength.
Design Passphrase Entropy
Test random passphrase combinations to ensure they meet your security requirements.
Implementation Examples
function entropyBits(length, poolSize) {return Math.floor(length * Math.log2(poolSize));}// Lowercase only (pool=26), 12 charsentropyBits(12, 26); // 56 bits// All types (pool=95), 12 charsentropyBits(12, 95); // 78 bits// Passphrases: the pool is per WORD, not per character.// 5 diceware words from the 7,776-word EFF list:Math.floor(5 * Math.log2(7776)); // 64 bits
Entropy by Character Pool
| Character Set | Pool Size | Entropy per Char | 12-Char Total |
|---|---|---|---|
| Lowercase only (a-z) | 26 | 4.7 bits | 56 bits |
| Lowercase + uppercase | 52 | 5.7 bits | 68 bits |
| Letters + digits | 62 | 5.95 bits | 71 bits |
| All printable ASCII | 95 | 6.6 bits | 79 bits |
| Diceware word list | 7,776 | 12.9 bits | 155 bits (12 words) |
Production Best Practices & Security
Frequently Asked Questions
Entropy measures how unpredictable your password is, expressed in bits. Think of it as the number of guesses an attacker would need on average to crack it — each bit of entropy doubles the difficulty.
A password with 40 bits can be cracked in roughly a trillion tries (easy for a GPU). With 80 bits, it requires 2^80 guesses — computationally infeasible with current technology. Entropy depends on two things: password length and the number of possible characters per position. A 12-character password using only lowercase (≈56 bits) actually edges out an 8-character password drawn from the full printable ASCII set (≈53 bits) — length is that powerful. Type a password above to see its bits update in real time.