Skip to main content

Quant Analytics: from scratch to pro · Quant foundations: returns, risk and clean data · Beginner

Volatility: from daily moves to an annual figure

Volatility is the standard deviation of returns. Quoted volatilities are annual, so daily figures are scaled by the square root of the number of periods per year. This lesson shows how to compute it, why 252 or 365 is used, and when the square-root rule fails.

4 min read Reviewed Revision 1

In this lesson

  • Compute a sample standard deviation of returns by hand
  • Annualise a daily volatility with the right number of periods per year
  • Convert between daily, weekly, monthly and annual volatility
  • Say when the square-root-of-time rule is unreliable

Read first: Returns: simple, log and compounded, Volatility explained

Volatility over longer horizons: square root against straight line

  • square-root rule (1% a day)
  • wrong: straight-line scaling
0% 100% 200% 300% 15102163126252 Horizon in trading days
Volatility over the horizon. Computed from the formulas for a 1% daily volatility, not from market data. Volatility grows with the square root of the horizon, not in proportion to it.

Worked numbers

Each result is recomputed from the formula shown.

WhatFormulaResult
day 1 return0.010+1.0%
day 2 return-0.005-0.5%
day 3 return0.008+0.8%
day 4 return-0.012-1.2%
day 5 return0.004+0.4%
mean daily return(r1 + r2 + r3 + r4 + r5) / 50.10%
sum of squared deviations(r1-mean_r)**2 + (r2-mean_r)**2 + (r3-mean_r)**2 + (r4-mean_r)**2 + (r5-mean_r)**20.000344
sample variancess / 40.000086
sample daily standard deviationsqrt(var_d)0.927%
same data, dividing by nsqrt(ss / 5)0.829%
square root of 252sqrt(252)15.87
annualised volatility from the samplesd_d * sqrt(252)14.72%
1% a day annualised0.01 * sqrt(252)15.87%
1% a day over 5 days0.01 * sqrt(5)2.24%
1% a day over 21 days0.01 * sqrt(21)4.58%
3% a day with 365 days0.03 * sqrt(365)57.31%
3% a day with 252 days0.03 * sqrt(252)47.62%
relative shortfall using 2521 - crypto252 / crypto36517%
daily from 16% a year0.16 / sqrt(252)1.008%
monthly from 16% a yeardaily_from_16 * sqrt(21)4.62%
two-day volatility, rho = 00.01 * sqrt(2)1.414%
two-day volatility, rho = 0.20.01 * sqrt(2 * (1 + 0.2))1.549%
two-day volatility, rho = -0.20.01 * sqrt(2 * (1 - 0.2))1.265%
relative standard error of a volatility from 21 returns, if returns were normal1 / sqrt(2 * (21 - 1))15.8%

Check yourself

Daily returns are +1.0%, -0.5%, +0.8%, -1.2% and +0.4%. What is the sample standard deviation, and the annualised figure with 252 days?

The mean is 0.10%. The squared deviations from it sum to 0.000344. Dividing by n - 1 = 4 gives a variance of 0.000086, so the standard deviation is 0.927% a day. Times sqrt(252) = 15.87 gives 14.72% a year.

A crypto asset has a daily volatility of 3% and trades every day. What is its annual volatility, and what error does using 252 cause?

Use 365 days: 3% x sqrt(365) = 57.31%. With 252 the result is 47.62%, about 17% too low in relative terms.

Annual volatility is 16%. What is the approximate one-month (21 trading days) volatility?

Daily is 16% / sqrt(252) = 1.008%. Monthly is 1.008% x sqrt(21) = 4.62%. Equivalently 16% x sqrt(21/252).

Why does the square-root rule give too low a figure when returns trend from day to day?

The variance of a two-day return is 2 x sigma^2 x (1 + rho). With positive rho the true two-day volatility exceeds sigma x sqrt(2). With sigma = 1% and rho = 0.2 it is 1.549% rather than 1.414%.

Key terms

AnnualisationVolatilityStandard deviation

Sources

  • The Econometrics of Financial Markets. Princeton University Press (John Y. Campbell, Andrew W. Lo, A. Craig MacKinlay), 1997. Accessed 9 Nov 2026
  • Stock Market Prices Do Not Follow Random Walks: Evidence from a Simple Specification Test. The Review of Financial Studies 1(1), 41-66 (Andrew W. Lo, A. Craig MacKinlay), 1988. Accessed 9 Nov 2026

Informational content. Not investment advice.