Shannon Entropy Calculator
Find the Shannon entropy of a probability distribution.
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.
FAQ
Why log base 2?
It measures information in bits; natural log gives nats instead.