100% Private — Passwords are generated in your browser. Nothing is ever stored or transmitted.
Security Tools

Password Entropy Calculator

Calculate the precise mathematical entropy of a password in bits using the Shannon formula H = L × log₂(N). See a complete breakdown of the character pool, the full formula with your values substituted in, and how many guesses are required to crack it at various attack speeds.

All calculation happens in your browser. Your password is never transmitted.
Understanding Password Entropy

Entropy measures the unpredictability of a password in bits. Each additional bit doubles the number of guesses required to crack it by brute force.

The formula H = L × log₂(N) calculates theoretical maximum entropy, where L is the length and N is the pool of possible characters. A password of length 12 using all 94 printable ASCII characters has 12 × log₂(94) = 78.7 bits.

This is theoretical entropy — the real effective entropy may be lower if the password follows a predictable pattern (dictionary word, date, keyboard walk). The Password Strength Checker accounts for patterns; this tool shows the mathematical maximum.

Entropy RangeStrengthRecommendation
< 28 bitsVery WeakCracked in seconds by any modern attack
28 – 35 bitsWeakVulnerable to offline attacks within hours
36 – 59 bitsFairAcceptable for low-value accounts only
60 – 79 bitsStrongGood for most personal accounts
80 – 99 bitsVery StrongResistant to all practical attacks
100+ bitsExcellentUnbreakable for any foreseeable attack

Frequently Asked Questions

What is password entropy?

Entropy measures unpredictability in bits: H = L × log₂(N), where L is the length and N is the character pool size. Higher entropy means exponentially more guesses required.

Does this calculator send my password anywhere?

No. All calculation is done locally in JavaScript. Your password is never transmitted.

How many bits of entropy do I need?

For online accounts: 60+ bits. For offline-cracked systems: 80+ bits. 100+ bits is effectively uncrackable.

Why is effective entropy lower than theoretical?

Theoretical entropy assumes pure randomness. Patterns, dictionary words, and predictable substitutions reduce actual entropy significantly.