Skip to content
HyQuantJourney HyQuantJourney

Dupire's equation: from option prices to local vol

How Dupire's equation reads a local-volatility map straight off today's option prices — butterflies as probability, calendar spreads as spreading, two worked numerical checks, and what desks do with it.

Local volatility says volatility depends on where the price is and when. Dupire’s equation (Bruno Dupire, 1994) answers the obvious next question: given today’s option prices, what is that map? The surprising answer is that you can read it off two simple spreads of call prices.

Today you can see call prices C(K,T)C(K, T) for many strikes KK and expiries TT. Think of it as a spreadsheet: strikes across, expiries down. That grid is a snapshot of the market right now.

Dupire’s result: if prices really follow a local-vol model, there is exactly one local-vol map σ(K,T)\sigma(K, T) that reproduces the whole grid, and it can be computed from two features of the grid.

flowchart LR
  Grid["Call prices C(K, T)"] --> Fly["Butterfly: curvature across strikes"]
  Grid --> Cal["Calendar: growth across expiries"]
  Fly --> Sig["Local vol σ(K, T)"]
  Cal --> Sig

Ingredient 1: a butterfly is a probability

Section titled “Ingredient 1: a butterfly is a probability”

A butterfly is three calls: buy one at 90, sell two at 100, buy one at 110. At expiry it pays nothing outside 90–110 and peaks at 10 when the price finishes exactly at 100. It is a bet that the price ends near 100.

Worked example. Spot 100, one year, 20% volatility, zero rates. The three calls cost 13.589, 7.966 and 4.292, so the butterfly costs

13.589−2×7.966+4.292=1.9513.589 - 2 \times 7.966 + 4.292 = 1.95

Divide by the wing width, 10: 1.95/10=0.1951.95 / 10 = 0.195. That is (to a good approximation) the market’s probability that the price finishes between 95 and 105. The exact lognormal probability under these assumptions is 0.197.

Shrink the wings and this becomes exact: the curvature of call prices across strikes is the probability density of where the price will end up. In symbols (zero rates),

∂2C∂K2=probability density at K\frac{\partial^2 C}{\partial K^2} = \text{probability density at } K

This is the Breeden–Litzenberger result (1978). Here is that density for a flat 20% market and for a skewed market (same smile as on the local vol page), both computed from call prices one strike apart:

The skewed market puts more probability on a crash and less on a big rally than the flat market does. Butterflies are how you read that off prices.

Ingredient 2: a calendar spread shows spreading

Section titled “Ingredient 2: a calendar spread shows spreading”

A calendar spread buys a longer-dated call and sells a shorter-dated one at the same strike. Its value is how much more the option is worth if you wait a little longer. Waiting is worth more when the distribution is still spreading out quickly around that strike.

In symbols this is ∂C/∂T\partial C / \partial T: how fast the call price grows with expiry.

Local vol is the speed of spreading that makes those two observations consistent. With zero interest rates:

σ2(K,T)=∂C/∂T12K2 ∂2C/∂K2\sigma^2(K, T) = \frac{\partial C / \partial T}{\tfrac{1}{2} K^2\, \partial^2 C / \partial K^2}

Read it as a ratio:

If you seeLocal vol at that strike and expiry
Calendar spread is expensive (fast spreading)Higher
Butterfly is expensive (lots of probability already there)Lower

Both halves matter. A rich butterfly alone does not mean low local vol; you have to divide the calendar by it.

Rearranged, the same relationship is a partial differential equation in strike and expiry:

∂C∂T=12 σ2(K,T) K2 ∂2C∂K2\frac{\partial C}{\partial T} = \tfrac{1}{2}\, \sigma^2(K, T)\, K^2\, \frac{\partial^2 C}{\partial K^2}

This is Dupire’s forward PDE. It looks like the Black–Scholes equation, but it runs in the other direction: instead of fixing one option and asking how its value depends on today’s spot and time, it fixes today’s spot and describes how call prices change across all strikes and expiries at once. That is useful in practice: give it a candidate σ(K,T)\sigma(K, T), solve one PDE, and you get the whole call-price grid to compare with the market.

Worked check 1: a flat market gives back its own vol

Section titled “Worked check 1: a flat market gives back its own vol”

If every option trades at 20%, local vol should be 20% everywhere. Using Black–Scholes prices (spot 100, zero rates) and small finite differences at K=100K = 100, T=1T = 1:

