100% Free · Runs In Your Browser

Password Crack Time Calculator

Find out how long it would take to crack a password. Choose a length and character types, or type a password to check it. The result shows an online attack, an offline attack on a slow hash, and an offline attack on a fast hash.

Password crack time calculator

Character types

Optional: your own guess rate

Estimated crack time by attack scenario
ScenarioGuesses / secondAverage timeWorst case

The calculation runs in your browser. Nothing is sent to our server.

How to Use the Calculator

  1. Set the password length and tick the character types it contains, or switch to Check a password and type one.
  2. Read the average time for each attack scenario in the table. The worst case is the time to try every combination.
  3. Optionally enter your own guess rate, for example 1e12 for one trillion guesses per second.

What the Three Scenarios Mean

You usually do not know which one applies to a given website, so plan for the worst: assume the fast-hash column. The sources for these rates are explained in How Long Does It Take to Crack a Password?

Quick Reference: Fast-Hash Crack Times

Average time to crack a truly random password with an offline attack on a fast hash (150 billion guesses per second), by length and character set.

LengthDigits onlyLowercaseLetters + digitsAll 94 printable
8 charactersInstantlyInstantly12 minutes6 hours
10 charactersInstantly8 minutes32 days6 years
12 characters3 seconds4 days341 years50 thousand years
14 characters6 minutes7 years1 million years444 million years
16 characters9 hours5 thousand years5 billion years4 trillion years

Quick Reference: Slow-Hash Crack Times

The same passwords when the stolen database used a slow hash, at 2,000 guesses per second.

LengthLowercaseLetters + digitsAll 94 printable
8 characters2 years2 thousand years48 thousand years
10 characters1 thousand years7 million years427 million years
12 characters756 thousand years26 billion years4 trillion years
14 characters511 million years98 trillion years3.3 × 10^16 years
16 characters345 billion years3.8 × 10^17 years2.9 × 10^20 years

How the Calculation Works

The number of possible passwords is the size of the character set raised to the power of the length. An attacker who tries them in order finds the password on average after trying half of them, so:

average time = (pool size ^ length ÷ 2) ÷ guesses per second
worst case   = (pool size ^ length) ÷ guesses per second
entropy      = length × log2(pool size)

A password that uses lowercase letters, uppercase letters and digits has a pool of 62. Adding symbols makes it 94, since the printable ASCII set contains 94 characters. You can check the entropy of any pattern with our Password Entropy Calculator.

What the Calculator Cannot Know

How to Get a Long Crack Time

Length does the work. Generate a random password of 16 or more characters with our Strong Password Generator or the 16 Character Password Generator, store it in a password manager, and use a different one for every account. Turn on two-factor authentication where you can. To judge an existing password, try the Password Strength Checker.

Frequently Asked Questions

It depends on three things: the length, the characters used, and how fast the attacker can guess. For a truly random password and an attacker who has stolen a database stored with a fast hash (150 billion guesses per second), an 8-character password with every character type falls in about 6 hours, a 12-character one lasts about 50 thousand years, and a 16-character one lasts 4 trillion years. Passwords people invent, or any password from a common list, fall far sooner.

A random 12-character password using lowercase letters only has an average crack time of about 4 days against a fast hash. With upper and lower case letters and digits it is about 341 years, and with all printable characters about 50 thousand years. Against a slow hash such as bcrypt, or through a login form, the times are far longer.

No. The calculation runs in your browser with JavaScript. A password you type is never sent to our server, stored, or logged. As a precaution, test a password with the same length and character mix instead of one you still use, or use the settings tab.

Because the same password lasts very different times depending on how it is attacked. An online attack guesses through a login form, which slows the attacker to around 100 guesses per second. An offline attack on a slow hash such as bcrypt or Argon2 manages thousands per second. An offline attack on a fast hash such as MD5 or NTLM can reach hundreds of billions per second on a single graphics card.

An attacker who tries every combination in order will find a random password after trying, on average, half of them. We show this average and also the worst case, which is trying every combination.

Usually, yes. Each extra character multiplies the number of possibilities by the size of the character set, while adding a character type only enlarges the set once. A longer random password protects far more than adding a symbol to a short one.

They are estimates for random passwords. They assume the attacker has no shortcut and guesses at the rates shown. A password built from a word, a name, a date or a common pattern is guessed much faster, and an attacker with several graphics cards is proportionally faster. Treat the result as a guide, not a guarantee.

Explore All Free Tools

Password Generators

Account Password Generators

Security Tools

Guides

More Free Tools

Site