Variance of a Probability Distribution
Finds: risk measured across scenarios.
When to use it: Use it to measure risk when you have scenarios with probabilities, rather than a history of past returns. It uses probability weights, so it divides by nothing.
The formula
In words: Variance = sum of pi x (xi − E(X))^2
What each symbol means
| sigma^2 | Variance of the outcomes | percent squared |
| p_i | Probability of outcome i, with all probabilities adding to 1 | number |
| x_i | Value of outcome i | percent |
| E(X) | Expected value, the probability-weighted average | percent |
Worked example
A stock could return 20% in a boom (probability 0.3), 8% in a normal year (0.5) or −10% in a recession (0.2). What are its variance and standard deviation?
| Expected value | 8% | |
| Deviation of each outcome from the expected value | 12%, 0%, −18% | |
| Square each deviation | 0.0144, 0.0000, 0.0324 | |
| Variance | 0.0108 | |
| Standard deviation | sqrt(var) | 10.39% |
The answer
The expected return is 8% and the standard deviation is 10.39%.
Want every formula on a few pages?Get the free Cheat Sheet (PDF) →
Calculator
Expected value8%
Variance0.0108
Standard deviation10.39%