Term Structure of Interest Rates
The term structure of interest rates is the set of interest rates on otherwise equal loans or bonds of different maturities, usually those of a government, shown as the yield curve: the yield of each maturity against its time to maturity.
Its shape carries information about the economy. A curve that rises with maturity is the historical norm, as lenders want more to tie up their money for longer. A flat or inverted curve, with short rates above long ones, tells that markets expect rates to fall, often because they expect the central bank to cut them in a slowdown. Three theories explain the shape: the expectations theory, in which long rates are the average of the short rates expected over the term (Lutz, 1940), the segmented markets theory, in which each maturity has its own lenders and borrowers (Culbertson, 1957), and the liquidity premium theory, which adds a term premium for the risk of holding a long bond.
The same curve is quoted in several forms. Par yields are the coupons at which new bonds of each maturity would trade at par, zero-coupon (spot) rates discount a single payment at each maturity, and forward rates are the rates for loans that start later, implied by the spot rates.
The formula for the forward rate between two maturities is as follows:
\[\text{Forward Rate} = \left(\frac{(1 + r_{2})^{t_{2}}}{(1 + r_{1})^{t_{1}}}\right)^{1/(t_{2} - t_{1})} - 1\]Where \(r_{1}\) and \(r_{2}\) are the annually compounded zero-coupon rates of the near and far maturity and \(t_{1}\) and \(t_{2}\) those maturities in years.
The Finance Toolkit has the US Treasury par yield curve, government bond yield curves per country, zero-coupon curves bootstrapped from them, the Federal Reserve’s fitted zero-coupon curve of Gürkaynak, Sack and Wright, Nelson-Siegel-Svensson fits (Nelson and Siegel, 1987), forward rates, the yield curve slope and the term premium.
Example · 2026
Install the Finance Toolkit with pip install financetoolkit -U, then:
from financetoolkit import FixedIncome
fixedincome = FixedIncome(start_date="2026-05-01", end_date="2026-10-31")
fixedincome.get_federal_reserve_yield_curve(
period="monthly", maturity_years=[1, 2, 5, 10, 20, 30]
)
Which returns:
| Item | 1Y | 2Y | 5Y | 10Y | 20Y | 30Y |
|---|---|---|---|---|---|---|
| 2026-05 | 0.0395 | 0.0401 | 0.0423 | 0.0463 | 0.052 | 0.0532 |
| 2026-06 | 0.0414 | 0.0415 | 0.0427 | 0.0459 | 0.0512 | 0.0521 |
| 2026-07 | 0.0423 | 0.043 | 0.0454 | 0.0495 | 0.0551 | 0.0562 |
| 2026-08 | 0.0428 | 0.0436 | 0.0458 | 0.0494 | 0.0544 | 0.056 |
| 2026-09 | 0.0466 | 0.0496 | 0.0517 | 0.0543 | 0.0591 | 0.0583 |
| 2026-10 | 0.0449 | 0.0465 | 0.0479 | 0.0506 | 0.0556 | 0.0554 |
References
- Paper Lutz, F.A. (1940). “The Structure of Interest Rates.” The Quarterly Journal of Economics, 55(1), 36-63.
- Paper Culbertson, J.M. (1957). “The Term Structure of Interest Rates.” The Quarterly Journal of Economics, 71(4), 485-517.
- Paper Nelson, C.R., and Siegel, A.F. (1987). “Parsimonious Modeling of Yield Curves.” Journal of Business, 60(4), 473-489.
- Paper Gürkaynak, R.S., Sack, B., and Wright, J.H. (2007). “The U.S. Treasury Yield Curve: 1961 to the Present.” Journal of Monetary Economics, 54(8), 2291-2304.