Statistics
Shannon Entropy Calculator
Find the Shannon entropy of a probability distribution.
Did this calculator solve your problem today?
✓ Thank you for your feedback!
Report issue to loopingon.com
Sponsored
Shannon entropy measures the average uncertainty (information) in a distribution.
The math behind it
H = −Σ pᵢ·log₂(pᵢ), in bits. It's maximized when all outcomes are equally likely.
Worked Example
Four equal probabilities (0.25 each) → 2 bits.
Frequently Asked Questions
Why log base 2?
It measures information in bits; natural log gives nats instead.
Advertisement