Setup
Market Context
Implied volatility is the unique value of such that the Black-Scholes price matches the observed market price of an option with strike and expiry . It is the standard language in which option markets quote prices: traders say "I buy the 1-month 25-delta put at 18 vol", not "at price €3.47".
Computing implied vol is therefore an inversion problem, performed thousands of times per second in a live trading system. Correctness and speed both matter. A slow inverter causes pricing latency; a numerically fragile one produces garbage implied vols for deep OTM strikes, polluting the vol surface.
Conventions
Throughout this module:
- : Black-Scholes call price, where is spot, is strike, is the continuously compounded risk-free rate, is the continuous dividend yield, is time to expiry in years (Act/365 unless stated).
- Volatility is annualised, in decimal ().
- : the forward price.
- , .
The Black-Scholes call price:
Assumptions before use:
- Constant volatility over .
- Lognormal spot dynamics under the risk-neutral measure.
- No early exercise (European option).
- Liquid, arbitrage-free market quote with — the no-arbitrage bounds.
Theory: Implied Vol as a Root-Finding Problem
Define the objective function:
We seek such that . This function has the following properties that govern algorithm design:
- Monotonicity. For , is strictly increasing in : , where is the Black-Scholes vega and is the standard normal density. Monotonicity guarantees at most one root.
- Boundary behaviour. (intrinsic value) and (full asset price). For in the arbitrage-free interior, a root exists.
- Vega degeneracy. At extreme strikes (), , so . Newton-Raphson divides by a near-zero vega and can produce catastrophic oscillations or divergence.
Newton-Raphson
Algorithm
Starting from an initial guess , Newton-Raphson iterates:
Convergence rate. Near a simple root, Newton-Raphson converges quadratically: if , then . The number of correct decimal digits doubles per iteration. For a good initial guess, 3–5 iterations suffice.
Formal proof. By Taylor expansion around :
since . Thus:
The error is bounded by where is the asymptotic constant.
Initial Guess
A poor initial guess causes slow convergence or divergence. The Brenner-Subrahmanyam (1988) approximation for near-ATM options provides a first-order starting point:
This is a linearisation of the ATM Black-Scholes formula . For skewed strikes, a better guess uses the Corrado-Miller approximation.
Failure Modes
Deep OTM puts and calls. When , the vega is below per unit notional. Newton-Raphson steps become enormous and overshoot wildly. The algorithm must detect this case and switch strategies.
Near-zero time to expiry. As , the whole vol surface compresses. Vega scales as . Newton-Raphson becomes unreliable for years (less than one trading day).
Near-intrinsic options. If (i.e., the option is priced at near-intrinsic), the root is near and both and are near zero simultaneously. l'Hôpital's rule applies in the limit but the numerical ratio is unstable.
Brent's Method
Brent's method (1973) combines three strategies: bisection, secant, and inverse quadratic interpolation (IQI). It is guaranteed to converge to machine precision within function evaluations, making it the default fallback.
Bracketing
Brent requires a bracket with . Since is monotone and bounded:
This bracket is valid for any arbitrage-free market quote. Initial (intrinsic value is below the market) and (deep-ITM call at 1000 vol recovers full asset value), so the sign condition is satisfied.
Algorithm Sketch
Maintain three points , , with , . At each step:
- IQI if the last two steps used secant and the three points are distinct: fit a quadratic through , , and take the root.
- Secant if the last step was not secant: use the linear interpolant through , .
- Bisection if the candidate from steps 1/2 lies outside or convergence is slow: take the midpoint.