Password Strength Checker: Entropy and Crack Time Estimator

Measure entropy in bits, compare brute-force attack models and audit any password policy. Everything runs in your browser.

Free · Instant · Private
Quick answer: Password entropy in bits is length × log2(pool size), where the pool is the number of distinct characters the password could use. A 12-character random password using lowercase, uppercase, digits and punctuation has a pool of 94 and therefore 12 × log2(94) = 78.7 bits. Average brute-force guesses equal 2(bits − 1), so crack time is that number divided by the attacker's guesses per second. Enter a password below to see the exact numbers.
Strength and entropy analysis
Type a password to see the character pool, entropy in bits, crack times and pattern warnings.
Strength rating
-
Length (code points)
-
Pool size
-
Entropy
-
Distinct characters
-

Character class breakdown

The pool is built from the classes that actually appear in your password.

ClassAlphabet sizeCharacters foundIncluded in pool

Estimated brute-force crack time

Average case only. Real attackers use dictionaries and rule sets, so a human-chosen password can fall far sooner.

Attack modelGuesses per secondAverage time

Pattern warnings

Warnings are advisory. They do not change the entropy number, which stays a reproducible mathematical estimate.

    Password policy checker
    Set the rules you need and check the same password against every rule at once.
    Policy verdict
    -

      What Password Entropy Measures

      Entropy is a way of expressing how many possible passwords an attacker would have to try. If a password has E bits of entropy, there are 2E equally likely candidates and an exhaustive search needs 2(E − 1) guesses on average to hit the right one. Entropy is a property of the process that generated the password, not of the string alone, so any tool that only sees the finished string has to make an assumption. This tool makes the most transparent assumption available: the password was drawn uniformly at random from the smallest character set that contains every character it uses.

      That assumption gives an upper bound. A human-chosen word, a date of birth or a keyboard pattern has much lower real entropy, however many character classes it happens to contain. Read the entropy number as "how good this password could be if it were random" and then read the pattern warnings for the reasons it might not be.

      The Entropy Formula and the Character Pool

      The full calculation is:

      E = L × log2(P)

      Here L is the password length counted in Unicode code points and P is the pool size. The pool is assembled from the character classes observed in the input:

      ClassAlphabetSizeAdded when
      Lowercasea to z26At least one lowercase letter appears
      UppercaseA to Z26At least one uppercase letter appears
      Digits0 to 910At least one digit appears
      Symbols and spaceASCII punctuation plus the space character33At least one punctuation mark or space appears
      Other charactersAny character outside the four ASCII classes1 per distinct characterEach distinct non-ASCII character is counted separately

      The maximum pool for printable ASCII is 26 + 26 + 10 + 33 = 95 characters. If you exclude the space, the familiar figure of 94 applies. This tool reports 95 when a space is present and 94 when it is not, because the space really is a character an attacker must consider.

      Why Length Beats Complexity

      Length scales entropy linearly, while pool size scales it logarithmically. Doubling the length doubles the bits; adding an entire new alphabet only adds log2 of the ratio. A 16-character lowercase passphrase has 16 × log2(26) = 75.2 bits. An 8-character password drawn from all 94 printable non-space characters has only 8 × log2(94) = 52.4 bits. That gap is why modern guidance favours long passphrases over short punctuation-heavy strings.

      Worked Examples

      Password shapeLengthPoolEntropyRating
      8 lowercase letters8268 × 4.700 = 37.6 bitsModerate
      8 mixed printable characters8948 × 6.555 = 52.4 bitsModerate
      12 mixed printable characters129412 × 6.555 = 78.7 bitsStrong
      16 lowercase letters162616 × 4.700 = 75.2 bitsStrong
      20 mixed printable characters209420 × 6.555 = 131.1 bitsVery strong

      Worked Example: A 12-Character Password

      1. The password uses lowercase, uppercase, digits and punctuation but no space, so the pool is 26 + 26 + 10 + 33 = 95 if a space is present, or 94 without one.
      2. With a 94-character pool, log2(94) = 6.5546 bits per character.
      3. Multiply by 12 characters to get 78.7 bits.
      4. Average guesses = 277.7, which is about 2.4 × 1023 guesses.
      5. At 1010 guesses per second, that is roughly 7.5 × 105 years.

      Notice that a password such as "Password123!" hits the same 94-character pool and the same 52.4-bit estimate as a random string, yet a dictionary attack would break it almost instantly. The warnings panel flags the common token so the two cases are not confused.

      How Crack Time Is Estimated

      Crack time is 2(E − 1) / R seconds, where R is the attacker's guess rate. The table below lists the four models used by this calculator. They are illustrative rates, not measurements of any specific machine.

      ModelGuesses per secondTypical meaning
      Throttled online login1,000A remote service with rate limiting
      Offline, single CPU1,000,000One general-purpose processor against a fast hash
      Offline, fast GPU rig10,000,000,000A small cluster of accelerators against a fast hash
      Large-scale cluster1,000,000,000,000An upper-bound illustrative budget

      Real-world results depend on the hash function, the salt, whether the breach is offline, and whether the attacker uses wordlists. A slow, properly salted password hash cuts every rate in the table by orders of magnitude, while an unsalted fast hash makes the pessimistic column realistic. This calculator deliberately works in logarithms so that very long passwords never overflow into an incorrect "Infinity" result.

      Strength Thresholds Used Here

      Entropy (bits)LabelInterpretation
      Empty inputNo passwordNothing to analyse
      Below 28Very weakTrivial for any attacker
      28 to 35.99WeakBreaks quickly even online
      36 to 59.99ModerateResists throttled attacks only
      60 to 79.99StrongComfortable for a random password
      80 or moreVery strongBeyond practical exhaustive search

      These thresholds are a presentation convention of this tool, not a formal standard. They assume the password really is random. A password that merely looks complex should be treated as weaker than its rating.

      How to Use This Tool

      1. Enter the password you want to evaluate. The text stays in your browser and is never transmitted.
      2. Read the length, the character pool size and the entropy in bits.
      3. Compare the four brute-force attack models and read the advisory pattern warnings.
      4. Open the policy tab to check minimum length and required character classes against your own rules.
      5. Copy the JSON summary or CSV table if you need to document the result.

      Common Mistakes

      • Treating the estimate as a guarantee. The formula assumes uniform randomness. Dictionary words, names and leaked passwords are far weaker than their bit count suggests.
      • Dividing by the wrong guess rate. Online throttled attacks and offline attacks against a stolen hash differ by a factor of a trillion.
      • Forgetting the average-case factor. The expected number of guesses is half the search space, which is why the formula uses 2(E − 1) rather than 2E.
      • Counting bytes instead of characters. An emoji is one Unicode code point but several bytes. This tool counts code points.
      • Assuming complexity rules create entropy. Appending "!" to a dictionary word adds a class but almost no unpredictability.
      • Reusing an otherwise strong password. Entropy says nothing about reuse, phishing or credential stuffing.

      Password Policy Checks

      The second tab evaluates the same password against a configurable policy: minimum length plus optional requirements for lowercase, uppercase, digits and symbols. Each rule reports pass, fail or not required. Length minimums and rate limiting are the two controls that NIST Special Publication 800-63B emphasises, while forced composition rules are widely considered less effective than length and blocklist screening. A policy verdict is a compliance check, not a security score.

      Key Takeaways

      • Entropy in bits equals length multiplied by log2 of the character pool size.
      • The result is an upper bound for a uniformly random password, not a measurement of a human-chosen one.
      • Length increases entropy linearly; adding character classes increases it only logarithmically.
      • Average brute-force guesses equal 2(E − 1), and crack time is that divided by guesses per second.
      • Always read the pattern warnings alongside the number, and never reuse a password.

      Authoritative References

      The concepts on this page follow NIST Special Publication 800-63B, Digital Identity Guidelines: Authentication and Authenticator Management, which covers password length, throttling and blocklist screening. Randomness and unpredictability requirements for security tokens are described in RFC 4086, Randomness Requirements for Security. Both are cited here as plain text references rather than outbound links.

      Last updated: December 3, 2026 · All analysis is performed locally in your browser. No password is uploaded, logged or stored.

      Password Strength Checker FAQ

      How is password entropy calculated?

      Entropy in bits equals the password length multiplied by log2 of the character pool size. A 12 character password drawn from a 94 character pool has 12 x log2(94) = 78.7 bits.

      What is a character pool?

      The character pool is the set of symbols the password could be drawn from. This tool uses 26 lowercase letters, 26 uppercase letters, 10 digits, 32 ASCII punctuation marks and the space character.

      What does crack time mean?

      Crack time is the average time to find a password by brute force, equal to 2 raised to the power of entropy minus one, divided by the guesses per second of the attacker.

      Is the entropy estimate exact for my password?

      No. It is an upper bound for a uniformly random string. Human chosen words, names and patterns have far less real entropy than the formula suggests.

      How many bits of entropy should a password have?

      This tool rates below 28 bits as very weak, 28 to 35 as weak, 36 to 59 as moderate, 60 to 79 as strong and 80 or more as very strong. These are advisory thresholds, not a formal standard.

      Does a longer password always beat a complex one?

      Length usually helps more than adding one symbol, because entropy grows linearly with length and only logarithmically with pool size. A 16 character lowercase passphrase has 75.2 bits, while an 8 character password using all 94 characters has 52.4 bits.

      Does this tool reduce the score for common passwords?

      No. Common tokens, repeated characters and keyboard sequences are reported as warnings, but the entropy number itself is left unchanged so it stays a reproducible mathematical estimate.

      Is my password uploaded or stored anywhere?

      No. The password never leaves your browser. All analysis runs in local JavaScript, there are no network requests and nothing is saved to storage.