Skip to content
Everyday guide

How Password Strength Checkers Work (and What They Miss)

Two 12-character passwords with the same mix of characters can differ by a factor of hundreds of quadrillions. See how strength checkers spot patterns, how to read the score and what no checker can know.

How Password Strength Checkers Work (and What They Miss)

Many sign-up forms show a colored bar that turns green once you add a capital letter and a number. That bar tells you the password meets a rule, not that it is hard to guess. A good strength checker works differently: it tries to think like an attacker. Understanding how it reaches its verdict helps you read the score correctly and spot where the score can be wrong.

Two passwords, one surprising result

Compare these two passwords, both 12 characters long and both using lowercase letters, capitals, digits and a symbol:

  • Mustang1987!
  • kX9#mQ2$vL7!

A simple rule-based meter treats them as equals. Count the possible characters (95 printable ones) and the length, and each gets 12 × log2(95), about 78.8 bits. For the random one, that calculation is fair. For the first one, it is badly wrong, and that gap is exactly what a pattern-aware checker exists to find. Our Password Strength Checker rates the first at about 20 bits and the second at about 79.

If bits and entropy are new to you, the short version is that each extra bit doubles the number of guesses needed. Our guide on what makes a strong password covers that math. This article looks at what happens when a password is not random.

What a checker actually does

A pattern-aware checker asks one question: what is the cheapest route to this exact password? It works in three steps.

  1. Find every pattern. It looks for common passwords, including letter swaps such as @ for a, plus sequences like abc and 4321, keyboard runs like qwerty, repeats, dates and years.
  2. Price each piece in bits. A popular word costs little because attackers try it early. A year costs about 7 bits, because there are only so many likely years. A character that matches nothing costs the full price: log2 of the character pool.
  3. Choose the cheapest coverage. Pieces can overlap, so the checker compares ways of splitting the password and keeps the one with the lowest total, because a real attacker would take the easiest path too.

Worked example: pricing Mustang1987!

  • Mustang: a common password from the list, with a capital first letter, about 6.7 bits
  • 1987: a year, about 7.1 bits
  • !: an unmatched character from a pool of 95, about 6.6 bits

The total is about 20.4 bits. That is 58 fewer bits than the naive figure, so an attacker who follows the patterns needs hundreds of quadrillions of times fewer guesses than one trying every combination. The result is a score of 0, Very weak, with an average offline crack time of less than a second.

Bar chart comparing naive length-based bits with pattern-aware bits for seven passwords; Mustang1987! drops from 78.8 to 20.4, while the random kX9#mQ2$vL7! stays at 78.8
Patterns cost a password most of its strength; random characters keep all of it

The chart shows how far patterns can pull a password down. P@ssw0rd falls from 52.6 bits to 4 because undoing the swaps reveals one of the most common passwords in the world. qwerty123456 falls from 62 bits to under 3. A random 9-character password, Xq7Lm2Pz9, keeps its full 53.6 bits, far more than the longer patterned ones.

Reading the score and the crack times

The score is a label on a range of bits. Each band, with the average time for a fast offline attack at 10 billion guesses per second, looks like this:

  • Under 30 bits (score 0): less than a second, even at the top of the range
  • 30 to 44 bits (score 1): up to about 29 minutes
  • 45 to 59 bits (score 2): up to about 2 years
  • 60 to 74 bits (score 3): up to about 60,000 years
  • 75 bits and up (score 4): longer still

Those times are a pessimistic scenario, and that is deliberate. Ten billion guesses per second assumes the site stored passwords with a fast, unsuitable hash and that its database was stolen. A site using a deliberately slow password hash forces far fewer guesses per second. You usually cannot tell how a site stores passwords, so planning for the bad case is sensible.

The online figure, at 100 guesses per hour, is the opposite case: the attacker can only use the login page. Mustang1987! would last about nine months there. That looks comforting, but attackers skip this route when they have stolen data.

What no checker can know

A checker sees one string of characters. Several things that matter most are invisible to it.

  • Reuse. A strong password used on two sites is as weak as the weaker site's security. No score can detect that.
  • Personal meaning. Your dog's name and your street mean nothing to a checker, but they are easy to find for someone targeting you.
  • Words outside its list. Ours knows about 200 of the most common passwords, not every dictionary word, so it can be too generous. Tr0ub4dor&3 scores 72 bits and "Strong" because it does not know the word beneath. A dictionary-based attacker would need far fewer guesses.
  • How it was chosen. violet-anchor-pepper-glide gets about 124 bits because it looks like a long string of letters. If those four words came at random from a list of 7,776, the real figure is 4 × log2(7,776), or about 51.7 bits. That is respectable, but far from 124. And correcthorsebatterystaple scores about 118 bits, even though it is famous enough to appear on attackers' lists.

The lesson is that a low score is reliable evidence of weakness, while a high score only means the checker found no weakness. Treat it as a test you can fail, not a certificate.

Why different checkers disagree

Three websites may give one password three verdicts. Checkers use different word lists, different patterns, different attack speeds and different thresholds. A meter on a sign-up form may only count character types. Do not chase agreement between them. Look at what each one found, then fix the cause.

Using the Password Strength Checker

Type a password that resembles the one you have in mind. The Password Strength Checker updates as you type and shows the score, both crack times and specific suggestions. The Details card lists the parts it found, their character positions and what each one costs in bits, so you can see which part is dragging the total down. It runs on your device and nothing is sent anywhere, but testing a similar password rather than the real one is still a good habit.

The best way to raise a low score is not to tweak the password. Replace it with one from the Password Generator, or with several random words from the Passphrase Generator, and keep it in a password manager.

FAQ

Why did adding one character barely change my score?

Adding a character only helps if it is unpredictable. A trailing 1 or ! is among the first things attackers try, and it adds few bits. One random character in a long password adds about 6.6 bits, and every addition of about 15 bits moves you up a band.

Is a score of 4 enough for every account?

Strength is only one layer. For email, banking and your password manager, also use a unique password and two-factor authentication, because those stop attacks that bypass guessing altogether, such as phishing.

Should I trust a meter on a sign-up form?

Treat it as the site's minimum requirement, not a measure of safety. Many of these meters count character types, so Password1! can show green.

Why does my long sentence score so high?

Without a word list, a long phrase looks like many random letters, so the checker prices each one separately. A well-known quote or song line is much weaker than the score suggests, because attackers try phrases too. Choose unrelated words at random instead.

Related tools

Related guides

Everyday

What Makes a Strong Password?

Strength comes from randomness and length, not from one capital letter and a symbol. See how password entropy is measured and why a long random password beats a clever one.