U.S. Budget Deficit vs. National Debt: What’s the Difference?
See how the annual U.S. budget deficit differs from federal debt, compare public and gross debt, and read primary deficits and debt-to-GDP ratios.
In this guideDeficit and debt answer different questions
Short summary
A U.S. federal budget deficit is the amount annual outlays exceed revenues during a fiscal year. Federal debt is the amount borrowed and still outstanding at a point in time. Deficits usually add to debt, but the two figures do not measure the same thing and their change need not match exactly.
Deficit and debt answer different questions
The deficit is a flow measured over a period. It tells you how far federal outlays exceeded revenues during one fiscal year, or how far revenues exceeded outlays if the government recorded a surplus. The debt is a stock: the amount of federal borrowing outstanding on a particular date. In ordinary language, “national debt” often means U.S. federal debt, but a report can refer to different official debt measures.
A household analogy can help with the time dimension: an annual shortfall resembles spending more than income during a year, while debt resembles the unpaid balance on a date. The analogy stops there. Federal budget accounting covers many programs, accounts, financing transactions, and securities; it does not work like a single household credit-card statement.
The Congressional Budget Office (CBO) defines a deficit as the amount by which outlays exceed revenues in a fiscal year. It describes federal debt as the amount borrowed at a point in time. A deficit generally adds to federal debt, while a surplus generally reduces it, but the exact relationship depends on the debt measure and other financing activity. See the CBO’s [common budget terms]({source:cboCommonBudgetaryTerms}).
A trade deficit is a separate concept. It compares a country’s imports and exports over a period; it is not the federal government’s budget deficit and does not directly state how much Treasury owes. When a headline uses only the word “deficit,” check whether it means the federal budget, trade, or another balance.

