iLearnFintech Glossary Formulas Cases Sandboxes
Investing/Bonds

The yield curve

8 min readCoreUpdated December 2026
In short

The yield curve plots the yields of government bonds against their maturity. Normally it slopes up: lending for longer pays more. When short-term rates rise above long-term rates, the curve is inverted, which has often come before a recession. The curve shows what markets expect for interest rates and growth.

What it is

Take government bonds of every maturity, from three months to thirty years, and plot their yields. The line you get is the yield curve. It comes in a few shapes:

  • Normal: longer maturities yield more. The usual case.
  • Flat: about the same yield for every maturity.
  • Inverted: short maturities yield more than long ones.

The short end is anchored by the central bank's policy rate. The long end reflects two things. One is what investors expect short rates to be in the future. The other is a term premium: extra pay for locking money away for a long time and taking more price risk.

From the curve you can work out forward rates: the rates the market is implicitly expecting for future periods.

The intuition

You can lend for two years at once, or for one year and then roll over into another one-year loan. If both plans are to pay the same, the two-year rate must be roughly the average of this year's rate and next year's expected rate.

So when markets expect the central bank to cut rates, perhaps because a recession is coming, long rates fall below short rates and the curve inverts. When they expect growth and rising rates, the curve steepens.

3.0%3.5%4.0%4.5%5.0%5.5%0y5y10y20y30yNormalFlatInvertedShort rates above long ratesYears to maturityYield
A normal curve slopes up, a flat curve pays about the same at every maturity, and an inverted curve pays more for short loans than for long ones.

The math

\[(1+y_2)^2 = (1+y_1)(1+f_{1,2}) \quad\Rightarrow\quad f_{1,2} = \frac{(1+y_2)^2}{1+y_1} - 1\]

Where

\(y_1, y_2\)
Today's yields on 1-year and 2-year bonds
\(f_{1,2}\)
The forward rate: the 1-year rate one year from now that the curve implies

In words: Two one-year loans in a row must pay the same as one two-year loan. That pins down the rate the market expects for next year.

An example

Two curves, in percent:

Maturity1 year2 years5 years10 years30 years
Normal3.23.43.94.34.7
Inverted5.04.74.34.14.3

In the normal curve, the 1-year rate one year from now is (1.034² / 1.032) − 1 = 3.6%: markets expect rates to rise a little. In the inverted curve it is (1.047² / 1.050) − 1 = 4.4%, well below today's 5.0%: markets expect cuts. With a 1-year yield of 4% and a 2-year yield of 4.5%, the forward rate is 5.0%.

In Python

Work out the forward rate hidden in the 1-year and 2-year yields.

curves = {"normal": (0.032, 0.034), "inverted": (0.050, 0.047), "simple": (0.040, 0.045)}

for name, (y1, y2) in curves.items():
    f = (1 + y2) ** 2 / (1 + y1) - 1
    print(name, "| 1-year rate expected next year:", round(f * 100, 1), "%")

In the real world

The long US inversion, 2022 to 2024

The 2-year US government yield rose above the 10-year yield in early July 2022, as the Federal Reserve raised rates fast to fight inflation. The curve stayed inverted for about two years, the longest stretch on record, beating a previous record from 1978. Many expected a recession, because inversions had come before most US recessions. This time the US economy kept growing. An inverted curve is a warning, not a forecast with a date.

Think about it

The yield curve has just inverted. Your neighbour wants to sell all her shares because "a recession is now certain". What would you tell her?

Show a model answer

Inversions have come before most US recessions, but the delay has ranged from months to well over a year. And the long inversion of 2022 to 2024 had no recession at all. Shares have sometimes risen for a long time after an inversion. Selling everything is a bet on timing that rarely works. A better question is whether her mix of shares and safer assets fits her plans, in good times and bad.

Reading the result

Read the slope, not just the level. A steep curve says markets expect growth and higher rates; an inverted curve says they expect rate cuts, often because they expect a slowdown. Then check what the central bank is saying.

Good signs

  • Reading the curve as the market's expectations, not as a sure forecast
  • Comparing the 2-year and 10-year yields to gauge the slope
  • Using forward rates to see what the market has already priced in

Watch out

  • Selling everything the day the curve inverts
  • Forgetting the term premium: long yields are not pure forecasts
  • Ignoring that central bank bond buying can bend the curve

Remember

  • Normal curve slopes up; inverted means short rates above long.
  • The short end follows the policy rate; the long end follows expectations plus a term premium.
  • Inversions have often come before recessions, but with long and varying delays.

Check yourself

Question 1 of 2How does a normal yield curve slope?

Question 2 of 2The 1-year yield is 4% and the 2-year yield is 4.5%. What 1-year rate does the curve imply for next year?

Read more

  • Bodie, Kane & Marcus, Investments: chapter on the term structure of interest rates
  • John C. Hull, Options, Futures, and Other Derivatives: chapter on interest rates
Used later in

Spotted a mistake or have a wish?

Tell us in a line or two. The page name is sent along automatically.