How Long Should a Password Be? Length, Symbols and Entropy Explained
· 5 min read
Sign-up forms ask for "at least 8 characters, one capital letter, one number and one symbol", which suggests that symbols are what make a password strong. Length does far more. This guide explains the number behind password strength, works through real examples, and shows how to make a strong password that still fits a website's rules.
The quick way: a strong password in four steps
- Open the Password Generator. The Password length starts at 20.
- Under Include characters, tick the sets the website allows: Lowercase (a–z), Uppercase (A–Z), Numbers (0–9) and Symbols (!@#$…).
- If the site insists on at least one of each, switch on Include every selected character set.
- Press Generate passwords, then Copy, and save the password in your password manager straight away.
The password is made in your browser with its cryptographic random generator. It is not uploaded and not saved, so store it before you leave the page.
What the strength estimate means
The Strength estimate panel shows a number of bits, called entropy. For a randomly generated password it is:
entropy = length × log2(number of possible characters)
In plain words, each bit doubles the number of guesses needed to try every possible password. Ten extra bits mean about 1,000 times as many guesses (2 to the power of 10 is 1,024).
How many bits each character adds depends on how many characters it could be:
| Characters allowed | Possible characters | Bits per character |
|---|---|---|
| Numbers only | 10 | 3.3 |
| Lowercase only | 26 | 4.7 |
| Lowercase and uppercase | 52 | 5.7 |
| Letters and numbers | 62 | 6.0 |
| All four sets in this tool | 86 | 6.4 |
The tool's symbol set has 24 characters: !@#$%^&*()-_=+[]{};:,.?/. With all four sets ticked, the panel shows "86 available characters". It labels the result Weak below 40 bits, Fair from 40, Strong from 60 and Very strong from 80.
Worked examples: length beats symbols
| Settings | Entropy | Label |
|---|---|---|
| 8 characters, lowercase only | about 38 bits | Weak |
| 8 characters, all four sets | about 51 bits | Fair |
| 12 characters, all four sets | about 77 bits | Strong |
| 16 characters, lowercase only | about 75 bits | Strong |
| 16 characters, all four sets | about 103 bits | Very strong |
| 20 characters, all four sets | about 129 bits | Very strong |
Compare two ways of improving an 8-letter lowercase password. Adding capitals, numbers and symbols raises it from 38 to 51 bits. Adding eight more lowercase letters raises it to 75 bits. Sixteen plain lowercase letters are about as strong as twelve characters from all four sets.
So when a website refuses symbols, you lose little. Make the password a few characters longer instead.
Why this only applies to random passwords
The formula assumes every character was picked at random. Passwords people invent are not random. "Rohit@1995" has 10 characters from all four sets, but it is a name, a symbol and a year, exactly the kind of pattern that guessing programs try early. A truly random 10-character password from all four sets has about 64 bits; that one has far fewer in practice. The same goes for swaps such as "P@ssw0rd".
The strength panel rates the settings you choose for new random passwords. It does not test a password you typed yourself.
Fitting a website's rules
A maximum length. Some sites cap passwords, for example at 16 characters. Use the longest length the site accepts.
Symbols that are not accepted. Untick Symbols, or type the rejected characters into Exclude additional characters. If a site refuses & and %, enter &% there. The estimate updates as the pool of characters shrinks.
One of each type required. Switch on Include every selected character set. The tool places at least one character from each set and then shuffles the password securely. The panel notes that every selected set is required.
When you have to type it by hand
Some passwords are typed, not pasted: the Wi-Fi password on a smart TV, the admin password of a router, or the password of a PDF you read out to a colleague. For these, switch on Exclude look-alike characters (I, l, 1, O, 0).
The cost is tiny. The pool drops from 86 to 81 characters, and a 16-character password goes from about 103 to about 101 bits. On a TV remote, you can also untick Symbols and add a few characters: 16 letters and numbers, with look-alikes excluded, still give about 93 bits.
If you lock a file with Protect PDF, a password made this way is easy to share by phone without mix-ups between O and 0.
Making a batch for an office
How many passwords goes up to 100, and Download .txt saves them all as random-passwords.txt. That helps when you set up temporary passwords for several new staff accounts.
A text file full of passwords is itself a risk. Move each password into its account or the password manager, then delete the file and empty the recycle bin.
Mistakes to avoid
- Reusing a password. If one site leaks it, every account with the same password is open. Make each one unique.
- Keeping passwords in a notes app or a chat to yourself. Use a password manager, which is built for this.
- Forgetting the clipboard. Copied passwords can stay in clipboard history, for example on Windows or in some phone keyboards. On a shared device, clear it or copy something else after pasting.
- Leaving the page first. The tool does not keep your passwords, so a closed tab means a new password.
Frequently asked questions
Is an 8-character password enough?
A random 8-character password from all four sets has about 51 bits, which the tool rates Fair. Where a site allows more, use 16 or more characters; a password manager makes length free.
Should I use a passphrase of words instead?
It is another good approach, especially for a password you must remember. Its strength follows the same idea: it depends on how many words are chosen at random and from how large a list. This tool makes character passwords only.
Why does a website reject my generated password?
Usually because of a symbol it does not allow or a length above its maximum. Read the site's stated rules, then exclude the characters it refuses or set the length to its maximum.
Wrapping up
For random passwords, length matters more than variety: 16 characters or more from whatever sets a site allows is very strong by this measure. Generate one with the Password Generator, store it in a password manager, and use a different one for every account. More generators are in the generators section.