Historical volatility calculator
Stock Volatility Calculator
This stock volatility calculator finds historical volatility from closing prices: the standard deviation of the returns between closes, annualized with the square root of 252 trading days. Type your own closes, or enter a ticker to fill its last 30, 90 or 252 trading days from GNG's daily prices. Past volatility is history, not a forecast.
Free to use. No account or sign-up needed.
Your prices
How many trading days the fill covers, counted back from the latest close.
Separate prices with commas or spaces, with no thousands commas. 3 to 300 prices.
How far apart your closes are. It sets the annualizing factor: 252, 52 or 12 periods a year. After a fill, Weekly and Monthly load the last close of each week or month.
Historical volatility
The standard deviation of these 20 daily returns is 0.94%. Multiplied by the square root of 252 (15.87), that is an annualized historical volatility of 14.92%. Past volatility is history, not a forecast.
How it works
Historical volatility measures how much a price moved around its own average. To calculate the volatility of a stock, the calculator turns each pair of neighboring closes into a return: the newer close divided by the older one, minus 1.
It then takes the sample standard deviation of those returns, the standard deviation of stock returns that most textbooks use, which divides by one less than the number of returns. That is the volatility for one period, such as one trading day.
Last, it annualizes: the one-period figure multiplied by the square root of the periods in a year. Daily closes use 252 trading days, weekly closes 52 and monthly closes 12.
A worked example
The example opens with 21 daily closes, from $100.00 to $104.20, which give 20 daily returns. The first return is 101.20 / 100.00 - 1 = +1.20%, and the second is 100.50 / 101.20 - 1 = -0.69%.
The average of the 20 returns is +0.21%. Their sample standard deviation, which divides by 19 (one less than the number of returns), is 0.94%.
Multiplied by the square root of 252, which is 15.87, the daily figure becomes an annualized historical volatility of 14.92%. Over these 20 days the price rose +4.20% in all, a separate number that volatility does not use.
Windows and annualizing
A window is how many returns the calculation counts. The ticker fill offers 30, 90 or 252 trading days, counted back from the latest close, so 31, 91 or 253 daily closes. With Weekly or Monthly picked, it keeps the last close of each week or month in that window instead, so 252 days give about 52 weekly or 13 monthly closes. A 30 day window reacts quickly to a recent jump or calm, while 252 days covers about a year of trading.
Volatility grows with the square root of time, not in a straight line, because ups and downs partly cancel out. That is why a daily standard deviation is multiplied by the square root of 252 (about 15.87) to get a yearly figure.
Other GNG pages use their own windows. The ETF comparison tool reports the yearly standard deviation of monthly total returns over 3 years, so its number for a fund can differ from this page's 30 day figure without either being off.
Implied vs historical volatility
Historical volatility looks back at prices that already happened. Implied volatility looks forward: it is the volatility an option price implies, solved from the option market rather than from past closes.
The two often differ. Implied volatility tends to rise before earnings or in a sell-off, while a 30 day historical figure only catches up after the moves happen. Comparing them shows whether options are priced for bigger or smaller moves than the stock made lately.
To solve implied volatility from an option price, use the Black-Scholes Calculator, which is free with no account.
What the calculator assumes
The fill uses GNG's daily closes with splits applied and dividends added back on the ex-date, so neither reads as a price move. For a filled series, the change from the first to the last value counts those dividends too, like a total return. Typed closes are used exactly as entered, so add back any dividend yourself if your prices drop on an ex-date.
Returns are simple close to close returns. Log returns give almost the same answer for daily moves. The standard deviation treats every return the same and does not tell up moves from down moves.
This is a calculator only. Inputs and any GNG data can contain errors, and nothing here is investment advice. A stock that was calm can turn volatile, so past volatility is history, not a forecast.
Stock volatility calculator FAQ
What is historical volatility?
It is the standard deviation of a stock's past returns, usually annualized. A higher number means the price moved around more over the window. It describes what already happened and does not forecast the next move.
How do you calculate the volatility of a stock?
Turn neighboring closes into returns, take the sample standard deviation of the returns, then multiply by the square root of the periods in a year: 252 for daily closes, 52 for weekly and 12 for monthly.
Why multiply by the square root of 252?
A year has about 252 trading days, and volatility grows with the square root of time because daily ups and downs partly cancel out. So a daily standard deviation multiplied by about 15.87 gives a yearly figure.
What is a high volatility for a stock?
As a rule of thumb, large steady companies often run near 15-25% a year, while young or fast-growing stocks can run 50% or more. Volatility changes over time, so compare a stock with its own history and with its peers.
What is the difference between implied and historical volatility?
Historical volatility comes from past closes. Implied volatility comes from option prices and shows the moves the options market is pricing in. GNG's Black-Scholes calculator solves implied volatility from an option price.
Which window should I use?
A 30 day window shows recent swings and changes quickly. A 90 day window smooths them, and 252 days covers about a year of trading. Looking at all three shows whether a stock has been calmer or wilder than usual lately.
Does past volatility predict future moves?
No. It describes the window you measured. The example's 14.92% comes from 20 past days only, and a stock can turn calm or wild at any time, around earnings or news above all.
Is this stock volatility calculator free?
Yes. It runs in your browser with no account and no sign-up, for typed closes or a ticker fill from GNG daily prices. A free GNG account adds the Research Terminal and My Watchlists.
Screen stocks in the Research Terminal and follow them in My Watchlists with a free GNG account.
Sign Up FreeThis calculator is for education and is not investment advice. Volatility describes past prices, changes over time and does not predict future moves. Inputs and GNG data can contain errors, and figures can differ slightly from other sources. Read our disclosures.