Yield Curve Interpolation: Estimating a Rate Between Maturities

Yield curves are quoted only at set maturities, such as 1, 2, 3, 5, 7, 10, 20 and 30 years. To estimate the rate for a maturity in between, the simplest method is linear interpolation between the two nearest quoted points:

y(t) = y₁ + (t − t₁) / (t₂ − t₁) × (y₂ − y₁)

For example, with a 7-year yield of 4.05% and a 10-year yield of 4.25%, the 8-year yield is about 4.12%. Linear interpolation is fine for quick estimates and short gaps. For pricing and risk work, practitioners usually interpolate zero rates or log discount factors, or use a spline, because those methods give a smoother, more consistent curve.

You can run the basic calculation with our linear interpolation calculator.

The illustrative curve used on this page

The yields below are illustrative numbers, not a real market date. They have a typical shape: a small dip at the short end, then rising with maturity. For real data, the US Treasury publishes daily par yield curve rates.

Maturity (years) 1 2 3 5 7 10 20 30
Yield (%) 4.00 3.90 3.85 3.90 4.05 4.25 4.60 4.65

Worked example 1: the 8-year yield

You need a rate for an 8-year cash flow. 8 years sits between the 7-year (4.05%) and 10-year (4.25%) points.

  1. Gap in maturity: t₂ − t₁ = 10 − 7 = 3 years.
  2. Gap in yield: y₂ − y₁ = 4.25 − 4.05 = 0.20 percentage points.
  3. Slope: 0.20 / 3 = 0.0667 points per year.
  4. Distance from the lower point: t − t₁ = 8 − 7 = 1 year.
  5. Interpolated yield: 4.05 + 1 × 0.0667 = 4.1167%, or 4.12% rounded.

Worked example 2: other maturities on the same curve

Target maturity Nearest points Calculation Interpolated yield
4 years 3y 3.85%, 5y 3.90% 3.85 + (1/2) × 0.05 3.875%
6.5 years 5y 3.90%, 7y 4.05% 3.90 + (1.5/2) × 0.15 4.0125%
15 years 10y 4.25%, 20y 4.60% 4.25 + (5/10) × 0.35 4.425%

A maturity rarely falls on a whole number of years in practice. A bond maturing in 6 years and 6 months uses t = 6.5. For more precise work, measure t in days with the day-count convention of the instrument and divide by the days in the gap.

Check it with the calculator

To reproduce example 1 on the interpolation calculator:

Field Value
X1 7
Y1 4.05
X2 10
Y2 4.25
X3 8
Y3 leave empty

Y3 shows 4.12. The calculator rounds to 2 decimals. If you need the 4-decimal figure, enter yields in basis points (405 and 425) and read 411.67.

What exactly are you interpolating?

“Yield” can mean several different curves, and the choice changes the answer:

  • Par yields are the coupon rates at which bonds of each maturity would trade at par. The Treasury’s headline curve is a par curve.
  • Zero (spot) rates are the yields on single cash flows at each maturity, with no coupons. These are what you discount a cash flow with.
  • Discount factors are the present value today of 1 paid at each maturity. With continuously compounded zero rate z, the factor is e^(−z × t).

Linear interpolation on par yields is common for quick lookups. When you need to discount cash flows, interpolate a zero curve instead. A popular choice is linear interpolation on the log of discount factors, which is the same as assuming a constant forward rate between the two points.

A numeric comparison: zero rates vs log discount factors

Treat the illustrative curve as continuously compounded zero rates and compare the two methods:

Maturity Linear on zero rates Linear on log discount factors Difference
4 years 3.8750% 3.8813% 0.63 bp
8 years 4.1167% 4.1333% 1.67 bp
15 years 4.4250% 4.4833% 5.83 bp

How the 15-year figure arises: the log discount factor is −z × t. At 10 years it is −0.0425 × 10 = −0.425, and at 20 years −0.046 × 20 = −0.920. Halfway between is −0.6725, which gives a 15-year zero rate of 0.6725 / 15 = 4.4833%. The forward rate implied between 10 and 20 years is (0.920 − 0.425) / 10 = 4.95%.

The differences are a fraction of a basis point over short gaps, but nearly 6 basis points over the 10-year gap between the 10 and 20-year points. On a large position that matters. The rule of thumb: the longer the gap and the steeper the curve, the more the method matters.

Which method do professionals use?

  • Linear on yields: quick estimates, reporting, and checking a number. Easy to explain.
  • Linear on log discount factors (piecewise constant forwards): common in derivatives pricing because it is simple and always gives positive, consistent discount factors. Forward rates jump at each quoted point, though.
  • Cubic splines: smooth curves with continuous forwards. See cubic spline interpolation for how a spline works.
  • Monotone convex and similar methods: designed to keep forwards positive and stable. The US Treasury states that its official yield curve is a par yield curve derived using a monotone convex method.

Common mistakes

  • Interpolating prices instead of yields. Bond prices do not move in a straight line with maturity. Interpolate rates or log discount factors.
  • Mixing curves. Do not interpolate between a par yield and a zero rate, or between bonds with different credit quality.
  • Ignoring compounding. A semi-annual yield and a continuously compounded rate are not the same number. Convert before comparing.
  • Extrapolating past the last point. Beyond 30 years there is no data on this curve. Holding the last rate flat is a common convention, but it is an assumption, not an estimate. See linear extrapolation.

Related reading

FAQ

How do I interpolate a Treasury yield? Take the two quoted maturities either side of yours and apply y = y₁ + (t − t₁) / (t₂ − t₁) × (y₂ − y₁), with t in years. For precise work, measure t in days.

Is linear interpolation accurate enough for a yield curve? For gaps of one or two years, usually yes, within a basis point or two of smoother methods. Over long gaps, such as 10 to 20 years, the method can change the answer by several basis points.

Why interpolate log discount factors? It is equivalent to assuming a constant forward rate between two points, which keeps discount factors positive, and decreasing whenever the quoted points imply positive forward rates. That consistency matters when you price many cash flows off one curve.

Can I interpolate below the shortest maturity? Only by extrapolating or using a money market rate as an extra anchor point. Many systems add an overnight rate at t close to 0 for this reason.

Soren Vance
Soren Vance

Soren Vance is the Director of Quantitative Analysis & Algorithms at Interpolation Calculator, where he leads the design and optimization of the company’s core interpolation engines and data processing frameworks.

With a master’s in Computational Mathematics and over 8 years of experience in analytical modeling and numerical computing, Soren oversees the development of high‑performance methods — from spline interpolation and polynomial regressions to multidimensional estimators for real‑world datasets.

Known for his clarity of thought, Soren builds systems that balance mathematical rigor with computational efficiency. He collaborates closely with product, engineering, and UX teams to ensure users get reliable, transparent, and fast results. Outside of work, he contributes to open‑source math libraries and teaches data science workshops at local universities.

Articles: 21

Interpolation Calculator is a mathematical method used to estimate an unknown value between known data points.

Privacy

Disclaimer

Terms

GDPR

Affiliate

Refund

Company

About Us

Contact Us