Measure the randomness of any data — Shannon entropy (bits/symbol), Min-Entropy (worst-case guess work), alphabet size, duplicate rate, and an average brute-force cracking time at a chosen hash rate. Rates data as Strong (≥128-bit min-entropy), Medium (64-127), or Weak (<64).
Details
What this tool helps you do
This tool measures how random your data actually is. Paste a password, key, token, or any bytes, and it quantifies unpredictability with two complementary metrics plus a concrete cracking estimate.
Two entropy metrics — and why Min-Entropy matters for rating:
Shannon entropy (H): the classic −Σ p·log₂ p average information per symbol. It reflects average uncertainty and is useful for compression and communication theory. But it can be misleading for security: a value like aaaaaaaaaaX (one rare symbol among many common ones) scores a moderate Shannon entropy even though an attacker guessing the most common symbol hits often.
Min-Entropy (H∞ = −log₂(max p)): the worst-case guess work — based solely on the single most probable symbol. It upper-bounds an attacker's best single-guess success rate and is the conservative metric for security, so it is what the Strong/Medium/Weak rating uses.
Cracking estimate. Average time = 2^(min-entropy) / guessRate / 2 (half the keyspace on average). You pick the attacker's hash rate — from a slow CPU (10⁶/s) to a GPU farm (10¹²/s) or a custom rate — to frame the estimate realistically.
Rating thresholds (total Min-Entropy):
Strong ≥ 128 bits → average crack time in the millions+ of years
Medium 64–127 bits
Weak < 64 bits → shown in red
Analysis Mode:
Auto (default): character-level when the input is <128 bytes and all printable, else byte-level.
Byte-level: treats each byte as a symbol — right for binary keys/hashes.
Character-level: treats each Unicode character as a symbol — right for passwords/passphrases.
This tool does not maintain a weak-password dictionary — rating is purely algorithmic, based on the actual symbol distribution of whatever you paste. Use it to sanity-check generated keys, evaluate passphrase strength, or compare two tokens' randomness.
Execution
Run this tool
Fill in the form, run the tool, and review the result in one place.
The Entropy Calculator measures the randomness and cryptographic strength of passwords, keys, and tokens by calculating Shannon entropy and Min-Entropy. It provides a conservative security rating based on worst-case guessability and estimates the average brute-force cracking time across various customizable hash rates.
When to use
When evaluating the cryptographic strength of generated API tokens, SSH keys, or passwords.
When comparing the randomness of different token generation algorithms to detect predictability.
When auditing passphrases to ensure they meet minimum security thresholds against brute-force attacks.
How it works
1
Use cases
Auditing generated API keys to ensure they have at least 128 bits of Min-Entropy.
Testing the randomness of custom passphrase generation scripts.
Estimating brute-force resistance of passwords against high-performance GPU farms.
Examples
1. Evaluating a Human-Created Password
Security Auditor
Background
An auditor wants to demonstrate why a common password pattern is insecure despite having many characters.
Problem
The password "password123" seems long but has highly predictable character distributions.
How to use
Paste "password123" into the data field, set the analysis mode to Character-level, and select a single GPU guess rate (10^10 /s).
The tool rates the password as Weak due to low Min-Entropy, highlighting a high duplicate rate and a short estimated cracking time.
2. Verifying a Random Hexadecimal Key
DevOps Engineer
FAQ
What is the difference between Shannon entropy and Min-Entropy?
Shannon entropy measures average uncertainty, which can overestimate security. Min-Entropy measures the worst-case scenario based on the most frequent symbol, providing a safer security metric.
How is the security rating determined?
The rating is based on total Min-Entropy: Strong is 128 bits or more, Medium is 64 to 127 bits, and Weak is under 64 bits.
When should I use Byte-level instead of Character-level analysis?
Use Byte-level analysis for binary keys, hashes, or raw byte streams, and Character-level analysis for text-based passwords or passphrases.
Does this tool check my password against a database of leaked credentials?
No, the analysis is purely algorithmic and evaluates randomness based on the symbol distribution of the input data.
How is the average cracking time calculated?
It is calculated as 2 raised to the power of the Min-Entropy, divided by the selected guess rate, and then divided by 2 to represent guessing half the keyspace.
88
Hash
30
Password Strength
4
3212
593
471
103
239
333
Image, audio, and video processing, conversion, and optimization tools
Calculators, numerics, date logic, statistics, and finance tools
Color, layout, graphics, visual styling, and design helper tools
Writing, cleanup, formatting, extraction, and text analysis tools
Developer utilities, networking, web debugging, and automation helpers
Format, file, archive, unit, and encoding conversion tools
Android Image Processing Java Samples
Android Java image processing examples including reading/saving images, scaling, and format conversion
Android Image Processing Kotlin Samples
Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
Web Image Processing Python Samples
Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
Web Image Processing Rust Samples
Web Rust image processing examples including image read/save, scaling, and format conversion