Quantify password resistance to brute‑force attacks. Compute entropy bits based on character set diversity and length.Understand the real security of your passwords using NIST standards and cryptographic principles.
Password entropy measures the unpredictability of a password against brute‑force attacks. It is expressed in bits. The formula is: Entropy = log₂(RL) = L × log₂(R), where R is the size of the character set and L is the password length. Each additional bit doubles the number of guesses an attacker must try, making the password exponentially stronger.
E = L · log₂(R)
If a password uses 95 possible characters (lowercase, uppercase, digits, symbols) and has length 12, entropy ≈ 12 × log₂(95) ≈ 12 × 6.57 ≈ 78.8 bits.
Our entropy calculator dynamically detects which character classes appear in your password and computes the effective R as the sum of the unique classes present.
Cracking time depends on the attacker's hash rate (guesses per second). Modern GPU clusters can achieve over 109 guesses/second for fast hashes (MD5, NTLM). Our estimate uses a baseline of 1 billion (10⁹) guesses per second – a realistic worst‑case offline attack scenario. The total number of combinations = 2entropy. Cracking time (seconds) = 2entropy-30 (since 230 ≈ 1e9). For entropies above 80 bits, time exceeds millennia.
A 20‑character lowercase password offers entropy ≈ 20 × 4.7 = 94 bits, stronger than a 12‑character fully complex password (78.8 bits). Length typically has the strongest impact because it multiplies. This is why passphrases (e.g., correct‑horse‑battery‑staple) are recommended — they combine length with memorability. Our calculator includes an entropy indicator that emphasizes this principle.
A financial firm enforced a minimum of 12 characters requiring mixed case, numbers, and symbols. Average entropy rose from 38 bits to 68 bits, reducing successful brute‑force simulations by a factor of ~1 billion. Combined with rate‑limiting, account takeovers dropped 97% over 18 months. The tool above directly replicates the entropy calculations used by security auditors.