Password strength calculator (entropy)
Estimate password entropy (bits) and crack time from length and character types.
Theoretical estimate (10 billion guesses/s). Use a password manager and long, unique passwords.
How the calculation works
A password's strength is not how complicated it looks but how many attempts an attacker would need, on average, to hit it. That is measured in bits of entropy:
entropy = length × log₂(character pool size)
Each extra bit doubles the effort required. Note what the formula says: the character pool enters through a logarithm while length enters as a multiplier — so each additional character is worth far more than any special symbol.
How long each password holds out
Assuming an offline attacker able to test 100 billion guesses per second, realistic against a breach with weak hashing:
| Password | Entropy | Time to crack |
|---|---|---|
| 8 characters, lowercase and digits | 41 bits | 28 seconds |
| 8 characters, full keyboard | 53 bits | under a day |
| 4 random words | 52 bits | under a day |
| 5 random words | 65 bits | about 9 years |
| 12 characters, full keyboard | 79 bits | 170,000 years |
The limit of the measure
The entropy computed here assumes characters drawn at random. A password your brain chose has far lower real entropy than the formula suggests, because it follows predictable patterns: a dictionary word, a capital first, a number at the end. That is why "P@ssw0rd26" has 10 characters and holds out far less than 10 genuinely random ones.
Examples
- "password123" has very low entropy (dictionary word + sequence).
- Four random words beat swaps like "p4ssw0rd".
Frequently asked questions
What boosts strength the most?
Length. A longer password beats complex character substitutions.
What is password entropy?
A measure of unpredictability in bits. Each extra bit doubles the guesses needed. Above ~60 bits is strong.
Do letter-for-number swaps help?
Barely — attackers know these tricks (a→4, e→3). Length and randomness matter far more.
Related calculators
More Tech / IT calculators
See all →Download time
Calculate how long a file takes to download at your internet speed.
HEX ↔ RGB color
Convert colors between HEX (#RRGGBB) and RGB formats.
Aspect ratio
Find the aspect ratio (e.g. 16:9) of an image or screen and resize keeping the proportion.
Number base converter
Convert numbers between binary, octal, decimal and hexadecimal. Enter the value and its base.
Pixel density (PPI)
Calculate a screen's pixels per inch (PPI) from its resolution and diagonal size.
Uptime / SLA
Find out how much downtime an uptime SLA allows per year, month, week and day.
Color contrast (WCAG)
Calculate the contrast ratio between two colors and see if it passes WCAG accessibility criteria.
Updated on June 18, 2026 · by Rafael Rossi · Methodology & sources