Password Entropy Race
Race 2–6 passwords or passphrases: entropy, pattern penalties and crack times.
How it works
Compares passwords and passphrases side by side: naive charset entropy, a pattern-aware estimate that penalises common passwords, keyboard walks, repeats, sequences, dates and l33t speak, and the average time to crack each one at four attacker speeds.
- Charset entropy = length × log2(pool), where the pool adds 26 for lowercase, 26 for uppercase, 10 for digits, 33 for ASCII symbols/space and 100 for any other character used. This is the optimistic "brute force" number most meters show.
- The pattern-aware estimate splits the password into the cheapest sequence of guessable pieces (dynamic programming, similar to zxcvbn but simpler): common passwords and words from a bundled list of about 600 entries (log2 of the rank, plus bits for capitalisation, reversal and each l33t substitution), other pronounceable letter runs (assumed to be in a 100,000-word attacker dictionary, about 16.6 bits), keyboard walks on QWERTY (start key, length and turns), repeats, alphabetical/numeric sequences, years 1900–2039 and calendar dates. Word separators (space, dash, underscore, dot) cost 2 bits; remaining characters cost log2(pool) each; combining k pieces (separators not counted) adds log2(k!) bits.
- The reported entropy is the smaller of the two numbers. Crack time is the average (half the search space, 2^(bits−1) guesses) divided by the attacker speed: 100 guesses/hour (online, throttled), 10 guesses/s (online), 10⁴ guesses/s (offline, slow hash such as bcrypt) and 10¹⁰ guesses/s (offline, fast unsalted hash on GPUs) — the scenario speeds popularised by zxcvbn.
- The race winner is the highest pattern-aware entropy; results within 1 bit count as a photo finish.
- The same JavaScript file runs on the page (form submission is intercepted) and on the server (when JavaScript is off, or via the API/MCP). Results show passwords masked; detected pattern pieces are listed so you can see why a password is weak.
An estimate for comparison and learning, not a guarantee. Real attackers use lists with billions of leaked passwords and smarter rules; never reuse passwords and prefer a password manager.
Sources
Use this tool in an app
These free programs for your browser have this tool built in, next to everything else the task needs.
-
Keysmith Crypto & secrets lab
Audit certificates, keys, TLS and passwords in one lab; server runs ask first.
How to use the Password Entropy Race
Compare 2–6 passwords side by side and see why patterns like P@ssw0rd2024 or keyboard walks are far weaker than their length suggests.
What it is for
Most password meters count character types and length, then show a big number. That number assumes an attacker tries every combination blindly, which no real attacker does. They start with leaked password lists, dictionary words, keyboard walks and dates, and apply rules like "swap a for @".
The Password Entropy Race puts 2–6 candidates next to each other and gives two numbers for each: the optimistic charset entropy and a pattern-aware estimate that knows those tricks. The lower of the two is the one that counts, and the highest one wins the race. It's handy for choosing a password scheme or showing why Summer2024! is bad.
It does not check breach lists and is no guarantee. Use look-alikes with the same structure instead of passwords you really use.
Worked example
The built-in example races three classics:
P@ssw0rd2024
correct horse battery staple
Tr0ub4dor&3
The result: Password 2 wins with about 77 bits of pattern-aware entropy (rated strong; 243,365 years on average at 10 billion guesses per second).
P@ssw0rd2024 looks impressive: 12 characters, four character classes, 78.8 charset bits. The tool splits it into two pieces: P@ssw0rd is l33t for the second most common password (4 bits), and 2024 is a year (7.1 bits). Add 1 bit for combining them and it drops to 12.1 bits, rated very weak. That's about 4 minutes for an online attacker making 10 guesses per second, and instant offline.
The passphrase drops from 164.7 charset bits to 77 bits too: four dictionary-like words at 16.6 bits each, three spaces at 2 bits, plus 4.6 bits for the order of the pieces. That's still far ahead.
A second example, qwertyuiop versus 1qaz2wsx3edc versus a random k8#Vq2!mZr7w, gives 4.4, 12.9 and 78.8 bits. Both keyboard patterns are on common-password lists.
How to read the result
- Charset bits: length × log2(pool). This is the ceiling, the number other meters show.
- Pattern bits: the cheapest way to build the password out of guessable pieces. The list of detected pieces (dictionary, l33t, keyboard, date, sequence, repeat, word-like, brute force) tells you exactly what to fix.
- Crack times for four attackers: throttled online (100 guesses/hour), online (10/s), offline slow hash such as bcrypt (10⁴/s) and offline fast hash on GPUs (10¹⁰/s). They're averages, so half the search space.
- Warnings flag any password whose patterns cut its strength a lot.
Use the offline fast column for any site you don't control: you can't know how it stores passwords.
Tips and common mistakes
- Substitutions like
@foraor0foroadd almost nothing. The tool undoes them and charges only a bit or so per swap. - Appending a year or
!to a word is the first rule attackers try. It shows up as a cheap date or symbol piece. - Four random words beat one "complex" word, but only if the words are random. A phrase from a song or film is effectively one guess.
- The dictionary has about 600 common entries plus a generic 100,000-word assumption. Real attackers have billions of leaked passwords, so treat every number as an upper bound.
FAQ
Is it safe to type my real password here?
Better not. The safe habit is to test a look-alike with the same structure.
How many bits are enough?
For an account protected by a slow hash, around 50–60 pattern-aware bits is already far out of reach. For anything that might leak with a fast hash, aim for 70+ bits, which a random four- or five-word passphrase or a password-manager string gives you.
Why is my long password rated weak?
Length only helps when the characters are unpredictable. Repeats, sequences, keyboard walks and common words are each priced as a single guessable piece, whatever their length.
Does it check whether my password was leaked?
No. It estimates guessability from structure only. A password that scores well can still be useless if it already appears in a breach list.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://passwordentropyrace.usefulweb.site/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://passwordentropyrace.usefulweb.site/mcp· tool namepassword_entropy_race
Example request
curl -s -X POST https://passwordentropyrace.usefulweb.site/api/v1/calculate \
-H 'content-type: application/json' \
-d '{"passwords":"P@ssw0rd2024\ncorrect horse battery staple\nTr0ub4dor&3"}'