Heston Model Calculator

Inputs

Option price$10.39
Risk-neutral probability P10.6919
Risk-neutral probability P20.6181
Expected average variance4.00%
Companion option value$5.52
How this was calculated
  1. Inputs: spot $100.00, strike $100.00, expiry 1.00 years, rate 5.00%, initial variance 0.0400, kappa 2.00, theta 0.0400, vol-of-vol 0.30, rho -0.70.
  2. The little-trap Heston characteristic function is integrated with a 32-panel, 20-point Gauss-Legendre rule on [0, 160] to obtain the two risk-neutral probabilities.
  3. P1 = 0.6919 and P2 = 0.6181; the discounted strike term is K e^-rT = $95.12.
  4. Price = S x P1 - K e^-rT x P2 (call) or its put-call-parity twin = $10.39; the expected average variance over the life is 4.00%.

Black-Scholes assumes volatility is a constant, and every trader who has watched a smile knows it is not. Heston's 1993 model lets the variance itself wander: it mean-reverts toward a long-run level, it is shaken by its own volatility, and it moves against the spot price, which is what bends the implied-volatility curve into a skew. Give this calculator the spot, strike, expiry, rate and the five model parameters, and it returns the European option price from the model's characteristic function, together with the two risk-neutral probabilities that build it.

Worked examples

At-the-money call, one year

(100 · 100 · 1 years · 5 % · 0.04 · 2 · 0.04 · 0.3 · -0.7 · Call)

Option price$10.39
Risk-neutral probability P10.6919
Risk-neutral probability P20.6181
Expected average variance4.00%
Companion option value$5.52

Out-of-the-money put, high starting variance

(95 · 100 · 0.5 years · 3 % · 0.09 · 1.5 · 0.06 · 0.4 · -0.5 · Put)

Option price$9.24
Risk-neutral probability P10.5014
Risk-neutral probability P20.4254
Expected average variance8.11%
Companion option value$5.72

In-the-money call, two years

(120 · 110 · 2 years · 4 % · 0.02 · 3 · 0.05 · 0.25 · 0.2 · Call)

Option price$24.25
Risk-neutral probability P10.7573
Risk-neutral probability P20.6561
Expected average variance4.50%
Companion option value$5.80

What the five Heston parameters do

The variance follows a square-root diffusion of the same family as the CIR interest-rate model. Kappa is the speed at which variance is pulled back toward theta, the long-run variance: a kappa of 2, as in the first worked example, means shocks to variance have a half-life of a few months. Theta at 0.04 corresponds to a long-run volatility of 20%, and the initial variance v0 says where variance starts today, which need not be theta - the second example starts at 0.09, a stressed 30% volatility, and lets it decay toward 0.06.

Sigma, the volatility of variance, controls how violently the variance itself moves, and with it how fat the tails of the return distribution become. Rho is the correlation between spot and variance shocks. In equity markets rho is strongly negative - the first example uses -0.7 - because falling prices arrive with rising fear; in some commodity and foreign-exchange markets it can be near zero or positive, as in the third example's 0.2.

  • Kappa - how fast variance reverts to its long-run level
  • Theta - the long-run variance the process reverts to
  • Sigma - vol of vol; sets tail fatness and smile curvature
  • Rho - spot/variance correlation; sets the skew's direction

From the characteristic function to a price

Heston's model has no elementary formula for the option price, but its characteristic function is closed form, and the price is a single integral of that function. This calculator evaluates the integral in the little-trap form of the characteristic function - the algebraically equivalent variant that stays numerically stable where the original 1993 form overflows - on a fixed grid of 32 panels with a 20-point Gauss-Legendre rule on each, covering frequencies up to 160. Fixed quadrature matters: the same inputs always produce the same price, to the cent, on every run.

The integral returns two probabilities. P2 is the risk-neutral probability that the option finishes in the money; P1 is the same probability under the share measure, and the call price is S x P1 - K e^-rT x P2. In the first example P1 is 0.6919 and P2 is 0.6181, giving a call of $10.39 and, by put-call parity, a put of $5.52. The put in the second example costs $9.24 - more than its $5.72 companion call, because the spot of 95 sits below the strike of 100 and the high starting variance inflates both wings.

Worked examples

Example 1: Spot price 100; Strike price 100; Time to expiry 1; Risk-free rate 5; Initial variance v0 0.04; Kappa - variance mean reversion 2; Theta - long-run variance 0.04; Sigma - volatility of variance 0.3; Rho - spot/variance correlation -0.7; Option type: Call. Option price = $10.39. Supporting values: Risk-neutral probability P1 0.6919; Risk-neutral probability P2 0.6181; Expected average variance 4.00%; Companion option value $5.52. Inputs: spot $100.00, strike $100.00, expiry 1.00 years, rate 5.00%, initial variance 0.0400, kappa 2.00, theta 0.0400, vol-of-vol 0.30, rho -0.70. The little-trap Heston characteristic function is integrated with a 32-panel, 20-point Gauss-Legendre rule on [0, 160] to obtain the two risk-neutral probabilities. P1 = 0.6919 and P2 = 0.6181; the discounted strike term is K e^-rT = $95.12. Price = S x P1 - K e^-rT x P2 (call) or its put-call-parity twin = $10.39; the expected average variance over the life is 4.00%.

