Password entropy calculator
Choose whether a password is made of random characters or random words, enter its length and the character sets used, and this tool estimates its entropy in bits.
Results
Enter your values to see the result.
About this tool
It shows the size of the pool, the number of possible passwords and the average time an attacker would need at the guessing speed you choose. Never type a password you actually use into any website, this one included.
- How it is calculated
- entropy in bits = length × log2(size of the pool of characters), or number of words × log2(size of the word list); on average an attacker finds the password after trying half of all possibilities: years = 2^(bits − 1) ÷ guesses per second ÷ 31,557,600. This holds only when every character or word is chosen at random: a password a person invents is much weaker. Never type a password you use into any website, this one included: try a similar one.
- Worked example
- With My password is made of: random characters; Length: 12 characters; Lower-case letters (26): Yes; Capital letters (26): Yes; Digits (10): Yes; Symbols such as !?#$ (32): No; Other characters in the pool: 0; Guesses per second: 1 billion, the result is: Entropy: 71.45 bits; Size of the pool: 62; Number of possible passwords (power of ten): 21.51; Average time to find it: 51,117.11 years.
- Good to know
- Entropy is the length times the base-2 logarithm of the pool size, or the number of words times the logarithm of the word list size. The time is half of all possibilities divided by the guesses per second. This holds only if every character or word is chosen at random, and a password a person invents is much weaker.
Frequently asked questions
Is it safe to type my password here?
Do not enter any password you use. Try a similar one of the same length and kind, which gives you a fair estimate without risk.
Why do random words make a good password?
A few random words from a long list can have high entropy and are easier to remember than random symbols. Six words from a list of 7776 give about 77 bits.
How many bits are enough?
It depends on what is protected and how an attacker can guess. Many guides suggest at least 60 to 80 bits for important accounts. A password manager makes long random passwords practical.