Skip to main content
Derivatives Compass

Valuation ModelsAdvancedEstimated reading timeAbout 9 min

The Heston Model

The Heston model is a stochastic volatility model in which the variance, which measures how much the stock price fluctuates, is itself random, and the stock price and the variance are linked by a correlation. The variance reverts to a long-run level. Prices of European options come quickly from a semi-analytical solution based on the characteristic function.

The Heston model is used by quants who build option pricing models, and by the staff who validate those models, to obtain prices that match the market smile.

Prerequisites

Key points

  • The stock price and the variance follow separate stochastic processes, linked by a correlation.
  • The variance reverts to a long-run level and cannot reach zero if the Feller condition holds.
  • The correlation sets the slope of the smile, and the volatility of variance sets its curvature.
  • Prices of European options come from a numerical integration of the characteristic function.

Two stochastic processes for the stock price and the variance

The model equations

The Heston model replaces the constant volatility of the Black-Scholes model with a variance vtv_t that moves over time, which makes it a stochastic volatility model. The stock price StS_t and the variance vtv_t follow separate stochastic processes. The two Brownian motions that drive them have a correlation ρ\rho1.

The equations below are written under the risk-neutral measure, with the drift of the stock price set to r−qr - q. Read κ\kappa and vˉ\bar v as values that already include the price of variance risk.

dSt=(r−q) St dt+vt St dWtSdS_t = (r - q)\,S_t\,dt + \sqrt{v_t}\,S_t\,dW_t^{S} dvt=κ(vˉ−vt) dt+ξvt dWtv,dWtS dWtv=ρ dtdv_t = \kappa(\bar v - v_t)\,dt + \xi\sqrt{v_t}\,dW_t^{v}, \qquad dW_t^{S}\,dW_t^{v} = \rho\,dt

Here rr is the interest rate and qq is the rate of the dividends paid continuously on the stock.

In the equation for the variance, the first term is mean reversion, which pulls the variance back to the long-run level vˉ\bar v at speed κ\kappa. The second term is a random shock proportional to vt\sqrt{v_t}. A process of this form is called a CIR process (square-root process), and it keeps the variance from turning negative2.

The five parameters

The model has five parameters, each with its own role.

Symbol Name Role Effect on the smile (FX example)
v0v_0 Initial variance Current level of the variance Overall height of the smile
vˉ\bar v Long-run variance Level the variance reverts to Height. Acts much like v0v_0
κ\kappa Speed of mean reversion How fast the variance returns to vˉ\bar v Near the center. The wings barely change
ξ\xi Volatility of variance Size of the random moves in the variance Curvature
ρ\rho Correlation between the stock price and the variance How the two moves are tied together (direction and strength) Slope (asymmetry)

The right-hand column shows how the shape of the smile changes when each parameter is moved one at a time, in an FX example3.

ξ\xi is also called the volatility of volatility (vol of vol). In the Heston model, however, ξ\xi is the coefficient on the random moves of the variance. Rewriting with Ito's lemma, the diffusion term of the volatility vt\sqrt{v_t} is ξ/2\xi/24. The values cannot be compared directly with the SABR model, where ν\nu is the coefficient on the random moves of the volatility itself.

The correlation ρ\rho is usually set to a negative value, because it represents the variance rising when the stock price falls5.

Mean reversion of the variance and the Feller condition

How the expected variance approaches its long-run level

The expected variance approaches vˉ\bar v from v0v_0 exponentially. The expected value at time tt is given by the following formula.

E[vt]=vˉ+(v0−vˉ) e−κtE[v_t] = \bar v + (v_0 - \bar v)\,e^{-\kappa t}

The larger κ\kappa is, the faster the approach. Consider a hypothetical example in which v0=0.0225v_0 = 0.0225 (volatility of 15%), vˉ=0.04\bar v = 0.04 (20%), and κ=2\kappa = 2. The expected values by maturity are as follows6.

