Nelson-Siegel Yield Curve Calculator

Inputs

Spot yield5.09%
Instantaneous forward rate5.14%
Short rate (maturity -> 0)4.00%
Long-run level (beta0)5.00%
How this was calculated
  1. Inputs: beta0 5.00%, beta1 -1.00%, beta2 1.50%, lambda 1.50 years, maturity 5.00 years.
  2. x = tau/lambda = 3.333; e^-x = 0.0357; the level loading A = (1 - e^-x)/x = 0.2893.
  3. Yield = beta0 + beta1 x A + beta2 x (A - e^-x) = 5.00 + -1.00 x 0.2893 + 1.50 x 0.2536 = 5.09%.
  4. The instantaneous forward rate at this maturity is beta0 + beta1 e^-x + beta2 x e^-x = 5.14%; as maturity grows the yield settles to the long-run level beta0 = 5.00%.

Fitting a whole yield curve used to mean interpolating between quoted bonds and hoping the gaps behaved. The Nelson-Siegel model replaces that patchwork with four numbers: a level, a slope, a curvature and a decay rate. Give this calculator those four parameters and a maturity, and it returns the model's spot yield at that maturity together with the instantaneous forward rate - the two quantities that price bonds, discount cash flows and anchor almost every term-structure discussion since 1987.

Worked examples

Upward curve, 5-year point

(5 % · -1 % · 1.5 % · 1.5 years · 5 years)

Spot yield5.09%
Instantaneous forward rate5.14%
Short rate (maturity -> 0)4.00%
Long-run level (beta0)5.00%

Low steep curve, 2-year point

(3.2 % · -1.8 % · 3 % · 0.8 years · 2 years)

Spot yield3.39%
Instantaneous forward rate3.67%
Short rate (maturity -> 0)1.40%
Long-run level (beta0)3.20%

Inverted curve, 10-year point

(6.5 % · 0.8 % · -2 % · 2.5 years · 10 years)

Spot yield6.24%
Instantaneous forward rate6.37%
Short rate (maturity -> 0)7.30%
Long-run level (beta0)6.50%

What the four parameters mean

Charles Nelson and Andrew Siegel proposed the form in 1987 as the simplest curve that could be level, sloped or humped. Beta0 is the level: the yield every maturity converges to as maturity grows without bound, and the model's picture of the long-run rate. Beta1 is the slope component: it loads fully at maturity zero and decays away, so beta0 + beta1 is the short rate and a negative beta1 produces the familiar upward-sloping curve. Beta2 is the curvature component: its loading rises from zero, peaks at intermediate maturities and falls back, which lets the curve carry a hump or a trough in its belly without disturbing either end.

Lambda, the decay parameter, sets where that hump sits and how fast the slope component dies. A small lambda concentrates everything at the short end; a large one pushes the curvature peak years out and makes the slope linger. Because the same four numbers generate the entire curve, the model is parsimonious in the strong sense: change one parameter and you can say exactly which feature of the curve moved, which is why central banks still publish Nelson-Siegel fits alongside their official curves.

  • Beta0 - the long-run level the curve settles to
  • Beta1 - the slope; beta0 + beta1 is the instantaneous short rate
  • Beta2 - the curvature; its loading peaks in the belly of the curve
  • Lambda - the decay rate that positions the hump

From fitted betas to a full curve

With x = tau/lambda, the spot yield is beta0 + beta1 x (1 - e^-x)/x + beta2 x ((1 - e^-x)/x - e^-x). The first loading is one at the origin and decays to zero; the second starts at zero, humps and decays. The instantaneous forward rate at the same maturity has the even simpler form beta0 + beta1 e^-x + beta2 x e^-x, so spot and forward curves come from one fit and can never contradict each other - a consistency that boot-strapped curves only achieve with care.

