5-year Treasury Rate

Returns daily 5-year US Treasury constant maturity yields in percent per annum (FRED DGS5).

Latest published rate

Use =TreasuryRate5y("LP") for the latest published numeric observation. In the Office add-in, use =mxls.TreasuryRate5y("LP"). LP means latest published; it is not a real-time bond quote. A value of 4.38 means 4.38% per annum.

History and dates

Calling the economic-data function without arguments returns the daily historical series. A numeric argument requests that many observations. Use "STATUS" to inspect source, frequency and source update time. Daily data follow the FRED publication calendar; weekends and market holidays do not have new observations. FRED may publish a closing observation on a later business day.

Data source and frequency

Federal Reserve H.15 via FRED series DGS5. Frequency is daily. Historical results contain daily rows, rather than the weekly averages previously returned. The prior weekly series is retained in the economic database under the corresponding treasury_rate_*_weekly key; this does not introduce a new Excel function.

Syntax

=TreasuryRate5y([arg1], [arg2])
Excel Desktop (Windows)

Parameters

arg1string|number

LP: latest published value; STATUS: source metadata; number: observation count; omitted: daily series.

arg2string

Optional second date for a historical date-range request.

Returns

number

5-year Treasury rate as percentage

Examples

=TreasuryRate5y()
5-year Treasury rate
=TreasuryRate10y()-TreasuryRate5y()
10y-5y spread

When to Use

  • Medium-term discount rate
  • Intermediate yield curve analysis
  • Auto loan rate benchmarking
  • Medium-term fixed income research

When NOT to Use

Scenario Use Instead
Long-term rate TreasuryRate10y()
Short-term rate TreasuryRate3m() or TreasuryRate1y()
Mortgage rates TreasuryRate10y()

Common Issues & FAQ

When is 5-year used?

Auto loans, some corporate bonds, and intermediate-term analysis.

How does it compare to 10-year?

Usually lower than 10-year in a normal yield curve.

Market data in your Excel sheets

1 billion usable data points on stocks, options, ETFs, and fundamentals, with simple Excel formulas.

See plans
MarketXLS Excel Add-in Tutorial - How to Use Treasury Rate - 5 Year and Other Financial Formulas
▶
How does MarketXLS work?