Term Structure of Interest Rates

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

The yield curve and the interpretation of its various shapes is of fundamental importance in both economics and finance. One claim is that the shape of the yield curve represents the market's expectations of future interest rates and inflation over time. The slider bar creates a dynamic view of nearly four decades of interest rate history. Particular shapes that are referred to in the popular press can be viewed using the popup menu.

Contributed by: Roger J. Brown (July 2009)
Suggested by: Craig W. Holden
Open content licensed under CC BY-NC-SA



The naming convention is less than precise. "Downward sloping" is sometimes called "Inverted"; "Humped" and "Convexity" are very similar. What matters is whether the market is correctly predicting the future. A useful thought experiment is to set the slider an a time when extreme predictions were being made for years later—in September, 1982 the 15 year bond was 10%; 15 years later in August, 1997 the yield curve was nearly flat at just over 5% for most maturities. One can readily conclude from this that predicting interest rates is, at best, challenging.

The data source is the US Federal Reserve daily treasury yield curve rates. Note that there are gaps in the plot during periods when data is not available, either because those maturities were not issued or not tracked. For example, the Fed lost interest in the 30 year bond rates for four years between 2002 and 2005 inclusive.


Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.