Step 1 — Daily log returns. Why logs? Because returns compound multiplicatively, and logs turn multiplication into addition (so they're additive over time and roughly normal).
rt=ln(St−1St)
Step 2 — Standard deviation of those returns. Volatility = spread of returns, so we measure how far returns scatter around their mean.
σdaily=N−11∑t=1N(rt−rˉ)2Why N−1? Bessel's correction — we estimated the mean rˉ from the sample, so we lose one degree of freedom.
Step 3 — Annualize. Why 252? Variance of independent returns adds over time, so variance scales with time T, and standard deviation scales with T. There are ~252 trading days per year.
σannual=σdaily×252
HOW: Black–Scholes gives price as a function C=f(S,K,T,r,σ). You know everything exceptσ. So you invert: find the σ such that f(…,σ)=market price.
Market Price=f(S,K,T,r,σIV)⟹solve for σIV
Why can't we just rearrange the formula? Because σ sits inside the cumulative-normal N(d1),N(d2) — there is no closed-form inverse. We solve numerically (Newton–Raphson, using vega ∂C/∂σ as the slope).
Imagine a bouncy ball. Historical volatility is how high it has been bouncing when you watched it — you measured it. Implied volatility is how high everyone bets it will bounce next, based on how much they're paying to play the bouncing game. If people are paying a lot (high IV) but the ball has been bouncing gently (low HV), the game is overpriced — you might want to be the one selling tickets instead of buying.
Dekho, volatility do type ki hoti hai aur dono ka matlab alag hai. Historical volatility (HV) matlab stock actually kitna hila past mein — hum uske purane prices ke log returns ka standard deviation nikaalte hain aur usko √252 se multiply karke annual bana dete hain. Ye reality hai, jo ho chuka hai. Yaad rakho: annualize karne ke liye √252 se multiply, sidha 252 se nahi — kyunki variance time ke saath add hota hai, isliye std dev sirf square-root of time se badhta hai.
Doosri taraf implied volatility (IV) hoti hai — ye market ki expectation hai ki aage kitna move aayega. Isko hum option ke live market price se nikaalte hain: Black–Scholes formula mein sab kuch pata hota hai (spot, strike, time, rate) sirf σ nahi. Toh hum ulta chalke woh σ dhoondte hain jo formula ka price market price ke barabar kar de. Wahi σ IV hai. IV algebra se nahi nikalti kyunki σ N(d1), N(d2) ke andar chhupa hota hai — isliye numerically (Newton method) solve karte hain.
Ab kyun important hai: agar IV bahut zyada hai HV se (jaise earnings se pehle), matlab options mehnge ho gaye hain — log darr ke maare zyada pay kar rahe hain. Tab option bechne ka bias banta hai. Agar IV kam hai HV se, options saste hain — tab kharidne ka bias. Bas ek golden habit: har option trade se pehle IV ko HV se compare karo. Aur ek cheez clear rakho — high IV ka matlab hai bada move aayega (upar ya neeche), direction ka koi guarantee nahi. IV magnitude batati hai, direction nahi.