The US Federal Debt-to-GDP ratio dataset
The US Federal Debt-to-GDP ratio dataset tracks the total gross federal government debt relative to economic output since 1966. This is the single most cited metric in fiscal sustainability debates, sovereign credit analysis, and long-term interest rate forecasting. It measures the government’s capacity to service its obligations relative to the economy’s ability to generate revenue.
Dataset: US Federal Debt to GDP (1966–2026) · Updated 2025-10-01
Loading FRED data…
Source: FRED series GFDEGDQ188S · Federal Reserve Bank of St. Louis
Macro Takeaway
US federal debt crossed 120% of GDP in 2023 — a level not seen since the immediate aftermath of World War II. But the comparison is misleading: in 1946, the debt-to-GDP ratio was falling rapidly as wartime spending ended and nominal GDP surged with post-war industrialization. Today, the trajectory is structurally upward, driven by entitlement spending, defense budgets, and compounding interest costs that now exceed $1 trillion annually.
The critical variable is not the debt level itself but the real interest rate at which it is financed. When real rates are negative, governments are effectively paid to borrow. When they turn positive — as they did in 2023 — the debt service burden rises nonlinearly. The fiscal math only works at low real rates, which makes this dataset inseparable from the Fed Funds rate and 10-year Treasury yield trajectories.
Dataset Overview
| Indicator | US Federal Debt to GDP |
|---|---|
| Geography | United States |
| Frequency | Quarterly |
| Period | 1966–2026 |
| Variables | date, federal_debt_gdp |
| Format | CSV, Excel (XLSX) |
| Sources | FRED series GFDEGDQ188S — Federal Reserve Bank of St. Louis |
| Last updated | — |
Dataset Variables
The CSV and Excel files contain the following columns.
| Column | Type | Description |
|---|---|---|
date | Date | Observation date |
federal_debt_gdp | Float | US federal government gross debt as a percentage of GDP — the broadest measure of sovereign leverage. |
Column names match the CSV headers exactly.
Download the Complete Dataset
The full dataset is available in CSV and Excel formats.
FRED Direct CSV Access
The raw data is available via FRED under code GFDEGDQ188S:
https://fred.stlouisfed.org/graph/fredgraph.csv?id=GFDEGDQ188S
The Eco3min version provides a clean, analysis-ready format with consistent column names, pre-calculated derived metrics where applicable, and both CSV and Excel downloads.
Direct CSV Access — Eco3min Structured Dataset
https://eco3min.fr/dataset/us-federal-debt-gdp.csv
This URL returns the complete dataset in CSV format. It can be used directly in pandas, R, curl, or any data tool.
Using the Dataset in Python
import pandas as pd
url = "https://eco3min.fr/dataset/us-federal-debt-gdp.csv"
df = pd.read_csv(url)
print(df.head())
print(f"Latest value: {df['federal_debt_gdp'].iloc[-1]:.2f}")
Using the Dataset in R
library(readr) url <- "https://eco3min.fr/dataset/us-federal-debt-gdp.csv" df <- read_csv(url) head(df) summary(df$federal_debt_gdp)
Both examples load the dataset directly from the URL — no download or API key required.
Historical Regimes
1966–1980 — Fiscal moderation. Federal debt ranged between 30–40% of GDP. The US ran persistent but manageable deficits, partly eroded by high inflation. The real cost of debt was low or negative during much of the 1970s.
1981–1993 — Reagan-era structural deficits. Tax cuts combined with defense spending pushed debt from 30% to 65% of GDP — the first major peacetime fiscal expansion. The savings-and-loan crisis added to the tab.
1993–2001 — The Clinton surplus. The only period in modern history where federal debt-to-GDP actually declined, reaching ~55%. Driven by the tech boom tax windfall and spending restraint. Budget surpluses in 1998–2001.
2001–2019 — Ratchet upward. Two wars, the GFC, and the 2017 tax cuts pushed debt-to-GDP from 55% to 105%. Each crisis added a permanent layer of debt that was never unwound.
2020–2026 — Pandemic fiscal explosion. COVID stimulus pushed debt above 120% of GDP. The combination of pandemic spending, rising interest costs, and no political will for consolidation has created a structural deficit of ~6% of GDP — unprecedented outside of recessions or wars.
Related Macroeconomic Datasets
- US 10-Year Treasury Yield — The benchmark rate for government borrowing costs
- Real 10-Year Treasury Yield — Real cost of sovereign debt financing
- US GDP Growth Rate — The denominator — economic output growth
- US Household Debt to GDP — Private sector leverage comparison
Related Research
Frequently Asked Questions
What is a dangerous level of US federal debt to GDP?
There is no fixed threshold. Japan exceeds 250% without default. The critical factor is the real interest rate on the debt: when the growth-adjusted real rate exceeds 0%, debt dynamics become unstable without primary surpluses — a condition the US has not met since 2001.
How do I download the US federal debt to GDP dataset as CSV?
You can download the complete dataset directly from this page in CSV or Excel format — no signup or API key needed. The CSV is also available as a direct URL (https://eco3min.fr/dataset/us-federal-debt-gdp.csv) for use in Python, R, or any data tool.
Macroeconomic Dataset Hub
This dataset is part of the Eco3min macro-financial data repository. Explore all available datasets including inflation, interest rates, equity returns, credit spreads, and currency indicators.
Explore the Eco3min Dataset Hub
Sources
- Federal Reserve Bank of St. Louis — FRED series GFDEGDQ188S
Suggested Citation
Last updated — 13 April 2026
