The U.S. national debt is calculated by adding together two categories of outstanding federal debt: debt held by the public and intragovernmental holdings. The U.S. Department of the Treasury reports their combined amount as total public debt outstanding, commonly called gross federal debt.
The calculation is:
National Debt = Debt Held by the Public + Intragovernmental Holdings
The Treasury tracks these amounts through its official accounting systems and publishes updated figures in its Debt to the Penny database.
Unlike the annual federal budget deficit, which measures the difference between government spending and revenue over a fiscal year, national debt measures outstanding federal borrowing at a particular date.
For example, the Treasury reported approximately $40.05 trillion in total public debt outstanding on August 18, 2026. This consisted of approximately $32.27 trillion in debt held by the public and $7.78 trillion in intragovernmental holdings. These are historical figures for that reporting date, not current November 2026 totals.
Understanding this calculation requires looking at what the Treasury counts, how it records outstanding securities, and how the total changes over time.
The Official Formula for Calculating U.S. National Debt
The official gross federal debt calculation has two main components.
Debt Held by the Public
Debt held by the public represents federal debt held outside the federal government. It includes Treasury securities owned by individuals, financial institutions, businesses, state and local governments, foreign investors, foreign governments, and Federal Reserve Banks.
Examples include:
1. Treasury bills held by investment funds.
2. Treasury notes owned by individual investors.
3. Treasury bonds held by pension funds.
4. Government securities owned by foreign investors.
5. Treasury securities held by the Federal Reserve.
This category measures borrowing from entities outside the federal government.
Intragovernmental Holdings
Intragovernmental holdings represent federal debt held by government accounts and trust funds.
For example, certain Social Security trust fund investments are held in special-issue Treasury securities. These securities represent obligations of the Treasury to those government accounts.
Other federal trust funds and special government accounts also hold Treasury securities.
Although these holdings represent obligations within the federal government, they are included in gross federal debt.
How the Components Are Combined
Consider a simplified example:
Debt Component | Amount |
|---|---|
Debt held by the public | $30 trillion |
Intragovernmental holdings | $7 trillion |
Total national debt | $37 trillion |
The calculation is straightforward:
$30 trillion + $7 trillion = $37 trillion
The resulting $37 trillion represents gross federal debt in this hypothetical example.
This is the basic method behind the Treasury's published total public debt outstanding figure.
What Types of Debt Are Included in the Calculation?
The Treasury does not calculate national debt by adding every government expense, unpaid bill, or financial commitment together. It primarily measures outstanding federal debt represented by Treasury securities and specified federal borrowing obligations.
The Debt to the Penny dataset includes several categories of Treasury-issued securities.
Debt Instrument | What It Represents |
|---|---|
Treasury bills | Short-term federal borrowing instruments |
Treasury notes | Medium-term interest-bearing government securities |
Treasury bonds | Long-term government borrowing instruments |
Treasury Inflation-Protected Securities (TIPS) | Securities whose principal adjusts with inflation |
Floating Rate Notes (FRNs) | Treasury securities with interest rates that periodically reset |
Federal Financing Bank securities | Securities associated with federal financing activities |
Government Account Series (GAS) | Securities held by federal government accounts |
U.S. Savings Securities | Savings instruments issued by the federal government |
State and Local Government Series (SLGS) | Treasury securities issued for eligible state and local government entities |
These instruments are distributed between debt held by the public and intragovernmental holdings, depending on who owns them and how they are classified.
For example, a Treasury bond held by a pension fund generally contributes to debt held by the public. A special-issue Treasury security held by a federal trust fund contributes to intragovernmental holdings.
How Does the U.S. Treasury Calculate the Debt?
The U.S. Department of the Treasury, through the Bureau of the Fiscal Service, maintains the accounting records used to calculate outstanding federal debt.
The process involves recording Treasury securities issued, tracking their outstanding principal amounts, accounting for securities held by government accounts, and combining the relevant categories.
The calculation can be understood through four steps.
Step 1: Record Outstanding Treasury Securities
The Treasury issues securities to finance federal borrowing requirements.
When securities are issued, they create obligations that the government must repay according to their terms.
The Treasury's accounting systems track the amount of these securities that remains outstanding.
For example, if the Treasury issues $100 billion in new securities, that issuance increases outstanding debt, assuming the securities are not offset by other transactions or repayments.
Step 2: Account for Securities Held Outside the Federal Government
The Treasury identifies the outstanding federal debt held by entities outside the federal government.
This includes securities held by domestic investors, financial institutions, foreign investors, the Federal Reserve, and other eligible holders.
The resulting amount is reported as debt held by the public.
Step 3: Account for Intragovernmental Holdings
The Treasury also records securities held by federal government accounts, including certain trust funds and special funds.
These obligations are reported separately as intragovernmental holdings.
Although the securities are held within the federal government, they remain part of the official gross debt calculation.
Step 4: Add Both Categories
Finally, the Treasury combines debt held by the public and intragovernmental holdings.
Gross Federal Debt = Public Debt Holdings + Government Account Holdings
The resulting amount is reported as total public debt outstanding.
What Is the Debt to the Penny Database?
The Debt to the Penny database is the Treasury's official source for tracking the outstanding U.S. national debt.
It provides daily figures showing the total public debt outstanding and its two main components.
The database is particularly useful because it allows readers to examine the debt on specific dates rather than relying only on annual or monthly summaries.
Its principal reporting fields include:
Data Field | Meaning |
|---|---|
Record Date | Date associated with the reported debt figure |
Debt Held by the Public | Outstanding debt held outside the federal government |
Intragovernmental Holdings | Debt held by federal government accounts |
Total Public Debt Outstanding | Combined amount of the two debt categories |
The total is calculated by adding the two component amounts.
How Often Is National Debt Updated?
The Treasury's Debt to the Penny figures are updated each business day.
However, the reporting system does not operate as a continuously updated counter. Treasury explains that its accounting system receives information from reporting entities, processes the previous day's transactions, and publishes the resulting debt figure by approximately 3 p.m. Eastern Time on the following business day.
This means the latest displayed amount generally represents a completed reporting date rather than the exact amount at the moment someone visits the website.
For readers tracking changes in federal debt, the reporting date is therefore just as important as the dollar amount.
The Treasury also publishes a Monthly Statement of the Public Debt, which provides more detailed information about the types of securities outstanding, their maturity dates, and their amounts.
Is National Debt Calculated Using Face Value or Market Value?
An important distinction in understanding the national debt calculation is the difference between the amount of debt officially recorded by the Treasury and the market value of outstanding government securities.
The Treasury's Public Debt Outstanding measure is based on the face or principal amount of outstanding Treasury marketable and nonmarketable securities, rather than the amount those securities would necessarily sell for in the financial market.
Face value or principal value refers to the amount the government is obligated to repay under the security's terms.
Market value represents the price investors would pay for a security under current market conditions.
These amounts can differ.
For example, suppose an investor holds a Treasury bond with a $1,000 face value and a fixed interest rate. If market interest rates subsequently rise, that bond may become less attractive compared with newly issued securities offering higher rates.
Its market price could fall below $1,000 even though the government still owes the contractual principal amount.
If market interest rates fall, the reverse may happen: the bond could become more valuable in the secondary market.
This distinction is important because changes in market prices do not automatically change the Treasury's reported face-value debt total.
The Treasury's public debt reporting and market-value estimates therefore answer different questions:
Measurement | What It Tells Us |
|---|---|
Official public debt outstanding | The recorded principal amount of outstanding federal debt |
Market value of government debt | The estimated value of outstanding securities under current market conditions |
Economists may examine market-value estimates for certain research purposes, but the commonly reported U.S. national debt figure is the Treasury's official public debt outstanding measure.
Why Doesn't the Change in National Debt Always Match the Annual Budget Deficit?
The annual federal budget deficit and the change in national debt are closely related, but they are not identical measurements.
The federal deficit measures the difference between government spending and government revenue during a fiscal year.
National debt measures the outstanding amount of federal borrowing at a particular date.
Although budget deficits are a major reason the government borrows, other financial activities also affect how much the Treasury must borrow and how outstanding debt changes.
There are three important reasons for this difference.
Changes in the Treasury's Cash Balance
The Treasury maintains cash balances to manage federal payments and receipts.
When the government increases its cash balance, it may need to borrow more than the amount required to finance the budget deficit alone.
When it uses existing cash balances to make payments, it may need to borrow less.
For example, imagine that the federal government has a $1 trillion budget deficit during a fiscal year.
If the Treasury also increases its cash balance by $100 billion, the additional financing requirement can cause borrowing from the public to exceed the deficit.
Conversely, drawing down cash balances can reduce the amount of additional borrowing needed.
Federal Credit Programs and Other Financing Activities
Some federal financial activities affect borrowing without appearing in the budget deficit in the same way as ordinary spending.
Federal credit programs provide an example.
Under federal budget accounting rules, the estimated subsidy cost of certain direct loan and loan guarantee programs is recorded in the budget rather than simply treating every dollar of loan disbursement as an immediate budget expense.
As a result, cash flows associated with these programs can affect the Treasury's borrowing requirements differently from the reported deficit.
Other financing transactions can also influence the amount borrowed from the public.
Changes in Intragovernmental Holdings
Gross federal debt includes both debt held by the public and intragovernmental holdings.
Therefore, changes in government account holdings can affect the total national debt independently of the relationship between the annual deficit and borrowing from the public.
For example, changes in federal trust fund balances can influence the amount of Treasury securities held by government accounts.
The total gross debt can therefore change by a different amount from debt held by the public.
The Congressional Budget Office (CBO) explicitly recognizes that the Treasury's net borrowing from the public is determined primarily by the federal deficit, but other means of financing also affect borrowing requirements. These include federal credit program cash flows and changes in Treasury cash balances.
A Simplified Example
Consider the following hypothetical figures for one fiscal year:
Item | Amount |
|---|---|
Federal budget deficit | $1.0 trillion |
Additional borrowing associated with cash balance and other financing changes | $100 billion |
Increase in debt held by the public | $1.1 trillion |
Increase in intragovernmental holdings | $50 billion |
Increase in gross federal debt | $1.15 trillion |
This example illustrates why the annual deficit and the increase in gross federal debt may differ.
The $1.15 trillion increase in gross debt consists of the change in debt held by the public plus the change in intragovernmental holdings.
These are illustrative figures, not actual federal financial results.
The distinction is especially important when comparing annual deficit statistics with changes in the national debt over the same fiscal year.
Is the National Debt the Same as Debt Subject to the Limit?
No. Total public debt outstanding and debt subject to the statutory limit are related but different measurements.
The national debt figure commonly reported by the Treasury includes gross federal debt, consisting of debt held by the public and intragovernmental holdings.
Debt subject to the limit is a separate legal calculation used to determine how much debt counts against the borrowing limit established by Congress.
Certain adjustments and exclusions apply when calculating debt subject to the limit. For example, the calculation accounts for unamortized discounts on certain securities, specified miscellaneous debt, and certain Federal Financing Bank and guaranteed debt.
Consequently, the amount of debt subject to the limit may differ from the total public debt outstanding.
This distinction matters when interpreting government debt reports. The debt ceiling does not change the basic definition of gross federal debt, and the two figures should not be treated as interchangeable.
How Can You Check the U.S. National Debt Calculation Yourself?
Anyone can check the official national debt figures using publicly available Treasury data.
The simplest method is to use the Treasury's Debt to the Penny database.
Follow these steps:
1. Visit the U.S. Treasury Debt to the Penny database.
2. Select the reporting date you want to examine.
3. Find the debt held by the public amount.
4. Find the intragovernmental holdings amount.
5. Add the two figures together.
6. Compare the result with the reported total public debt outstanding.
For example, if a selected reporting date shows $32 trillion in debt held by the public and $8 trillion in intragovernmental holdings, the calculation is:
$32 trillion + $8trillion =$40 trillion
The result represents gross federal debt for that reporting date.
Readers who want to examine the data in more detail can also download the Treasury's CSV files or use its public API.
The Fiscal Data API documentation provides information about accessing the underlying records programmatically.
This makes it possible to compare historical debt totals, examine changes over time, and independently verify the arithmetic behind published national debt figures.
Conclusion
The U.S. national debt is calculated by adding debt held by the public and intragovernmental holdings. The Treasury tracks these categories through its federal debt accounting systems and reports their combined amount as total public debt outstanding.
The calculation itself is straightforward, but understanding what goes into it requires distinguishing between different types of government securities, debt ownership, reporting conventions, and federal financing activities.
It is also important to remember that the annual federal budget deficit does not necessarily equal the increase in gross federal debt. Changes in Treasury cash balances, federal credit programs, other financing transactions, and intragovernmental holdings can all influence the final amount.
The Treasury's Debt to the Penny database provides the most direct way to examine the official calculation and follow changes in outstanding federal debt over time.
Frequently Asked Questions
1. What is the formula for calculating U.S. national debt?
The formula is:
National Debt = Debt Held by the Public + Intragovernmental Holdings
The Treasury adds these two categories to calculate total public debt outstanding, also known as gross federal debt.
2. Who calculates the U.S. national debt?
The U.S. Department of the Treasury, through the Bureau of the Fiscal Service, maintains the official federal debt accounting records and publishes national debt figures.
Its Debt to the Penny database provides daily information about total public debt outstanding and its two components.
3. Is the U.S. national debt calculated daily?
Yes. The Treasury publishes Debt to the Penny figures each business day, generally by 3 p.m. Eastern Time using information from the previous business day.
The reported amount represents a specific accounting date, not a continuously updated real-time balance.
4. Why is the national debt different from the federal budget deficit?
The federal budget deficit measures the difference between federal spending and revenue during a fiscal year. National debt measures outstanding federal borrowing at a particular point in time.
Other financing activities, changes in Treasury cash balances, federal credit programs, and changes in intragovernmental holdings can cause the increase in gross federal debt to differ from the annual deficit.
5. Does the national debt calculation include interest?
Outstanding interest-bearing Treasury securities are included in the national debt calculation through their recorded principal amounts. However, interest expenses are not simply added to the debt as a separate annual spending figure.
When interest payments are financed through additional borrowing, that borrowing can increase outstanding debt.
6. Where can I find the exact U.S. national debt figure?
The official figure is available through the U.S. Treasury's Debt to the Penny database.
It provides total public debt outstanding, debt held by the public, and intragovernmental holdings for individual reporting dates.