Risk & volatility

Volatility

Volatility is a measure of how widely an asset’s returns vary over a specified period, usually expressed as the standard deviation of returns.

Calculate it: Value at Risk (VaR) Calculator for a Stock Position →

What it means

A stock can move sharply even when its longer-term direction is unclear. Volatility describes the size and variability of those moves, not whether the stock will rise or fall. In stock analysis, it usually refers to the standard deviation of returns over a stated period. It can be reported as daily volatility or converted to an annualized figure; the time scale matters whenever figures are compared.

Historical volatility uses observed prices. Implied volatility is inferred from option prices and reflects assumptions embedded in those prices. Neither is a promise about future moves. A volatility estimate also depends on the price observations, return convention, lookback period and calculation method.

How it is calculated

One common calculation uses the sample standard deviation of daily simple returns:

r_t = (P_t / P_(t-1)) - 1; r_bar = (sum of r_t) / n; sigma_daily = sqrt[sum of (r_t - r_bar)^2 / (n - 1)]

  • P_t is the stock’s price on trading day t; P_(t-1) is its price on the preceding trading day. Use a consistent price series, adjusted for corporate actions where appropriate.
  • r_t is that day’s simple return, expressed as a decimal; r_bar is the arithmetic mean of the observed daily returns.
  • n is the number of daily returns, at least two. Dividing by n - 1 gives the sample standard deviation.
  • sigma_daily is daily volatility, expressed as a return per trading day. Multiplying its decimal value by 100 expresses it as a percentage.

For an approximate annualized figure, sigma_annual ≈ sigma_daily × sqrt(252), where 252 is an assumed number of trading days in a year. This square-root-of-time conversion assumes returns are sufficiently independent and volatility is reasonably stable; it can be misleading when those assumptions fail. Other estimators use intraday highs and lows, opening prices or models of changing volatility rather than only daily closing returns.

Worked example

Suppose a hypothetical stock has five consecutive closing prices of US$100, US$110, US$110, US$99 and US$99. These give four daily simple returns: +10%, 0%, −10% and 0%. The arithmetic mean return is 0%.

  1. Square each return’s difference from the mean: 0.10² + 0² + (-0.10)² + 0² = 0.02.
  2. Divide by n - 1 = 3: the sample variance is 0.02 / 3 ≈ 0.006667.
  3. Take the square root: daily volatility is sqrt(0.006667) ≈ 0.08165, or about 8.16% per trading day.
  4. Applying the optional annualization convention gives 8.16% × sqrt(252) ≈ 129.6% annualized. This is a scale conversion, not a predicted annual return or a forecast of where the stock will trade.

The example is deliberately short and extreme to make the arithmetic visible. A practical estimate needs a clearly specified observation window and appropriate data quality.

Why it matters before you trade

Volatility helps describe the range of price changes an order might encounter while waiting to fill. A volatile stock can move materially between a decision and execution, increasing uncertainty about the eventual price. Volatility can also feed risk measures such as value at risk (VaR) and estimates of trading costs, but volatility alone does not measure liquidity or the bid-ask spread.

A pre-trade check should keep the horizon consistent: a daily estimate describes a different time scale from an annualized one. It should also consider whether recent events or gaps make a backward-looking estimate less representative. A standard deviation summarizes typical dispersion; it does not set a maximum loss or capture every extreme event.

How PreTrAIde uses it

PreTrAIde performs pre-trade analysis on a user-built stock basket before the user places any order. Its deterministic quantitative layer estimates daily volatility using a blend of Parkinson, close-to-close and Yang-Zhang estimators and a simplified GARCH(1,1) model. It also calculates 1-day 95% VaR and produces 0–100 volatility scores for each stock and the basket.

These estimates contribute to its analysis alongside other quantitative measures, news and analyst ratings. PreTrAIde returns a GO, NO-GO or MODIFY verdict with reasoning, a risk assessment and a suggested execution strategy. These are decision support, not recommendations or guarantees; users place any trades themselves through their own broker.

Common mistakes

  • Treating volatility as direction: A high figure does not say whether the next move will be up or down.
  • Mixing time scales: Daily and annualized percentages are not directly comparable without conversion and its assumptions.
  • Reading it as a loss limit: Moves can exceed a standard-deviation estimate, especially around gaps or unusual events.
  • Ignoring the method: Different lookback windows and estimators can produce different figures for the same stock.
  • Confusing volatility with liquidity: Large price moves and difficulty filling an order are related in some circumstances but are distinct concepts.

Frequently asked questions

Is high volatility good or bad for a stock?

Volatility measures the dispersion of returns, not investment quality or direction. Higher volatility means larger price changes have been more common under the chosen measurement method and period.

What is the difference between daily and annualized volatility?

Daily volatility measures return variation on a trading-day scale. Annualized volatility is commonly estimated by multiplying daily volatility by the square root of 252, subject to assumptions about how returns behave over time.

Can volatility predict the maximum amount I could lose?

No. Volatility is a measure of dispersion, not a cap on losses; unusually large moves and overnight gaps can exceed what a standard-deviation figure might suggest.

Related terms

Risk & volatility

Parkinson volatility estimator Yang-Zhang volatility estimator GARCH model Expected shortfall (CVaR) Standard deviation Beta Alpha Drawdown All glossary terms →

Check your next trade before you place it

Build a basket, run a pre-trade analysis, and get a GO, NO-GO or MODIFY verdict with the cost, liquidity and risk behind it.

Start your free trial Try the free tools

Educational content, not investment advice. PreTrAIde is analysis software, not a broker: it never executes orders, and its verdicts are decision support, not recommendations to buy or sell.