Example 2: Spot price 95; Strike price 100; Time to expiry 0.5; Risk-free rate 3; Initial variance v0 0.09; Kappa - variance mean reversion 1.5; Theta - long-run variance 0.06; Sigma - volatility of variance 0.4; Rho - spot/variance correlation -0.5; Option type: Put. Option price = $9.24. Supporting values: Risk-neutral probability P1 0.5014; Risk-neutral probability P2 0.4254; Expected average variance 8.11%; Companion option value $5.72. Inputs: spot $95.00, strike $100.00, expiry 0.50 years, rate 3.00%, initial variance 0.0900, kappa 1.50, theta 0.0600, vol-of-vol 0.40, rho -0.50. The little-trap Heston characteristic function is integrated with a 32-panel, 20-point Gauss-Legendre rule on [0, 160] to obtain the two risk-neutral probabilities. P1 = 0.5014 and P2 = 0.4254; the discounted strike term is K e^-rT = $98.51. Price = S x P1 - K e^-rT x P2 (call) or its put-call-parity twin = $9.24; the expected average variance over the life is 8.11%.

Example 3: Spot price 120; Strike price 110; Time to expiry 2; Risk-free rate 4; Initial variance v0 0.02; Kappa - variance mean reversion 3; Theta - long-run variance 0.05; Sigma - volatility of variance 0.25; Rho - spot/variance correlation 0.2; Option type: Call. Option price = $24.25. Supporting values: Risk-neutral probability P1 0.7573; Risk-neutral probability P2 0.6561; Expected average variance 4.50%; Companion option value $5.80. Inputs: spot $120.00, strike $110.00, expiry 2.00 years, rate 4.00%, initial variance 0.0200, kappa 3.00, theta 0.0500, vol-of-vol 0.25, rho 0.20. The little-trap Heston characteristic function is integrated with a 32-panel, 20-point Gauss-Legendre rule on [0, 160] to obtain the two risk-neutral probabilities. P1 = 0.7573 and P2 = 0.6561; the discounted strike term is K e^-rT = $101.54. Price = S x P1 - K e^-rT x P2 (call) or its put-call-parity twin = $24.25; the expected average variance over the life is 4.50%.

Reading P1, P2 and the average variance

P2 is the number to quote when someone asks how likely exercise is: it is the risk-neutral chance the option pays out. P1 is larger whenever the option is in the money in expectation, because the share measure weights states by the terminal price itself. The gap between them is a quick diagnostic of how much of the price is intrinsic-like value and how much is time value bought from the tails.

The expected average variance is the third diagnostic. It blends v0 and theta with the weight (1 - e^-kappa T)/(kappa T): at the first example's settings it is exactly 4.00%, because v0 equals theta, while in the second example the stressed start pulls it to 8.11% against a theta of 6%. Comparing the price with a Black-Scholes price at that average variance isolates what the stochastic machinery itself adds - in most calibrations a modest amount at the money and a great deal in the wings.

Heston vs Black-Scholes

Set sigma to zero and v0 equal to theta and the Heston price collapses to the Black-Scholes price at volatility sqrt(theta): the model nests the constant-volatility world as a special case, which is the first check any implementation should pass. Away from that corner, the differences are the smile itself. Black-Scholes must use a different volatility for every strike to match market prices; Heston generates the whole strike structure from one parameter set, so a calibrated Heston model can be asked for prices at strikes nobody quotes.

The price of that power is calibration risk. Five parameters fitted to a handful of liquid strikes can trade off against each other - kappa against sigma especially - and two calibrations that agree on today's smile can disagree on forward-looking quantities such as forward volatility. The calculator's fixed grid removes numerical noise from that discussion: whatever differences remain between two parameter sets are the model's, not the integrator's.

Calibration and limits

In practice the parameters come from fitting quoted option prices across strikes and expiries, usually by least squares with the at-the-money options weighted most. The third worked example shows a different regime from the first two: a positive rho of 0.2 and a low starting variance of 0.02 against a theta of 0.05, producing a two-year call of $24.25 on a spot of 120. Note how the expected average variance of 4.50% sits between the start and the long run - over two years the fast kappa of 3 pulls most of the way to theta.

The model prices European options on a single asset with constant rates and no jumps. Barrier and American features need extensions, and the variance process can still imply unrealistic behaviour at very long expiries. Within its remit - vanilla European pricing with a defensible smile - it remains the benchmark stochastic-volatility model three decades on, which is why its parameters, not Black-Scholes volatilities, are what volatility desks argue about.

FAQs

What does the first worked example price the at-the-money call at?

$10.39, with spot and strike both at 100, one year to expiry, v0 and theta both 0.04, sigma 0.3 and rho -0.7.

What is the put worth in the same example?

$5.52. Put-call parity ties the two: the call minus the put equals the spot minus the discounted strike.

What are P1 and P2 in the first example?

P1 is 0.6919 and P2 is 0.6181. P2 is the risk-neutral probability of finishing in the money; P1 is the same probability weighted by the terminal share price.

What does the out-of-the-money put example cost?

$9.24. The spot of 95 is below the 100 strike and the starting variance of 0.09 is high, so the put carries both intrinsic value and expensive tails.

What is the expected average variance in the second example?

8.11% - between the stressed starting variance of 0.09 and the long-run 0.06, weighted by how fast kappa of 1.5 closes the gap over six months.

What does the two-year in-the-money call example cost?

$24.25, with a companion put of $5.80; the positive rho of 0.2 makes this a very different smile regime from the first two examples.

Sources

Related calculators

Black-Scholes Option Calculator
European call and put prices from the Black-Scholes model, with the main Greeks — delta, gamma, vega, theta and rho — worked out alongside.
Implied Volatility Calculator
The volatility the market is pricing into an option: Black-Scholes solved backwards from the premium until the model price matches the market.
SABR Implied Volatility Calculator
The SABR stochastic-volatility model's implied volatility from Hagan's 2002 asymptotic formula, with the at-the-money value and the smile variables z and chi(z).