Password Entropy Calculator
Bits of entropy from length and character set — with the formula shown, not hidden.
Runs entirely in your browser. Your inputs are never sent to a server.
How it works
Password entropy measures the uncertainty in the process that generated a password. This
calculator estimates it from the length and the character set, or pool. If a generator picks each
character independently and gives every character in that pool an equal chance, a password of
length L from a pool of C characters has CL
equally likely outcomes. Taking the base-two logarithm gives
entropy = length × log2(pool size).
Each bit doubles the number of equally likely outcomes. A difference of 10 bits means 210, or 1,024 times as many possibilities under this model. The calculator's pools have 26 lowercase letters, 26 uppercase letters, 10 digits and 33 symbol choices. With all boxes checked, the model assumes 95 equally likely choices at every position. Select the pool your generator uses. A random draw can happen to omit a class that was available.
Worked examples
| Uniform random generation | Calculation | Approximate entropy |
|---|---|---|
| 8 lowercase characters | 8 × log2(26) | 37.6 bits |
| 8 characters from the full pool | 8 × log2(95) | 52.6 bits |
| 12 lowercase characters | 12 × log2(26) | 56.4 bits |
| 16 characters from the full pool | 16 × log2(95) | 105.1 bits |
In this comparison, extending the lowercase password to twelve characters adds more entropy than keeping eight characters and broadening the pool. The trade-off depends on the two lengths and pools you are comparing. The display rounds the bits to a whole number. Its crack-time line uses 1011 guesses per second as an illustrative assumption, and its strength label summarizes the modeled bit count.
Why a human-chosen password scores too high
Seeing a capital letter, a digit and a symbol tells you those characters appear in the password. It tells you little about the order in which someone would guess it. People often start with a word, capitalize it in a predictable place or append a date or punctuation. The formula would credit the entire selected pool at each position even if the person always used that same recipe. NIST's discussion of password strength explains why user-chosen entropy is difficult to estimate.
Generation rules can also change the calculation. If a service adds the same suffix to every generated password, the suffix adds no random choices. If choices vary by position but are still independent and uniform, add the logarithms of the separate pool sizes. If the generator rejects outputs that lack a required class, count its allowed outputs instead of treating all combinations as valid. The checkboxes model a shared pool.
For a numeric code, select digits only and count every position the generator fills, including a possible leading zero. If it cannot generate a leading zero, the first position has fewer choices and needs its own pool size in the calculation.
Estimate a random passphrase by words
Use one independent draw per word. The EFF long wordlist
has 7,776 entries, one for each ordered result of five six-sided dice. The result is
log2(7776), about 12.9 bits per word. Four words give about 51.7 bits and six give
about 77.5 bits. Keep the words in draw order and allow repeats. A fixed separator keeps the
word boundaries visible and adds no entropy of its own. An everyday quotation or a
set of related words chosen from memory has a different, hard-to-estimate distribution.
What to do with your result
Use the bits to compare generator settings before creating a credential. Use a password manager for unique random strings and a passphrase generator for secrets you need to type or remember. Compare time estimates at different illustrative rates with the password combination calculator. Treat a strength label as a description of the input model. Exposure through reuse, phishing or a breach calls for action even when the original credential was well generated.
For service policy, NIST SP 800-63B-4 requires at least 15 characters for single-factor passwords. It permits a minimum as low as eight only for passwords used exclusively as part of MFA, recommends supporting a maximum of at least 64 characters and prohibits mandatory character-class rules. Pair the length floor with a password blocklist and rate limiting. The password policy guide shows how to turn those requirements into checks for enrollment, sign-in and reset flows.
FAQ
How do I calculate password entropy in bits?
Multiply the number of independently generated characters by the base-two logarithm of the pool size. A 16-character password drawn uniformly from 95 choices per position has about 105.1 bits.
Is password entropy the same as password strength?
Entropy describes uncertainty in the generation process. Practical strength also depends on password reuse, online rate limits, password storage, MFA and whether the credential has already been exposed.
How much entropy should a password have?
Choose a generator and length for the account and the threats you need to handle. There is no universal bit count for all services, and NIST's password length floor is a verifier requirement rather than a bit target.
Do special characters increase entropy?
They increase entropy when they enlarge the pool of random choices. Appending the same known symbol every time makes the password longer without adding any random choices.
Can I estimate the entropy of a password I made up?
The formula gives the uniform model for the length and pool you enter. A pattern-aware strength checker can flag familiar constructions, though it cannot recover the probabilities behind a single human choice.
How many bits does a Diceware passphrase have?
With independent uniform draws from the EFF long list, each word adds about 12.9 bits. Six words yield about 77.5 bits when calculated using the unrounded per-word value.
From the channel
This Is What Your Password Looks Like in a Database.
Watch safe, hands-on security demonstrations for complete beginners on The Exploit HQ ▸
Password Cracking Explained — See It Happen Live
Watch safe, hands-on security demonstrations for complete beginners on The Exploit HQ ▸
kev brief
Patch what's actually being exploited.
Subscribe and get the KEV Patch Priority Playbook, free, in your inbox now.
Free. No spam. Unsubscribe anytime. Delivered by Beehiiv.