- Introduced by
- John Crank and Phyllis Nicolson
- Year
- 1947
- Type
- PDE Solver
- Family
- Numerical Methods
What does it do?
The Crank-Nicolson method is an implicit finite difference scheme for solving the partial differential equations that arise in option pricing.
It averages an explicit and an implicit time step, giving second-order accuracy in space and time and unconditional stability for the linear diffusion-type problems it is designed for. Near non-smooth features of the payoff, such as kinks or discontinuities, it can produce spurious oscillations, so the grid and the treatment of early exercise need checking.
The intuition behind the method
Crank-Nicolson takes the average of a forward-in-time (explicit) and a backward-in-time (implicit) difference scheme, which balances accuracy against stability. The option value V(S,t) satisfies the Black-Scholes partial differential equation in time-to-maturity form: a second-order diffusion term in the underlying price S, scaled by the squared volatility; a first-order drift term in the risk-free rate less the dividend yield; and a discounting term at the risk-free rate. Here V is the option value, S the underlying price, t time, sigma the volatility, r the risk-free rate, and q the continuous dividend yield. Implicit finite difference schemes are described in the Handbook of Financial Econometrics, Mathematics, Statistics, and Machine Learning as an accurate and stable approach to solving pricing PDEs. A purely explicit scheme can become unstable unless the time step is small relative to the spatial grid, whereas Crank-Nicolson remains stable for larger time steps. Each time step requires solving a tridiagonal linear system, which the Thomas algorithm solves in time linear in the number of spatial nodes. The scheme is not monotone, so non-smooth data can produce small oscillations in the computed values.
History
Crank and Nicolson published the method in 1947 for the numerical solution of heat-conduction type partial differential equations. The sources available for this page do not document its adoption for option pricing, so no dates are given for that use.
When to use it
Choose Crank-Nicolson for single-factor problems, where the option value satisfies a one-dimensional PDE in the underlying price or in a single short rate, for both European and American exercise, and where accurate and smooth prices are needed. For two-factor problems, use alternating direction implicit (ADI) or similar splitting schemes rather than a full two-dimensional implicit solve. Avoid it for problems with many state variables, where grid size grows too quickly for PDE methods, and use Monte Carlo instead. For payoffs with jumps, such as digital payoffs, refine the grid near the discontinuity and confirm that the price converges as the grid is refined. A common remedy is to take a few fully implicit time steps at the start of the backward march, which damps the oscillations that the Crank-Nicolson averaging can otherwise carry forward.
Limitations and considerations
- One spatial dimension: the method is built for one-dimensional PDEs; two-factor models need ADI or splitting schemes, and a full implicit two-dimensional solve becomes costly quickly
- Grid design: the spatial and temporal resolution and the placement of the grid edges must be chosen by the user, and their adequacy is judged by refinement rather than fixed by the method
- Boundary sensitivity: errors in where or how the boundaries are placed enter the solution at every backward step and can bias prices across the whole grid
- Parallelism: the implicit solve links all nodes within a time step, so it parallelises less readily than the local updates of explicit schemes
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Unconditional stability for the linear diffusion-type problems it targets: the time step is not restricted by stability, so it can be chosen for accuracy instead
- Second-order accuracy in both space and time, compared with the first-order time accuracy of the simple explicit and fully implicit schemes
- Tridiagonal structure: each time step needs only a tridiagonal solve, which the Thomas algorithm performs in time linear in the number of spatial nodes
- Early exercise and non-standard boundaries: the American exercise test is applied node by node during the backward march, and boundary conditions are imposed directly on the grid
Applications
- American option pricing: value American calls and puts on stocks, currencies, and commodities
- Interest rate derivatives: price bonds, swaptions, and caps/floors using short-rate PDEs
- Exotic options: value barrier options, lookback options, and other path-dependent derivatives
- Convertible bonds: price callable convertible bonds with multiple embedded optionalities
- Volatility surfaces: compute option values across strikes and maturities to build implied volatility surfaces
How it works
How it works
Build a spatial grid of underlying prices centred on the strike, and a temporal grid running from the valuation date to maturity. Impose boundary conditions at the two edges of the spatial grid, which depend on whether the option is a call or a put and on its exercise style.
At each time step, discretise the option PDE so that the new values at neighbouring nodes are linked by a tridiagonal linear system, with the explicit and implicit contributions given equal weight. Solve that system with the Thomas algorithm, which takes time linear in the number of spatial nodes.
Step backward in time from maturity, where the payoff is known, toward the valuation date. For an American option, after each step replace the continuation value at every node by the larger of the exercise payoff and the continuation value. A European option has no such check.
Read off the option value at the current underlying price, interpolating between grid nodes if the spot is not on the grid.
Common pitfalls
- Edge placement: a spatial range that is too narrow puts the artificial boundaries in the region where the option has value, which corrupts the prices; widen the range and check that the price does not change
- Direction of time-stepping: the backward induction must start from the payoff at maturity; marching in the wrong direction gives a meaningless result, so always step from maturity toward the valuation date
- Oscillations from non-smooth data: kinks or discontinuities in the payoff, or a coarse grid, can produce spurious oscillations near those features even though the scheme is stable; refine the grid near the feature and check convergence
- Early exercise: for American options the exercise test must be applied at each node after the continuation value is computed; applying it only at the strike or only at the end of the procedure gives an incorrect price
Frequently asked questions
How do I choose spatial and temporal grids?
The method does not fix a grid size, so choose the grid by a refinement study: increase the number of spatial points and time steps until the computed price stops changing materially. Align the time steps with the decision dates that matter, such as reset dates or dividend dates. Define the mesh ratio as lambda = sigma^2 * Delta_t / (2 * Delta_x^2). For this scheme it does not set a stability limit, so it bears on accuracy rather than stability, and the grid should be chosen by checking convergence rather than by targeting a particular value of lambda.
What boundary conditions should I use?
The edges depend on the option type and exercise style. For a call, the value is zero at a zero underlying price, and far above the strike a European call approaches the underlying price less the discounted strike. For a put, the value at a zero underlying price is the strike for an American put and the discounted strike for a European put, and far above the strike the value tends to zero. Place the edges well away from the strike and check that the computed price is insensitive to moving them.
How do I handle dividends?
A continuous dividend yield enters the drift term of the PDE, so it is handled by changing the coefficients. A discrete dividend is a jump: the option value drops by the dividend amount at the dividend date, so the solution must be adjusted at that date.
Can I use Crank-Nicolson for two-factor models?
In principle yes, but a full two-dimensional implicit solve is much more costly than the one-dimensional case because the linear system grows with the grid in both directions. Alternating direction implicit (ADI) methods split each two-dimensional step into one-dimensional solves applied in turn, which is why they are the usual choice for two-factor problems. Monte Carlo methods are the common alternative when more factors are needed.
Related methods
Sources
Crank, J., & Nicolson, P. (1947). A practical method for numerical evaluation of solutions of partial differential equations of the heat-conduction type. Mathematical Proceedings of the Cambridge Philosophical Society, 43(1), 50-67.
Open DOI referenceFornberg, B. (1996). A Practical Guide to Pseudospectral Methods. Cambridge University Press.
Open DOI referenceHandbook of Financial Econometrics, Mathematics, Statistics, and Machine Learning (2020), section 39.3.1