Every password tool quotes a number at you: bits of entropy. It decides verdicts, fills progress bars and gets printed next to your password as if it were a grade. Few people can say what it counts. That matters, because the number is only honest under one condition, and most passwords people invent do not meet it.
Entropy is the size of the search an attacker must run to guess a password. This guide builds the number from its formula, tests it against a genuinely random password from the Password Generator, and then shows, through the Password Strength Checker, why a human-chosen password with the same headline number can be far weaker than it looks.
Contents
- Quick answer
- What entropy actually counts
- The formula, with real numbers
- Why human passwords rarely earn their estimate
- Worked example: one pool, two very different passwords
- Length: the cheapest entropy there is
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
- References
Quick answer
Entropy measures how many guesses stand between an attacker and your password, and for a truly random password it is computed as length multiplied by log2 of the pool size: a generated password of 20 characters from an 82-character set carries about 127 bits. The catch is the word random. The Password Strength Checker shows both sides: a character-pool estimate that assumes random choice, and a zxcvbn score that recognises the words and patterns humans actually use. When the two disagree, trust zxcvbn, and remember the practical rule underneath the math: length is the cheapest entropy there is.
What entropy actually counts
Imagine a password as a combination lock. Each character is a dial, the pool is the number of symbols on each dial, and the length is the number of dials. The total combinations are the pool raised to the power of the length, and entropy is simply that total expressed in bits, the logarithm base 2. Double the pool and you add one bit per character. Add one character and you multiply the whole search by the pool size.
That is why entropy is quoted in bits rather than raw combinations: bits add up neatly as passwords grow, and each extra bit doubles the work an attacker faces. Sixty bits is not twice as strong as thirty in any casual sense; it is roughly a billion times more combinations. Entropy, read properly, is a measure of how hopeless exhaustive guessing is, which is exactly the attack it prices. It says nothing about the smarter attacks, and that gap is where the next sections live.
The formula, with real numbers
Take the defaults of the Password Generator: 20 characters, drawn from an 82-character set of lowercase, uppercase, digits and symbols. The formula gives 20 x log2(82). log2(82) is about 6.36, so the product lands at roughly 127 bits of entropy. Because the generator picks characters with the browser's cryptographic random source, using rejection sampling with no modulo bias, every one of those combinations is genuinely equally likely. The 127 bits are earned, not estimated.
Contrast a shorter random password from the same pool: 12 characters gives 12 x 6.36, about 76 bits. Still a serious search, but each removed character divided it by 82. Length is doing the heavy lifting in this formula, a point the passphrase discussion below returns to.
Why human passwords rarely earn their estimate
The formula prices a password as if each character were an independent random draw. Human choices are nothing of the kind. We pick words, names and dates. We walk our fingers across the keyboard. We turn an a into a 4 and call it complexity. None of those moves draws from the full pool, so the real search an attacker needs is far smaller than the formula suggests.
This is the gap zxcvbn was built to close. Instead of trusting the pool, it pattern-matches the password against the material attackers try first: dictionary words and names, calendar dates, sequences, keyboard patterns and l33t substitutions. A password built from those pieces gets scored on the size of the attacker's real search, not the theoretical one. That is why the checker presents both numbers side by side, and why its guidance is blunt about which to believe: the pool estimate describes the password you might have chosen at random; the zxcvbn score describes the one you actually chose.
Worked example: one pool, two very different passwords
The password Summer2024! draws on the same four character classes as the generator's default, and at 11 characters its pool estimate comes to about 72 bits. On paper that is a respectable number, the kind that fills most of a strength bar.
The Password Strength Checker tells the other half of the story: zxcvbn scores it 2 of 4, warns it is similar to a commonly used password, and estimates roughly 46 minutes to crack in a slow offline attack. Nothing about the pool changed. What changed is the assumption: a season, a recent year and a trailing exclamation mark are among the first constructions a cracking tool tries, so the effective search collapses. Set beside the generated password's 127 earned bits, the lesson is plain. Entropy is real, but only randomness collects it in full.
Length: the cheapest entropy there is
Every character you add multiplies the attacker's search by the size of the pool. No other change you can make compounds like that. Widening the pool by adding symbols helps once, modestly. Lengthening helps every single time, which is why the standing guidance is that length beats complexity.
It is also why a long passphrase of ordinary words can beat a short symbol tangle. Four or five unpredictably chosen words stretch the length term far beyond what eight characters of mixed symbols can reach, and they stay typeable. The condition is the same one as everywhere in this guide: the words must be chosen unpredictably. A famous quotation is a dictionary entry wearing a longer coat, and zxcvbn will treat it as one.
Limitations and honest tradeoffs
Entropy prices one attack: exhaustive guessing against a password chosen at random. It does not price phishing, reuse or a service storing passwords badly, and the checker cannot know whether a password has appeared in a breach. A high-entropy password pasted into five accounts is five copies of one secret.
Crack times, the other number checkers quote, are estimates built on assumed attack speeds and hardware. Treat them as orders of magnitude that let you compare passwords, never as promises about a specific password's survival time. And entropy itself is only as good as its randomness assumption: quote the pool estimate for generated passwords, and the zxcvbn score for human ones.
Common mistakes
- Quoting the pool estimate for a human password. The formula assumes random characters; your password was not random.
- Chasing symbols instead of length. One added character multiplies the search; one swapped symbol barely widens it.
- Reading bits as a crack time. Bits measure the search space; times depend on the attacker's hardware and method.
- Thinking a big number fixes reuse. Entropy describes one password on one account, not the same password on five.
- Choosing a famous phrase as a passphrase. Recognisable words are the first thing zxcvbn, and attackers, look for.
FAQs
What does 127 bits of entropy actually mean? It describes the size of the search an attacker faces when every character was chosen at random: a space so large that guessing the password directly is not a practical attack. The number comes from the formula length x log2(pool size), here 20 x log2(82).
Why does the checker give my password two different strength readings? The character-pool reading computes entropy as if your characters were random. zxcvbn instead recognises common words, names, dates, keyboard patterns and l33t substitutions, the guesses attackers try first. When the readings disagree, trust zxcvbn.
Does a passphrase have high entropy? A long passphrase of ordinary words can carry more real strength than a short password crowded with symbols, because length multiplies the search. That is why the guidance is length beats complexity: the words must still be chosen unpredictably, not as a famous quote.
Can I raise entropy by adding one symbol? A symbol widens the pool slightly, but one character adds far less than extra length does. Adding characters multiplies the attacker's search every time; swapping a letter for a symbol usually just makes the password harder for you to type.
Is entropy the same as a crack time? No. Crack times are estimates built on assumed attack speeds and hardware, so treat them as orders of magnitude, not promises. Entropy is the underlying measure of search size that those estimates start from.
Conclusion
Entropy is a simple idea with one strict condition: it counts the guesses facing an attacker when the password was chosen at random. Generated passwords collect it in full, human passwords collect a fraction of their headline figure, and length is the lever that moves it most. To see both readings applied to a real case, read our guide on how to check the strength of a password you have used for years. More guides in this series live in our Security and Privacy guides.
References
- Dropbox, zxcvbn: a password strength estimator inspired by password crackers: https://github.com/dropbox/zxcvbn
- NIST SP 800-63B, Digital Identity Guidelines, on memorized secrets and why length matters more than composition rules: https://pages.nist.gov/800-63-3/sp800-63b.html