Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

entropy

The average self-information of a random variable — how uncertain its outcome is, in bits, before it's revealed.

For X over a finite alphabet with pmf p, H(X) = -\sum_i p(x_i)\log_2 p(x_i).

Examples

  • A fair coin has H=1 bit; a coin that always lands heads has H=0.

Read the full section →
Graph settings

Calculator