Source snapshot: us-interest-vs-defense-2026

fetch.mjs downloads the raw sources and prints their hashes; extract.py (Python standard library only) rebuilds the CSV extracts from them; calculate.mjs reads only the extracts and writes every number in the post to statistics.json. All sources were retrieved on 28 November 2026. Raw downloads are kept in the repository, listed with their hashes under Files, and not uploaded with the post (../.datahubignore); the extracts are.

Headline pair: Monthly Treasury Statement, table 9 (public domain)

  • Publisher: US Department of the Treasury, Bureau of the Fiscal Service, Monthly Treasury Statement of Receipts and Outlays of the United States Government (MTS). Dataset page: https://fiscaldata.treasury.gov/datasets/monthly-treasury-statement/. Table 9, "Summary of Receipts by Source, and Outlays by Function of the U.S. Government".
  • API query (one per year, 2021 to 2026): https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/mts/mts_table_9?filter=record_date:eq:2026-09-30&page[size]=200. The September statement closes the fiscal year; its current_fytd_rcpt_outly_amt column is the full-year net outlays.
  • Series used: "Net Interest" (budget function 900) 1,051,753,969,311∗∗and"NationalDefense"(function050)∗∗1,051,753,969,311** and "National Defense" (function 050) **965,160,356,821, fiscal year 2026 (1 October 2025 to 30 September 2026). Both are net outlays from the same table and statement. The five-year view takes each year's own September statement (2021 to 2026); the September 2026 statement's prior-year column restates FY2025 as $970.4bn and $916.6bn, the same as the September 2025 statement to the nearest $0.1bn.
  • Definitions: with signed values, function 900 = 901 + 902 + 903 + 908 + 909: interest on Treasury debt securities (gross, 901, positive), interest received by on-budget and off-budget trust funds (902, 903, negative), other interest (908, net of payments and receipts; negative in recent years) and other investment income (909). Interest paid by one part of the government to another nets out. Net interest is the budget's measure of the government's net interest cost; it is close to, but not exactly, interest on debt held by the public. Function 050 is Department of Defense-Military (051), atomic energy defense activities (053, mostly the Department of Energy's nuclear weapons programs) and defense-related activities (054). Veterans Benefits and Services (function 700) is in neither.
  • Licence: US federal government work, public domain (17 U.S.C. § 105).

Sensitivity: Monthly Treasury Statement, table 5 (public domain)

  • Table 5, "Outlays of the U.S. Government" by agency and account, September 2025 and September 2026 statements: https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/mts/mts_table_5?filter=record_date:eq:2026-09-30&page[size]=10000 (and 2025-09-30). Lines used, fiscal-year-to-date net outlays: "Total–Interest on Treasury Debt Securities (Gross)" (1,359,953,253,417inFY2026),"Total−−DepartmentofDefense−−MilitaryPrograms"(1,359,953,253,417 in FY2026), "Total--Department of Defense--Military Programs" (916,836,451,163) and, for reference, "Total–Interest Received by Trust Funds" (-$217,670,747,485). The raw responses (about 0.7 MB each) are kept in the repository (not uploaded); treasury-mts-table5-lines-fy2025-2026.csv holds the lines used. calculate.mjs checks that MTS "Department of Defense–Military Programs" equals OMB subfunction 051 for FY2025 within 0.1%, so the narrower defense measure has the 051 scope.
  • Veterans Benefits and Services (function 700, $416.2bn in FY2026) is from table 9 above.

Long view: OMB Historical Tables 3.1 and 3.2 (public domain)

  • Publisher: Office of Management and Budget, Budget of the US Government, Fiscal Year 2027, Historical Tables. Landing page: https://www.whitehouse.gov/omb/information-resources/budget/historical-tables/.
  • Table 3.1, "Outlays by Superfunction and Function: 1940–2031", US$ millions: https://www.whitehouse.gov/wp-content/uploads/2026/04/hist03z1_fy2027.xlsx. Rows "National Defense", "Net interest" and "Total, Federal outlays", every fiscal year 1940–2025 (actual outlays; 2026 onwards are estimates and are not used; the 1976 transition quarter is not a fiscal year and is skipped).
  • Table 3.2, "Outlays by Function and Subfunction: 1962–2031": https://www.whitehouse.gov/wp-content/uploads/2026/04/hist03z2_fy2027.xlsx. Subfunctions 051, 053, 054 and 901–909, 2015–2025, to reconcile gross and net interest and the parts of 050 (calculate.mjs checks both sum to their function).
  • Table 6.1, "Composition of Outlays: 1940–2031": https://www.whitehouse.gov/wp-content/uploads/2026/04/hist06z1_fy2027.xlsx, retrieved 29 November 2026. Rows "National defense" and "Net interest" in the block "In billions of constant (FY 2017) dollars", fiscal 1940–2025 (OMB's own inflation adjustment; its current-dollar rows equal Table 3.1's). Used only for the line chart, so that levels compare across years; it has no FY2026 actual yet, so the chart ends in 2025. calculate.mjs checks that it orders the two functions the same way as Table 3.1 in every year.
  • Agreement with the Treasury: for these two functions, OMB's actual outlays and the MTS September figures differ by at most about 0.2% (0.201%, FY2024 net interest) in 2021–2025, and rank interest and defense the same way in every year (statistics.json, long_view.omb_vs_mts_pct_diff). OMB publishes FY2026 actuals with the FY2028 Budget, so FY2026 is MTS only.
  • What the long view says: on OMB's figures, net interest was below national defense in every fiscal year from 1940 to 2023, came closest in 1996 (90.7%), and exceeded it in 2024 (by 0.7%; 0.9% on the September 2024 MTS) and 2025. Years before 1940 are not in these tables and the post makes no claim about them.

Files

Uploaded with the post: the five CSV extracts, statistics.json and the scripts. The raw downloads stay in the repository (../.datahubignore).

FileBytesSHA-256
treasury-mts-table9-2021-09.json (API response as received)22,614d689ba3483c8853f133e6ca014a3e0bc088f578b2a6a87ad5e333842f5ca573c
treasury-mts-table9-2022-09.json22,614efd03c9058bdd89722c4ff497168c37fe8ecba90af33d17e6a6e007eca23e2b1
treasury-mts-table9-2023-09.json22,604adb3772058794d80a6cddd16a1e1092f969adb881a19769348bc6b10ebcd78f0
treasury-mts-table9-2024-09.json22,608dd3ddd299594fcb0534a526727f7f824f5387ea6890e999607c37e34fe47a8f5
treasury-mts-table9-2025-09.json22,611ecfe94ec35fa34b3687c8a9ba1077a45be0e5a9974d573ba53c6ef113550d6ae
treasury-mts-table9-2026-09.json22,61490baf124db10049f2dae9b83998977c7bb46c80aedc91bfbd54c9c61dda6ed45
treasury-mts-table5-2025-09.json (API response as received)696,79586071126aa63cf7a090670b46e1f64b7cde84719d5d2b8db14c5f9343948e745
treasury-mts-table5-2026-09.json696,716f4f6246300d5d53c465bc53858a8a8049771d652228122dd344f6483853c3f5a
omb-hist03z1-fy2027.xlsx (OMB Table 3.1 as downloaded)40,89247864b5078698919c3237038ad7296fb7aeb62f6942c3d8acccf98ad0a7122f7
omb-hist03z2-fy2027.xlsx (OMB Table 3.2 as downloaded)60,34378100f3efb1a6b08d675b24af173a57359e47dce103a2f1499d905a4bbba06ce
omb-hist06z1-fy2027.xlsx (OMB Table 6.1 as downloaded)36,103cfacc6da8cc2496197e1586215fb0ede3891ded6c2db264a2390b7a4041b7911
treasury-mts-functions-fy2021-2026.csv (every function line of table 9, each September)8,9234652f963dff1486247ddbc7c575f6df889e9b0353dd8758d609124327d6cdcbd
treasury-mts-table5-lines-fy2025-2026.csv (gross interest, trust-fund interest, DoD military)784b739e15b0b94437416e0ced42948e4265a22f93636ce6fab1faf9c8705a407e9
omb-defense-interest-1940-2025.csv (Table 3.1: 050, 900 and total outlays)9,2281f65a3c75709e43d8d8ea10ae6706ee907fe37df7e26326060c8afa2b18d1645
omb-defense-interest-constant-2017-dollars-1940-2025.csv (Table 6.1: 050 and 900, FY2017 dollars)2,753ef84f5e5cf4080944f5b57114bf622caf7ea3768c4dd2fd298f63e58c466b3a3
omb-subfunctions-2015-2025.csv (Table 3.2: 051, 053, 054, 901–909)4,8634292b1ab397e6ca0ad33b12d606b77749c4b4dd2ce5ff608a5ae177619ef3cc9

The 2024 and 2025 table 9 responses are byte-identical to those fetched on 20 November 2026 for us-aid-vs-military-2025, and the Table 3.2 workbook is the same file.

Not used

Per-head figures (same population on both sides, so the ratio is unchanged) and shares of GDP (same denominator, same ratio). "Interest on debt held by the public" is not a budget line; net interest is the budget's own measure of the net cost.

Built with LogoFlowershow