Password Entropy Explained: Why Length Beats Cleverness Every Time
Password advice has spent years telling people to add symbols, digits and mixed case, and the result has been passwords that are hard for humans to remember and easy for computers to guess, because the advice optimised for the wrong thing. Entropy is the measure that actually matters: it estimates how many guesses an attacker would need, on average, to find a password, assuming the attacker knows the method used to create it but not the password itself. The Password Entropy Calculator estimates entropy from a password you supply, so you can compare a short complex password with a long passphrase and see which one genuinely resists guessing. It analyses the text you supply in your browser; never enter a real password into any calculator or website, and use sample passwords for every comparison.
Entropy is measured in bits, and each additional bit doubles the number of guesses required. A password with 30 bits of entropy needs about a billion guesses, while one with 60 bits needs about a quintillion, which is a difference of a factor of about a billion. The practical consequence is that length dominates: each additional character from a large set adds several bits, and each additional word in a passphrase adds far more. A short password, however complex its characters, simply does not have enough positions to accumulate high entropy, while a long passphrase accumulates it steadily with every word, and remains easy to remember at the same time.
How it works
A calculator estimates entropy by considering the size of the character set and the length of the password, and, in better implementations, by detecting patterns that reduce effective entropy, such as dictionary words, repeated characters, keyboard walks, and common substitutions. The naive calculation multiplies the logarithm of the character set size by the length, but that overstates the strength of a password like a common word with a digit at the end, because an attacker who tries dictionary words first will find it far sooner than the naive figure suggests. A good estimate therefore treats predictable structure as reducing entropy, which is why a calculator that reports only the naive figure can be dangerously optimistic.
How it works
The attacker's guessing speed sets the meaning of any entropy figure. An offline attack against a stolen password hash can try billions of guesses per second with specialised hardware, while an online attack against a login form is limited by rate limiting and lockouts to a handful of guesses per second. The same password that would survive centuries of online guessing might fall in days to an offline attack, which is why entropy targets differ by context: a password protecting a hash that could be stolen needs far more entropy than one protected by strict rate limiting. The calculator gives you the bits; the threat model tells you how many bits you need.
Worked example
Worked example with sample values. Suppose a sample password of 8 characters drawn from a set of 94 printable characters has a naive entropy of 8 times the logarithm base 2 of 94, which is about 8 times 6.55, or 52.4 bits. A sample passphrase of 4 words drawn from a list of 7,776 words has an entropy of 4 times the logarithm base 2 of 7,776, which is about 4 times 12.92, or 51.7 bits, roughly the same as the short password. A passphrase of 5 words gives about 64.6 bits, and 6 words gives about 77.5 bits, each extra word adding about 12.9 bits. The comparison shows the point clearly: adding one word to a passphrase adds more entropy than adding several characters to a short password, and the passphrase stays memorable. These are sample values for illustration, using sample passwords only, never real credentials.
Worked example
The same arithmetic exposes the weakness of common substitutions. Suppose a sample password is a dictionary word of 8 letters with one letter replaced by a digit and one by a symbol. The naive calculation might suggest over 50 bits, but an attacker who tries dictionary words with common substitutions will search a space far smaller than the full character set, and the effective entropy may be under 30 bits, or about a billion guesses. At a billion guesses per second, which is within reach of offline hardware, that password falls in about a second. The lesson is not that substitutions are useless, but that they add far less than their naive figure suggests, and length is the reliable way to add real entropy.
Mistakes to avoid
One common mistake is reusing a strong password across sites, which makes its entropy irrelevant: a breach at one site exposes the password for all of them, no matter how many bits it has. Another is writing a password down insecurely or sharing it in a message, which bypasses the guessing problem entirely. A third is judging a password by how it looks rather than by how it was generated: a password that looks random but was generated from a small word list is weaker than it appears, while a passphrase that looks simple but was drawn randomly from a large list is stronger than it appears. Generation method matters more than appearance.
Mistakes to avoid
A further mistake is entering a real password into an online calculator, a checker, or any tool outside the system it belongs to. Even a tool that claims to run in the browser may log, transmit, or store the input, and a password entered anywhere outside its own system should be treated as exposed. Always test with sample passwords that mimic the structure of real ones, and change any real password that has been entered into an external tool. A password manager removes most of the temptation, by generating and storing long random passwords so that no human needs to invent, remember, or type them.
Putting it into practice
Choose passphrases of at least five randomly-chosen words for important accounts, and use a password manager to generate long random passwords everywhere else. Test candidate structures with sample values in a calculator to build intuition for what length buys you, and set a personal minimum, such as 60 bits for ordinary accounts and more for anything that protects a password hash or a financial account. Enable a second factor wherever it is offered, because a second factor protects you even when a password is guessed, and review reused passwords as a priority, since reuse defeats entropy faster than any guessing attack.
Related tools and reading: Related tools and reading: the Password Generator and the Hash Generator cover neighbouring needs that pair naturally with this one, and the guide at [/blog/password-entropy-explained-length/] extends the same topic with further background and examples for readers who want to go deeper.
Key points
- Entropy in bits measures how many guesses an attacker needs on average
- Each extra bit doubles the guesses required, so length dominates
- Dictionary words and common substitutions add far less than naive figures suggest
- Never enter a real password into any calculator; test with samples only
In short: e.ntropy in bits measures how many guesses an attacker needs on average
One habit ties all of this together: re-check after every change. A result is only as current as the input it was run on, so a fix, a redesign, or a new version of the underlying material deserves a fresh run rather than reliance on an old report. Keep the previous result alongside the new one, note what changed between them, and treat any new finding as a question to investigate rather than a verdict to accept or dismiss. That loop of checking, fixing, re-checking and recording is what turns a one-off test into a reliable routine, and it costs far less time than debugging a problem that a second check would have caught early.