In one line. Statistical measure of dispersion. In finance, the standard deviation of returns is the canonical measure of volatility.
standard deviation, explained
To compute it, find the average return, take each period's gap from that average, square the gaps so that ups and downs both count, average them (dividing by n minus 1 for a sample) and take the square root to get back to percent. Weekly returns give a weekly figure. Scaling it to a year multiplies by the square root of the number of periods, 52 for weeks and 12 for months, on the assumption that one week's return does not predict the next.
For roughly bell shaped returns, about two thirds of periods fall within one standard deviation of the average and about 95 percent within two. An annual volatility of 15 percent around a 10 percent average therefore describes a typical range of about -5 to +25 percent in most years. Real returns have more extreme weeks than a bell curve allows, so the rule is a guide, not a limit.
It measures spread in both directions, so it cannot say whether the swings were gains or losses, and it says nothing about order: two series with the same standard deviation can have very different drawdowns. It also depends on the frequency and the period, which is why figures are compared only when computed on the same basis. Downside deviation and VaR answer the narrower question about losses.
The formula
Sample standard deviation = square root of [ sum of (return - average return)^2 / (n - 1) ]
A worked example
Illustration: four weekly returns of 2, -1, 3 and 0 percent. The mean is 1. The gaps from the mean are 1, -2, 2 and -1, and their squares are 1, 4, 4 and 1, which add up to 10. Dividing by n - 1 = 3 gives 3.33, and the square root is 1.83 percent a week. Annualised, 1.83 x sqrt(52) = 1.83 x 7.21 = 13.2 percent. With only four weeks the estimate is very rough, and the numbers serve only to show the steps.
Common misreadings
- Standard deviation is the largest possible loss: it is a typical spread, and losses can go well beyond two deviations.
- A low standard deviation means a low chance of loss: a steady decline has a low deviation and still loses money.
In the RupeeCase app
The app calls it “Volatility”. Behind Volatility, Sharpe, Tracking error and the rolling figures. Shown in Basic and Advanced.
How the app works it out. The app uses the sample standard deviation of weekly returns and scales it to a year with the square root of 52.
Watch: Sharpe, volatility.