Stock Volatility Calculation Formula
Collect Historical Prices: Gather the historical prices of the stock for a specified period. Typically, daily closing prices are used.
Calculate Returns: Compute the returns for each period. The return can be calculated using the formula:
Return=Previous PriceCurrent Price−Previous PriceCalculate the Mean Return: Find the average of all the returns. This is done by summing all the returns and dividing by the number of returns.
Calculate Deviations from Mean: Subtract the mean return from each individual return to get the deviations.
Square the Deviations: Square each of the deviations obtained in the previous step.
Find the Average of Squared Deviations: Compute the average of these squared deviations. This value is known as the variance.
Calculate Standard Deviation: The standard deviation is the square root of the variance.
The formula for the standard deviation is:
Standard Deviation=N−1∑(Return−Mean Return)2where N is the number of returns.
Example Calculation:
Suppose you have the following daily closing prices of a stock for 5 days: $100, $102, $101, $105, and $104.
Calculate Returns:
- Day 2 Return = 100102−100=0.02 or 2%
- Day 3 Return = 102101−102=−0.0098 or -0.98%
- Day 4 Return = 101105−101=0.0396 or 3.96%
- Day 5 Return = 105104−105=−0.0095 or -0.95%
Mean Return:
- Mean Return = 40.02−0.0098+0.0396−0.0095=0.010575
Calculate Deviations:
- Deviations: 0.020−0.010575=0.009425, −0.0098−0.010575=−0.020375, 0.0396−0.010575=0.029025, −0.0095−0.010575=−0.020075
Square the Deviations:
- Squared Deviations: 0.0094252=0.000089, (−0.020375)2=0.000415, 0.0290252=0.000843, (−0.020075)2=0.000403
Average of Squared Deviations:
- Variance = 30.000089+0.000415+0.000843+0.000403=0.000575
Standard Deviation:
- Standard Deviation = 0.000575≈0.024 or 2.4%
This standard deviation tells you how much the returns of the stock vary from the average return. A higher standard deviation indicates greater volatility and hence higher risk.
Other methods for calculating volatility include using the Average True Range (ATR) or Historical Volatility (HV), but the standard deviation method is widely used due to its simplicity and effectiveness.
Volatility is a crucial measure in financial markets as it helps investors understand the potential price fluctuations and the associated risks with investing in a stock. It also plays a key role in portfolio management, risk assessment, and in the valuation of financial derivatives.
Top Comments
No Comments Yet