Information is surprise
The everyday word information is about meaning. Shannon's is not. In information theory, the information carried by an event is how surprised you should be to see it.
David MacKay, in Information Theory, Inference, and Learning Algorithms (Cambridge University Press, 2003), defines the Shannon information content of an outcome as , measured in bits.
| Probability of the event | Information content |
|---|---|
| 1 (certain) | 0 bits |
| 1/2 | 1 bit |
| 1/8 | 3 bits |
| 1/1024 | 10 bits |
A certain event tells you nothing. A one-in-a-thousand event carries about 10 bits. The logarithm is the right shape for exactly one reason: independent events multiply their probabilities, and we want their surprises to add. Each halving of the probability costs precisely one more bit.

