Variance, Intuitively
Variance measures how spread out a random outcome is, the average squared distance from the mean. It's the second number every quant reaches for after the expected value, because it captures risk that the average alone hides.
Prerequisites: Expected Value
The Expected Value tells you where a random outcome sits on average. Variance tells you how much it moves around that average. Two bets can share the exact same expected value and still feel completely different: one barely wobbles, the other swings wildly. Variance is the number that separates them, and it's the starting point for every honest conversation about risk.
The idea in words: for each possible outcome, measure how far it lands from the mean, square that distance, and take the average of those squared distances. Squaring does two jobs at once, it makes every distance positive (so overs and unders don't cancel), and it punishes big misses far more than small ones.
If a random quantity has mean , its variance is
where are the possible values and their probabilities. Every symbol here you already know from expected value: this is just the expected value of the squared distance from the mean.
Notice the units. If is measured in dollars, variance comes out in dollars squared, an awkward unit that doesn't compare directly to the outcomes. That's exactly why Standard Deviation exists: take the square root of the variance and you're back in dollars, in a number you can lay next to the mean.
Worked example: same mean, very different risk
Bet A pays or , each with probability . Bet B pays or , each with probability . Both have mean .
For Bet A, the squared distances from the mean are and , so
For Bet B, the squared distances are and , so
Same expected value, but Bet B's variance is times larger. Its standard deviation () is ten times Bet A's (), which matches the intuition that its swings are ten times bigger.
A handy shortcut
Computing for every outcome is tedious. The algebra collapses to a formula you'll use constantly:
Memorize this: , the average of the squares minus the square of the average. It's far faster than summing term by term, and it's the form you'll reach for constantly.
Take a fair die: , and . So . The average squared distance of a die roll from is just under .
Common pitfalls
- Variance is not in the same units as the data. It's squared. Don't compare a variance directly to a mean or a price, convert to Standard Deviation first.
- Same mean does not mean same risk. The whole point of the diagram above: two bets with identical expected value can carry wildly different variance. Never size a position off the average alone.
- The shortcut needs , not done first. A classic slip is computing , squaring it, and forgetting that is a separate expectation over the squared values.
- Outliers dominate. Because distances are squared, one rare huge outcome can swell the variance far more than many small ones. That sensitivity is a feature for risk, but it means fat tails inflate variance fast.
Variance is in squared units, dollars-squared, not dollars, so never lay it next to a mean or a price; convert to Standard Deviation first. And a shared mean tells you nothing about risk: two bets with the same average can carry wildly different variance.
Once you can compute a mean and a variance for any bet, you have the two numbers that anchor almost every quant answer. The variance feeds directly into Standard Deviation, into how outcomes move together, and into the higher moments that describe the finer shape of risk.
Related concepts
Practice in interviews
Further reading
- Blitzstein & Hwang, Introduction to Probability, ch. 4
- Ross, A First Course in Probability