Password entropy calculator
Entropy measures how unpredictable a password is, expressed in bits — each bit doubles the number of guesses an attacker must try. This tool estimates entropy from your password’s length and the variety of characters it uses, then shows a strength label, the character-pool size, and an estimated brute-force time to crack at both online and offline attack speeds.
The difference between online and offline attacks
This calculator shows two crack-time estimates because the attack speed varies by several orders of magnitude depending on how the attacker accesses the hash:
- Online attack (1,000 guesses/second) — the attacker is guessing against a live login form or API endpoint with rate limiting and lockout after a few failed attempts. This is the realistic risk for most web accounts.
- Offline attack (1,000,000,000+ guesses/second) — the attacker has obtained the password hash database and is cracking it locally on GPU hardware. This is what happens after a data breach where hashed passwords are leaked. A fast hash like MD5 or unsalted SHA-1 can be attacked at billions of guesses per second; slow hashes like bcrypt or Argon2 reduce this to thousands.
The offline figure is the one that should worry you, because breaches are common and you cannot control how well a service stores your password.
How it works
The tool works out the character pool from the types present, then applies the standard entropy formula:
pool = 26 (a–z) + 26 (A–Z) + 10 (0–9) + 33 (symbols), counting only types used
entropy = length × log2(pool) bits
guesses = 2^entropy ÷ 2 (attacker tries half the space on average)
time = guesses ÷ guesses-per-second
Strength bands: under 28 bits is very weak, 28–36 weak, 36–60 reasonable, 60–128 strong.
Worked examples
The password Tr0ub4dour (10 chars: lower, upper, digit) draws from a pool of 62:
- Entropy: 10 × log2(62) = 10 × 5.954 = 59.5 bits (Reasonable)
Add three more characters and a symbol and the pool rises to 95, pushing entropy well past 80 bits — into Strong territory.
| Example | Pool | Length | Entropy | Notes |
|---|---|---|---|---|
| password | 26 | 8 | 37.6 bits | Very weak — common word |
| Passw0rd | 62 | 8 | 47.6 bits | Weak — common substitution |
| P@ssw0rd!2x9 | 95 | 12 | 78.8 bits | Strong |
| correct horse battery staple | 26 | 28 (with spaces) | ~132 bits | Very strong passphrase |
Why entropy alone is not the whole story
Entropy assumes every character is chosen randomly from the pool. A password like Summer2024! contains uppercase, lowercase, digits, and a symbol — giving it a theoretical pool of 95 and a calculated entropy of around 72 bits. But no attacker starts by trying purely random strings. They start with known patterns:
- Dictionary words plus common number suffixes (Summer2024)
- Keyboard walks (qwerty!, asdfgh)
- Previously breached passwords from lists
A genuinely random 12-character password and Summer2024! have very different real-world resistance even if this calculator awards them similar scores. Use this tool alongside a breach-checker and a proper password manager that generates truly random credentials.
Your password is analysed entirely in your browser and is never uploaded.