Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

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.

Password Entropy Calculator

Password length (characters): enter 1 or more. Prefilled example: 12.

Characters used (each picked at random): choose one of the 6 options in the list. Prefilled example: Letters, digits and symbols: printable ASCII without space (94).

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.

  1. Password length (characters): enter 1 or more.
  2. Characters used (each picked at random): choose one of the 6 options in the list.
  3. 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

  1. B=L×log2⁡(R)
Symbols used in the formula
SymbolMeaning
LPassword length (characters)
RCharacters used (each picked at random)
BEntropy (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
  1. B=12×log2⁡(94)=78.6551

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.

Related calculators