Maturity tt (years) e−κte^{-\kappa t} E[vt]E[v_t] E[vt]\sqrt{E[v_t]} (%)
0.25 0.606531 0.029386 17.14
1 0.135335 0.037632 19.40
3 0.002479 0.039957 19.99

The longer the maturity, the closer the expected variance gets to 0.04, which corresponds to 20%. The rightmost column is the square root of the expected variance, and it is not the implied volatility itself.

Deep diveDeriving the formula for the expected variance

Taking the expected value of both sides of the equation for the variance, the expected value of the random term ξvt dWtv\xi\sqrt{v_t}\,dW_t^{v} is 0, which leaves the following differential equation.

ddtE[vt]=κ(vˉ−E[vt])\frac{d}{dt}E[v_t] = \kappa\bigl(\bar v - E[v_t]\bigr)

Solving it with the initial value E[v0]=v0E[v_0] = v_0 gives the formula above.

Reading the Feller condition

The Feller condition decides whether the variance reaches 0. If the following condition holds, the CIR process never reaches 0 and stays strictly positive7.

2κvˉ≥ξ22\kappa\bar v \ge \xi^2

The same condition is also written as 4κvˉ/ξ2≥24\kappa\bar v/\xi^2 \ge 2. In the example above, with κ=2\kappa = 2 and vˉ=0.04\bar v = 0.04, the left side is 2×2×0.04=0.162 \times 2 \times 0.04 = 0.16.

If ξ=0.3\xi = 0.3, then ξ2=0.09\xi^2 = 0.09 and the condition holds (4κvˉ/ξ2=3.564\kappa\bar v/\xi^2 = 3.56). If ξ=0.5\xi = 0.5, then ξ2=0.25\xi^2 = 0.25 and it does not hold (4κvˉ/ξ2=1.284\kappa\bar v/\xi^2 = 1.28).

If the condition fails, the variance touches 0 repeatedly, but it does not stay there. When the model is fitted to market prices, parameters that violate the condition are not unusual. With those parameters, the volatility repeatedly falls below 1%, a pattern that is not observed in the market8.

If the condition fails, a Monte Carlo simulation needs care to keep the simulated variance paths from going below 08. The ordinary Euler discretization can make the variance negative, and the remedies in use include truncating the variance at 0, reflecting it, and drawing from the exact transition distribution9.

What sets the slope and the curvature of the smile

The Black-Scholes model gives the same implied volatility at every strike price. In the Heston model, two parameters break that flat shape.

How the two parameters act

  • If ξ=0\xi = 0, the variance is deterministic and the smile is flat.
  • Moving ρ\rho from 0 to a negative value makes puts more expensive and gives a downward-sloping shape, in which the implied volatility is higher at lower strikes. Moving it to a positive value makes calls more expensive and gives an upward-sloping shape.

When ρ=0\rho = 0, the smile is nearly symmetric, though not perfectly so3.

The typical pattern in equity option markets is a strongly asymmetric skew, while FX markets show a smile shape10. Because ρ\rho, which creates the slope, and ξ\xi, which creates the curvature, are separate parameters, the model can fit these two features independently.

The shape of the smile in a worked example

Consider a hypothetical example in which a European call option has an underlying price of 100, an interest rate of 1%, a maturity of 1 year, and no dividends. The initial variance and the long-run variance are 0.04 (volatility of 20%), and the speed of mean reversion is 2. The prices come from the semi-analytical solution (the way of pricing with the characteristic function), converted to implied volatilities with the Black-Scholes formula11.

Strike ξ=0.02\xi = 0.02, ρ=0\rho = 0 ξ=0.3\xi = 0.3, ρ=0\rho = 0 ξ=0.3\xi = 0.3, ρ=−0.7\rho = -0.7 ξ=0.3\xi = 0.3, ρ=0.7\rho = 0.7
80 20.00 20.17 22.43 16.48
90 20.00 19.67 20.79 18.00
100 20.00 19.50 19.27 19.54
110 20.00 19.59 17.88 20.94
120 20.00 19.88 16.69 22.19

The implied volatilities in the table are in percent.

