Whether you build a yield curve or use it to value instruments, the choice of interpolation changes the valuation. For an instrument with cash flows on dates between the points, it also changes how sensitivity is allocated, which shapes the hedging.
Prerequisites
- Bootstrapping a Yield Curve PractitionerTo check first how market rates give the discount factors at the points, and the fixed rate example
- Zero Rates and Forward Rates PractitionerTo check first how discount factors, zero rates, and forward rates convert into one another
Key points
- The quantity you interpolate (discount factor, zero rate, or fixed rate) sets the forward rate between the points.
- Linear interpolation of the log discount factor gives a constant forward rate in each interval.
- With the same three points, the interpolation method moves the 3-year present value of 100 by 1.89.
- A cubic spline can turn the forward rate negative, and a change at one point reaches far.
What interpolation determines
The discount factors found by bootstrapping exist only at the maturities where a market rate is available, such as 1, 2, and 5 years. The cash flows you want to value are also paid on dates in between. Interpolation fills in the discount factor and the forward rate between the points using a stated assumption.
When the number of market instruments is smaller than the number of discount factors to find, the system of equations has no unique solution. The interpolation fixes the solution by limiting the shape of the curve1.
Three hypothetical points
Consider a hypothetical example in which points have been found from market rates at 1, 2, and 5 years. The zero rate is the spot rate expressed with continuous compounding, and the discount factor is . The zero rate here is compounded continuously, unlike the annually compounded rate used in bootstrapping.
| Maturity (years) | Discount factor | Zero rate (%) | |
|---|---|---|---|
| 0 | 1.000000 | 0.00 | n/a |
| 1 | 0.970446 | −0.03 | 3.00 |
| 2 | 0.923116 | −0.08 | 4.00 |
| 5 | 0.904837 | −0.10 | 2.00 |
The discount factor falls as maturity increases. From the differences in the log discount factor, the average forward rate in each interval is 3.00% over 0–1 years, 5.00% over 1–2 years, and 0.67% over 2–5 years. The zero rates and discount factors between the points are not determined by the market rates. The interpolation determines them.
The interpolated quantity and conversion formulas
Write the log discount factor as . The zero rate is then . The instantaneous forward rate is the negative of the slope of , and the average forward rate over the interval comes from the difference in over that interval2.
equals the average of over the interval2.
The discount factor, its logarithm, the zero rate, and the forward rate convert into one another by formulas. The quantity you interpolate is one of these, and its shape determines the shape of the others. When you interpolate the fixed rate, you find the discount factors in order from the interpolated fixed rates, so the bootstrapping procedure determines the shape of the discount factors.
In this example, the values at the points are fixed first, and the interpolation determines only what lies between them. In an actual construction, the values at the points can also move ("Assumptions and limits").
Methods and formulas
Let the points be , and let be a maturity inside the interval .
Three quantities interpolated linearly
Linear in the discount factor. Make a straight line within the interval. If you use only points where falls as maturity increases, the forward rate stays positive. The slope is constant within the interval, but the denominator shrinks as falls, so the forward rate rises gradually within the interval and jumps at the points.
Linear in the zero rate. Make a straight line within the interval. If , the formula above gives . The forward rate moves linearly within the interval, and it jumps at the points if the slope differs from one interval to the next. If the slope is large and negative, the forward rate turns negative.
Linear in the log discount factor. Make a straight line within the interval. The slope is constant, so the forward rate in the interval is constant at the average . This method is also called "raw" interpolation3.
Splines and monotonicity-preserving interpolation
Cubic spline. Join cubic polynomials interval by interval so that the value, the slope, and the curvature (second derivative) are continuous at the points. Setting the curvature at both ends to zero is called the natural boundary condition. Applied to , this method makes the forward rate a piecewise quadratic that joins smoothly at the points. It is the same curve as the "area-preserving quadratic spline," which joins the forward rate with piecewise quadratics4.
The coefficients are found by solving a system of equations over the values at all the points. A change in the value at one point therefore changes the curve in distant intervals as well.
Monotonicity-preserving interpolation. Join the intervals with cubic polynomials, and choose the slope at each point so that is monotone5. Applied to , it keeps the forward rate positive as long as the discount factor falls with maturity6. Ways of choosing the slope include the Hyman filter, which caps the slope, and a method that takes the harmonic mean of the slopes of the neighboring intervals.
Deep diveThe formula that sets the slope by a harmonic mean
Let and be the average slopes of over two adjacent intervals. When , the slope at the point is the weighted harmonic mean given by the following formula7.
When , set . This slope depends only on the values of the neighboring intervals. The slopes at the two ends are set by a three-point formula and then limited so that the curve stays monotone7.
Linear interpolation of the fixed rate
You can also fill in a fixed rate at a maturity with no market rate from the fixed rates at the neighboring maturities8. For an annual-pay swap of years, setting the value to 0 gives the discount factor at years from the fixed rate and the sum of the discount factors up to the previous maturity. This is the same relation as the bootstrapping formula in the prerequisite article.
From the interpolated fixed rates, you find the discount factors in order from 1 year with this formula. The discount factors between the points come from this procedure, not from an interpolation formula.
Consider a hypothetical example in which the fixed rates are 1.00% at 1 year, 1.50% at 2 years, and 3.00% at 5 years, with none at 3 and 4 years. Connecting the 2-year and 5-year fixed rates with a straight line gives 2.00% at 3 years and 2.50% at 4 years. The following table finds the discount factors in order from these five fixed rates and then the forward rate for each year.
| Year | Fixed rate (%) | Discount factor | Forward rate for the year (%) |
|---|---|---|---|
| 1 | 1.00 | 0.990099 | 1.00 |
| 2 | 1.50 | 0.970590 | 2.01 |
| 3 | 2.00 (interpolated) | 0.941947 | 3.04 |
| 4 | 2.50 (interpolated) | 0.904814 | 4.10 |
| 5 | 3.00 | 0.859977 | 5.21 |
The 3-year discount factor is , where 1.960689 is the sum of the 1-year and 2-year discount factors. At 4 years, the sum is 2.902636 and the discount factor is . At 5 years, the sum is 3.807450 and the discount factor is . The discount factors and fixed rates are computed from unrounded values and rounded for display.
The forward rate for each year is the annually compounded rate from the ratio to the previous year's discount factor. With a straight line in the fixed rate, the forward rate keeps rising with maturity. The 5-year discount factor of 0.859977 is the value for a straight line in the fixed rate. The 0.860519 in the prerequisite article is the value for a straight line in the log discount factor, and is a different value. The comparison with that case is in the section "Linear interpolation of the log discount factor and of the fixed rate" of the prerequisite article.
Worked example: three points, five ways
Values of the five methods
Connect the three zero-rate points above in five ways. For linear interpolation of the zero rate, the rate is held constant at 3.00% over 0–1 years. The cubic spline is applied to with the natural boundary condition, and the monotonicity-preserving interpolation is applied to with harmonic-mean slopes. Both are values found by solving a system of equations or a formula numerically. The following table compares the instantaneous forward rate (%) and the 3-year discount factor.
| Interpolation method | 0.5 years | 1.5 years | 3 years | 4.5 years | 3-year discount factor |
|---|---|---|---|---|---|
| Linear in the discount factor | 3.00 | 5.00 | 0.66 | 0.67 | 0.917023 |
| Linear in the zero rate | 3.00 | 5.00 | 1.33 | −0.67 | 0.904837 |
| Linear in the log discount factor | 3.00 | 5.00 | 0.67 | 0.67 | 0.916983 |
| Cubic spline (natural boundary condition) | 2.84 | 5.32 | 1.29 | −1.05 | 0.898117 |
| Monotonicity-preserving (harmonic mean) | 3.06 | 6.23 | 0.89 | 0.22 | 0.912855 |
You can follow the three linear methods by hand. With linear interpolation of the log discount factor, the forward rate is constant at the average 5.00% over 1–2 years and at over 2–5 years. The log at 3 years is , so the discount factor is .
With linear interpolation of the discount factor, the 3-year value is . With linear interpolation of the zero rate, the zero rate over 2–5 years is (%), so the 3-year zero rate is 3.33%. The discount factor is , the same value as the 5-year discount factor.
Spread in present value
The present value of 100 received in 3 years is the discount factor times 100. It is 89.81 with the cubic spline and 91.70 with linear interpolation of the discount factor, a difference of 1.89. The values at the points are the same in all five methods, so this difference comes from the interpolation alone.
Switching from the spline to linear interpolation of the discount factor raises the receiver's valuation by 1.89. Switching the other way lowers it by 1.89. This magnitude is set by the shape of these three points and would differ for a curve of another shape.
Forward rates that turn negative
In the table above, the forward rates under linear interpolation of the zero rate and under the cubic spline are negative at 4.5 years. The cubic spline turns negative from about 3.6 years and reaches −1.20% at 5 years. The discount factors at the points fall with maturity, and nothing in the values at the points indicates arbitrage.
With linear interpolation of the zero rate, is a quadratic function of maturity. can rise at both ends of an interval and still fall in the middle. In this example peaks at 10.67% at 4 years and falls to 10.00% at 5 years. is the slope of , so it is negative after 4 years.
A negative forward rate means the discount factor rises with maturity. Some criteria for an arbitrage-free curve require the forward rate to be positive3.
To tell whether a negative forward rate comes from the market rates or only from the interpolation, change the interpolation and see if it persists. In this example, the cubic spline and the straight line in the zero rate turn negative because of the shape of the interpolation, even though the values at the points are the same. The straight line in the log discount factor and the monotonicity-preserving interpolation stay positive at the same points.
In Figure 1, the straight line in the zero rate turns negative after 4 years, and the straight line in the log discount factor is positive throughout.
Figure description
The line that is linear in the log discount factor is a staircase, constant within each interval, and positive throughout. The line that is linear in the zero rate rises over 1–2 years, jumps down at 2 years, then keeps falling and turns negative after 4 years. The vertical parts are jumps at the points. The cubic spline and the other methods appear in the simulator below.
The forward rate at 4.5 years is −1.05% with the cubic spline and 0.67% with linear interpolation of the log discount factor. The present value of 100 received in 3 years is 89.81 and 91.70.
- Linear in the log discount factor
- Cubic spline (natural boundary)
Present value and instantaneous forward rate (%) of the five interpolations (same node zero rates)
| Method | Present value | 0.5 yr | 1.5 yr | 3 yr | 4.5 yr |
|---|---|---|---|---|---|
| Linear in the discount factor | 91.70 | 3.00 | 5.00 | 0.66 | 0.67 |
| Linear in the zero rate | 90.48 | 3.00 | 5.00 | 1.33 | −0.67 |
| Linear in the log discount factor | 91.70 | 3.00 | 5.00 | 0.67 | 0.67 |
| Cubic spline (natural boundary) | 89.81 | 2.84 | 5.32 | 1.29 | −1.05 |
| Monotone-preserving (harmonic mean) | 91.29 | 3.06 | 6.23 | 0.89 | 0.22 |
Change in the zero rate (bp) when the 2-year zero rate rises 1bp
| Method | 0.5 yr | 1.5 yr | 3 yr | 4.5 yr |
|---|---|---|---|---|
| Linear in the discount factor | 0.00 | 0.65 | 0.45 | 0.08 |
| Linear in the zero rate | 0.00 | 0.50 | 0.67 | 0.17 |
| Linear in the log discount factor | 0.00 | 0.67 | 0.44 | 0.07 |
| Cubic spline (natural boundary) | −0.45 | 0.62 | 0.90 | 0.21 |
| Monotone-preserving (harmonic mean) | −0.39 | 0.80 | 0.34 | 0.02 |
- Present value of 100 received in 3 years
- 91.70
- Gap between the highest and lowest of the five present values
- 1.89
- Lowest forward rate (0–5 years, linear in the log discount factor)
- 0.67%
Simplifications
- The nodes are the zero rates at 1, 2 and 5 years (continuously compounded, DF(t) = e^(−r·t)), taken as given; only the points between them are interpolated. In a real build, changing the interpolation can also move the node values.
- The linear zero-rate method holds the zero rate at the 1-year value from 0 to 1 year. The cubic spline and the monotone-preserving method are fitted to the log discount factor.
- The sensitivity moves the 2-year zero rate directly by 1bp and interpolates again. In practice, a market rate is moved and the curve is rebuilt.
- Extrapolation beyond 5 years is not covered. For some node values the discount factor rises with maturity (a negative forward rate); inputs are not blocked and the lowest forward rate is shown in the results.
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 1-, 2-, and 5-year zero rates and the time at which 100 is received, and change the interpolation method to see the shape of the instantaneous forward rate and the present value. The chart compares the method of the solid line with that of the dashed line, and the initial values are linear interpolation of the log discount factor and the cubic spline. Changing the method of the solid line shows which methods give a negative lowest forward rate in the results. Two tables list, for the five methods, the present value and the forward rate, and the change in the zero rate when the 2-year zero rate rises 1bp.
Interpolation and hedging
Interpolation also changes how sensitivity to interest rate changes is allocated. One way to find the key rate sensitivity is to move one market rate, rebuild the curve, and revalue the position9. If the interpolation carries a change at one point to distant maturities, the sensitivity is allocated to rates at distant maturities as well.
For hedging, one criterion for comparing interpolations is whether most of the sensitivity is allocated to hedging instruments with nearby maturities3.
The following table shows the change in the zero rate (bp) when the 2-year zero rate among the three points above is raised by 1bp. In practice you would move a market rate and rebuild the curve, but here the zero rate at the point is moved directly, as a simplification. All five rows are found numerically.
| Interpolation method | 0.5 years | 1.5 years | 3 years | 4.5 years |
|---|---|---|---|---|
| Linear in the discount factor | 0.00 | 0.65 | 0.45 | 0.08 |
| Linear in the zero rate | 0.00 | 0.50 | 0.67 | 0.17 |
| Linear in the log discount factor | 0.00 | 0.67 | 0.44 | 0.07 |
| Cubic spline (natural boundary condition) | −0.45 | 0.62 | 0.90 | 0.21 |
| Monotonicity-preserving (harmonic mean) | −0.39 | 0.80 | 0.34 | 0.02 |
With the three linear methods, moving the 2-year point does not move anything over 0–1 years. The cubic spline also moves the zero rate at 0.5 years, before the 1-year point, with the opposite sign, and it still moves at 4.5 years, a wider spread than the other methods.
The same position is allocated to the hedging instruments at each maturity differently depending on the method. Which way that difference moves the actual hedging result, as a profit or a loss, depends on how the market moves, and this example does not settle it. How to find the value and DV01 of an interest rate swap from an interpolated curve is covered in Valuing an Interest Rate Swap.
How to choose an interpolation
Criteria and assessments
Compare interpolations with the following criteria used in Le Floc'h's interpolation paper. Criteria a to e are those of Hagan and West (2006), and f is a criterion added by Le Floc'h3. The names in the left column are short labels for criteria that the paper states as questions.
| Criterion | What it looks at |
|---|---|
| a No arbitrage | Whether the forward rate is positive |
| b Forward rate appearance | Whether the forward rate is as continuous as possible |
| c Locality of the interpolation | When one input changes, whether the curve changes only nearby |
| d Forward rate stability | Whether the change in the forward rate is small relative to the change in the inputs |
| e Locality of the hedge | Whether most of the sensitivity is allocated to hedging instruments with nearby maturities |
| f Sequential versus parallel sensitivity | Whether the sum of the sensitivities from moving the inputs one at a time is close to the sensitivity from moving them all in parallel |
In the same paper's assessment, linear interpolation of the log discount factor satisfies the criteria except for the continuity of the forward rate (criterion b). The cubic spline fails criteria a and e, and layering the Hyman filter on top still does not satisfy criterion e3. The monotonicity-preserving interpolation that sets the slope by a harmonic mean is concluded to be local, stable, and monotone10.
In the worked example, linear interpolation of the zero rate and the cubic spline have a negative forward rate at 4.5 years and fail criterion a. Every method has trade-offs, and the choice depends on which criteria you give priority to.
History up to around 2020
Interpolating the discount factor is the traditional approach. Hagan and West's monotone convex interpolation builds the instantaneous forward rate from discrete forward rates and includes modifications that keep the forward rate positive and monotone. After it was introduced, constructions based on interpolating discrete forward rates became more widespread by around 20201112.
In practice around 2020, once negative rates had appeared, many practitioners removed these modifications. The modifications can also make hedging unstable12. Hagan and West's monotone convex interpolation is noted to sometimes fail to produce a stable curve when the points are moved one at a time10.
Assumptions and limits
This example fixes the values at the points first and then interpolates, so bootstrapping and interpolation are separated. In practice, the parameters of the interpolation formula are solved numerically to match the market rates. Changing the interpolation can move not only the values at maturities with no market rate but also the values at the points1. Even with the values at the points held fixed, the change in present value from switching methods is shown in "Spread in present value" in the worked example.
Beyond the last point, you are extrapolating rather than interpolating. Extrapolating with a constant forward rate corresponds to extending along a straight line13.
When a cubic spline is fitted to the log discount factor, the change in the underlying values is smoothed by the multiplication by maturity. A clear oscillation needs a change in the zero rate far from reality14. A market curve will not necessarily take the shape of this example, and whether the forward rate turns negative for an actual curve depends on the values at the points.
The interpolation here is written on the assumption of a single curve for both discounting and projection. Some environments build separate curves by index and tenor, and in those environments you can also fit the cubic spline directly to discrete forward rates over a fixed period15. Besides the five methods above, there are also tension splines and smoothing splines1016.
What this article does not cover
- How to split curves between discounting and projection is not covered on this page. It is covered in The Multi-Curve Framework.
- How to convert dates into year fractions is not covered on this page. It is covered in Day Count Conventions.
Notes
-
Jherek Healy, "Equivalence between forward rate interpolations and discount factor interpolations for the yield curve construction" (external site) (2020; the "Healy paper"), Section 2 (page 3). ↩ ↩2
-
The Healy paper (external site), Section 2 (page 2), equations (2) to (7). The paper's corresponds to in the text. ↩ ↩2
-
Fabien Le Floc'h, "Stable Interpolation for the Yield Curve" (external site) (version 1.3, July 2013; the author's draft; the "Le Floc'h interpolation paper"), Section 1.3 (page 2). Criteria a to e are those used by Hagan and West (2006), and f is added by Le Floc'h. ↩ ↩2 ↩3 ↩4 ↩5
-
The Healy paper (external site), Sections 4 and 5 (pages 4 to 5). ↩
-
The Le Floc'h interpolation paper (external site), Sections 3.1 and 3.2 (pages 6 to 8). ↩
-
The Le Floc'h interpolation paper (external site), Section 3.1 (page 7). ↩
-
The Le Floc'h interpolation paper (external site), Section 3.4 (pages 9 to 10), equations (27) to (32). The text uses the same symbols and . ↩ ↩2
-
Financial System and Bank Examination Department, Center for Advanced Financial Technology, Bank of Japan, "スポットレートとその応用" (in Japanese) (external site), Reference Material 5, "スポットレートの計算式", page 8, the formulas and the note. The formula in the text solves those relations for the discount factor. ↩
-
The Le Floc'h interpolation paper (external site), Section 1.2 (page 2). ↩
-
The Le Floc'h interpolation paper (external site), Section 5 (page 14) and the abstract (page 1). ↩ ↩2 ↩3
-
The Healy paper (external site), Section 1 (page 1). ↩
-
The Healy paper (external site), Section 3 (page 3). ↩ ↩2
-
The Healy paper (external site), Section 4 (page 5), last paragraph. ↩
-
The Healy paper (external site), Section 5 (page 5), last paragraph. ↩
-
The Healy paper (external site), Sections 1 and 6 (pages 1 and 6). ↩
-
The Healy paper (external site), Section 8 (page 11), last paragraph. ↩