Password Strength Calculator
- Each character from a pool of 26 carries log₂(26) bits, so 8 characters give 37.6 bits of entropy.
- The search space is 26^8 = 2.09e+11 passwords; on average half of it, 1.04e+11, must be tried.
- At 10,000,000,000 guesses per second that average search takes 10.44 seconds. These are estimates for truly random passwords — human-chosen passwords fall far faster to dictionary and rule-based attacks.
A password strength calculator measures how resistant a password is to guessing attacks by computing its entropy: the number of possible combinations an attacker must try. The core formula is entropy = length × log2(pool size), meaning each character adds log2(pool) bits of randomness. This calculator takes your password's length and character pool—lowercase letters (26), alphanumeric characters (62), or the full printable set (94)—and reports the total entropy in bits, the full search space, and the estimated crack time at a given attack rate. For example, 8 lowercase letters yield 37.6 bits and a search space of 2.09e+11, cracking in 10.44 seconds at 10 billion guesses per second, while 12 characters from the full printable pool give 78.7 bits and resist attack for about 754,116 years at the same rate.
Entropy is the accepted standard because it directly quantifies uncertainty: each additional bit doubles the work an attacker must perform. The time figures shown already account for the fact that an attacker needs on average half the search space to succeed. However, these calculations assume a truly random password and a fast hash. Human-chosen passwords fall to dictionary and rule attacks orders of magnitude sooner, and slow hashes like bcrypt and Argon2 cut guessing rates drastically. Attack rates range from about 1,000 per second for a throttled online login to 1e9–1e11 per second for offline attacks on fast hashes with GPU hardware. This page shows the formula, step-by-step workings, worked examples, and sources so you can verify every figure yourself.
Worked examples
The classic weak password shape
Primary result: 37.6 bits — 8 lowercase letters fall in an average of 10.44 seconds to a 10-billion-a-second rig. (8 characters · Lowercase letters only (26) · 10 billion /s — GPU rig, fast hash)
| Entropy | 37.6 bits |
| Search space | 2.09e+11 |
| Average guesses to crack | 1.04e+11 |
| Average crack time at the chosen rate | 10.44 seconds |
Length and charset together
Primary result: 78.7 bits — 12 characters from the full printable set stretch the average crack time to about 754,116 years at the same rate. (12 characters · All printable characters (94) · 10 billion /s — GPU rig, fast hash)
| Entropy | 78.7 bits |
| Search space | 4.76e+23 |
| Average guesses to crack | 2.38e+23 |
| Average crack time at the chosen rate | 754,050 years |
Long beats fancy
Primary result: 95.3 bits — 16 alphanumeric characters, no symbols at all, outlast the 12-character full-charset password. (16 characters · Letters and digits (62) · 1 billion /s — offline, fast hash)
| Entropy | 95.3 bits |
| Search space | 4.77e+28 |
| Average guesses to crack | 2.38e+28 |
| Average crack time at the chosen rate | 755,323,625,796 years |
Entropy: the honest measure
Entropy is the honest measure of password strength because it tells you exactly how many guesses an attacker needs in the worst case. The formula is simple: entropy of a random password equals length multiplied by log2(pool size), so each character you add contributes log2(pool) bits. A password strength calculator uses this number to compare passwords on equal footing, regardless of whether you chose lowercase letters, symbols, or a mix. More bits means a bigger search space, and a bigger search space means more time to crack.
To see why 37.6 bits is weak, look at 8 lowercase letters drawn from a pool of 26. That gives 37.6 bits of entropy and a search space of 2.09e+11. At 10 billion guesses a second, the average crack takes 10.44 seconds. The reason the time is so short is that an attacker needs on average half the search space, and entropy already accounts for this in the time figures shown. A password that falls in under 11 seconds is not a password; it is a speed bump.
Now compare that with 12 characters from the full printable pool of 94. That yields 78.7 bits, and at the same 10 billion guesses a second rate the average crack time jumps to about 754,116 years. Push to 16 alphanumeric characters from a pool of 62 and you reach 95.3 bits at a 1 billion per second attack rate. The jump from 37.6 to 95.3 bits is the difference between seconds and geological time, and it comes from length and pool size alone.
These figures assume a truly random password and a fast hash. Human-chosen passwords fall to dictionary and rule attacks orders of magnitude sooner, because people pick patterns, names, and keyboard walks that attackers test first. Slow hashes such as bcrypt and Argon2 cut guessing rates drastically, which is why services use them. Attack rates also depend on context: about 1,000 guesses per second for a throttled online login, and 1e9 to 1e11 guesses per second for offline attacks on fast hashes with GPU hardware. A password strength calculator can only estimate the math; the real world adds constraints on both sides.
From entropy to crack time
Entropy of a random password = length x log2(pool size): each character adds log2(pool) bits. Pool size is simply the count of possible characters a password can draw from. Lowercase letters give a pool of 26, alphanumeric characters give 62, and the full printable ASCII set gives 94. More characters in the pool means more bits per position, and a longer password means more positions. Multiply them through the log2 formula and you get the total entropy in bits.
Those bits translate into a search space — the total number of possible passwords an attacker must try. An attacker needs on average half the search space — entropy already accounts for this in the time figures shown. Verified: 8 lowercase letters (pool 26) give 37.6 bits and a search space of 2.09e+11; at 10 billion guesses a second the average crack takes 10.44 seconds. That is not a theoretical worst case; it is the expected time to a successful guess.
Add length and character variety and the numbers climb fast. Verified: 12 characters from the full printable pool of 94 give 78.7 bits and an average crack time of about 754,116 years at the same rate. Verified: 16 alphanumeric characters (pool 62) give 95.3 bits at a 1 billion per second attack rate. A password strength calculator that uses the entropy formula can show you these estimates directly, so you can compare options before committing to a password.
Every figure above assumes a truly random password and a fast hash. Human-chosen passwords fall to dictionary and rule attacks orders of magnitude sooner, because attackers exploit patterns, not just brute force. Slow hashes (bcrypt, Argon2) cut guessing rates drastically, buying meaningful time even when entropy is modest.
Attack rates vary by scenario: about 1,000/s for a throttled online login, 1e9-1e11/s for offline attacks on fast hashes with GPU hardware. The same entropy therefore yields very different crack times depending on the threat model, which is why any honest password strength calculator must state its assumed rate.
Worked examples
The table below shows three verified random passwords processed through our password strength calculator. Each example uses a different character pool and length, then applies a specific attack rate to estimate how long a brute-force search would take on average. The formula behind these results is simple: entropy equals length multiplied by log2(pool size), so each character you add contributes log2(pool) bits of entropy.
An attacker needs on average half the search space to find the password, and the entropy calculation already accounts for this in the time figures shown. The 8-character lowercase example produces 37.6 bits of entropy and a search space of 2.09e+11. At a rate of 10 billion guesses per second, the average crack takes just 10.44 seconds. Extending the password to 12 characters drawn from the full printable pool of 94 characters raises the entropy to 78.7 bits, which translates to an average crack time of about 754,116 years at the same 10 billion guesses per second rate.
The 16-character alphanumeric example uses a pool of 62 characters (lowercase letters, uppercase letters, and digits). It generates 95.3 bits of entropy at a 1 billion guesses per second attack rate. The longer length and larger pool combine to push the crack time well beyond what a fast offline attack can reasonably achieve, even though the attack rate here is lower than the other two examples.
These figures assume a truly random password and a fast hash. Human-chosen passwords fall to dictionary and rule attacks orders of magnitude sooner, because attackers can exploit common patterns, substitutions, and personal information to narrow the search space dramatically. Slow hashes such as bcrypt and Argon2 cut guessing rates drastically compared to fast hashes, which is why modern systems rely on them to buy additional time even when a password is not perfectly random.
| Password type | Pool size | Length | Entropy (bits) | Search space | Attack rate (guesses/s) | Average crack time |
|---|---|---|---|---|---|---|
| Lowercase letters | 26 | 8 | 37.6 | 2.09e+11 | 10 billion | 10.44 seconds |
| Full printable characters | 94 | 12 | 78.7 | — | 10 billion | ~754,116 years |
| Alphanumeric | 62 | 16 | 95.3 | — | 1 billion | — |
Length beats complexity
Entropy of a random password equals length times log2(pool size), so every character you add contributes log2(pool) bits of strength. That simple relationship explains why a longer password drawn from a smaller pool can beat a shorter one packed with special characters. A password strength calculator applies this formula to show exactly how much harder each extra character makes an attacker's job.
Consider two passwords you might think are roughly equal. A 12-character password drawn from the full printable pool of 94 characters gives 78.7 bits of entropy, and at 10 billion guesses per second the average crack time is about 754,116 years. Now compare that with 16 alphanumeric characters drawn from a pool of just 62. Even at a slower attack rate of 1 billion guesses per second, the 16-character alphanumeric password yields 95.3 bits of entropy and outlasts the shorter, more complex option. The extra four characters add more entropy than the larger character set provides.
The numbers behind this are striking. Eight lowercase letters from a pool of 26 give only 37.6 bits and a search space of 2.09e+11. At 10 billion guesses per second the average crack takes just 10.44 seconds. Jumping to 12 characters from the full printable pool pushes that time to hundreds of thousands of years, and stretching to 16 alphanumeric characters pushes it far beyond that again. An attacker needs on average half the search space to succeed, and the entropy figures already account for that fact in the time estimates shown.
These figures all assume a truly random password attacked against a fast hash. Human-chosen passwords fare far worse because dictionary and rule-based attacks exploit patterns, common words, and substitutions, cracking them orders of magnitude sooner. On the defense side, slow hashes such as bcrypt or Argon2 cut guessing rates drastically, buying additional time. Attack rates vary widely depending on the scenario: a throttled online login might allow only about 1,000 guesses per second, while offline attacks on fast hashes with GPU hardware can reach 1e9 to 1e11 guesses per second. Length gives you a margin of safety that holds up across that entire range.
Why your password is not random
The math behind a password strength calculator is simple: entropy equals length times log2(pool size), so each character adds log2(pool) bits. When every character is drawn uniformly at random, the numbers climb fast. Eight lowercase letters drawn from a pool of 26 give 37.6 bits and a search space of 2.09e+11; at 10 billion guesses a second the average crack takes 10.44 seconds. Stretch the string to 12 characters from the full printable pool of 94 and you reach 78.7 bits, with an average crack time of about 754,116 years at the same rate. Sixteen alphanumeric characters from a pool of 62 give 95.3 bits at a 1 billion per second attack rate. An attacker needs on average half the search space, and entropy already accounts for this in the time figures shown.
Those figures assume a truly random password and a fast hash. Human-chosen passwords fall to dictionary and rule attacks orders of magnitude sooner, and slow hashes such as bcrypt or Argon2 cut guessing rates drastically. Attack rates vary widely: about 1,000 per second for a throttled online login, and 1e9 to 1e11 per second for offline attacks on fast hashes with GPU hardware.
People rarely type random strings. They reach for dictionary words, names, and keyboard walks, and they reuse the same password across sites. Each habit collapses the effective pool. A 12-character phrase made of common words is not drawing from 94 symbols per position; it is drawing from a few thousand dictionary entries, and the attacker's software tries those entries first. A name plus a birth year is narrower still. A keyboard walk like qwerty is a single token in a rule list, not six independent characters. Reused passwords may already be sitting in a breach database, which removes the need to guess at all.
This is why a password strength calculator can report strong entropy and still leave you exposed. The tool measures the search space of a truly random string of the same length, not the predictability of your actual choices. When your password is a word, a name, or a familiar pattern, the effective pool shrinks and the crack time drops with it. The defense is to let a generator produce the string, to use a slow hash where you control the server, and to never reuse a password.
Hashing changes everything
A password strength calculator tells you how long a password resists cracking, but the result depends heavily on how the password was stored. Entropy of a random password equals length times log2(pool size), meaning each character adds log2(pool) bits. That math is straightforward. The hard part is guessing speed, and that is where hashing changes everything.
Consider the verified examples. Eight lowercase letters, drawn from a pool of 26, give 37.6 bits and a search space of 2.09e+11. At 10 billion guesses a second the average crack takes 10.44 seconds. Step up to 12 characters from the full printable pool of 94 and you get 78.7 bits, with an average crack time of about 754,116 years at the same rate. Sixteen alphanumeric characters, using a pool of 62, give 95.3 bits at a 1 billion per second attack rate. An attacker needs on average half the search space, and entropy already accounts for this in the time figures shown.
Those numbers assume a truly random password and a fast hash. Both assumptions matter. Human-chosen passwords fall to dictionary and rule attacks orders of magnitude sooner, because people reuse patterns, names, and common substitutions. A password strength calculator that ignores human habits paints a falsely optimistic picture. Real attackers do not guess randomly; they guess intelligently, starting with the most likely choices first.
The hash type matters just as much. Attack rates range from about 1,000 per second for a throttled online login to 1e9 to 1e11 guesses per second for offline attacks on fast hashes with GPU hardware. Fast hashes like MD5 or SHA-1 let GPUs fly through guesses, which is why the offline rates are so high. Slow hashes such as bcrypt and Argon2 cut guessing rates drastically by design, forcing each guess to consume significant time and memory. The same password can be safe in one breach where it was protected by Argon2 and cracked in another where it sat behind a fast hash.
This is why any password strength calculator worth using must account for both entropy and the hash that protects it. A password that survives seconds against a fast hash may survive centuries against bcrypt or Argon2. The storage decision is not yours to make as a user, but it explains why identical passwords meet very different fates across different breaches.
FAQs
How is password entropy calculated?
Password entropy is calculated as length multiplied by log2 of the pool size. For example, 8 characters chosen from 26 letters give 8 x 4.70 = 37.6 bits of entropy. This formula shows why both length and character variety matter when creating strong passwords.
How long does an 8-character lowercase password last?
Against a 10-billion-per-second offline attack, an 8-character lowercase password lasts an average of 10.44 seconds — the first verified case. This demonstrates how quickly short, simple passwords fall to modern cracking hardware.
Is a longer password better than a more complex one?
Usually yes. The verified 16-character alphanumeric password (95.3 bits) beats the 12-character all-symbols one (78.7 bits). Adding length increases entropy more reliably than adding symbol types, making longer passwords generally stronger than shorter but more complex ones.
How many bits of entropy is enough?
Around 65-80 bits puts offline cracking out of practical reach. The verified 78.7-bit case averages about 754,116 years at 10 billion guesses a second. Staying within or above this range makes passwords resistant to even determined offline attacks.
Why do real passwords crack faster than this suggests?
The math assumes random passwords, but humans pick predictable ones that dictionary and rule-based attacks try first. Because people reuse common words, names, and patterns, real passwords typically fall much faster than entropy calculations suggest.
Does the website's hashing matter?
Enormously. Slow password hashes like Argon2 or bcrypt can cut an attacker's rate from billions to thousands per second. The hashing method used by a website directly affects how vulnerable stored passwords are if a breach occurs.