Free tool · Passwords & logins
How Long Would It Take to Crack a Password?
Describe a password by its length and what it is made of, and see how long it would hold out. You never type the password itself.
Choose what the password is made of. Do not type a real password anywhere on this page: it is not needed.
Strong: about 71 bits
That is 12 random characters from lowercase, capitals, digits. If a breached site stored it badly, a rig of graphics cards would reach it only after centuries.
How long it would hold out
- Online attack, rate limited100 guesses an hour
- centuries
- Online attack, no rate limit10 guesses a second
- centuries
- Stolen database, slow hash such as bcrypt10,000 guesses a second
- centuries
- Stolen database, fast hash on a GPU rig10,000,000,000 guesses a second
- centuries
| Length | Bits | Stored badly | Stored well |
|---|---|---|---|
| 6 | 36 | 3 seconds | 1 month |
| 8 | 48 | 3 hours | centuries |
| 10 | 60 | 1 year | centuries |
| 12 | 71 | centuries | centuries |
| 14 | 83 | centuries | centuries |
| 16 | 95 | centuries | centuries |
| 18 | 107 | centuries | centuries |
| 20 | 119 | centuries | centuries |
What this means: these times hold only when every character, word or digit was picked at random, and they are the average case. Use the first length where the Stored badly column reads centuries, a different password for every account, and two factor authentication on the accounts that matter.
Updated 2026-11-28
Why this matters
Most strength meters start by asking you to type your password into a web page. This one does not. You describe the shape of a password, such as 12 characters using letters and digits or five random words, and it works out how many possibilities an attacker would have to try and how long that takes at four different speeds.
It answers the question people actually have when a site asks for a new password: how long does it need to be? Change the length by one or two characters and watch the time move from days to centuries. Switch on symbols and see how little that adds compared with a few more characters.
The figures assume every character, word or digit was picked at random, the way a password manager or our generator picks them. A password a person made up from a name, a year and an exclamation mark is far weaker than its length suggests. To test one of those, use the Password Checker, which reads the password on your own device and spots those patterns.
How it works
You choose one of three shapes: random characters, random words or a PIN.
For random characters, the tool counts the pool: 26 lowercase letters, 26 capitals, 10 digits and 33 symbols, for whichever kinds you switch on. Each character is worth the base two logarithm of that pool, in bits.
For random words, each word is worth the logarithm of the size of the word list: about 10.3 bits a word from the EFF short list of 1,296 words, about 12.9 bits a word from the large list of 7,776. An added digit is worth about 3.3 bits.
For a PIN, each digit is worth about 3.3 bits.
The bits add up to a number of possible passwords. The tool assumes an attacker finds yours halfway through, so it halves that number.
It divides the guesses by four speeds: a login page that limits attempts, a login page that does not, a stolen database protected by a slow hash, and a stolen database protected by a fast hash on a rig of graphics cards.
For random characters it also prints the same kinds of character at every length from 6 to 20, so you can see where the time becomes long enough.
Reading your results
- Bits of entropy: the count of possibilities, written as a power of two. Every extra bit doubles the work. Under 28 bits is very weak, under 36 weak, under 60 fair, under 80 strong, and 80 or more very strong.
- Online attack, rate limited: someone guessing at a login page that slows them down to about 100 tries an hour. Almost any random password survives this, which is why attackers rarely do it.
- Online attack, no rate limit: about 10 guesses a second against a login page with no lockout. Short PINs and very short passwords fall here.
- Stolen database, slow hash: the site was breached and stored its passwords well, with a deliberately slow function such as bcrypt. The tool assumes 10,000 guesses a second.
- Stolen database, fast hash: the site was breached and stored its passwords badly. The tool assumes 10 billion guesses a second. This is the figure to plan for, because you cannot know how a site stores your password.
- The length table: each row is the same kinds of character at a different length. Find the first row where the Stored badly column reads centuries and use at least that length.
- Share this page: the address holds only the shape you chose, so anyone who opens the link sees the same answer and nothing about your real passwords.
How this fits into the real world
Nobody guesses passwords at a login page any more. The attack that matters happens after a data breach. A company loses its user table, the table holds a scrambled form of every password, and the attacker tests guesses against that table on their own hardware, as fast as the hardware allows and with no lockout. How long your password lasts then depends on two things: how many possibilities it was drawn from, and how the company scrambled it. You control only the first.
That is why length does more than complexity. Each added character multiplies the work by the size of the pool, while switching on symbols only makes the pool a little larger. Sixteen lowercase letters picked at random are stronger than ten characters drawn from everything on the keyboard, and far easier to type. Random words work the same way: six words from a long list give a password you can remember and an attacker cannot reach.
The other half of the story is that a strong password does nothing once it has leaked in plain view or been reused. If one site stores it badly and you used it elsewhere, the attacker does not need to crack anything. A different random password for every account, kept in a password manager, matters more than squeezing the last bit out of any one of them. After a breach notice, change the password on that site and anywhere you reused it, and turn on two factor authentication.
Who this is for
- Anyone choosing a new password who wants to know how long is long enough.
- People setting the length in a password manager or generator.
- Parents and teachers explaining why a longer password beats a clever one.
- IT staff and small business owners writing a password rule and wanting a figure to point to.
- Anyone who would rather not type a real password into a website to test it.
What this tool cannot tell you
- The figures hold only for passwords picked at random. A password built from words, names, dates or keyboard patterns can be thousands or millions of times weaker than its length suggests.
- The speeds are assumptions, stated on the page. Real attackers may be faster or slower, hardware gets faster every year, and sites differ in how they store passwords. Treat the times as a comparison between shapes, not a promise.
- The time is the average case: half the possibilities. An unlucky password is found sooner, a lucky one later.
- It cannot know whether a password has already leaked. A leaked password is tried first whatever its length. The Password Checker tests that without sending the password anywhere.
- It says nothing about phishing, malware or a stolen device, which bypass password strength entirely. Two factor authentication and passkeys cover those.
Frequently asked questions
How long should a password be?
Long enough that the Stored badly column reads centuries. With letters and digits picked at random that is 12 characters today; hardware gets faster every year, so choose 14 or more. Six random words from the large list get there with something you can still remember. For your email and banking, go longer and add two factor authentication.
Why does this page not ask for my password?
Because it does not need it, and because typing a real password into any website is a habit worth dropping. The strength of a random password depends only on its length and what it was drawn from, so describing it is enough.
Is a longer password better than one with symbols?
Yes. Adding symbols to a 10 character password raises the pool from 62 to 95, which is worth about six bits in total. Adding two more characters is worth about twelve. Length wins, and it is easier to type on a phone.
Are random words really as strong as random characters?
Per character, no. Per unit of effort to remember and type, yes. Five words from the EFF short list give about 52 bits, six words from the large list about 78 bits. The words must be picked at random, by dice or a generator, not chosen because they mean something to you.
My password is long but I made it up myself. Do these times apply?
No. People pick from a tiny corner of the possibilities: real words, names, years, the same substitutions. Cracking software tries those first. Run a made up password through the Password Checker instead, which finds those patterns on your own device.
What do the four speeds mean?
They are four situations. Two are guesses at a login page, with and without a limit on attempts. Two are guesses against a stolen copy of the site's password table, stored well or stored badly. The last is the one to plan for.
Why is a six digit PIN shown as very weak when my bank uses one?
A PIN is safe only where guesses are limited: a card or phone that locks after a few wrong tries. Against a stolen database a million possibilities are gone in an instant. Never reuse a PIN as a password.
Do I still need two factor authentication with a strong password?
Yes. A strong password protects you when a site is breached. It does nothing if you are tricked into typing it on a fake page. A second factor, or a passkey, covers that gap.
Related free tools
- Password GeneratorCreate strong random passwords or memorable passphrases, generated locally in your browser.
- Password CheckerTest a password's real strength and find out if it has already leaked, without it ever leaving your device.
- Passkey ReadinessFind out whether this device can use passkeys, where yours would be stored, and which accounts to switch first.
DataExposed tools are free and informational. They do not replace professional security advice. Prefer privacy guides for step-by-step help.