Entropy Calculator
Calculate Shannon entropy and password strength estimates from any text input.
mondaytool.com/tools/entropy-calculator ·
Results update automatically as you type.
Made with MondayTool · mondaytool.com/tools/entropy-calculator
Last updated:
Measure the entropy of any text
This Shannon entropy calculator measures how evenly the characters in a piece of text are spread out. It shows entropy in bits per character, total bits, the number of unique characters, the length, a strength label, a rough crack-time estimate, which character types are present, and a chart of the 10 most frequent characters.
How to use it
- Type or paste text, a password or a token into the input box.
- Results update automatically as you type.
- Read the stats, the strength badge and the frequency chart.
Shannon entropy formula
H = −Σ p × log₂(p), where p is how often each character appears divided by the text length. Total entropy = H × length.
Example: password has 8 characters. “s” appears twice (p = 0.25) and six letters appear once (p = 0.125). H = 6 × 0.125 × 3 + 0.25 × 2 = 2.75 bits per character, so total entropy = 2.75 × 8 = 22 bits, which the tool labels Very Weak.
Strength labels and crack time
| Total bits | Label |
|---|---|
| Below 28 | Very Weak |
| 28 to under 36 | Weak |
| 36 to under 60 | Fair |
| 60 to under 128 | Strong |
| 128 or more | Very Strong |
The crack time assumes 10¹² guesses per second and that an attacker searches half of 2^bits possibilities on average.
Know the limits
Shannon entropy here is calculated only from the characters inside your text. It does not know how the text was created, so a common word or a keyboard pattern can still score well. aaaa scores 0 bits because it uses only one character. Treat the strength label as a rough guide, not a security guarantee.
Frequently asked questions
What is a good entropy per character?
The maximum is log₂ of the number of different characters used. Random text that uses 64 different characters evenly approaches 6 bits per character.
Is my password sent anywhere?
No. All calculations run in your browser.
Related Security
Browse all tools from the same category.
TOTP / OTP Generator
Generate time-based one-time passwords
Open toolRandom Token Generator
UUID, API key, CSRF token, and hex strings in bulk
Open toolShowing 1-2 of 7