A password like Summer2026! has a capital letter, numbers and punctuation. It might tick every box on a sign-up form. But a season followed by a year and an exclamation mark is a familiar pattern. An attacker does not have to work through every string of that length to think of it.
That is the distinction behind password entropy: it describes how a password was chosen, not how complicated it looks. You can calculate it for a generator that makes random choices. You cannot reliably read it off a string that someone typed.
Imagine two people put exactly the same string into their password managers. One got there by following a familiar recipe; the other happened to draw that string at random from a large alphabet. The strings are identical, but only the second person picked from all of those possible outcomes with equal probability. That difference never appears in the characters on screen. It is a property of the process that produced them.
Password entropy at a glance
| Term | What it means here |
|---|---|
| Character pool | The characters the generator is allowed to draw from. A selected group adds options; it does not automatically guarantee one of each. |
| Search space | The number of eligible results for these settings. The exact count changes with length, the pool and any group requirement. |
| Entropy | A way to express uncertainty in bits. For equally likely outcomes, it’s the base-2 logarithm of the search space. |
| Guessing time | An average under a chosen rate and a simple search model. It isn’t a forecast for a real account. |
| Passphrase | A password made from words. Randomly choosing the words is what makes the generator’s entropy calculation possible. |
Think of the calculator as a way to compare choices: eight characters versus twelve, twelve versus sixteen, or a four-word phrase versus a six-word phrase. It is not a device that can look over your shoulder and discover how you decided what to type.
Start with how you’ll use it
If a password manager will do the typing, use a long, random password and save it against the correct account. The Password Generator & Entropy Calculator starts at 20 characters, with lowercase, uppercase, numbers and symbols available. That is a practical starting point when the site accepts those characters. Use a new result for every account; more entropy does not help once the same password has leaked elsewhere.
Choose a randomly generated passphrase when you need to remember the secret or type it by hand. Several independently chosen words can be easier to type than a shorter string of symbols. They are not the same as a favourite quotation or a meaningful sentence you invent. An attacker can guess familiar phrases in a way they cannot guess which words a fair draw will pick.
Keep both uses in perspective. A strong password helps against guessing, but it does not stop a convincing phishing prompt or malware on your device. Use multi-factor authentication where available and prefer a phishing-resistant option such as a passkey when the service supports it. NIST’s digital identity guidelines explain why password managers and authentication methods matter alongside the password itself.
One useful distinction is between something you have to type and something you only have to keep. A password for a website is usually something your manager can keep and fill. A password that unlocks the manager itself may have to be entered without that help. For the latter, a long sequence of randomly chosen words can be a better fit, provided you can store any recovery material somewhere you can reach without first unlocking the vault. Plan recovery when you set things up, rather than discovering the dependency when you lose a device.
How the calculator counts possibilities
Start with three choices: A, B and C. One draw gives three possible results. Two independent draws give nine, from AA to CC, including repeats. Each additional draw multiplies the count by three. There is no secret rule that says the second letter must differ from the first.
With N equally likely choices at each of L positions, the search space is $S = N^L$. Entropy in bits is $H = \log_2 S = L\log_2 N$. One extra bit doubles the number of equally likely outcomes. Ten extra bits multiply it by 1,024.
| Generator settings | Entropy | What changes |
|---|---|---|
| 16 letters from 26 lowercase choices | 75.2 bits | Only the lowercase alphabet |
| 20 letters from the same 26 choices | 94.0 bits | Four extra independent draws |
| 20 characters from all 94 choices | 131.1 bits | The same length, with a larger alphabet |
The last row is the default password model: all four groups enabled, no lookalikes removed and no per-group requirement. The formula is exact for those settings; the decimal number is rounded. A human who types 20 familiar characters has not made 20 random draws, so the same calculation does not describe that password.
Why four more characters matter
Each new position in the lowercase example makes the space 26 times larger. Four extra positions make it $26^4$ times larger: 456,976 times as many possible results. This is why adding length can be more useful than spending time trying to invent a complicated-looking ending. The improvement comes from making four new random choices, not from appending the same four characters every time.
The character pool has a different effect. Changing from lowercase to the full pool gives you more choices at each position; adding length gives you more positions. A service may restrict one of those things and not the other. If it rejects punctuation but accepts a longer password, keep the rest random and use the extra room.
Why six words give 72 bits
The tool contains 4,096 distinct words. Since $4{,}096 = 2^{12}$, each uniform draw adds 12 bits. The usual arithmetic is simple: four words give 48 bits, six give 72 and eight give 96. The wordlist can be public; it is the particular sequence that needs to stay secret.
An independent draw can repeat a word. Keeping the repeat preserves the model; picking a replacement because it feels less random changes the process. Hyphens, spaces, periods and underscores are available as separators, but a separator selected once and inserted between all the words is just formatting. The tool uses its own list, not the EFF dice wordlists, which demonstrate the same principle with physical dice.
There is a useful order to making a passphrase memorable: draw first, then invent a scene that helps you remember the words in that order. If you start by writing a scene and choose words that belong together, you are doing something different. Words in a sentence tend to constrain what comes next. The fact that six words appear in the final result does not mean it was drawn from the same space as six independent random words.
Passphrases are often longer in characters than they look at a glance. Check the service’s length limit and allowed separators before you depend on one. A rejected six-word phrase is not a reason to chop off its last word; choose a format the service accepts and generate a fresh secret with enough room. If a manager can fill the field for you, a randomly generated character password may be the simpler choice.
When a site insists on symbols or numbers
Ticking Symbols makes symbols available; it does not promise a symbol in every result. Turn on Require every selected group if the destination requires at least one character from each group you have selected. The tool draws a whole password and rejects it if a required group is missing. Because every candidate starts with the same chance, every accepted candidate has the same chance after filtering.
The rule actually removes possibilities from the same length and alphabet. It does not add entropy. The calculator counts only passwords that satisfy the rule. Exclude lookalikes also reduces the alphabet, removing 0, O, 1, l, I and |. If the site allows it, adding a few more characters is an easy way to compensate for a smaller alphabet.
A worked example: 12 characters from 57 choices
The settings in the article illustration select lowercase, uppercase and numbers, with symbols disabled. After removing lookalikes, the three groups have 25, 24 and 8 characters. That makes 57 choices per position. With Require every selected group off, a 12-character password has $57^{12}$ possible results, about $1.18 \times 10^{21}$.
Now turn the requirement on. A result made entirely of letters could still look random, but the tool must reject it because it has no number. The same applies to candidates that contain no lowercase or no uppercase. To count the eligible results, start with all $57^{12}$ strings, subtract the ones that omit a selected group, and add back any strings that were subtracted twice. For example, a digits-only string was counted both as missing lowercase and as missing uppercase. This is the inclusion–exclusion principle.
The result is exactly 981,940,376,564,244,345,600 eligible strings, or about 69.7 bits. The 12-character example in the hero corresponds to that model, but the other lengths shown there don’t use those same counts. Here is a like-for-like comparison with all settings held fixed:
| Length | Eligible results, rounded | Entropy, rounded |
|---|---|---|
| 8 characters | $7.60 \times 10^{13}$ | 46.1 bits |
| 12 characters | $9.82 \times 10^{20}$ | 69.7 bits |
| 16 characters | $1.13 \times 10^{28}$ | 93.2 bits |
| 20 characters | $1.25 \times 10^{35}$ | 116.6 bits |
Notice what the calculator is measuring. Every eligible string under the 12-character model has the same probability of being selected. The result describes the draw, not a special quality of the displayed sample. The illustration’s score next to Password123 isn’t a measurement: nobody can infer an exact entropy value from a familiar string without knowing the process that produced it. Neither example in the artwork is a password to use.
How the browser makes a fair draw
The tool calls the browser’s Web Crypto random source, but it still needs to turn a random integer into an index in the chosen pool. Picking the right random source and mapping its output fairly are two different jobs.
You can see the problem with one byte and ten choices. A byte can take 256 values. If you simply take the remainder after dividing by ten, remainders 0 to 5 are each hit by 26 byte values, while 6 to 9 are each hit by 25. It’s a small advantage, but it isn’t equal. If you accept only values 0 to 249 and draw again for the last six, each remainder is hit by exactly 25 accepted values. That retry is rejection sampling.
The actual tool uses 32-bit values rather than single bytes. It also uses a separate retry when a whole password fails the optional group rule. It doesn’t insert a required digit at a particular position or shuffle an already assembled password. Every candidate is sampled the same way from the full pool; the ones that happen to satisfy the rule are the ones that can be returned.
What the guessing time does and doesn’t mean
Imagine that a uniformly random secret is somewhere on a list of S possibilities. If no result is more likely than another and guesses never repeat, the secret’s average position on that list is $(S+1)/2$. Divide by a fixed number of guesses per second and you get the average shown by the tool. Average does not mean minimum, and the selected rate is an assumption, not a speed measured against your account.
Trying guesses against a sign-in page is different from testing against a copy of a leaked password hash or an encrypted file. A sign-in service can limit attempts or require another factor. Offline guessing speed depends on the password hashing or key-derivation scheme and the hardware. These differences are why a big number in the calculator is useful for comparing settings, not for predicting when a particular account might be compromised.
For the 12-character example, a billion guesses per second produces an average of about 15,600 years. Change the selector to a trillion guesses per second and the answer falls to about 15.6 years. Nothing about the password changed. The time moved by a factor of 1,000 because the rate did. Neither setting says anything about the hardware or storage of a particular website, and the actual average is not a guarantee that an individual draw will last that long.
Online guessing: the service is in the loop
A login system can slow repeated attempts and can require a second factor before granting access. The account’s security also depends on how it handles password recovery and whether it has alternatives to passwords. Getting the password right and completing the sign-in are not necessarily the same event. NIST discusses rate limiting and phishing resistance separately because they address different risks.
Offline guessing: there may be no sign-in page
A service should store a salted password hash, not a plain copy of your password. The salt makes the stored result specific to that account even if someone else has the same password. A dedicated password-hashing scheme makes checking each candidate more expensive. If someone obtains a copy of the stored hash, the service’s normal login limits are no longer in the path of those checks. OWASP’s password storage guidance covers how services should handle this; a fast general-purpose hash alone is not a password-storage system.
An encrypted file is another case where a website’s login limits don’t travel with the data. The File & Message Encryptor guide explains how its password-derived key works. Keep a separate secret for the file. Turning on two-factor authentication for the account that stores it does not put a second factor inside the file itself.
Reuse and phishing: sometimes there is no guessing at all
If an attacker already has your password from another service, the search space doesn’t matter. They can try the known credential elsewhere. That is why using a fresh password for each account is more useful than adding two more random characters to a password you reuse. If you’re replacing old passwords, start with the ones used on multiple accounts and the accounts that can reset others, such as your primary email. CISA’s password guidance recommends using a manager to make unique passwords practical.
The same logic applies when people are tricked into revealing a password. Password strength is not a substitute for the habit of opening a service directly when a message asks you to sign in. Where available, a passkey gives you a way to authenticate without typing a reusable password into the page.
Try it in the generator
- Choose Password and keep the default 20 characters. Notice the entropy preview before generating anything. Turn off symbols and watch how the estimate changes.
- Select Generate password. Use Hide if you need to obscure the result; Copy puts it on your clipboard. Save a password you intend to use in a password manager. If you change the settings or switch modes, the tool discards the old result rather than giving it a new entropy label.
- Switch to Passphrase and compare five, six and seven words. Open Search assumptions and exact count to try a different guessing rate. The time changes; the entropy does not.
- In Analyse, load the fictional weak example. The checker can flag a year-like number or a common pattern. Finding no obvious pattern does not prove a password is random or safe. Use made-up examples here, not your existing credentials.
The generator uses the browser’s Web Crypto random source. It samples indices without favouring any character or word. The tool does not send or save your generated result or practice input. Your clipboard, a screen capture or a browser extension can still expose a secret, so use a device you trust and avoid leaving the password in clipboard history.
Using a generated password on a real account
Open the service directly and check which characters and lengths it accepts. Start with the generator’s defaults and change only what the site requires. If you know the service insists on at least one character from each selected group, switch that option on before generating. If it rejects symbols altogether, turn them off and use a longer result if the site allows it. Avoid taking a result you already have and editing it according to a personal pattern.
When you use a generated result, save it against the right account in your manager and confirm that you can sign in with the saved entry before you discard the old one. Don’t take a screenshot or send yourself the password in a message. Hide is there for screen privacy, not to store the secret. Copy is convenient, but the clipboard is separate from the tool, and history or cross-device sync can keep a copy even after the browser tab no longer has it.
An experiment you can do without a real password
Pick 12 characters with the settings from the worked example. Turn the per-group requirement off and note the larger search space. Turn it back on and notice that the result must meet more rules even though the number of eligible strings went down. Now change the guessing rate. Only the time estimate changes, not the number of outcomes. Those are three distinct things: the recipe, the number of results it can produce, and how quickly someone could test a result under the model.
Then try the weak example in Analyse. A date or repeating pattern is a useful clue about predictability, not a direct reading of entropy. The most important result from that tab may be the one it deliberately doesn’t show: “No obvious patterns found” never means “safe.”
A small Python example
Python’s secrets.choice makes a secure random selection from a sequence. This reduced example does what the default character generator does: choose one character at a time from the combined alphabet, without requiring particular categories. The space and entropy are calculated separately, so you can compare settings without generating or displaying a real password.
Python exampleShow code
import math
import secrets
import string
ALPHABET = string.ascii_letters + string.digits + string.punctuation
def generate(length=20, alphabet=ALPHABET):
if length < 1 or not alphabet:
raise ValueError("Choose a positive length and a non-empty alphabet.")
return "".join(secrets.choice(alphabet) for _ in range(length))
def model(length, alphabet=ALPHABET):
choices = len(alphabet)
if length < 1 or choices < 1:
raise ValueError("Choose a positive length and a non-empty alphabet.")
return choices ** length, length * math.log2(choices)
space, bits = model(20)
assert len(ALPHABET) == len(set(ALPHABET)) == 94
assert space == 94 ** 20
assert len(generate()) == 20
assert model(20, string.ascii_lowercase)[0] == 26 ** 20
print(f"{bits:.1f} bits with all four character groups available")
Common questions
Can I use the same passphrase for two services?
Use two independently generated secrets. If one service exposes its passwords, reuse gives someone a working credential for the other one, no matter how many bits it started with.
Does the tool check breach lists?
No. The Analyse mode is a small local pattern check for fictional examples. It does not consult a breach database, score the real entropy of an existing password or certify an account as safe.
Is a fixed symbol or digit at the end useful?
A predictable addition does not give the same benefit as an independent random choice. If a service demands a symbol, select Require every selected group and let the generator choose where it goes. If the alternative is another unpredictable character, choose the unpredictable character.
Should I change an already strong and unique password on a schedule?
Follow your organisation’s requirements on work accounts. For personal accounts, changing a good password just because a date has arrived isn’t the priority. Change it if there’s evidence it was exposed, or if you discover it’s shared or reused. NIST’s guidance for verifiers distinguishes evidence of compromise from routine periodic password changes.
Does a 72-bit passphrase work with any app?
The six-word figure describes the generator’s selection process. It doesn’t say whether the destination accepts spaces, whether the phrase fits its length limit, or whether you can recover the account without it. Check those practical details and pick a different format if necessary.
The lesson behind the number
The useful thing about entropy is that it turns “this looks strong” into a question you can answer: how many choices did the process really give me? Changing the length, the alphabet or the word count changes that answer. Adding a familiar ending usually doesn’t give you a new random choice at all.
A useful password is one you can use without reusing, simplifying or sharing it. Let a random generator make the decisions; put the result somewhere you can safely find it again.