# Source snapshot: us-aid-vs-military-2025

[`calculate.mjs`](calculate.mjs) reads the extracts in this folder and writes every number in the post to `statistics.json`; [`extract.py`](extract.py) rebuilds the OMB and ForeignAssistance.gov extracts from the raw downloads. US sources were retrieved on **20 November 2026** (curl). Raw downloads are listed with their hashes under Files and are not uploaded with the post (`../.datahubignore`); the extracts are.

## Headline pair: OMB Historical Table 3.2 and the Monthly Treasury Statement (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/>. File: <https://www.whitehouse.gov/wp-content/uploads/2026/04/hist03z2_fy2027.xlsx>, "Table 3.2 – Outlays by function and subfunction: 1962–2031", US$ millions. Columns to 2025 are actual outlays (which OMB can still revise in later budgets); 2026 onwards are estimates.
- **Series used:** function **050** "Total, National Defense" ($916,140m in FY2025) against economic aid = subfunction **151** "International development and humanitarian assistance" ($30,014m) plus the **Economic Support Fund** ($7,479m, below). All are net outlays for fiscal year 2025 (1 October 2024 to 30 September 2025). The budget files the Economic Support Fund under subfunction 152 "International security assistance"; the rest of 152 (Foreign Military Financing, peacekeeping, narcotics control and law enforcement, demining and similar; $15,516m for all of 152 including ESF) is on neither side of the headline and is used in the sensitivity check. Defense Department-run military aid is inside 050.
- **Economic Support Fund:** Treasury, Monthly Treasury Statement, table 5 (outlays by agency and account), line "Economic Support Fund" under International Assistance Programs, fiscal-year-to-date net outlays in each September statement, FY2018–2025. API: <https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/mts/mts_table_5?filter=record_date:eq:2025-09-30&page[size]=10000> (and the same for each September 30 from 2018). The raw responses (about 0.7 MB each) are not kept; `treasury-mts-table5-esf-fmf-fy2018-2025.csv` records each value, the next statement's prior-year value (identical for 2019–2024; 2018 differs by $16m) and the SHA-256 of the raw response it came from. Foreign Military Financing is extracted beside it for reference.
- **Licence:** US federal government work, public domain (17 U.S.C. § 105).
- **Historical cross-check (not a claim in the post):** Treasury, Monthly Treasury Statement for September 2025, table 9 (receipts and outlays by function), fiscal-year-to-date: National Defense $916,649m, International Affairs $45,170m, against OMB's $916,140m and $45,171m. API query: <https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/mts/mts_table_9?filter=record_date:eq:2025-09-30&page[size]=200>. MTS restated FY2024 International Affairs: $71,992m in the September 2024 statement (`treasury-mts-table9-2024-09.json`), $56,390m as the prior year in the September 2025 statement; OMB's table has $56,396m, close to the restated value. The functional totals are therefore taken from OMB throughout.

## Sensitivity: ForeignAssistance.gov (public domain)

- **Publisher:** US Department of State and USAID, ForeignAssistance.gov, data download page <https://foreignassistance.gov/data>. File used: `us_foreign_aid_funding.csv` (<https://s3.amazonaws.com/files.explorer.devtechlab.com/us_foreign_aid_funding.csv>, Last-Modified 2 September 2026, 22,130,561 bytes, SHA-256 `22cda3dc39dd73ca41cadf2e4c4e266818199f42fc3693a3da4a01355095cfcc`; not kept here). Aggregated to disbursements by fiscal year, funding agency and funding account, 2015–2025.
- **Military assistance**, as used here: every Department of Defense account except Overseas Humanitarian, Disaster, and Civic Aid (97x0819, humanitarian), plus State's Foreign Military Financing (11x1082), International Military Education and Training (11x1081) and Peacekeeping Operations (11x1032). An account-based approximation (some accounts mix purposes) of ForeignAssistance.gov's own "Military" objective, which is published only in the 3.7 GB activity-level file (`us_foreign_aid_complete.csv`); that file was too slow to download (about 0.3 MB/s) and was not used.
- **FY2025 completeness:** not shown to be complete. FY2025 disbursements were about $32.5bn in Devex's report of 8 December 2025 (<https://www.devex.com/news/money-matters-how-much-has-the-us-state-dept-spent-on-aid-in-2025-110997>), $47.3bn in the 1 July 2026 update (Pew Research Center, <https://www.pewresearch.org/short-reads/2026/07/21/us-foreign-aid-is-plunging-in-second-trump-administration/>) and $47.75bn in this 2 September 2026 file, so the figure was still being revised. OMB reports actual outlays for 2025. ForeignAssistance.gov is therefore used for the sensitivity check, not the headline.
- **Licence:** US federal government work, public domain.

