A strength meter that only says "strong" or "weak" doesn't say much. Entropy in bits is a concrete and comparable measure: it quantifies how many possible combinations a password has and lets you estimate how long it would take to go through them by brute force. The entropy calculator on this site computes it right in your browser.
What entropy in bits means
Entropy measures the amount of information, in bits, needed to represent all possible combinations of a password. Every additional bit doubles the number of combinations. A password with 40 bits has 2⁴⁰ combinations (roughly 1.1 × 10¹²); with 60 bits, 2⁶⁰, about 1.15 × 10¹⁸.
The basic formula is: entropy = length × log₂(size of the character set used). If you only use lowercase letters (26 possible characters per position), each character contributes less entropy than if you mix lowercase, uppercase, numbers and symbols. The calculator uses 26 for lowercase, 26 for uppercase, 10 for digits and 33 for symbols, so the full alphabet is 95 characters.
Why length matters more than complexity
It's more efficient in entropy terms to add characters than to add variety of character types. Going from 8 to 12 lowercase characters adds about 19 bits; going from 8 lowercase characters to 8 characters using all four types adds about 15. This is counterintuitive against the popular belief that "more symbols = more secure", but it's what the math of combinations dictates.
How a password's real strength is measured
- Type the password you want to evaluate. It's analyzed in your browser and never sent anywhere.
- The tool calculates the bits from the length and the character types the password uses.
- It subtracts penalties for patterns: 25 bits if it contains a very common word or pattern (such as
password,qwertyor123456), 15 if it has three consecutive characters in order (abc,123), and 10 if it has three identical characters in a row.
Why the theoretical calculation sometimes lies
A password like P@ssw0rd123 has 11 characters and uses all four types, so the formula gives about 72 bits. The calculator subtracts 15 for the 123 sequence and leaves it at 57 bits, labeled as medium. But it's a predictable password: @ for a and 0 for o are substitutions that rule-based attacks try routinely, and the calculator doesn't model them. Its estimate is a rough guide. Tools that use full dictionaries and substitution rules, such as zxcvbn, account for those patterns.
From bits to "time to crack"
The calculator converts bits into the time it would take to go through all the combinations, assuming 10,000 million guesses per second (10¹⁰). That's the worst case: on average, an attacker needs half of it. At that rate:
- Under 30 bits: less than a second.
- 40 bits: about 2 minutes.
- 50 bits: a little over a day.
- 60 bits: about 3.7 years.
- 70 bits: about 3,700 years.
- 80 bits: about 3.8 million years.
Frequently asked questions
How many bits do I need to feel safe? There's no official figure. As a rough guide, 60 bits or more for important accounts and 80 or more for a password manager's master password, as long as the password doesn't follow predictable patterns.
Is my password sent to any server when measuring entropy? No. The calculation and pattern detection happen in your browser.
Why can a long lowercase-only password have more entropy than a short one with symbols? Because entropy grows with length: each character contributes log₂ of the alphabet size. Twenty lowercase letters give about 94 bits, while eight characters using all four types give about 53.
Does this work for passwords I already use, or only for generating new ones? Both: you can evaluate an existing password and decide whether it's worth changing. If you need a new one, see how to create a strong, unique password.
Calculate the bits of any password with the entropy calculator, with pattern detection and without it ever leaving your browser.