Data corrected on 2026-11-06

Until this date the summaries for fiscal years 2018 through 2025 had four errors. They are fixed. FY2012–2017 come from a different parser and were not rebuilt or audited.

  1. Wrong agency names. Each workbook was labelled with the first agency in it. The Other Independent Agencies workbook holds about 100 agencies, so all their accounts carried one name. Every row now carries its own agency's name.
  2. Repeated accounts. Exact duplicate downloads (FY2018–2022) and the DEFC workbooks, a second cut of accounts the agency workbooks already hold, were read along with the agency workbooks.
  3. Accounts added together. An allocation account such as 69-69-0143 was summed into its parent 69-0143, which kept its name.
  4. A mislabelled column. "Budget Authority (Line 2500)" is total budgetary resources. Budget authority is line 1900.

Before the fix → after:

Fiscal yearRows before → afterAccounts before → afterOld rows with the wrong agencyTotal unobligated ($B)Total budgetary resources ($B)
FY201829,988 → 7,4977,497 → 7,4972,480 (8%)5,274 → 1,31829,843 → 7,461
FY201930,164 → 7,5417,541 → 7,5412,480 (8%)5,404 → 1,35131,273 → 7,818
FY202029,641 → 7,8247,824 → 7,8241,037 (3%)12,631 → 2,87554,012 → 12,261
FY202132,790 → 8,0068,006 → 8,0063,155 (10%)10,729 → 2,42055,986 → 12,932
FY202232,651 → 8,2038,203 → 8,2033,404 (10%)10,244 → 2,46947,481 → 11,629
FY20239,474 → 8,3508,350 → 8,3501,472 (16%)3,013 → 2,64413,504 → 11,977
FY20249,557 → 8,5288,528 → 8,5281,622 (17%)2,984 → 2,61612,757 → 12,032
FY20259,757 → 8,6938,652 → 8,6931,647 (17%)3,368 → 2,97112,717 → 13,271

"Old rows with the wrong agency" counts old rows whose agency differs from the account's agency in the corrected data. Totals are for the latest month in each year.

What the totals cover. The yearly summaries keep only accounts for which OMB’s report has both a line 2490 row (unobligated balance) and a line 2500 row (total budgetary resources). Accounts with no line 2490 row are left out. A few accounts each year have a line 2490 but no line 2500 row, and are left out too. So a total on this site is the total for accounts that report an unobligated balance, not for every account in the SF-133. Financing accounts are included. In FY2025 that leaves out 526 accounts, 147 of them with nonzero total budgetary resources worth $264.9B. The largest is 97-0040 Payment to Military Retirement Fund ($154.4B), whose raw workbook has no line 2490 row. The Hugging Face dataset keeps every account.

Fiscal yearAccounts in the totalsTotal budgetary resources in the totals ($B)Accounts left outOf those, with nonzero resourcesTheir resources ($B)Financing accounts in the totals ($B)
FY20187,4977,460.7456115133.4383.5
FY20197,5417,818.2436120162.4361.5
FY20207,82412,260.9433111151.81,313.1
FY20218,00612,931.7448115187.21,286.9
FY20228,20311,629.0475117208.2792.9
FY20238,35011,977.2516138213.1794.2
FY20248,52812,032.2520140309.3470.8
FY20258,69313,271.2526147264.9721.7

Totals are for September of each fiscal year.

Data Source

Data is sourced from MAX.gov SF 133 Reports on Budget Execution and Budgetary Resources covering fiscal years 2018-2025.

The SF 133 report contains monthly budget execution data for all federal agencies. Our system processes complete fiscal years, automatically detecting available months for each year.

Multi-Year Coverage

Understanding Federal Accounts

Excel File Structure & Processing Method

Each agency provides Excel files containing multiple sheets. We use the Raw Data sheet method for maximum compatibility across years.

Why Raw Data Sheets?

Finding the Header Row

We search for a row containing "LINENO", "BUREAU", or "OMB_ACCT" within the first 30 rows of the Raw Data sheet.

Data Extraction - Raw Data Sheet Method

All agencies are processed using the standardized Raw Data sheet format:

Standard Raw Data Column Mappings

  • BUREAU = Bureau/sub-agency name
  • OMB_ACCT = OMB account identifier
  • TAFS = Treasury Account Fund Symbol (contains account name after " - ")
  • LINENO = Line number column
  • AMT_JUL = July data (monthly amount)
  • AMT_AUG = August data (monthly amount)
  • AMT3 = June data (3rd quarter cumulative)
  • AMT4 = September data (4th quarter cumulative, fiscal year end)

Auto-Detection of Available Months

The system automatically detects which months have data for each fiscal year:

Specific Lines Extracted

Processing Steps

  1. Use one workbook per agency per year: skip DEFC workbooks (a second cut of accounts the agency workbooks already hold) and exact duplicate downloads (the run stops if two workbooks cover the same agencies but differ)
  2. Load Raw Data sheet and identify header row containing "LINENO", "BUREAU", "OMB_ACCT"
  3. Label every row with its own AGENCY value (the Other Independent Agencies workbook holds about 100 agencies)
  4. Forward fill key columns (BUREAU, OMB_ACCT, TAFS) down the spreadsheet
  5. Convert LINENO to numeric and keep lines 2490 (unobligated balance), 2500 (total budgetary resources) and 1900 (budget authority)
  6. Auto-detect latest available month with valid data (non-zero, non-null values)
  7. Extract values from the latest month column
  8. Merge Line 2490 and Line 2500 data on matching Agency + TAFS combinations (an account missing either line is left out), and add Line 1900 where the account reports it
  9. Extract account name from TAFS (text after " - ")
  10. Convert values from dollars to millions
  11. Calculate percentage: (Unobligated Balance / Total Budgetary Resources) × 100

Data Validation Tests

The system runs specific validation tests before deploying data. Each test must pass:

test_year_data_completeness()

test_csv_summary_files()

test_data_consistency()

test_data_reasonableness()

test_cross_year_consistency()

Website Structure Tests

TAFS Parsing

The Treasury Account Fund Symbol (TAFS) contains account and year information:

Standard Agency TAFS Format

018-45-0243 /25 - Federal Direct Student Loan Program Account

Other Independent Agencies TAFS Format

95-2300 24/25 - Salaries and Expenses

Special Cases

Data Files Used by the Application

The web application reads the following data file:

all_agencies_obligation_summary.csv - Account-level budget execution data

Fields in the CSV file:

  • Agency - Federal agency name (e.g., "Department of Education")
  • Bureau - Sub-agency or bureau within the agency
  • Account - Account name extracted from TAFS (e.g., "Federal Direct Student Loan Program Account")
  • Account_Number - Treasury Account Symbol (e.g., "91-0243")
  • Period_of_Performance - Single year or multi-year designation
  • Expiration_Year - When the funds expire (e.g., "2025", "No Year")
  • TAFS - Full Treasury Account Fund Symbol string
  • Unobligated Balance (Line 2490) - Amount not yet obligated (in millions)
  • Total Budgetary Resources (Line 2500) - Total budgetary resources: unobligated balance brought forward plus budget authority plus recoveries and other resources (in millions). FY2012-2017 files call this column "Budget Authority (Line 2500)"; the values are the same line.
  • Budget Authority Total (Line 1900) - Budget authority, discretionary and mandatory (in millions). Blank when the account reports no new budget authority. Not in the FY2012-2017 files.
  • Percentage Unobligated - Calculated percentage (Unobligated/Total Budgetary Resources × 100)

Code and Issues

View code and report issues: github.com/abigailhaddad/apportionment