Calculate the annual federal deficit
For the standard U.S. federal budget measure, compare total outlays with total revenues for the same fiscal year:
Budget deficit = outlays − revenues
If revenues are greater than outlays, the result is a surplus rather than a deficit. The federal fiscal year runs from October 1 through September 30 and is named for the calendar year in which it ends. That means fiscal year 2026 does not match calendar year 2026. The [GAO budget glossary]({source:gaoFederalBudgetGlossary}) defines the fiscal-year dates and naming convention.
Suppose, purely as a hypothetical example, that revenues during one federal fiscal year are $5.0 trillion and total outlays are $5.6 trillion. Subtracting $5.0 trillion from $5.6 trillion gives a deficit of $0.6 trillion, or $600 billion. This example describes a period’s budget result. It is not a current estimate or a statement about the size of U.S. government spending.
Use the same accounting perimeter for both sides of the equation. A federal budget table may group receipts and outlays by program, distinguish on-budget and off-budget accounts, or show projections rather than final actual results. Comparing revenue from one fiscal year with outlays from another, or actual results with a projection, does not produce a meaningful annual deficit.
Why the deficit and the change in debt can differ
Borrowing is the main way the Treasury finances a deficit, so repeated deficits generally accumulate into more debt. Yet a change in debt held by the public is not always identical to the reported budget deficit for the year. The Treasury’s cash balance can rise or fall, and federal credit programs and other financing operations affect borrowing needs without appearing in the same way in the budget totals.
CBO describes debt held by the public as reflecting cumulative deficits to a large extent, while also identifying cash balances and net cash disbursements for credit programs as other factors. Its [Federal Debt: A Primer]({source:cboFederalDebtPrimer}) walks through these financing differences. That caveat matters when comparing a one-year deficit with a beginning-to-end debt change.
Continue the hypothetical example with $20.0 trillion in debt held by the public at the start of the year. If the $0.6 trillion deficit is financed through borrowing and other financing needs add $0.1 trillion, the illustrative ending amount is $20.7 trillion:
$20.0T + $0.6T + $0.1T = $20.7T
The $0.1 trillion is a hypothetical financing adjustment, not another deficit. If cash operations or credit flows reduced borrowing instead, the change could be smaller. This simplified arithmetic tracks debt held by the public; gross federal debt can also change as Treasury securities held in government accounts change.
A surplus usually reduces borrowing needs and can reduce debt held by the public, but do not assume that every dollar of a reported surplus maps mechanically to a one-dollar decline in every debt measure. Specify the measure and compare actual debt stocks at the dates in question. Treasury’s [Debt to the Penny dataset]({source:treasuryDebtToThePenny}) reports daily debt held by the public, intragovernmental holdings, and total public debt outstanding as separate figures.
Debt held by the public is not gross federal debt
“Federal debt” does not have a single meaning in every table. Debt held by the public is federal borrowing held outside federal government accounts. The holders include individuals, firms, state and local governments, Federal Reserve Banks, and foreign governments. Treasury securities are the largest part of that measure, but the measure is defined by who holds the debt, not by whether every holder is a private investor.
Gross federal debt adds intragovernmental holdings to debt held by the public. Those holdings are Treasury securities credited to federal trust funds and other government accounts. They are real legal claims between federal accounts, but they are not the same as borrowing from investors outside the government. In consolidated federal financial statements, balances between parts of the government are eliminated.
The U.S. Treasury’s daily [debt dataset]({source:treasuryDebtToThePenny}) names debt held by the public, intragovernmental holdings, and total public debt outstanding. GAO’s [Schedules of Federal Debt]({source:gaoSchedulesFederalDebt2024}) also explains that gross federal debt consists of debt held by the public and intragovernmental debt holdings. The phrase “national debt” in news coverage often refers to gross federal debt, but the figure may instead show debt held by the public. Read its label before comparing it with another report.
The distinction affects interpretation. CBO often uses debt held by the public in budget analysis because that measure captures federal borrowing from outside the government; see its [Federal Debt—A Primer]({source:cboFederalDebtPrimer}). Gross debt answers a broader question about the government’s total recorded debt, including securities it owes to its own accounts. Neither label should be silently substituted for the other.
Total deficit and primary deficit include different costs
The total deficit includes net interest outlays. The primary deficit removes net interest from the total, which makes it easier to separate the current year’s noninterest budget balance from interest costs associated with outstanding borrowing.
In the earlier hypothetical budget, outlays total $5.6 trillion and include $0.4 trillion of net interest. Noninterest outlays are therefore $5.2 trillion. Against $5.0 trillion in revenues, the primary deficit is $0.2 trillion:
Primary deficit = total deficit − net interest = $0.6T − $0.4T = $0.2T
The same figures show why the terms cannot be swapped. The primary deficit is $0.2 trillion, while the total deficit is $0.6 trillion. Interest remains part of the total budget result even though it is excluded from the primary measure. CBO defines the primary deficit as the total deficit excluding net interest outlays in its [budget outlook Q&A]({source:cboPrimaryDeficitDefinition}).
A primary surplus can coexist with a total deficit if the surplus before interest is smaller than net interest costs. That does not mean interest disappears; it means the two measures separate different parts of the budget. When comparing articles or projections, check whether the stated figure is primary or total and whether the source uses net or gross interest.
Debt-to-GDP ratios need a defined numerator
A debt-to-GDP ratio compares a specified debt stock with the economy’s output over a specified period. In formula form:
Debt-to-GDP ratio = specified debt measure ÷ nominal GDP for the stated period
For example, if hypothetical debt held by the public at fiscal year-end were $20.7 trillion and nominal GDP for the corresponding year were $25.0 trillion, the ratio would be 82.8%:
$20.7T ÷ $25.0T × 100 = 82.8%
The debt figure is a stock at a date; GDP is a flow of production over time. Official series choose a timing convention for matching them. State whether the numerator is debt held by the public, gross federal debt, or another measure, and whether it is measured at fiscal-year end or another date. The denominator should be nominal GDP for the stated period, not real GDP, because the debt amount is measured in current dollars. CBO commonly presents deficits and federal debt relative to GDP; its debt primer explains the role and limits of the ratio.
A ratio can move even when nominal debt rises. If nominal GDP grows faster than the debt measure, debt as a share of GDP can fall; if debt grows faster, the ratio can rise. That arithmetic does not by itself determine the budget outlook, the interest rate the Treasury will pay, or whether a particular debt path is sustainable. Debt-to-GDP is useful context, not a universal safe line or a standalone prediction.
Comparisons can mislead when one country’s number is gross central-government debt and another’s is net general-government debt covering national and local governments. CBO explains that international debt measures use different scopes and are not perfectly comparable in its [Federal Debt—A Primer]({source:cboFederalDebtPrimer}). For context on GDP itself, see nominal versus real GDP.
A debt ceiling does not calculate the deficit
The federal budget deficit is calculated from outlays and revenues. The debt ceiling is a statutory limit on most federal debt, not a separate measure of annual spending or a direct formula for the deficit. CBO notes that nearly all gross federal debt is subject to a statutory debt limit in its [budget terms guide]({source:cboCommonBudgetaryTerms}).
A change in the debt limit does not by itself change which programs Congress has authorized or how much revenue the budget collects. The deficit can be positive, zero, or negative while the legal debt limit is a separate constraint on outstanding borrowing. Keeping those concepts distinct helps explain why a fiscal debate about spending and revenues is not the same question as a debate over the debt limit.
How to read a deficit or debt headline
Before interpreting a headline, identify the time period, accounting scope, and measurement. For a deficit, ask whether the number is for one federal fiscal year, whether it is an actual result or a projection, and whether it is the total or primary deficit. For debt, ask whether the figure is debt held by the public, gross federal debt, debt subject to limit, or a broader international measure.
Then compare like with like. A one-year flow should not be described as the total accumulated debt. A debt-to-GDP ratio should name both its numerator and the period used for GDP. When the beginning and ending debt stocks differ from the annual deficit, look for changes in cash balances, credit programs, and other financing factors before treating the difference as an error.
For a compact explanation, report the fiscal year, revenues and outlays, the total or primary deficit, the debt measure, and the debt measurement date. If a debt-to-GDP ratio is included, name its denominator and method. The labels make the calculation reproducible and keep a budget flow, an accumulated liability, and a legal debt limit from being presented as if they were the same statistic. For related economic measures, compare the inverted yield curve and recession signal and the U-3 and U-6 labor-market rates.
Common questions
Q1Does each year’s deficit equal the increase in national debt?
Not exactly. A deficit generally adds to federal borrowing, but changes in cash balances, credit programs, and other financing activity can make the yearly change in debt held by the public differ from the budget deficit. The selected debt measure also matters.
Q2Can federal debt rise while debt-to-GDP falls?
Yes. If nominal GDP grows faster than the specified debt stock, the ratio can decline even while the dollar amount of debt increases. The ratio depends on both its numerator and denominator.
Q3Is a primary deficit the same as the total deficit?
No. A primary deficit excludes net interest outlays. The total deficit includes them, so the figures can differ in the same fiscal year.
Sources and further reading
Report an issue
We’ll prepare an email with this article link. Mark receives the report only after you send it
Quick check
Read the guide? Check yourself with 3 questions
Question 01
Hypothetically, if federal revenues are $5.0 trillion and total outlays are $5.6 trillion for one fiscal year, what is the total deficit?
Choose an answer to see the explanation
Options glossary
Clear definitions of essential option terms, from calls, puts, and option chains to IV, Greeks, open interest, and max pain
Browse the options glossary