Historical market volatility estimates the variability of returns observed during a selected period. It is often calculated from daily closing prices and expressed as an annualized standard deviation. The calculation is straightforward once the input series is clean, but the result depends on choices about return definitions, missing dates, corporate actions and annualization. An annualized figure derived from one month's returns is not an observation of volatility over a whole year. It is a scaled estimate based on the shorter sample. This guide shows how to calculate historical volatility manually and in Excel, and how to evaluate the quality and limitations of the resulting statistic.
Step 1: Prepare a consistent price series
Collect chronologically ordered observations for the same instrument. Daily closing prices are a convenient starting point for liquid listed securities. When the goal is to measure investment returns rather than movements in the raw quoted price, consider an adjusted price or total return series that accounts for stock splits and relevant distributions. Check the provider's adjustment method before combining series. A two-for-one split can reduce an unadjusted share price by approximately half without producing an equivalent investment loss. Treating that event as an ordinary daily return would introduce an artificial volatility spike into the calculation.
Avoid filling exchange holidays with invented trading prices. A weekend between observations is normally part of the elapsed time between trading sessions. A missing quote during an active session may instead indicate a data-quality problem or trading suspension. The appropriate treatment depends on the instrument and purpose of the analysis. Thinly traded assets may have several unchanged closing prices followed by large adjustments. Historical volatility computed from such prices can underestimate underlying economic uncertainty. Record the observation frequency and number of valid returns so the calculation can be reproduced by another reader.
Step 2: Convert prices into returns
For a simple periodic return, divide the current price by the preceding price and subtract one. For a logarithmic return, take the natural logarithm of that price ratio. Both describe relative price changes, but their numerical values differ, particularly for large movements. For example, a price increase from 100 to 110 gives a simple return of 10 percent and a logarithmic return of approximately 9.53 percent. Logarithmic returns add across consecutive periods, whereas simple returns compound multiplicatively. Either convention can support a volatility calculation if it is applied consistently and disclosed when presenting the result.
Use this illustrative sequence of adjusted closing prices: 100, 102, 99.96, 100.9596 and 99.950004. It gives four consecutive simple returns of positive 2 percent, negative 2 percent, positive 1 percent and negative 1 percent. Five prices produce only four returns because the first price has no preceding observation inside the sample. This distinction matters when selecting a range for a spreadsheet function. If a cell containing the first price or a header is accidentally included in the returns range, the calculation may produce an incorrect result or silently omit an intended observation.
Step 3: Calculate the sample standard deviation
The arithmetic mean of the four example returns is zero. Subtract that mean from every return, square each deviation and add the results. In decimal notation, the squared deviations are 0.0004, 0.0004, 0.0001 and 0.0001. Their sum is 0.001. Divide by the number of returns minus one, which is three, to obtain a sample variance of approximately 0.00033333. Take the square root to obtain the sample standard deviation of approximately 0.0182574, or 1.83 percent per observation. The sample denominator is commonly used when a finite set of observations is intended to estimate underlying return variability.
The population standard deviation uses the number of observations as the denominator instead of the number minus one. For the same four returns, population variance is 0.00025 and population standard deviation is approximately 1.58 percent. These are different statistics calculated from identical observations. With large samples the difference is typically smaller, but analysts still need to document their convention. Financial data providers may calculate realized volatility using other approaches, including sums of squared high-frequency returns. A comparison is meaningful only when the methods are sufficiently aligned. Do not confuse the sample standard deviation with the average absolute daily movement.
Step 4: Annualize the estimate carefully
If observations are daily trading-session returns, a common convention multiplies the daily standard deviation by the square root of 252. Applying this to 0.0182574 produces about 0.28983, or 28.98 percent annualized. Weekly calculations may use the square root of 52, and monthly calculations the square root of 12. These constants are approximations to the number of observations in a year, not universal requirements. A market trading every calendar day might use a different convention. For comparisons with an option-implied index, consider whether that index uses calendar-day or trading-day time scaling.
Square-root-of-time scaling is motivated by a model in which periodic return variances accumulate in a simple manner, including the assumption of negligible serial covariance. Volatility clustering, changing return distributions and autocorrelation can weaken that approximation. Annualizing four daily returns does not create twelve months of information. A longer window generally provides more observations, while a shorter window may respond more rapidly to changing market conditions. Both may be useful when their purposes are clearly distinguished. The estimated value is neither a guarantee of future dispersion nor a statement that the asset will gain or lose exactly that percentage over a year.
Step 5: Build the Excel calculation
Enter dates in column A and adjusted prices in column B, beginning at row 2. With the first price in B2 and the second in B3, enter =B3/B2-1 in C3 and fill the formula through the last price. For the five-price example, the four returns occupy C3:C6. Use =AVERAGE(C3:C6) to check their mean and =STDEV.S(C3:C6) to calculate daily sample volatility. To annualize, use =STDEV.S(C3:C6)*SQRT(252). Format the output as a percentage rather than multiplying by 100 and applying percentage formatting again. Check that the resulting annualized value is approximately 28.98 percent.
For a rolling twenty-return estimate, select twenty adjacent return observations and calculate their sample standard deviation multiplied by the chosen annualization factor. Copy the formula downward using relative references so the window advances one row at a time. The first result should appear only when enough valid returns exist. Compare rolling values with a longer window to understand whether an unusual observation is having an outsized effect. Verify that the dates and formulas advance together and avoid using future observations when examining historical estimates available on a specific date.
Evaluating and presenting the results
Report the observation period, number of returns, price source, adjustment convention, return formula, standard deviation method and annualization factor. Large market moves, corporate actions or missing observations deserve investigation before being removed. Genuine extreme returns are part of the market history, and deleting them simply to reduce the estimate can bias the result. Historical volatility should be compared with drawdown, trading liquidity and other relevant risk measures. It describes the magnitude of return dispersion rather than the direction of price changes. Cboe's educational discussion of historical and option-implied volatility provides additional context for comparing observed return variability with forward-looking market measures.
References and further reading
- Cboe: What the VIX measures
Frequently asked questions
Why are there fewer returns than closing prices?
Each return requires a current and preceding price. A series of five prices therefore produces four consecutive returns.
For historical market volatility, how do you prepare a consistent price series?
Collect chronologically ordered observations for the same instrument. Daily closing prices are a convenient starting point for liquid listed securities. When the goal is to measure investment returns rather than movements in the raw quoted price, consider an adjusted price or total return series that accounts for stock splits and relevant distributions.
How can you convert prices into returns?
For a simple periodic return, divide the current price by the preceding price and subtract one. For a logarithmic return, take the natural logarithm of that price ratio. Both describe relative price changes, but their numerical values differ, particularly for large movements.
How do you calculate the sample standard deviation?
The arithmetic mean of the four example returns is zero. Subtract that mean from every return, square each deviation and add the results. In decimal notation, the squared deviations are 0.0004, 0.0004, 0.0001 and 0.0001.
How do you build the Excel calculation?
Enter dates in column A and adjusted prices in column B, beginning at row 2. With the first price in B2 and the second in B3, enter =B3/B2-1 in C3 and fill the formula through the last price.
How should you evaluate and presenting the results?
Report the observation period, number of returns, price source, adjustment convention, return formula, standard deviation method and annualization factor. Large market moves, corporate actions or missing observations deserve investigation before being removed.