In the first worked example below, beta0 of 5, beta1 of -1, beta2 of 1.5 and lambda of 1.5 years produce a 5-year spot yield of 5.09% and a forward rate of 5.14%: a gently rising curve with a mild hump, sitting between its 4.00% short rate and its 5.00% long-run level. The second example shows a steeper, low-level curve, and the third an inverted one in which beta1 is positive and the short rate of 7.30% sits above the 6.50% level.

Maturity regionDominant parameterWhat moves it
Very shortBeta0 + beta1The policy-rate end of the curve
IntermediateBeta2 and lambdaThe hump or trough in the belly
Very longBeta0The long-run neutral level

Worked examples

Example 1: Beta0 - long-run level 5; Beta1 - slope component -1; Beta2 - curvature component 1.5; Lambda - decay parameter 1.5; Maturity 5. Spot yield = 5.09%. Supporting values: Instantaneous forward rate 5.14%; Short rate (maturity -> 0) 4.00%; Long-run level (beta0) 5.00%. Inputs: beta0 5.00%, beta1 -1.00%, beta2 1.50%, lambda 1.50 years, maturity 5.00 years. x = tau/lambda = 3.333; e^-x = 0.0357; the level loading A = (1 - e^-x)/x = 0.2893. Yield = beta0 + beta1 x A + beta2 x (A - e^-x) = 5.00 + -1.00 x 0.2893 + 1.50 x 0.2536 = 5.09%. The instantaneous forward rate at this maturity is beta0 + beta1 e^-x + beta2 x e^-x = 5.14%; as maturity grows the yield settles to the long-run level beta0 = 5.00%.

Example 2: Beta0 - long-run level 3.2; Beta1 - slope component -1.8; Beta2 - curvature component 3; Lambda - decay parameter 0.8; Maturity 2. Spot yield = 3.39%. Supporting values: Instantaneous forward rate 3.67%; Short rate (maturity -> 0) 1.40%; Long-run level (beta0) 3.20%. Inputs: beta0 3.20%, beta1 -1.80%, beta2 3.00%, lambda 0.80 years, maturity 2.00 years. x = tau/lambda = 2.500; e^-x = 0.0821; the level loading A = (1 - e^-x)/x = 0.3672. Yield = beta0 + beta1 x A + beta2 x (A - e^-x) = 3.20 + -1.80 x 0.3672 + 3.00 x 0.2851 = 3.39%. The instantaneous forward rate at this maturity is beta0 + beta1 e^-x + beta2 x e^-x = 3.67%; as maturity grows the yield settles to the long-run level beta0 = 3.20%.

Example 3: Beta0 - long-run level 6.5; Beta1 - slope component 0.8; Beta2 - curvature component -2; Lambda - decay parameter 2.5; Maturity 10. Spot yield = 6.24%. Supporting values: Instantaneous forward rate 6.37%; Short rate (maturity -> 0) 7.30%; Long-run level (beta0) 6.50%. Inputs: beta0 6.50%, beta1 0.80%, beta2 -2.00%, lambda 2.50 years, maturity 10.00 years. x = tau/lambda = 4.000; e^-x = 0.0183; the level loading A = (1 - e^-x)/x = 0.2454. Yield = beta0 + beta1 x A + beta2 x (A - e^-x) = 6.50 + 0.80 x 0.2454 + -2.00 x 0.2271 = 6.24%. The instantaneous forward rate at this maturity is beta0 + beta1 e^-x + beta2 x e^-x = 6.37%; as maturity grows the yield settles to the long-run level beta0 = 6.50%.

Reading the forward curve

The forward rate is the market's implied future short rate under the model, and its shape is often more informative than the spot curve's. A forward curve that rises above the level and comes back describes a market pricing a tightening cycle that eventually reverses; one that dips first describes expected cuts. Because the Nelson-Siegel forward is a smooth two-exponential form, it cannot produce the jagged forwards that meeting-by-meeting pricing implies around central bank dates - that smoothness is the model's main known distortion.

Practitioners handle the distortion by remembering what the fit is for. For valuing a bond portfolio, discounting a pension liability or comparing today's curve with last month's, smoothness is a feature: it filters quote noise. For extracting the expected rate at one specific future meeting, it is the wrong tool, and market prices of the relevant futures or overnight swaps should be used directly.

