Skip to main content

Variance of a Probability Distribution

IntermediateFinance FoundationsAlso known as: scenario variance, standard deviation of expected return, risk across scenarios

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

σ2\displaystyle \sigma^{2}=∑i=1npi (xi−E(X))2\displaystyle =\sum_{i=1}^{n}p_{i}\,(x_{i}-E(X))^{2}

In words: Variance = sum of pi x (xi − E(X))^2

What each symbol means

sigma^2Variance of the outcomespercent squared
p_iProbability of outcome i, with all probabilities adding to 1number
x_iValue of outcome ipercent
E(X)Expected value, the probability-weighted averagepercent

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 value8%
Deviation of each outcome from the expected value12%, 0%, −18%
Square each deviation0.0144, 0.0000, 0.0324
Variance0.0108
Standard deviationsqrt(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%

Keep going