## Historical cross-checks (not published claims)

The OECD DAC1 series (official development assistance, calendar year, 2025 preliminary; OECD terms of use) and the SIPRI Military Expenditure Database (US fiscal year; non-commercial terms) were the previous headline pair. Neither is a claim in the post: OECD ODA is a different period and definition from the fiscal-year outlays above, the all-DAC-donors comparison mixed a fiscal with a calendar year, and SIPRI's terms do not suit publication. Their extracts and values are kept in the Factory repository only, outside the published package: the files are excluded by `../.datahubignore`, and `calculate.mjs` writes the cross-checks (with the Treasury table 9 comparison) to `historical-cross-checks.json` beside the package when they are present. The SIPRI workbook itself was removed on 20 November 2026 (its hash is below).

## Files

Uploaded with the post: `omb-outlays-defense-intl-2015-2025.csv`, `treasury-mts-table5-esf-fmf-fy2018-2025.csv` and `foreignassistance-gov-disbursements-by-account-fy2015-2025.csv` (what `calculate.mjs` needs), plus `statistics.json`. The rest are in the repository only.

| File | Bytes | SHA-256 |
|---|---|---|
| `omb-hist03z2-fy2027.xlsx` (OMB table 3.2 as downloaded) | 60,343 | `78100f3efb1a6b08d675b24af173a57359e47dce103a2f1499d905a4bbba06ce` |
| `omb-outlays-defense-intl-2015-2025.csv` (functions 050 and 150 with subfunctions, total outlays) | 6,402 | `5f6c1c50611120e9253897f63ec87a91070e5319d0f3a66e2265ff6b9536f273` |
| `treasury-mts-table9-2025-09.json` (API response as received) | 22,611 | `ecfe94ec35fa34b3687c8a9ba1077a45be0e5a9974d573ba53c6ef113550d6ae` |
| `treasury-mts-table9-2024-09.json` (API response as received; restatement evidence) | 22,608 | `dd3ddd299594fcb0534a526727f7f824f5387ea6890e999607c37e34fe47a8f5` |
| `treasury-mts-table5-esf-fmf-fy2018-2025.csv` (ESF and FMF lines from eight table 5 responses, with their hashes) | 2,309 | `bba90333a063593198a234c3ef9e7a37a311dc43ec6fa465e17f7cb89e16ce0b` |
| `foreignassistance-gov-disbursements-by-account-fy2015-2025.csv` (aggregated from `us_foreign_aid_funding.csv`) | 86,412 | `876b523e05f7495dbb931556a33bdc754beb0ce2ebe3a7de3cd97310b673df95` |
| `oecd-dac1-raw-download.csv` (OECD API response as received) | 22,521 | `7869e03618d3a0faceb17c9452f43daf3fde288d4b55b0e61018921bce81fc04` |
| `oecd-oda-usa-dac-2015-2025.csv` (code columns only, sorted) | | see `../../MANIFEST.sha256` |
| `sipri-usa-2015-2025.csv` (US row; repository only) | | see `../../MANIFEST.sha256` |
| `SIPRI-Milex-data-1949-2025_v1.2.xlsx` (removed; not in the package) | 922,552 | `6cc3a30b1064f9f02e60236667eef82e08cad42910ce630909d004ad2c398a9d` |

## Not used

Per-head figures (would need one population series for both sides) and federal-outlays shares (the pilot's candidate list, `../../../candidates.csv`, has the outlays share as a separate single figure). Veterans' benefits (function 700) are not defence outlays and are on neither side.
