What Is a Yield Curve?
A yield curve plots the interest rates of government bonds across different maturities, from short-term (1 month) to long-term (30 years). It is the single most watched chart in fixed-income markets because it reveals what investors collectively expect about economic growth, inflation, and central bank policy.
The x-axis shows time to maturity, the y-axis shows yield. Every point on the curve represents the rate the government must pay to borrow money for that specific duration. By connecting those points, you get a curve that tells a story about the economy's future.
Why Government Bonds?
Government bonds from stable nations are considered "risk-free" because the government can tax or print money to repay. This makes them the baseline against which all other bonds are priced. A corporate bond's yield is always expressed as the government yield plus a "credit spread."
Yield Curve Shapes
The shape of the yield curve carries powerful economic signals. There are four primary shapes, each telling a different story about where the economy is heading.
Normal
ExpansionLong-term yields higher than short-term. Investors demand more for locking up money longer. Signals healthy growth expectations.
Inverted
Recession SignalShort-term yields exceed long-term. Investors expect rate cuts ahead. Has preceded every US recession since 1955.
Flat
TransitionSimilar yields across all maturities. Often appears during transitions between normal and inverted curves. Signals policy uncertainty.
Steepening
RecoveryGap between short and long rates is widening. Often signals early recovery as central banks hold short rates low while growth expectations rise.
Historical Context
The yield curve inverted before the 2001 dot-com bust, the 2008 financial crisis, and again in 2022-2023 ahead of the economic slowdown. No indicator is perfect, but the yield curve's track record is unmatched. The 2s10s spread (difference between 2-year and 10-year Treasury yields) is the most commonly watched version of this signal.
Timing Matters
An inverted yield curve signals a recession is coming, but the lead time varies from 6 to 24 months. Selling everything the day the curve inverts would have meant missing significant stock market gains in most historical cycles. Use it as a risk awareness tool, not a timing signal.
Our Data Sources
AllInvestView uses official government and central-bank series for five base benchmark families. Cadence varies by source, so the platform uses the latest available observation rather than describing every curve as real time.
Bank of Canada
Valet APIGovernment of Canada benchmark bond yields. The Valet API provides machine-readable JSON with daily benchmark rates used to price all CAD-denominated fixed income.
Tenors: 1M, 3M, 6M, 1Y, 2Y, 3Y, 5Y, 7Y, 10Y, 20Y, 30YUS Treasury
data.treasury.govDaily Treasury Par Yield Curve Rates published by the US Department of the Treasury. The XML feed provides constant-maturity rates that serve as the global risk-free benchmark.
Tenors: 1M, 2M, 3M, 4M, 6M, 1Y, 2Y, 3Y, 5Y, 7Y, 10Y, 20Y, 30YEuropean Central Bank
ECB Statistical Data WarehouseAAA-rated Euro area government bond yields. The ECB publishes a composite curve derived from the highest-rated sovereign issuers in the Eurozone, making it the cleanest EUR benchmark.
Tenors: 3M, 6M, 1Y, 2Y, 3Y, 5Y, 7Y, 10Y, 15Y, 20Y, 30YBank of England
BoE Statistical DatabaseUK gilt yields from the Bank of England's statistical series. Covers key benchmark maturities for GBP-denominated government bonds used to price UK corporate and municipal debt.
Tenors: 5Y, 10Y, 20YAustralian Government
RBA F2 with fallbackAustralian government benchmark tenors use RBA Table F2 when available. A lower-frequency fallback provides continuity and is labelled as such in the methodology.
Primary tenors: 2Y, 3Y, 5Y, 10YFree and Official
The benchmark inputs come from public official sources. Eligible euro sovereign bonds can use country-specific adjustments applied to the ECB term structure for Italy, Spain, France, Portugal, Ireland, Greece and Belgium.
How We Use Yield Curves
Yield curves are not just charts to look at. For eligible bonds, they provide the benchmark component of a theoretical discount yield. The engine needs complete bond terms, a compatible benchmark and a starting price or user-set spread. The full workflow and its validation gates are documented in Inside the Bond Pricing Engine.
The Implied Spread Method
When you buy a corporate or municipal bond, you pay a yield that is higher than the equivalent government bond. That difference is the credit spread -- the premium investors demand for taking on the issuer's credit risk. Our method captures that spread at purchase and uses it to reprice your bond as interest rates move.
Get Benchmark
Look up the government yield curve at the bond's purchase date. Interpolate to match the bond's remaining maturity.
Calculate Spread
Subtract the benchmark yield from your bond's yield at purchase. This is the implied credit spread, locked in at trade time.
Reprice from the latest curve
Use the latest available matched benchmark, add the stored spread, and discount the remaining cash flows into a theoretical price.
Implied Spread Formula
This approach isolates changes in the benchmark rate while holding the stored spread constant. If Treasury yields fall, the theoretical price of a compatible USD bond generally rises. Credit deterioration is not detected automatically because AllInvestView does not use a live credit-spread feed; the spread must be recalibrated or updated when new price evidence is available.
Why Not Just Use Market Prices?
Many bonds trade infrequently. A compatible curve and anchored spread can provide a consistent theoretical reference between observed quotes. It remains a model value, not a tradable market price.
Reading the Curve
Understanding what the yield curve is telling you is one of the most valuable skills in fixed-income investing. Here is what each shape means and how it should influence your portfolio decisions.
Normal Curve (Upward Sloping)
This is the most common shape. Long-term rates are higher than short-term rates because investors demand extra compensation for the uncertainty of lending over longer periods. A normal curve signals that the economy is growing, inflation expectations are moderate, and central banks are not expected to change course dramatically.
Portfolio implication: Extending duration (buying longer-dated bonds) is rewarded with higher yields. Bond ladders work well in this environment because each successive rung offers a higher rate.
Inverted Curve
When short-term rates exceed long-term rates, the curve inverts. This is the bond market's most powerful recession signal. It means investors are so pessimistic about the economic outlook that they are willing to accept lower long-term rates, expecting central banks will be forced to cut rates aggressively.
Portfolio implication: Consider shortening duration. Short-term bonds offer higher yields with less price risk. Credit spreads tend to widen during recessions, so favor higher-quality issuers.
Flat Curve
A flat curve means similar yields across all maturities. It typically appears during transitions -- when the economy is shifting from expansion to contraction (or vice versa). There is no extra reward for taking on duration risk.
Portfolio implication: With no yield pickup for going longer, keep maturities short or intermediate. You get the same yield with less interest rate risk.
Steepening vs Flattening
The direction of change matters as much as the shape itself. A steepening curve (long rates rising faster than short rates) often signals early recovery or rising inflation expectations. A flattening curve (long rates falling toward short rates) often precedes inversions and economic slowdowns.
| Curve Shape | Economic Signal | Duration Strategy | Credit Strategy |
|---|---|---|---|
| Normal (steep) | Healthy growth | Extend for yield pickup | Moderate credit risk OK |
| Flattening | Late cycle | Reduce duration gradually | Move up in quality |
| Inverted | Recession warning | Stay short | High quality only |
| Steepening | Early recovery | Begin extending | Selective high-yield |
Your Bonds on the Curve
AllInvestView goes beyond showing you a static yield curve. In the Bond Report, we overlay your actual bond holdings as dots on the relevant government benchmark curve, so you can instantly see where your portfolio sits.
How the Overlay Works
- Each bond appears as a dot plotted at its remaining maturity (x-axis) and current yield (y-axis)
- Dot size reflects position value -- larger positions appear as bigger dots so you can see concentration at a glance
- The benchmark curve runs underneath as a line, showing the "risk-free" rate at each maturity
- Distance above the curve represents your credit spread -- the extra yield you earn for taking on issuer risk
What to Look For
Clustering: If all your dots are bunched at one maturity, you have concentration risk. A ladder spreads dots evenly across the curve.
Spread compression: If a dot is close to the benchmark line, you are being paid very little for the issuer's credit risk. Consider whether the yield justifies the risk.
Outliers: A dot far above the curve has a wide spread -- either a high-yield opportunity or a sign of credit stress. Investigate before adding more.
Multi-Currency Support
If you hold bonds denominated in different currencies, AllInvestView maps each bond to its appropriate benchmark curve. A CAD corporate bond is plotted against the Government of Canada curve, a USD bond against the US Treasury curve, and so on. This ensures you are comparing apples to apples -- a bond's spread only makes sense relative to its own currency's risk-free rate.
Frequently Asked Questions
See Your Bonds on the Yield Curve
Add eligible bond holdings and compare their yield and maturity with the latest available compatible government benchmark.
Get Started Free View Bond Report