Password Entropy Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Enter the length of a random password and the set of characters it is drawn from to get its entropy.
Result
Entropy (bits)
Possible passwords (power of 10)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
Affiliate link
This is an affiliate link: FiftyCalc may earn a commission if you buy through it. This does not change the result.
NordPass is a password manager that stores and generates passwords. Visit NordPass
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Password length (characters): enter 1 or more.
- Characters used (each picked at random): choose one of the 6 options in the list.
- Read the result: Entropy (bits); the panel also shows Possible passwords (power of 10).
How this calculator works
Entropy H = L × log₂(R) bits, for a password of L characters each chosen independently and uniformly from R possible characters. The number of possible passwords is R^L = 10^(L × log₁₀ R).
R counts characters: 26 letters per case, 10 digits, and 94 for all printable ASCII characters except the space (codes 33 to 126).
The formula holds only for random passwords. Words, names and patterns chosen by people have far less entropy than their length suggests.
The formula
| Symbol | Meaning |
|---|---|
| Password length (characters) | |
| Characters used (each picked at random) | |
| Entropy (bits) |
Worked example
| Password length (characters) | 12 |
|---|---|
| Characters used (each picked at random) | Letters, digits and symbols: printable ASCII without space (94) |
| Possible passwords (power of 10) | 23.6775 |
|---|
Entropy (bits) 78.6551
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
How much entropy does a random 12-character password have?
With all 94 printable characters, 78.66 bits: about 10^23.68 possibilities.
Is a random 8-letter lowercase password strong?
It has 37.6 bits (26^8 ≈ 2 × 10^11 possibilities), far less than a 12-character mixed one.