QuantityHow it is estimatedValue
C(100,1)C(100, 1)Black–Scholes at 20%7.966
∂C/∂T\partial C / \partial T[C(100,1.01)−C(100,0.99)]/0.02[C(100, 1.01) - C(100, 0.99)] / 0.023.9696
∂2C/∂K2\partial^2 C / \partial K^2C(99,1)−2 C(100,1)+C(101,1)C(99, 1) - 2\,C(100, 1) + C(101, 1)0.019838
σ2=3.96960.5×1002×0.019838=0.0400⇒σ=20.0%\sigma^2 = \frac{3.9696}{0.5 \times 100^2 \times 0.019838} = 0.0400 \quad\Rightarrow\quad \sigma = 20.0\%

The same calculation at K=80K = 80 and K=120K = 120 also gives 20.0%.

Now the skewed six-month market from the local vol page. Same recipe, applied to its call prices at T=0.5T = 0.5:

StrikeCalendar ∂C/∂T\partial C/\partial TButterfly ∂2C/∂K2\partial^2 C/\partial K^2Local volImplied vol
905.190.0180126.7%23.7%
1005.630.0309119.1%20.0%
1103.870.0273315.3%17.6%

At 90 the butterfly is small (little probability sits there) but the calendar is still large, so local vol is high. At 110 the butterfly is large relative to the calendar, so local vol is low. The result is the steep local-vol skew charted on the local vol page.

For FX there are two interest rates: domestic rdr^d (the currency the option pays in) and foreign rfr^f. The formula gains two correction terms in the numerator; the butterfly in the denominator keeps its job:

σ2(K,T)=∂C/∂T+(rd−rf) K ∂C/∂K+rf C12K2 ∂2C/∂K2\sigma^2(K, T) = \frac{\partial C/\partial T + (r^d - r^f)\, K\, \partial C/\partial K + r^f\, C}{\tfrac{1}{2} K^2\, \partial^2 C/\partial K^2}

Set both rates to zero and you get the simple version back.

The formula differentiates prices, twice in strike. Real quotes are sparse and noisy (bid–ask, few strikes), and differentiating noise amplifies it. Two failure modes:

  • Negative butterfly — a small bump in quotes makes ∂2C/∂K2\partial^2 C/\partial K^2 negative. That would be a negative probability (and a free-money butterfly trade). The formula then gives a negative or infinite σ2\sigma^2.
  • Negative calendar — a longer option quoted cheaper than a shorter one at the same strike. Again free money, again a broken formula.

So desks first fit a smooth, arbitrage-free smile per expiry (SVI and SABR are common choices; in FX it is built from ATM, RR and BF quotes), check that butterflies and calendars are non-negative everywhere, and only then apply Dupire to the smooth surface.

flowchart LR
  Raw[Noisy quotes] --> Fit[Smooth smile per expiry]
  Fit --> Check{"Butterflies and calendars ≥ 0?"}
  Check -->|Yes| Dup[Apply Dupire]
  Check -->|No| Fix[Refit]
  Fix --> Fit
  Dup --> Sig["Stable σ(K, T)"]
  • Daily calibration. Exotic desks rebuild the local-vol surface from the morning’s vanilla market, then price barriers, autocallables and other path-dependent products on it by Monte Carlo or PDE.
  • Arbitrage checks. Vol-surface builders run the butterfly and calendar checks above on every update. A surface that fails would give a negative Dupire variance — the maths flags bad market data.
  • Reading the market’s distribution. Traders use butterfly prices to see what probability the market assigns to a range, e.g. “what are the odds EURUSD ends between 1.08 and 1.12 in three months?”. Buying a butterfly is a direct bet that the price will end near its middle strike.

The same idea appeared twice in Risk magazine in 1994. Dupire wrote it as a continuous formula; Emanuel Derman and Iraj Kani wrote it as an implied binomial tree whose node-by-node moves reprice the vanillas. Shrink the tree’s steps and it converges to the same local-vol surface.

  • Dupire, B. (1994). Pricing with a smile. Risk.
  • Derman, E., & Kani, I. (1994). Riding on a smile. Risk.
  • Breeden, D., & Litzenberger, R. (1978). Prices of state-contingent claims implicit in option prices. Journal of Business.
  • Gatheral, J. (2006). The Volatility Surface. Wiley — chapter 1 derives Dupire and the implied-vol form of the formula.