Password Entropy Calculator
Calculate entropy from length and character set.
Settings
Result
Time to crack
- Website login with limits10 guesses a second
- longer than the universe will last
- Website login, no limits1,000 guesses a second
- longer than the universe will last
- Stolen database, slow hash10,000 guesses a second
- longer than the universe will last
- Stolen database, fast hash10 billion guesses a second
- 76 billion years
- Large GPU cluster1 trillion guesses a second
- 755 million years
A password entropy calculator you can set by hand
Work out the entropy of a random password or passphrase from its length and character set, and see the combinations and crack times.
- Characters or words. Switch between a password made of random characters and a passphrase made of random words.
- Pick the character sets. Lowercase, uppercase, numbers and symbols add 26, 26, 10 and 33 to the pool.
- Choose the word list. Use 1,296, 7,776 or 50,000 words to model different passphrase schemes.
- Combinations and crack times. See the number of possibilities and the average time against five kinds of attacker.
Uses of an entropy calculator
Use it to size a secret before you generate it, or to compare schemes.
- Planning a policy. See what a minimum length of 12 or 16 really buys.
- Comparing schemes. Check whether six words beat twelve random characters.
- Teaching. Show how every extra character multiplies the work for an attacker.
- Choosing token sizes. Pick a length for a code or token that reaches a target number of bits.
Password entropy questions
How is entropy calculated?
For characters it is the length times log base 2 of the pool size. For words it is the number of words times log base 2 of the list size.
Does the result apply to a password I made up?
No. The formula only holds when every character or word is picked at random. Human-made passwords are much weaker than their length suggests, so use the password strength checker for those.
What entropy do I need?
The strength label switches at 45 bits (Fair), 60 (Strong) and 80 (Excellent). Each extra bit doubles the number of guesses needed.
Why is the crack time an average?
An attacker finds a secret on average after trying half of all possibilities, so the tool uses half the search space.