What is password entropy in simple terms?
It is the number of equally likely possibilities a password could have been, written as a power of two. A password with 40 bits of entropy is one of about 1.1 trillion possibilities.
Password entropy is the standard way to say how hard a password is to guess, measured in bits. Use the calculator to try any character set or wordlist and any length, then read on for what the number means, where it comes from, and when it does not apply.
Turn on JavaScript to calculate.
| Attack | Guess rate | Time to try every possibility |
|---|
You do not have to take our word for it. Browser developer tools list every request a page makes, so you can watch 2pass work and confirm that your passwords are never sent anywhere. The check takes about a minute.
F12, or Cmd+Option+I on a Mac, and select the Network tab.For extra proof, turn on offline mode after the page loads: the generators, the strength checker, and the calculator keep working, because they never needed the network. Only the breach check needs a connection, and only after you ask it to.
The production site also sends a Content-Security-Policy header that tells your browser to refuse connections to anywhere except this site, the anonymous analytics endpoint, and the Have I Been Pwned range API, so even a bug could not send a password somewhere else.
Password entropy is the base-2 logarithm of the number of equally likely passwords a method could have produced. A password chosen uniformly from 1,024 possibilities has 10 bits of entropy, because 2 to the 10th power is 1,024. Every extra bit doubles the number of possibilities, and with it the work an attacker must do to try them all.
Entropy describes the method, not the string. The same 12 characters can be very strong when a cryptographic generator picked them and very weak when a person did, because the person's choices are far from equally likely.
For a secret built from independent, uniformly random choices, entropy in bits equals the number of choices times log2 of the number of options per choice. A password of L characters from a set of N characters has L x log2(N) bits. A passphrase of W words from a list of K words has W x log2(K) bits.
| Secret | Set size | Bits per symbol | Length | Total bits |
|---|---|---|---|---|
| PIN | 10 digits | 3.32 | 6 | 19.9 |
| Lowercase password | 26 | 4.70 | 12 | 56.4 |
| Letters and digits | 62 | 5.95 | 12 | 71.5 |
| All printable ASCII | 94 | 6.55 | 12 | 78.7 |
| All printable ASCII | 94 | 6.55 | 16 | 104.9 |
| EFF large wordlist | 7,776 words | 12.92 | 6 words | 77.5 |
| EFF short wordlist | 1,296 words | 10.34 | 6 words | 62.0 |
A secret with B bits has 2 to the power of B possibilities. An attacker trying every one at a rate of R guesses per second needs 2^B / R seconds to finish, and on average finds the answer halfway through. The calculator shows four rates that 2pass uses everywhere, as order-of-magnitude assumptions:
At 10 billion guesses a second, 40 bits fall in under two minutes, 60 bits take a few years, and 80 bits take millions of years.
2pass uses one scale on every tool: under 20 bits is very weak, 20 to 39 weak, 40 to 59 fair, 60 to 79 strong, and 80 or more very strong. A website login protected by rate limiting is safe well below 60 bits, but you cannot know how every site stores passwords, so plan for the fast-hash case.
For website accounts filled in by a password manager, aim for 80 bits or more: 13 random characters from all printable characters, or seven random words. For secrets that could be attacked offline forever, such as disk encryption or a password-manager master password, more is cheap insurance.
The length times log2 formula assumes every character was chosen at random and independently. People do not choose that way. Password1! is 10 characters from all four sets, so the formula says about 65 bits, yet it is one of the first few thousand guesses in any attack, because attackers model exactly how people build passwords: a word, a capital first letter, a digit, a symbol at the end.
For a password someone invented, the honest question is how early it appears in an attacker's guessing order, not how large its character set is. That is what the strength checker estimates. The entropy calculator on this page is exact only for randomly generated secrets, like those from the password generator.
Length usually wins. Going from lowercase to all printable characters raises bits per character from 4.70 to 6.55, a fixed gain of about 1.85 bits per character. Adding one more character adds a full 4.7 to 6.55 bits. A 20-character lowercase password has 94 bits; a 12-character password using every character set has 78.7.
In practice use both when a site allows them, and add length when it does not. For passphrases the same logic applies: one extra word adds 12.9 bits, while capitalizing every word adds nothing, because it is a fixed rule rather than a random choice.
An attacker searching a space of 2^B possibilities in some order finds any particular secret, on average, after trying half of them, which is 2^(B-1) guesses. Half the work is exactly one bit less, so a 60-bit password behaves like 59 bits on average. The calculator shows the time to try every possibility, the worst case for the attacker.
Luck cuts both ways: a lucky attacker may hit the password early, an unlucky one late. Entropy cannot promise any single outcome; it describes how the odds scale. That is why the margins on the 2pass scale are generous, and why 80 bits is labelled very strong rather than merely enough.
The calculator only does arithmetic in your browser; there is nothing to type that is secret. To generate a secret with the entropy you picked, use the password or passphrase generator with the same settings.
Everything is on the 2pass home page. Part of the 2suite.io privacy-first ecosystem.
It is the number of equally likely possibilities a password could have been, written as a power of two. A password with 40 bits of entropy is one of about 1.1 trillion possibilities.
For randomly chosen characters or words: length x log2(set size). For example, 16 characters from 94 printable characters is 16 x 6.55 = about 104.9 bits.
At least 60 bits for strong and 80 bits or more for very strong on the 2pass scale. For a password-manager master password or disk encryption, aim higher.
Its formula entropy assumes random characters, but a person chose it with a common pattern, so attackers guess it almost immediately. The formula only applies to randomly generated secrets.
A word picked at random from the EFF large wordlist of 7,776 words adds log2(7776), about 12.925 bits.
Less than adding length. Switching a random password from 62 to 94 characters adds about 0.6 bits per character; one extra character adds about 6.5 bits.