The values of ρ\rho are enlarged to make the shapes easy to see. With ξ\xi set to about 0.2 and only ρ\rho moved, producing the strong skew typical of equities with the Heston model requires the correlation to be set very high or very low12.

With ρ=−0.7\rho = -0.7, the implied volatility is 22.43% at strike 80 and 16.69% at strike 120, a downward-sloping shape like the one common in equities.

SimulatorHeston parameters and the shape of the smileOther simulators
Inputs
yrs
%
14161820222426708090100110120130Implied volatility (%)Strike (underlying 100)
  • Heston smile
  • Flat volatility as ξ → 0

Call price and implied volatility by strike

StrikeCall priceVolatility (%)
8022.331322.43
9014.445920.79
1008.143519.27
1103.816117.88
1201.421316.69
ATM (strike 100) volatility (%)
19.27
Strike 80 minus strike 120 (points; positive means downward sloping)
5.74
Flat volatility as ξ → 0 (√ of the average variance, %)
20.00
√ of the expected variance at expiry (%)
20.00
Feller condition ratio 2κv̄/ξ²
1.78
At least 1: the condition holds (variance never reaches 0).
E[S_T] (characteristic function φ(−i); S₀e^(rT))
101.0050

Simplifications

  • The underlying is 100 with no dividends. Under the risk-neutral measure, the price and the variance follow the two stochastic processes in the article. The ratio of the Feller condition (2κv̄/ξ²) is shown in the results to tell whether variance can reach 0.
  • Prices are the semi-analytic solution: a numerical integral of the characteristic function (the stable form of Albrecher et al.). The integral is split into panels with 8-point Gauss-Legendre quadrature, and its upper limit is extended until the integrand is negligible (about 130 for the default values, several thousand when the variance is small and ξ is large). Even for parameters at the edges of the range, the price differs from an integral of a different formula (the Lewis form) by less than 1e-6.
  • Volatility is backed out from the price with the Black-Scholes formula. Strikes below the forward use the put price (from parity), and higher strikes use the call price; when no value is found (for example, an out-of-the-money price below 1e-8), "—" is shown and the chart draws only the longest continuous stretch.
  • The lower limit of ξ is 0.02 (the formula cannot be used at ξ = 0). ρ goes up to ±0.95. Real calibration (fitting parameters to market prices) is not covered; the parameters you enter are used as they are.

This simulator uses simplified calculations for learning. It cannot be used for valuing actual transactions or managing their risk. (Terms of Use)

About this simulator

