Methodology and field reference
Every number in the Not for Profit Data Analysis tool is a figure an organization reported on its own IRS Form 990, 990-EZ or 990-PF, or an arithmetic combination of those figures. This page says where each one comes from, line by line, and states every formula the tool computes. Nothing here is estimated, modeled or adjusted.
What the published dataset contains
Rebuild with scripts/harvest_990.py then
scripts/build_990_dataset.py and
scripts/build_nfp_dataset.py.
Where the data comes from
The IRS publishes every electronically filed 990-series return as XML, in ZIP archives organized by filing year, on its Form 990 series downloads page. The tool covers the five most recent filing years. Because the archives are organized by when the IRS received a return rather than the year it covers, five filing years is what it takes to see three complete tax years for most filers.
The pipeline is three steps, each a script in scripts/:
harvest_990.pyreads the download page, fetches each archive with resume support, and records what it got in a manifest.build_990_dataset.pystreams every return out of the archives without unpacking them, maps the XML elements onto columns, and writes a local SQLite database of all three return types.build_nfp_dataset.pyexports the slice the web tool needs as sharded JSON underdata/nfp/.
Two mechanical details are worth recording because they change the counts.
Five of the archives are written with Deflate64
compression, which Python's zipfile refuses; those are
extracted with Info-ZIP unzip instead, and dropping them
silently would have lost about 412,000 returns. And Form 990-T
returns are skipped: a 990-T reports an exempt organization's unrelated
business income, not its own financial statements.
Which return is used when an organization filed more than once
The same tax year can appear more than once — an amended return, or a return that shows up in two archives. For each organization and tax year the tool uses the latest submission, ranked by filing year, then amended status, then object id, which runs in submission order within a filing year. The three years on a spread are that organization's three most recent tax years on file, so a spread is not necessarily three consecutive years: the period-ended row on each sheet says exactly what each column covers.
How current the most recent year is
The dataset holds every archive the IRS has published. What it cannot hold is a return nobody has filed yet, and that is why the most recent fiscal year differs from one organization to the next. A Form 990 is due four and a half months after year end and two three-month extensions are routine, so a calendar-year 2025 return can arrive any time up to November 2026.
Measured on this build: tax year 2024 holds 684,947 returns and is effectively complete, while tax year 2025 holds 273,204 and is roughly 40% in. Of the organizations in the tool, 33.8% have a 2025 return as their most recent, 53.9% have 2024, and the remaining 12% last filed in 2023 or earlier — organizations that dissolved, dropped below the filing threshold, or moved to the 990-N postcard.
Every view therefore states the year it is showing rather than implying a common one: the spread columns carry the fiscal year and the period ended date, sheet three says which year its ratios are as of, and the prospecting report has a Year column because its rows are deliberately each organization's own latest return. Comparing two organizations means checking you are comparing the same year.
The formulas on sheet three
Line numbers are Form 990 references: X-26 means Part X line
26. The tool computes nothing that is not listed here.
What the 990 cannot tell you
- Self-reported and unaudited by the IRS. The IRS publishes returns as filed. Where an organization reports audited financial statements (Part XII), the sheet header says so.
- Filed late by design. A 990 is due four and a half months after year end and extensions are routine, so the most recent return on file is commonly one to two years old. Every sheet and every prospecting row shows its own tax year.
- Compensation is reported above a threshold. Part VII lists officers, directors, trustees, key employees and the five highest compensated employees paid over $100,000. People paid less are not on the return, so the "five highest paid" is the highest paid as reported.
- Only the full Form 990 distinguishes trustees from officers. Its Part VII Section A carries a check box per role. The 990-EZ Part IV and the 990-PF Part VII line 1 are each one combined list whose own caption is "officers, directors, trustees and key employees", with no way to tell them apart beyond the title each person gives. For those two forms the tool shows everyone on that list and says so on the sheet, rather than guessing at roles the return does not report.
- Only electronic filings are included. Electronic filing has been mandatory for 990 filers for tax years beginning on or after July 2, 2019, so coverage is substantially complete for the years here, but paper filings and 990-N postcard filers are not in this dataset.
- 990-EZ and 990-PF carry less. A 990-EZ balance sheet is six lines with no restriction split and no functional expense detail; a 990-PF uses a different revenue and expense presentation entirely. Spreads for those forms show the lines that exist and leave the rest blank rather than inferring anything.
- In-kind giving can dominate the donations figure. Nationally, $148.6 billion of $940.9 billion in contributions on Form 990 — 15.8% — arrived as goods rather than money, and for 7,360 organizations it is more than half of what they received. Some of the largest charities in the country take in almost nothing in cash: one pharmaceutical patient-assistance foundation reports $4.6 billion of contributions, 100% of it donated product. Ranking on total contributions without separating line 1g puts organizations at the top of a prospect list that receive no money at all, which is why the report splits them.
- Address is the filer's mailing address on its most recent return, which for some organizations is an accountant's office rather than where it operates.
- Private foundations are shown as 501(c)(3). A foundation checking box H on the 990-PF as a "section 501(c)(3) exempt private foundation" is a 501(c)(3) organization, so it carries that subsection and the return type column is what separates it from a public charity. The two other box H cases — a section 4947(a)(1) nonexempt charitable trust, and a taxable private foundation — are not 501(c)(3) and are labeled as themselves.
- Some boxes simply do not exist on every form. The 990-PF has no mission statement line and no gross receipts box; the 990-EZ reports no employee count, no board size and no state of legal domicile. Those read as blank here because the return never asked, not because anything was dropped.
Field reference
Every column in the database and the exact XML element it is read from,
rendered live from data/nfp/lines.json — which is generated
from scripts/nfp990_fields.py, the same map the parser uses.
Where more than one element is listed, they are alternates tried in order,
because the IRS renamed elements between return versions. Element names were
taken from the IRS schema packages on the
TEOS
schemas page, and the build reports how often each column was actually
populated so a missed rename shows up as a column of nulls rather than
passing silently.
How much of the corpus is published
The database holds every e-filed return for the covered years. The site carries a sharded slice of it, because the host allows 250 MB of static content per app and the full three-year export runs to roughly 2.7 GB before compression.
What keeps it inside that budget is compression and encoding, not
exclusion. The shards are stored gzipped — roughly a
third of raw size for the indexes and a quarter for the statements — and
decompressed in the browser, which needs no host configuration and behaves
identically on a local server. Statement lines are written as
[column index, year, year, year] against a column list carried
in each shard rather than repeating the column name on every organization.
Beginning-of-year balances are not exported at all, because three years of
end-of-year figures already give the spread its three columns and the
growth rate its two points. Mission text is cut to one line, which is what
the sheet shows.
The exporter also accepts a revenue floor, which governs only which organizations get a pre-built spread; the figure is reported at the top of this page, and when it is set to none every filer carries one. The state index always carries every filer — name, city, TIN, subsection, donations, cash and net assets from its most recent return — so search and the prospecting report are complete whatever the floor. An organization above the floor is marked "index only" in the results, and its spread appears as soon as the export is rebuilt with a lower one; the local database already holds every year of it.
Rebuilding
The archives are roughly 17 GB and the local database roughly 4 GB, so
neither is kept in the repository — only the exported JSON under
data/nfp/ is. To refresh after the IRS posts new archives:
The IRS publishes a new archive roughly once a month. A scheduled check runs every Monday, compares what the IRS lists against the archive list recorded in this dataset, and raises an issue when the two diverge; it does not rebuild, because the pipeline needs the archive cache. The rebuild is one command on the machine holding that cache:
python scripts/refresh_990.py— checks, harvests only new archives, re-parses only the archives whose shard is out of date, rebuilds the database, and re-exportsdata/nfp/. Budget about eighty minutes, most of it the export.
Or the same steps by hand, which is what that script runs:
python scripts/check_990_updates.py— is a refresh due?python scripts/harvest_990.py— downloads anything new.python scripts/build_990_dataset.py --changed-only --audit— re-parses the new archives, merges every shard, prints coverage.python scripts/build_nfp_dataset.py --size-report— shows what each detail floor would cost.python scripts/build_nfp_dataset.py --min-revenue <floor>— writesdata/nfp/. Add--indexes-onlyto rewrite just the search and prospecting indexes.
Read the coverage audit before publishing a refresh. An element the IRS renames between return versions shows up as a column that drops to zero rather than as an error, which is how four extraction faults in this dataset were found; a rebuild that committed itself would have published them silently.