TRADING
Historical Volatility Calculator — Measure Past Price Movement
By Worldtickers ·
Use our free historical volatility calculator to measure how much an asset's price has moved in the past. Enter closing prices over your chosen lookback period to calculate annualized historical volatility using standard deviation of returns.
This historical volatility calculator — measure past price movement tool focuses on use our free historical volatility calculator to measure how much an asset's price has moved in the past. Enter closing prices over your chosen lookback period to calculate annualized historical volatility using standard deviation of returns. Use it to size trades, compare risk levels, estimate market exposure, and review entries, exits, volatility, leverage, and stop levels before committing capital.
Historical Volatility Calculator
Historical Volatility
Calculate annualized historical volatility from daily return statistics
What Is Historical Volatility?
Historical volatility is one of the most fundamental risk metrics in finance. It measures the magnitude of price fluctuations an asset has experienced over a defined past period, expressed as an annualized percentage derived from the standard deviation of daily returns. Unlike implied volatility, which is extracted from current options prices and reflects the market's forward-looking expectations, historical volatility is purely retrospective — it tells you exactly how much the price moved, without any prediction about where it might go next.
The concept behind historical volatility is straightforward. If you plot the daily percentage returns of a stock over 60 days, you get a distribution of how much the price varied from day to day. A stock that typically moves 0.5% per day will have a much tighter distribution than one that routinely swings 3% or more. The standard deviation of that distribution is the daily volatility, and multiplying it by the square root of 252 (the number of trading days in a year) gives you the annualized historical volatility. This annualization allows you to compare the volatility of assets measured over different time horizons — a stock's 20-day HV can be meaningfully compared to its 252-day HV because both are expressed on the same annualized scale.
Historical volatility matters because it provides a concrete, data-driven estimate of an asset's typical price movement range. Traders use it for position sizing (volatile assets warrant smaller positions), stop-loss placement (wider stops for higher volatility), options pricing (historical volatility forms the baseline for expected moves), and portfolio construction (mixing assets with different volatility profiles reduces overall risk). The calculator above computes historical volatility from a series of closing prices, letting you experiment with different lookback periods to see how the metric changes over time.
The choice of lookback period is critical. A 20-day lookback captures the most recent volatility regime — useful for day traders and short-term swing traders who need to know the current risk environment. A 60-day lookback smooths out single-day anomalies and provides a more stable quarterly estimate. A 252-day lookback gives the broadest perspective, showing the asset's volatility over a full market cycle that typically includes both calm and turbulent periods. Professional traders often monitor all three simultaneously, watching for divergences that signal regime changes — when short-term HV spikes well above long-term HV, it often indicates the beginning of a volatile period that has not yet fully registered in the longer-term average.
How to Use This Calculator
This historical volatility calculator takes a series of daily closing prices and computes the annualized historical volatility using the standard deviation of log returns. The calculator supports different lookback periods and presents the result as an annualized percentage that you can use directly for risk management.
Closing Prices
Enter daily closing prices in chronological order, one per line or separated by commas. The more data points you include, the more reliable the volatility estimate. At minimum, you need approximately 20 trading days for a rough estimate; 60 to 120 days provides a more stable and actionable figure. The calculator converts consecutive closing prices into daily log returns, then computes the standard deviation of those returns.
Choosing a Lookback Period
Select the lookback period that matches your trading time horizon. For short-term trading (intraday to a few days), use 20 days. For swing trading (days to weeks), 60 days is appropriate. For longer-term analysis and asset comparison, 252 days provides the most comprehensive view. If you enter more prices than your selected lookback period requires, the calculator uses only the most recent data points matching your chosen period.
Reading the Output
The result is the annualized historical volatility as a percentage. A 30% result means the asset's price has typically moved up or down by approximately 30% per year from its mean, though actual individual returns can be much larger or smaller on any given day. Use this number to compare volatility across assets, to set stop-loss distances (daily volatility equals HV divided by the square root of 252), and to size positions proportionally to risk.
The Formula Explained
The formula for historical volatility is: HV = σ_daily × √252, where σ_daily is the standard deviation of daily log returns.
The calculation proceeds in three steps. First, compute the daily log returns for each consecutive pair of closing prices: r = ln(P_today / P_yesterday). Log returns are preferred over simple percentage returns because they are time-additive and better approximate continuous compounding. Second, calculate the standard deviation of these daily returns: σ_daily = √(Σ(r_i − r̄)² / (n − 1)), where r̄ is the mean daily return and n is the number of observations. Using n − 1 in the denominator applies Bessel's correction for a sample estimate rather than a population parameter. Third, annualize by multiplying by the square root of 252: HV = σ_daily × √252 ≈ σ_daily × 15.87.
The square root of time scaling is based on the assumption that returns are independent and identically distributed (i.i.d.). Under this assumption, variance scales linearly with time — doubling the time period doubles the variance — so standard deviation scales with the square root of time. The number 252 is the approximate count of trading days in a US equity market year. For forex markets that trade 24 hours, some practitioners use 360 or 365 instead, though 252 remains the most widely accepted convention for comparative purposes.
Real-World Examples
Example 1: A Blue-Chip Stock
A large-cap consumer staples company has 60 days of closing prices with a daily return standard deviation of 0.9%. Historical volatility: 0.9% × √252 = 14.3%. This is low volatility — the stock typically moves less than 1% per day. A trader buying this stock can use a tight stop loss (perhaps 1.5x ATR, or about 2.2%) and a larger position size, because the low volatility means smaller random price swings. If the account is $100,000 and the risk per trade is 1%, the position can be sized generously while maintaining the same dollar risk.
Example 2: A Volatile Biotech Stock
A mid-cap biotech stock has 60 days of closing prices with a daily return standard deviation of 2.8%. Historical volatility: 2.8% × √252 = 44.4%. This is high volatility — daily moves of 4% or more are common, especially around clinical trial results or FDA announcements. A trader buying this stock needs a much wider stop loss (perhaps 2.5x ATR, or about 7%) and a proportionally smaller position size. Using the same 1% risk rule, the position size would be roughly one-third of the blue-chip position, reflecting the higher risk per share.
Example 3: Comparing Across Lookback Periods
A tech stock shows 18% HV over 20 days but 28% HV over 252 days. The short-term volatility is well below the long-term average, suggesting the stock is currently in a calm period relative to its typical behavior. This divergence can be actionable: options are relatively cheap when short-term HV is low, and a volatility expansion may be approaching. Conversely, if 20-day HV is 45% while 252-day HV is 25%, the stock is experiencing a volatility spike that may signal a news event, sector rotation, or the beginning of a larger regime change.
Tips and Limitations
Use Multiple Lookback Periods
No single lookback period tells the whole story. A 20-day HV tells you the current risk environment; a 252-day HV tells you the asset's typical behavior. When the two diverge significantly, it signals a potential regime change. Many professional traders maintain a dashboard showing 20-day, 60-day, and 252-day HV simultaneously, watching for convergences (stabilizing conditions) and divergences (emerging turbulence).
Volatility Clusters — Use It While It Lasts
Volatility clustering is one of the most reliable phenomena in financial markets: high volatility tends to persist, and low volatility tends to persist. This means that today's historical volatility is a reasonable starting estimate for near-term risk. However, this clustering breaks down at turning points — volatility often spikes suddenly without warning. Be prepared for regime changes by monitoring both short-term and long-term HV, and by maintaining stop losses that are wide enough to survive initial volatility expansions.
Pair with Implied Volatility
Historical volatility tells you what happened; implied volatility tells you what the market expects. When IV is significantly above HV, options are expensive relative to recent history — this can favor option selling strategies. When IV is below HV, options are cheap relative to recent history — this can favor option buying strategies. Monitoring the HV-IV spread is one of the most practical applications of historical volatility analysis for options traders.
Historical Volatility Does Not Measure Direction
HV is direction-neutral — it captures the magnitude of price movement regardless of whether the trend is up, down, or sideways. A stock can have high HV while trending steadily higher (large daily swings within an uptrend) or during a crash (large daily swings within a downtrend). Always pair HV analysis with trend identification tools to form a complete trading thesis. High volatility in a downtrend is a very different situation than high volatility in an uptrend, even though the HV number might be identical.
Frequently Asked Questions
What is historical volatility?
Historical volatility (HV) is a statistical measure of how much an asset's price has fluctuated over a specific past period. It is calculated as the annualized standard deviation of daily returns derived from closing prices. Unlike implied volatility, which is forward-looking and derived from options prices, historical volatility is entirely backward-looking — it tells you what actually happened. A stock with 25% historical volatility has experienced price swings whose annualized standard deviation equals 25% of its mean price.
How is historical volatility different from standard volatility?
In practice, the terms are often used interchangeably. Historical volatility is a specific type of volatility measure computed from actual past price data, while volatility can also refer to implied volatility (forward-looking, from options) or intraday volatility (from high-low ranges). When a calculator is labeled historical volatility, it specifically uses closing prices and standard deviation of returns, whereas some volatility calculators may incorporate different price points or methodologies.
What lookback period should I use for historical volatility?
The choice depends on your trading horizon. A 20-day lookback (approximately one trading month) captures recent volatility well and is popular for short-term traders. A 60-day lookback (one quarter) provides a more stable estimate that smooths out single-event spikes. A 252-day lookback (one trading year) gives the longest-term perspective and is commonly used for annualized comparisons between assets. Many professional traders use multiple lookback periods simultaneously — a short-term estimate for immediate risk management and a longer-term estimate for strategic context.
Why is the number 252 used for annualization?
The number 252 represents the approximate number of trading days in a calendar year for US stock markets. Stock exchanges are closed on weekends and federal holidays, reducing the 365 calendar days to roughly 252 trading days. When you calculate the standard deviation of daily returns, you get a daily volatility figure. To annualize it, you multiply by the square root of 252, which scales the daily standard deviation to an annual figure under the assumption that returns are independent and identically distributed.
What does a high historical volatility number mean?
A high historical volatility number indicates that the asset's price has experienced large swings relative to its average price over the measurement period. For large-cap US stocks, annualized HV above 35% is generally considered high. For small-cap or biotech stocks, 60% or more might be typical. For cryptocurrencies, 80% or higher is common. High volatility means larger potential gains but also larger potential losses, and it typically requires wider stop losses and smaller position sizes to maintain consistent dollar risk.
Can historical volatility predict future volatility?
Historical volatility has modest predictive power due to a phenomenon called volatility clustering — periods of high volatility tend to be followed by more high volatility, and calm periods tend to persist. However, this clustering breaks down at regime changes, where volatility can spike suddenly without warning. Historical volatility is most useful as a baseline expectation for near-term risk, not as a precise forecast. Many traders use it alongside implied volatility and VIX data for a more complete volatility picture.
How do I use historical volatility for position sizing?
Historical volatility enables volatility-adjusted position sizing, where the position size is inversely proportional to the asset's volatility. The formula is: Position Size = (Account Size × Risk Percentage) / (HV% × Entry Price). This ensures that a more volatile asset gets a smaller position, keeping your dollar risk consistent across different assets. For example, if your account is $100,000 and you risk 1% per trade, a stock with 20% HV at $100 would warrant a 500-share position, while a stock with 40% HV at the same price would warrant only 250 shares.
What is the difference between close-to-close and parkinson volatility?
Close-to-close historical volatility uses only daily closing prices, which is the most common method and what this calculator uses. Parkinson volatility uses the daily high and low prices instead, which captures intraday range and typically produces a more efficient estimate (lower variance) from the same number of observations. Parkinson volatility is generally about 30% lower than close-to-close because it ignores overnight gaps. For most trading purposes, close-to-close is standard because it aligns with how most return-based risk models work.
Does historical volatility work differently for forex vs stocks?
The mathematical calculation is identical for all asset classes — take log returns of closing prices and compute the standard deviation, then annualize. However, the interpretation differs because forex markets trade nearly 24 hours a day across multiple sessions, while stock markets have defined trading hours with overnight gaps. This means stock historical volatility captures overnight gaps explicitly in the returns, while forex historical volatility reflects more continuous price discovery. Typical HV ranges also differ: major forex pairs often have 7-12% annualized HV, while individual stocks might range from 15% to 60%.