Move the initial variance, the long-run variance, the mean-reversion speed, the volatility of variance ξ, the correlation ρ, the expiry, and the rate to see the implied volatility curve by strike. The initial values are the ξ = 0.3, ρ = −0.7 column of the worked example above. Move ρ to 0.7 or 0 and ξ to 0.02, and compare with the other columns of the table. The dashed line on the chart is the flat volatility in the limit ξ → 0. Raising ξ to 0.5 breaks the Feller condition, and the results panel says so. The ratio in the results panel is 2κv̄/ξ², and a value below 1 means the condition is not met (half of the text's 4κv̄/ξ², whose threshold is 2).

A semi-analytical solution using the characteristic function

The pricing formula

In the Heston model, the characteristic function of the log stock price at maturity, φ(u,T)=E[exp⁡(iuln⁡ST)]\varphi(u, T) = E[\exp(iu \ln S_T)], can be written in closed form. Without dividends (q=0q = 0), and with S0S_0 the current stock price, the price of a European call is built from two terms that come from numerically integrating this characteristic function13.

C=S0P1−Ke−rTP2C = S_0 P_1 - K e^{-rT} P_2

P1P_1 and P2P_2 are terms determined by the distribution of the log stock price, and they can be written as the following integrals using φ\varphi. KK is the strike price and Re\mathrm{Re} is the real part.

P2=12+1π∫0∞Re ⁣[e−iuln⁡K φ(u,T)iu]duP_2 = \frac12 + \frac1\pi\int_0^\infty \mathrm{Re}\!\left[\frac{e^{-iu\ln K}\,\varphi(u,T)}{iu}\right]du P1=12+1π∫0∞Re ⁣[e−iuln⁡K φ(u−i,T)iu φ(−i,T)]duP_1 = \frac12 + \frac1\pi\int_0^\infty \mathrm{Re}\!\left[\frac{e^{-iu\ln K}\,\varphi(u-i,T)}{iu\,\varphi(-i,T)}\right]du

The denominator φ(−i,T)\varphi(-i,T) in P1P_1 is the value corresponding to E[ST]E[S_T] (=S0erT= S_0 e^{rT}). It scales the whole expression so that it can be used as a probability.

Because the integrand can be written analytically, only the integral needs to be computed numerically. This is called a semi-analytical solution. Unlike Monte Carlo simulation, it does not need to generate random paths. The speed when prices are computed many times in calibration is a strength of the model.

The form of the characteristic function

The characteristic function takes the following form. ii is the imaginary unit, uu is the integration variable, TT is the maturity, and qq is taken to be 014.

φ(u,T)=exp⁡(iu(ln⁡S0+rT)+C(u,T)+D(u,T) v0)\varphi(u, T) = \exp\bigl(iu(\ln S_0 + rT) + C(u,T) + D(u,T)\,v_0\bigr) C(u,T)=κvˉξ2((κ−ρξiu−d) T−2ln⁡1−g e−dT1−g)C(u,T) = \frac{\kappa\bar v}{\xi^2}\left((\kappa - \rho\xi iu - d)\,T - 2\ln\frac{1 - g\,e^{-dT}}{1 - g}\right) D(u,T)=κ−ρξiu−dξ2⋅1−e−dT1−g e−dTD(u,T) = \frac{\kappa - \rho\xi iu - d}{\xi^2}\cdot\frac{1 - e^{-dT}}{1 - g\,e^{-dT}} d=(ρξiu−κ)2+ξ2(iu+u2),g=κ−ρξiu−dκ−ρξiu+dd = \sqrt{(\rho\xi iu - \kappa)^2 + \xi^2(iu + u^2)}, \qquad g = \frac{\kappa - \rho\xi iu - d}{\kappa - \rho\xi iu + d}
Deep diveTwo forms of the characteristic function and numerical instability

A form of the characteristic function with the sign of dd reversed also appears in the literature. The two differ only in which of the two values of the complex square root is taken, and they are mathematically the same function. However, if you take the principal value of the complex logarithm, the value jumps discontinuously each time the argument crosses the negative real axis.

The form in the original paper has the opposite sign of dd from the formula above. In numerical integration these jumps become a problem, and when the maturity is long (beyond 3 to 5 years), prices can be badly off. The form above has been shown to be stable over the whole range of parameters15.

What calibration fits

The steps below are one way (the FX example of Janek et al.) to fit the Heston model to a smile with a single maturity.

  1. Take the series of market implied volatilities of European options for that maturity.
  2. Set the initial variance v0v_0 to the at-the-money (ATM) value and fix the speed of mean reversion κ\kappa (one way to choose, covered below). Set trial values for the long-run variance vˉ\bar v, the volatility of variance ξ\xi, and the correlation ρ\rho.
  3. With these parameters, integrate the characteristic function numerically to get the call price.
  4. Convert the price to an implied volatility with the Black-Scholes formula.
  5. Compare the result with the market implied volatilities, and choose vˉ\bar v, ξ\xi, and ρ\rho so that the gap becomes small. If the gap is large, repeat from step 3 with only vˉ\bar v, ξ\xi, and ρ\rho changed and the fixed v0v_0 and κ\kappa left as they are.

The key point is that the model price is not compared with the market directly but is first converted to an implied volatility, which is the same measure.

In the FX example, three of the five parameters are effectively fitted. The long-run variance vˉ\bar v corresponds to the level of the smile (the ATM value), ξ\xi to the curvature (quoted in the market as the butterfly), and ρ\rho to the slope (quoted as the risk reversal)16. The initial variance is fixed beforehand from the ATM value. Another way to narrow the problem is to fix κ\kappa, because its effect overlaps with that of ξ\xi17.

In the FX example, when the smile was fitted separately for each maturity, the parameter values differed from maturity to maturity18. For the procedure for fitting to market prices, the choice of objective function, and overfitting, see Model Calibration.

Assumptions and limits

A stock and a deposit alone cannot replicate the moves of the variance. Replication requires adding other options. Pricing therefore requires an assumption about the market price of variance risk. The original Heston paper assumed that it is proportional to the variance19. A value computed with the Heston model is a value under the assumptions of this model.

A change in assumptions changes the result substantially. In the worked example above, changing ρ\rho from 0 to −0.7-0.7 with ξ=0.3\xi = 0.3 held fixed moves the implied volatility at strike 80 from 20.17% to 22.43%.

Fitted parameters can change a lot when the market changes. In 2010, Janek et al. fitted the model to the EUR/USD volatility surface. For maturities of 1 month or more, ρ\rho ranged from −0.01-0.01 to 0.05 on July 1, 2004, and from −0.4-0.4 to −0.3-0.3 in the market of July 22, 201016.

In the same case, maturities of 3 months or more fit well, while those under 3 months fit poorly. When you try to fit short maturities, ξ\xi and the speed of mean reversion tend to become too large. This is interpreted as a sign that the price process needs jumps20. Models with jumps are covered in Jump-Diffusion Models: Merton and Bates.

What this article does not cover

  • The procedure for generating variance paths and the error estimate for Monte Carlo simulation are covered in Monte Carlo Simulation.
  • Models in which the volatility itself is the stochastic process are covered in The SABR Model.

Notes

  1. Albrecher et al., "The Little Heston Trap" (external site) (Wilmott Magazine, 2006; hereafter "Albrecher et al."), section 2 (page 3), and Janek et al., "FX smile in the Heston model" (external site) (arXiv, 2010; hereafter "Janek et al."), section 1.2 (page 2). The symbols are replaced with vˉ\bar v, ξ\xi, v0v_0, and qq as used in the text. ↩

  2. Albrecher et al. (external site), section 2 (page 3), set the variance as a mean-reverting square-root process (CIR process). The non-negativity is in Janek et al. (external site), section 1.3.3 (page 8). ↩

  3. Janek et al. (external site), section 1.4.1 (pages 11 to 13). The source explains that v0v_0 sets the height, ξ\xi (the source's σ\sigma) sets the curvature, vˉ\bar v (the source's θ\theta) acts much like v0v_0, and κ\kappa acts near the ATM level. The limit ξ=0\xi = 0 has no curvature, and the correlation changes the asymmetry. At a correlation of 0 the smile is nearly symmetric (not perfectly), and a positive correlation makes calls, and a negative one puts, more expensive. ↩ ↩2

  4. The coefficient ξ/2\xi/2 follows from Ito's lemma (calculated for this site). The name vol of vol is from Janek et al. (external site), section 1.2 (page 2). The SABR ν\nu is from the equation dαt=ν αt dWtd\alpha_t = \nu\,\alpha_t\,dW_t on the SABR model page (Hagan et al.). ↩

  5. Albrecher et al. (external site), section 2 (page 3). The source says the correlation is usually negative, which goes with the variance rising when the stock price falls. ↩

  6. The derivation of the formula is in the deep dive (calculated for this site). The values in the table come from E[vt]=0.04−0.0175 e−2tE[v_t] = 0.04 - 0.0175\,e^{-2t}. ↩

  7. Janek et al. (external site), section 1.3.3 (page 8), equation 1.32. Albrecher et al. (external site), section 2 (page 3), write the same condition as 2κη>λ22\kappa\eta > \lambda^2, without the equality. This page uses the form of Janek et al. ↩

  8. Janek et al. (external site), section 1.3.3 (page 8). The source covers the repeated touching of 0 when the condition fails, how common this is when fitting to market prices, the absence of volatility below 1% in the market, and the care needed in Monte Carlo simulation. ↩ ↩2

  9. Janek et al. (external site), section 1.3.2 (pages 7 to 8). ↩

  10. Janek et al. (external site), section 1.2 (page 2). The source describes a strongly asymmetric skew as typical of equities and smiles in FX. ↩

  11. Calculated for this site. The characteristic function of Albrecher et al. is integrated numerically to get the call price, which is converted to an implied volatility with the Black-Scholes formula. ↩

  12. Janek et al. (external site), section 1.4.1 (page 13). The source says the model produces the skew typical of equity markets only when the correlation is set to a very high or very low value. This follows its discussion of moving only the correlation in the settings of figures 1.4 and 1.5 (page 12; ξ\xi is the source's σ\sigma, at 0.2). ↩

  13. Janek et al. (external site), section 1.3.1 (page 5), equations 1.12 to 1.18. P1P_1 and P2P_2 correspond to PjP_j in the same section. The FX equations are read with rd=rr_d = r and rf=0r_f = 0. ↩

  14. Albrecher et al. (external site), section 3 (page 4), the second form (φ2\varphi_2). Here q=0q = 0 is set and the symbols are replaced with those in the text. Equations 1.29 to 1.31 in Janek et al. (external site), section 1.3.2 (page 7), have the same form. ↩

  15. Albrecher et al. (external site), abstract (page 2) and section 3 (page 4). The rule-of-thumb threshold (3 to 5 years) is in Janek et al. (external site), section 1.3.2 (page 7). ↩

  16. Janek et al. (external site), section 1.4.3 (page 14). The source gives the results of fits to EUR/USD on July 1, 2004 and July 22, 2010, and the correspondence of the three fitted parameters. ↩ ↩2

  17. Janek et al. (external site), section 1.4.1 (pages 12 to 13). The source covers setting v0v_0 to the ATM value, fixing κ\kappa and fitting the other three, and refitting with a different κ\kappa if the condition fails. ↩

  18. Janek et al. (external site), section 1.5.1 (page 16). Because the values differ by maturity, the source suggests considering a term structure for some of the parameters. ↩

  19. Janek et al. (external site), section 1.3 (page 4). The source says tradable assets alone are not enough and other derivatives must be added, and that the original paper assumed the price of variance risk is proportional to the variance. ↩

  20. Janek et al. (external site), section 1.5.2 (page 19). The source says that when short-maturity smiles are fitted, the volatility of variance and the speed of mean reversion become too large, which is a strong indication that the process wants to jump. ↩

Check your understanding of this page

Taken from the chapter quiz to check what this page explains.

  1. Question 1

    As a hypothetical example, in the Heston model, the speed of mean reversion κ\kappa of the variance is 3, the long-run variance vˉ\bar v is 0.04, and the volatility of variance ξ\xi is 0.4. Which describes the movement of the variance vtv_t correctly?

    Answer and explanation

    Answer: A

    The Feller condition is met, and the variance does not reach 0 but stays strictly positive. The condition is 2κvˉ≥ξ22\kappa\bar v \ge \xi^2. The left side is 2×3×0.04=0.242 \times 3 \times 0.04 = 0.24 and the right side is 0.42=0.160.4^2 = 0.16, so the condition is met.

    When the condition is met, the variance does not reach 0. Touching 0 repeatedly is the behavior when the condition is not met. If you forget the factor 2 on the left side and compare κvˉ=0.12\kappa\bar v = 0.12 with ξ2=0.16\xi^2 = 0.16, you wrongly conclude that the condition is not met. Even when the condition is not met, the variance only touches 0 and returns, and never stays at 0.

Take the full chapter quiz (6 questions)

Summary

  • The stock price and the variance follow separate stochastic processes, linked by a correlation.
  • The variance reverts to a long-run level and cannot reach zero if the Feller condition holds.
  • The correlation sets the slope of the smile, and the volatility of variance sets its curvature.
  • Prices of European options come from a numerical integration of the characteristic function.

Read next

Share this page

In the learning roadmaps