See how length and the kinds of characters change the number of possible passwords.
You never type a password here. This page has no box for one. You move sliders and tick boxes, and the page does the maths. Everything runs in your browser. Nothing you pick is sent or kept.
IThe idea
Length matters more than odd symbols
Someone guessing a password has to try possibilities one at a time. How many there are depends on two things: how many different characters each spot could hold, and how many spots there are.
Each extra character multiplies the number of possible passwords. If a password is made of lowercase letters, each spot has 26 choices, so one more character makes 26 times as many possibilities. If it mixes lowercase letters, uppercase letters, digits and symbols, each spot has 94 choices, so one more character makes 94 times as many.
That is why a long password made of plain lowercase letters can beat a short one full of symbols. Sixteen lowercase letters have millions of times more possibilities than eight characters of every kind. The tool below lets you check that for yourself.
1 character94
2 characters8,836
3 characters830,584
4 characters78,074,896
5 characters7,339,040,224
6 characters689,869,781,056
7 characters64,847,759,419,264
8 characters6,095,689,385,410,816
Possible passwords for each length, when every spot has 94 choices (lowercase letters, uppercase letters, digits and symbols). The bars are drawn on a straight scale, so the shorter lengths shrink to a speck next to the longest. Drawn in code from the same maths as the tool.
IITry it
Compare two passwords
Follow the steps from 1 to 4. The page opens on an example: eight characters of every kind, next to sixteen lowercase letters. The results change as you move a slider or tick a box.
Compare two passwords made of random characters
These times assume every character was picked at random. A password a person chose is much weaker: see the fine print below.
2. Build password A
Tick at least one kind of character.
The pool: how many different characters each spot could hold94 characters: 26 lowercase letters + 26 uppercase letters + 10 digits + 32 symbols
Possible passwords6,095,689,385,410,816 (about 6.1 quadrillion)
In bits (each extra bit doubles the number)52.4 bits
What 100 tries can do (the most NIST allows in a row on one account)
Worst case: the time to try every one, at 164.1 billion guesses a secondabout 10 hours
3. Build password B
Tick at least one kind of character.
The pool: how many different characters each spot could hold26 characters: 26 lowercase letters
Possible passwords43,608,742,899,428,874,059,776 (about 44 sextillion)
In bits (each extra bit doubles the number)75.2 bits
What 100 tries can do (the most NIST allows in a row on one account)
Worst case: the time to try every one, at 164.1 billion guesses a secondabout 8,400 years
4. Compare them.
Which one has more possibilitiesPassword B has about 7.2 million times as many possibilities as Password A.
Where the speeds come from. Online, the speed is our assumption, not a measurement: “if someone could try 10 guesses a second”. NIST’s guidance for sites says to disable a way of signing in after no more than 100 failed tries in a row on one account. Against a site that follows it, a guesser gets far fewer wrong tries on one account than 10 a second would give, so the tool also shows what 100 tries can do.
Offline, the three speeds are from one published test of one NVIDIA RTX 4090 graphics card, run with the password-guessing program hashcat (version 6.2.6): 164.1 billion a second against MD5, 21,975.5 million (about 22 billion) against SHA-256 and 184.0 thousand against bcrypt. Someone with many cards would be much faster. The bcrypt test ran 32 iterations, which is 2 to the power of 5, so we read it as a work factor of 5. OWASP advises a work factor of 10 or more. Each step up in the work factor doubles the work, and 10 is five steps above 5, so that is 32 times more work for each guess, and a bcrypt site set up that way would be at least 32 times slower to guess than the figure here. The test also used hashcat’s optimised mode, which limits the longest password it can try; the times for longer passwords assume the same speed. A plain, fast fingerprint is what well-run sites do not use for passwords: see Fingerprints for data.
The result is the worst case: every possibility tried. On average a guesser finds a password in about half that time, and a lucky one finds it sooner.
IIIRandom words
Words instead of characters
A passphrase is a few words in a row. If the words are picked at random from a long list, it can be easy to remember and still hard to guess. The Diceware list has 7,776 words, one for each way five dice can land. Each random word from it multiplies the possibilities by 7,776.
Count the possibilities for random words
These times assume every word was picked at random from the list.
Choose how many random words
Possible passphrases3,656,158,440,062,976 (about 3.7 quadrillion)
In bits (each extra bit doubles the number)51.7 bits
What 100 tries can do (the most NIST allows in a row on one account)
Worst case: the time to try every one, at 164.1 billion guesses a secondabout 6.2 hours
Four random words, or eight mixed characters?
Here is the comparison the tool above makes, with the guessing speed you chose in step 1. It does not change when you move the sliders.
8 mixed characters
????????
Each spot has 94 choices.
Possible passwords6,095,689,385,410,816 (about 6.1 quadrillion)
In bits52.4 bits
Worst case to try them allabout 10 hours
4 random words
wordwordwordword
Each word is one of 7,776.
Possible passphrases3,656,158,440,062,976 (about 3.7 quadrillion)
In bits51.7 bits
Worst case to try them allabout 6.2 hours
For comparison, 5 random words28,430,288,029,929,701,376 (about 28 quintillion), 64.6 bits, about 5.5 years
Four random words and eight characters of every kind come out close: about 52 bits each. Eight characters is below the 15 that NIST asks for when a password is used alone, so read this as a comparison and not as a target. Five random words have about 4,700 times more possibilities than eight mixed characters. The Diceware author and the Electronic Frontier Foundation both suggest at least six words for the uses they describe.
IVThe fine print
What these numbers assume
These numbers are true when every character or word is chosen at random, and not otherwise. A computer program or a set of dice can do that. A person usually cannot.
Real people pick patterns: a name, a date, a word with a capital letter at the start and a number or an exclamation mark at the end. Guessers are likely to try those, and passwords from earlier leaks, ahead of random ones. NIST gives an example: someone who would have picked “password” is likely to pick “Password1” when a site asks for a capital letter and a digit, and “Password1!” when it also asks for a symbol. A password you chose yourself is much weaker than the maths on this page shows.
Some attacks do not depend on length at all. NIST says keystroke logging, phishing and social engineering work just as well against a long, complex password as against a simple one. And a password that is reused can be tried on other sites if one of them leaks it.
VWhat helps
What matters in real life
Make it long: 15 or more characters, or at least 8 with two-factor
NIST’s guidance for sites (SP 800-63B, section 3.1.1.2) requires a password that is the one thing used to sign in to be at least 15 characters. A password that is one part of a two-step sign-in can be shorter, but not under 8. Sites should let people use at least 64 characters. The Canadian Centre for Cyber Security recommends at least 12 characters for a password, and a passphrase of at least 4 words and 15 characters.
Do not count on odd symbols
NIST’s rules for the services it covers say a site must not require a mix of character types, and must not make people change passwords on a schedule. A site must still force a change if there is evidence that a password has leaked. NIST’s reasons: people answer such rules in predictable ways, and the benefit is smaller than once thought. OWASP’s advice to site builders is the same on both. A long random passphrase does more than a short password with a symbol stuck on the end.
A different password for every account
If one site leaks a password, someone can try it on your other accounts. The Canadian Centre for Cyber Security says to use a different password, passphrase or PIN for each device and account, and the EFF says the same.
Use a password manager, with care
Remembering dozens of different long passwords is hard. A password manager keeps them for you and can make random ones. The EFF calls managers a good way to avoid reusing passwords, and OWASP describes them as a way to handle many different passwords. The sources do not all say the same thing about which accounts to put in one. The Canadian Centre for Cyber Security suggests a manager for accounts with lower sensitivity, and says not to use one for sensitive accounts, such as accounts with administrative powers or banking details. It also says to protect the manager itself with a strong password and multi-factor authentication. Read its page before you decide.
Turn on two-factor authentication
A second step, such as a 6-digit code from an app, adds another layer if someone gets your password. OWASP calls multi-factor authentication by far the best defence against most password attacks. It is not a cure for everything: NIST notes that some second steps can still be phished. The sources differ on how short a password can then be. The Canadian Centre for Cyber Security says that with multi-factor authentication “you could use a password that is 6 to 8 characters in length”, because the extra step adds protection, but NIST requires at least 8 even then and OWASP calls anything shorter weak, so use at least 8. To see how those codes are made, read how a 6-digit code works.
VISources
Sources
Every claim above was checked against the page named for it, opened on 21 November 2026. Nothing is copied: the wording is ours.
Length, character mixes, forced changes, limits on tries and why passwords are guessed: NIST Special Publication 800-63B (opens in a new tab), the web edition that shows the date 26 August 2025: section 3.1.1.2 (“Password Verifiers”), section 3.2.2 (“Rate Limiting”) and Appendix A (“Strength of Passwords”).