Local Volatility Calculator
Estimate the Dupire local volatility implied by a small neighborhood of an option implied-volatility surface. The calculator converts each supplied quote to a European call price, then estimates strike and maturity derivatives using central finite differences.
Dupire formula and method
For a European call price surface C(K,T), with continuously compounded risk-free rate r and dividend yield q, the forward Dupire formula is:
\[ \sigma_{\mathrm{loc}}^2(K,T) = \frac{C_T + (r-q)K C_K + qC} {\frac{1}{2}K^2 C_{KK}}. \]
The inputs approximate this price surface at (K − ΔK,T), (K,T), (K + ΔK,T), (K,T − ΔT), and (K,T + ΔT). The displayed derivatives and local volatility are therefore sensitive to quote noise and step sizes. Use a smooth, arbitrage-aware implied-volatility surface and check stability by changing ΔK and ΔT. The calculator does not fit or validate a complete volatility surface.
Local Volatility FAQ
Does this use implied volatility directly as local volatility?
No. Implied volatilities are first converted into call prices. Dupire's formula uses the derivatives of those prices with respect to strike and maturity, so local and implied volatility generally differ.
Why must T be larger than ΔT?
The central maturity difference requires quotes at both T − ΔT and T + ΔT. The earlier maturity must remain positive.
What should I do if the local variance is not positive?
Check that the quotes are smooth and arbitrage-consistent, then try a less noisy surface or different finite-difference steps. A non-positive estimate is not replaced with an absolute value or clipped result.
Tagged: Implied Volatility, Option Pricing, Dupire Local Volatility
Methods
Derivatives Markets
- Stock Options
Including Exotic Options - Interest Rate Derivatives
Short Rate Model - Credit Derivatives
Structural Models and Reduced Models