GONDAL AI / BLOG
How Long Should a Password Be? The Entropy Maths Behind the Answer
How long should a password be? Long enough that guessing it is hopeless — and that is a number you can calculate, not a vibe. Our free Password Generator rates every password it makes in bits of entropy, worked out as length × log₂(pool size). At its default settings — 16 characters drawn from a 68-character pool — that comes to about 97 bits. Here is the maths, the full length table, and the two rules that matter even more than length.
How long should a password be — the short answer
- 16 characters is the strong default for most accounts — it is where our free Password Generator starts, and its own rating calls the result "very strong".
- 20 or more for your email and banking: those two guard everything else, and the generator's FAQ gives the same advice — length beats cleverness, because every extra character multiplies the guessing work.
- 8 characters is the generator's floor, not a recommendation: at the full character pool it rates only "fine for low-risk logins".
Where the number comes from: pool size × length
A generated password is drawn character by character from a pool of possible characters. Read from the generator's own code, its pools are: lowercase 23 letters, uppercase 23 letters, digits 8, symbols 14 — 68 characters with everything ticked. The look-alikes are missing on purpose (no 0/O, no 1/l/I): the tool's FAQ explains they cause most "wrong password" frustration when a password has to be typed by hand, at almost no cost in strength.
Strength in bits — entropy — is then just length × log₂(pool size). That is the exact formula the generator runs on every password it shows you, and the rating it prints next to them: 80 bits and up is "very strong", 60 and up is "strong for most accounts", and below that it advises going longer for email or banking. Nothing below is a rule of thumb — it is the tool's own arithmetic, tabulated:
- 8 characters (the minimum): about 49 bits — roughly 4.6 × 1014 combinations.
- 12 characters: about 73 bits.
- 16 characters (the default): about 97 bits — roughly 2.1 × 1029 combinations.
- 20 characters: about 122 bits.
- 24 characters: about 146 bits.
- 32 characters: about 195 bits — and the slider runs to 64, for anyone who wants about 390.
Read the table the way an attacker has to: going from 8 to 16 characters does not double the work, it multiplies the combinations by about 248 — because every single added character multiplies the whole space by the pool size, 68.
Why length beats adding more character sets
The same formula, applied to one fixed length — 16 characters — with different sets ticked, shows why the length slider matters more than the checkboxes:
- Lowercase only (pool of 23): about 72 bits.
- Lowercase + digits (pool of 31): about 79 bits.
- Everything except symbols (pool of 54): about 92 bits.
- All four sets (pool of 68): about 97 bits.
Unticking symbols costs about 5 bits. Adding just four characters at the full pool — 16 up to 20 — gains about 25 bits, because each extra character is worth log₂(68) ≈ 6.1 bits on its own. If a site forbids symbols, the fix is not a cleverer password; it is a longer one. Our longer guide, How to Make a Strong Password, makes the same point from the human side: long beats clever, every time.
The two rules that matter more than length
- Unique beats everything. A different password for every site, as the generator's FAQ puts it, is the single habit that limits the damage when any one site leaks its database — a 97-bit password reused on ten sites is only as safe as the weakest of the ten. A password manager — the one built into your browser or phone is a fine start — makes unique painless.
- For the few passwords you must type by hand — your computer login, the password manager itself — four or five random words (the "correct horse battery staple" pattern the guide describes) are memorable and strong. For everything else, let the generator and the manager do the remembering.
And turn on two-factor authentication for email and banking first — those accounts reset all the others, which is why our Academy lesson AI Scams & Safety treats them as the keys to the house.
Generate one and watch the rating move
- Open the free Password Generator. It runs entirely on your device, using your browser's secure random generator (crypto.getRandomValues) — the five passwords it shows are never sent anywhere or stored, so copy the one you use into your password manager straight away.
- Drag the length slider and watch the status line recompute the bits and the verdict — 8 is "fine for low-risk logins", 16 is "very strong".
- Untick a character set if a site demands it, then add length until the rating is back where you want it.
- Press Generate passwords for a fresh set of five, and copy the one you pick.