Nelson-Siegel vs Svensson and other curves

The Svensson extension adds a second curvature term with its own decay parameter, giving the curve two humps. It fits real curves - especially long ones with structure at both the medium and long end - noticeably better, at the cost of two more parameters to estimate and occasional instability in the second hump's position. Diebold and Li (2006) reinterpreted the original model dynamically, treating the three betas as time-varying factors identified with level, slope and curvature, and that version became a forecasting standard.

Against spline and bootstrapping methods the trade-off is the classic one: parametric curves impose shape and gain stability and interpretability; non-parametric curves follow every quote and inherit every quote's noise. Most official-sector curve publications use a parametric form for the headline curve precisely because a minister or a risk committee can be told what moved in words - the level rose, the slope flattened - rather than in basis points at one tenor.

Using the calculator well

Fit the parameters to the market first, then interrogate the curve. In practice the betas come from a least-squares fit to quoted yields across maturities; small changes in lambda can reshuffle beta1 and beta2 substantially while barely changing the fitted curve, so compare curves, not parameters, when judging whether the market has moved. The calculator's forward rate and short and long anchors are there to make that comparison quick: if two fits give nearly identical yields everywhere but very different forwards at one maturity, the difference is estimation noise, not signal.

Finally, remember the model's yields are continuously compounded spot rates in the convention of the original paper. Converting to bond-equivalent or annually compounded yields is a separate step, and mixing conventions is the most common source of apparent misfits when a Nelson-Siegel curve is checked against quoted bond yields.

The dynamic reading of the model deserves one more emphasis, because it changed how the curve is used in forecasting. When Diebold and Li (2006) let the three betas evolve as time series, the fitted level tracked long-run inflation expectations, the slope tracked the monetary policy cycle, and the curvature tracked medium-term growth sentiment - three macroeconomic stories wearing one curve's clothing. A forecaster can therefore read today's fit as a compressed summary of the market's macro view, and this calculator's anchors - the short rate at one end, the level at the other - are exactly the coordinates in which that summary is stated.

For risk work the same compression is a warning. A portfolio's curve exposure summarised in three Nelson-Siegel factors will miss any real curve movement that the four-parameter family cannot bend into - a kink at one tenor from a supply event, for instance. The factors explain the overwhelming majority of historical curve variance, which is why they are used, but the residual is where idiosyncratic risk hides, and a desk that hedges only the factors should know it has chosen to carry the residual unhedged.

FAQs

What spot yield does the first worked example give at 5 years?

With beta0 of 5, beta1 of -1, beta2 of 1.5 and lambda of 1.5 years, the 5-year spot yield is 5.09%, between the 4.00% short rate and the 5.00% long-run level.

What is the instantaneous forward rate in that example?

It is 5.14% - slightly above the spot yield, as it must be on a curve that is still rising gently at that maturity.

What yield does the upward-sloping second example give?

The low-level curve with beta0 of 3.20% gives a 2-year yield of 3.39%, up from a short rate of 1.40%.

What yield does the inverted third example give at 10 years?

It gives 6.24%: with beta1 positive, the curve starts at a 7.30% short rate and falls toward the 6.50% level.

What is the short rate in the first example?

The short rate is beta0 + beta1, which is 4.00% in the first example - the curve's value as maturity shrinks to zero.

What decay parameter does the first example use?

Lambda is 1.5 years, which places the curvature loading's peak in the early, medium part of the curve.

Sources

Related calculators

Bond Yield Calculator
Current yield and approximate yield to maturity for a bond bought at a discount or premium — the two numbers that tell you what a bond really pays.
Tax-Equivalent Yield Calculator
What a tax-exempt municipal bond yield is really worth to you: the taxable yield you would need to match it after federal and state taxes.
Earnings Yield Calculator
Earnings per share as a percentage of the share price — the inverted P/E, in the one form you can compare directly against bond yields and interest rates.