Password Entropy Calculator

Password Entropy Calculator

Growing AI Skill PRO

Enter Calculation

Formula

E=Length·log2(R)where{R=26·[a-z]+26·[A-Z]+10·[0-9]+32·[symbols]\begin{gathered} E = \text{Length} \cdot \log_{2}(R) \\[1.5em] \text{where}\quad \left\{ \begin{aligned} R &= 26 \cdot {{[\text{a-z}]}} + 26 \cdot {{[\text{A-Z}]}} \\ &+ 10 \cdot {{[\text{0-9}]}} + 32 \cdot {{[\text{symbols}]}} \end{aligned} \right. \end{gathered}
Usage stats

Advertisement

Results

Password Entropy
71.45
bits of entropy
Character set size 62 symbols
Possible combinations 3,226,266,762,397,900,000,000

Report an error on this page

What Is Password Entropy?

Password entropy measures, in bits, how unpredictable a password is. Each extra bit doubles the number of guesses an attacker must make on average. A password with 40 bits has roughly a trillion possible combinations, while 80+ bits is considered very strong against modern brute-force attacks. This tool is a universal mathematical estimate and does not account for dictionary words, predictable patterns, or reuse.

Bar chart comparing low and high entropy passwords by number of bits
More length and a larger character set produce more entropy bits and a stronger password.

How to Use This Calculator

Enter the length of your password and tick the character sets it draws from: lowercase letters (26), uppercase letters (26), digits (10), and symbols (≈32). The calculator sums those into the charset size \(R\), then computes entropy assuming each character is chosen randomly and independently.

The Formula Explained

Entropy is $$E = L \times \log_{2}(R)$$ where \(L\) is the number of characters and \(R\) is the charset size. The base-2 logarithm converts the total number of combinations (\(R^{L}\)) into bits, because each bit represents one binary yes/no decision. Equivalently, \(E = \log_{2}(R^{L})\).

Advertisement
Diagram showing password length L times log base 2 of charset size R equals entropy bits
Entropy equals password length L multiplied by log2 of the character-set size R.

Worked Example

A 12-character password using lowercase + uppercase + digits has \(R = 26 + 26 + 10 = 62\). So $$E = 12 \times \log_{2}(62) = 12 \times 5.954 \approx 71.45 \text{ bits}$$ with \(62^{12} \approx 3.2 \times 10^{21}\) possible combinations — strong enough for most uses.

FAQ

How many bits is "secure"? A common guideline: 60+ bits is decent, 80+ bits is strong, and 100+ bits is excellent for high-value accounts.

Does this measure my actual password? No. It assumes truly random characters. A 12-character password like "Password1234" has far less real entropy because it follows guessable patterns.

Why use \(\log_{2}\)? Entropy is measured in bits, and one bit doubles the guessing effort — exactly what a base-2 logarithm captures.

Last updated:

Most popular in Digital Life

View all Digital Life calculators