FRED Graph
Write a custom formula to transform one or more series or combine two or more series.
You can begin by adding a series to combine with your existing series.
Now create a custom formula to combine or transform the series.
Need help?
For example, invert an exchange rate by using formula 1/a, where “a” refers to the first FRED data series added to this line. Or calculate the spread between 2 interest rates, a and b, by using the formula a - b.
Use the assigned data series variables (a, b, c, etc.) together with operators (+, -, *, /, ^, etc.), parentheses and constants (1, 1.5, 2, etc.) to create your own formula (e.g., 1/a, a-b, (a+b)/2, (a/(a+b+c))*100). As noted above, you may add other data series to this line before entering a formula.
Finally, you can change the units of your new series.
Add the minimum, maximum, and average calculations of selected lines to the graph
Write a custom formula to transform one or more series or combine two or more series.
You can begin by adding a series to combine with your existing series.
Now create a custom formula to combine or transform the series.
Need help?
For example, invert an exchange rate by using formula 1/a, where “a” refers to the first FRED data series added to this line. Or calculate the spread between 2 interest rates, a and b, by using the formula a - b.
Use the assigned data series variables (a, b, c, etc.) together with operators (+, -, *, /, ^, etc.), parentheses and constants (1, 1.5, 2, etc.) to create your own formula (e.g., 1/a, a-b, (a+b)/2, (a/(a+b+c))*100). As noted above, you may add other data series to this line before entering a formula.
Finally, you can change the units of your new series.
Add the minimum, maximum, and average calculations of selected lines to the graph
Data in this graph are copyrighted. Please review the copyright information in the series notes before sharing.
Notes
Source: U.S. Office of Management and Budget
Source: Federal Reserve Bank of St. Louis
Release: Debt to Gross Domestic Product Ratios
Units: Percent of GDP, Seasonally Adjusted
Frequency: Quarterly
Notes:
Federal Debt Held by the Public as Percent of Gross Domestic Product (FYGFGDQ188S) was first constructed by the Federal Reserve Bank of St. Louis in October 2012. It is calculated using Federal Debt Held by the Public (FYGFDPUN) and Gross Domestic Product, 1 Decimal (GDP):
FYGFGDQ188S = ((FYGFDPUN/1000)/GDP)*100
FYGFDPUN/1000 transforms FYGFDPUN from millions of dollars to billions of dollars.
Suggested Citation:
U.S. Office of Management and Budget and Federal Reserve Bank of St. Louis, Federal Debt Held by the Public as Percent of Gross Domestic Product [FYGFGDQ188S], retrieved from FRED, Federal Reserve Bank of St. Louis; https://fred.stlouisfed.org/series/FYGFGDQ188S, April 7, 2025.
Source: Board of Governors of the Federal Reserve System (US)
Release: H.15 Selected Interest Rates
Units: Percent, Not Seasonally Adjusted
Frequency: Daily
Notes:
For further information regarding treasury constant maturity data, please refer to the H.15 Statistical Release notes and Treasury Yield Curve Methodology.
For questions on the data, please contact the data source. For questions on FRED functionality, please contact us here.
Suggested Citation:
Board of Governors of the Federal Reserve System (US), Market Yield on U.S. Treasury Securities at 10-Year Constant Maturity, Quoted on an Investment Basis [DGS10], retrieved from FRED, Federal Reserve Bank of St. Louis; https://fred.stlouisfed.org/series/DGS10, April 7, 2025.
Release Tables
Related Data and Content
Data Suggestions Based On Your Search
Content Suggestions
Other Formats
Related Categories
Releases
Tags
Permalink/Embed
modal open, choose link customization options
Select automatic updates to the data or a static time frame. All data are subject to revision.