The time depends almost entirely on the password's length and complexity
A password made of eight random characters — uppercase, lowercase, numbers, and symbols mixed together — takes a modern computer roughly two hours to crack through brute force, meaning trying every possible combination. A twelve-character random password takes about two hundred years. The difference between "cracked in an afternoon" and "not cracked in your lifetime" is often just four more characters.
But most passwords are not random. They follow patterns. They use dictionary words. They reuse variations of the same word across multiple accounts. When an attacker knows those patterns — and password-cracking tools are built around them — the time drops dramatically. A password like "Sunshine2024!" might take seconds to crack, even though it looks reasonably strong to a person.
The real variable is not just how long your password is, but how predictable it is. Understanding what makes a password take longer to crack helps you see why length and randomness matter more than complexity rules you may have heard.
Key Takeaways
- A truly random eight-character password takes roughly two hours to crack; a random twelve-character password takes about two hundred years with current hardware.
- Dictionary-based attacks crack passwords containing real words or common substitutions (like "Sunshine2024") in seconds or minutes, regardless of length.
- The time to crack depends on whether the attacker has the password hash file itself or is guessing remotely; remote guessing is much slower because servers rate-limit login attempts.
- Password length matters far more than special characters or uppercase letters; each additional character roughly multiplies the cracking time by the size of your character set.
- Passwords reused across sites are cracked once and used everywhere, so the time to crack one password can compromise multiple accounts.
How brute force cracking actually works
Brute force means trying every possible combination of characters until one matches. A computer can try billions of combinations per second, depending on the hardware and the type of password hash being attacked. The speed matters because it determines how many combinations can be tested before time becomes impractical.
The attacker needs the password hash file — the encrypted version of passwords stored on a server — to work at this speed. If they are guessing remotely by typing passwords into a login form, the server slows them down by rate-limiting: allowing only a few login attempts per minute, locking the account after several wrong guesses, or adding delays between attempts. Remote guessing is so slow that it is rarely the attack method used. The real risk is when an attacker steals the hash file from a breached database and cracks it offline on their own hardware.
The time calculation is straightforward math. If your password uses 94 possible characters (uppercase, lowercase, numbers, symbols), and it is eight characters long, there are 94 to the 8th power possible combinations — roughly 6 quadrillion. At one billion guesses per second, that takes about two hours. At ten billion guesses per second (faster hardware), it takes twelve minutes.
Why password length beats complexity
A common rule says passwords should have uppercase, lowercase, numbers, and symbols. This rule exists because it increases the size of the character set — the pool of possible characters. But the protection it offers is weak compared to straightforward making the password longer.
Adding one special character to an eight-character password might change the cracking time from two hours to four hours. Adding one more character to make it nine characters long changes it from two hours to roughly ninety hours. Length multiplies the difficulty exponentially; complexity adds it linearly. A sixteen-character password made only of lowercase letters is harder to crack than a twelve-character password with uppercase, numbers, and symbols.
This is why security experts now recommend long passphrases over complex passwords. "correct-horse-battery-staple" is easier to remember and harder to crack than "P@ssw0rd!" even though it uses fewer character types. The length does the work.
Dictionary attacks and pattern matching
Most passwords are not random. They contain dictionary words, names, dates, or predictable substitutions like replacing "a" with "@" or "e" with "3". Attackers use this. Dictionary-based cracking tools do not try every possible combination; they try common words, common phrases, and common variations of those words first.
A password like "Sunshine2024!" looks strong — it has uppercase, lowercase, numbers, and a symbol. But "Sunshine" is a dictionary word, "2024" is the current year, and the exclamation mark is the most common special character people add. A dictionary attack cracks this in seconds. The attacker tries "Sunshine" with variations: "Sunshine1", "Sunshine2", "Sunshine2024", "Sunshine2024!", and so on. One of those matches.
Tools like Hashcat and John the Ripper use rule-based cracking, which applies transformation rules to dictionary words automatically. They know that people capitalize the first letter, add a number at the end, and add a symbol. They know that "2024" is likely to appear. They know common keyboard patterns like "qwerty" or "123456". These tools can crack a password that looks complex but follows predictable patterns in minutes or hours, not years.
The difference between offline and remote attacks
The time estimates above assume an offline attack — the attacker has stolen the password hash file and is cracking it on their own hardware, with no limits on how fast they can guess. This is the scenario that matters most, because major data breaches happen regularly and hash files are stolen.
A remote attack — typing passwords into a login form — is much slower. Most services rate-limit login attempts: allowing three to five wrong guesses before locking the account for fifteen minutes, or allowing only one guess per second. At one guess per second, even a weak password takes hours to crack remotely. This is why remote attacks are rarely the method used against accounts with real security. The attacker instead tries to steal the hash file, or uses other methods like phishing or credential stuffing (trying passwords stolen from other breaches).
The implication is important: your password's strength against offline cracking matters because breaches happen. Your password's strength against remote guessing matters less, because rate-limiting does most of the work. But you cannot assume your password will never be in a breach, so you should assume offline cracking is the real threat.
How password reuse changes the math
If you use the same password across multiple sites, the time to crack it is the time to crack it once. An attacker who breaches one site and cracks the password can then log into your email, your bank, your social media, and your work accounts. The password only needs to be cracked once.
This is why password reuse is often a bigger security problem than a weak password. A moderately strong password used on one account is far safer than a very strong password used on ten accounts. If any one of those ten sites is breached, your strong password is compromised everywhere.
Using a password manager — software that generates and stores unique, random passwords for each site — solves this. You only need to remember one strong master password. The manager handles the rest. If one site is breached, only that one password is exposed.
What happens after a password is cracked
Once a password is cracked, the attacker can log in. What they do next depends on the account. For email, they can reset passwords on other accounts, request password recovery codes, and gain access to everything tied to that email. For banking or financial accounts, they can transfer money or change account settings. For work accounts, they can access company data or send emails impersonating you.
The damage is not limited to the account itself. Email is the master key to most other accounts, because password recovery usually goes through email. This is why securing your email password is more important than securing passwords on less critical accounts.
If you suspect a password has been cracked — because you see login activity you did not recognize, or because a site you use was breached — change it when ready. If it is your email password, change it first and then change passwords on other important accounts. If you reused that password elsewhere, change it on all those sites too.
Frequently Asked Questions
How do I know if my password is in a breached database?
Visit haveibeenpwned.com and enter your email address. The site searches known breaches and tells you which ones included your account. If your email appears, change the password on that site when ready, and check whether you reused that password elsewhere. You can also enter individual passwords to see if they appear in known breaches, though you should never type a password you actually use into any website.
Does a longer password always take longer to crack?
Yes, if it is random. Each additional character multiplies the number of possible combinations. But a longer password made of dictionary words or predictable patterns can be cracked faster than a shorter random password. "Correct-horse-battery-staple" is harder to crack than "P@ssw0rd!" because of length, but "Correct-horse-battery-staple-2024" is easier to crack than "Correct-horse-battery-staple" if the attacker knows you add the current year.
Is a 12-character password enough?
A random 12-character password is very difficult to crack offline — roughly two hundred years at current hardware speeds. But "difficult" is not the same as "impossible," and hardware gets faster. A 16 or 20-character random password is safer and still straightforward to manage with a password manager. The longer your password, the more margin you have as technology changes.
Why do some sites require special characters if they do not help much?
Special character requirements were designed to increase password complexity, but security research has shown they do not help as much as length does. Many sites still require them because the rules were written years ago and have not been updated. If a site requires special characters, use them, but do not rely on them as your main defense. Focus on length instead.
Can I crack my own password if I forget it?
Not in any practical way. If you forget a password, use the "forgot password" or account recovery option on the site. You will be asked to verify your identity through email, a phone number, or security questions. This is much faster than trying to crack the password yourself, and it is the intended method. Password cracking tools are designed for attackers, not for account recovery.