Reference Guide · Updated October 2026

How Long Does It Take to Crack a Password?

A transparent crack-time table by password length and character type, with every assumption shown so you can check the maths yourself.

Short answer: against a fast hash on one high-end GPU, a random 8-character password using all printable characters falls in about 6 hours, a random 12-character one in about 50 thousand years, and a random 16-character one in about 4 trillion years. Length matters far more than clever symbols.

Password Crack-Time Table

The table shows the average time to crack a truly random password in an offline attack against a fast, unsalted hash, assuming 150 billion guesses per second. Read across to see the effect of the character set, and down to see the effect of length.

Average time to crack a random password, offline attack on a fast hash (150 billion guesses per second)
LengthDigits onlyLowercaseUpper + lowerLetters + digitsAll printable (94)
6 charactersInstantlyInstantlyInstantlyInstantly2 seconds
8 charactersInstantlyInstantly3 minutes12 minutes6 hours
10 charactersInstantly8 minutes6 days32 days6 years
12 characters3 seconds4 days41 years341 years50 thousand years
14 characters6 minutes7 years112 thousand years1 million years444 million years
16 characters9 hours5 thousand years302 million years5 billion years4 trillion years
20 characters11 years2 billion years2.2 × 1015 years7.4 × 1016 years3.1 × 1020 years
Under 1 year: weak 1 to 1,000 years: adequate today, less certain long term Over 1,000 years: very strong

For scale, the universe is about 13.8 billion years old. Values far beyond that are shown only to make the exponential growth visible.

Three Attack Scenarios Compared

How fast an attacker can guess depends on how the password is stored and where it is being guessed. The same password can fall in seconds in one scenario and last millennia in another.

Average crack time for example passwords in each scenario
Password typeEntropyOnlineOffline, slow hashOffline, fast hash
8 characters, lowercase only38 bits33 years1 yearInstantly
8 characters, all types52 bits966 thousand years48 thousand years6 hours
12 characters, lowercase only56 bits15 million years756 thousand years4 days
12 characters, all types79 bits75 trillion years4 trillion years50 thousand years
16 characters, all types105 bits5.9 × 1021 years2.9 × 1020 years4 trillion years
4-word passphrase52 bits579 thousand years29 thousand years3 hours
6-word passphrase78 bits35 trillion years2 trillion years23 thousand years

Passphrases assume words chosen at random from a 7,776-word list (Diceware style). Chosen by a person instead of by a random generator, they are much weaker.

How the Numbers Are Calculated

The number of possible passwords is the size of the character pool raised to the power of the length. A random password of 12 characters drawn from 94 printable ASCII characters has 9412 possibilities. An attacker finds the password on average after trying half of them, so:

average time = (poollength ÷ 2) ÷ guesses per second

The same space expressed in bits is the password's entropy: length × log2(pool size). You can check any pattern with our Password Entropy Calculator.

Where the guess rates come from

The fast-hash figure is the order of magnitude published in public Hashcat benchmarks for a single NVIDIA RTX 4090: about 156 billion MD5 guesses per second and about 286 billion NTLM guesses per second. The same benchmark reports about 240,000 bcrypt guesses per second at the low default cost factor. Real systems use a much higher cost: each step up doubles the work, so cost 12 is 128 times slower, roughly 1,900 guesses per second, which we round to 2,000. The online rate of 100 per second is an illustrative assumption for a login form with no strict lockout. See the published benchmark. An attacker with several GPUs is proportionally faster, and hardware improves over time.

Why Length Beats Complexity

Adding one more character multiplies the number of possibilities by the full pool size, while adding a new character type only enlarges the pool once. For example, a random 12-character password using letters and digits (62 characters) takes about 341 years, but simply making it 13 characters raises that to about 21 thousand years. Between 10 and 16 characters of full-set randomness, the estimate climbs from about 6 years to about 4 trillion years.

That is why we recommend choosing length first. Our 12-character and 16-character generators both build a random password in your browser, and nothing is sent to a server.

Where These Estimates Break Down

You can see how common patterns are judged with our Password Strength Checker.

What to Do With This Information

  1. Use at least 12 random characters for ordinary accounts and 16 or more for email, banking and your password manager. Generate them with the Strong Password Generator instead of inventing them.
  2. If you must memorise a password, use a random passphrase rather than a clever phrase. How many words you need depends on the size of the word list, as explained in passphrase vs password.
  3. Use a different password for every account, and store them in a password manager.
  4. Turn on two-factor authentication wherever it is offered, particularly for email.
  5. For sites that insist on symbols, use the Password Generator with Symbols or the Secure Password Generator.

Frequently Asked Questions

Against a fast, unsalted hash on a single high-end GPU, a random 8-character password using all printable characters takes about 6 hours on average. The same attack on 8 lowercase letters takes less than a second. Against a rate-limited login page the same password would take far longer.

A random 12-character password using all printable characters would take about 50 thousand years on average against a fast hash on one GPU, which is far beyond practical reach today. The word random matters: a 12-character password built from a word and a few digits is much weaker than its length suggests.

Usually yes. Each extra character multiplies the search space by the size of the character pool, while adding a new character type only enlarges the pool once. In the table above, going from 12 to 13 characters in the letters-and-digits set raises the time from 341 years to 21 thousand years, which is a bigger jump than switching to the full symbol set at the same length.

A guessing attack finds the password on average after trying half of all possibilities, so average time is half of the time needed to try everything. The worst case is simply double the figure shown.

Mostly they describe what happens after a data breach, when an attacker has a copy of the stored password hashes and can guess offline at full speed. Live logins are rate-limited and usually locked after repeated failures, which is why the online column is so much slower. Because you cannot know how a site stores your password, a long random password protects you in both cases.

With a 7,776-word list, a 4-word passphrase offers about 52 bits and falls in about 3 hours against a fast hash, while 6 words offers about 78 bits and takes about 23 thousand years. For anything important, use at least 6 random words, or a long random password stored in a password manager.

No. They are estimates built on the stated assumptions: random characters, a known character set, and fixed guessing speeds. Real attacks use breach lists, dictionaries and pattern rules, so a predictable password can fall far faster than the table suggests, and faster hardware will shorten every figure over time.

Explore All Free Tools

Password Generators

Account Password Generators

Security Tools

Guides

More Free Tools

Site