IRS SOI ZIP Code Data 2022 – Individual Income Tax Statistics (no AGI breakdown)
- Rows
- 27,690
- Columns
- 165
- Data range
- 0 to 99999
Tax Year 2022 individual income tax statistics by ZIP code without AGI class breakdowns. All states included. Covers returns, income, taxes, deductions, and credits at ZIP code level.
AI analysis
IRS SOI ZIP Code Data 2022 – Analysis
1. Dataset Overview and Analytical Value
This dataset originates from the IRS Statistics of Income (SOI) division, published at https://www.irs.gov/pub/irs-soi/22zpallnoagi.csv, representing Tax Year 2022 individual income tax filings aggregated at the ZIP code level across all 50 states plus DC (51 distinct STATEFIPS values). With 27,690 rows and 165 columns covering returns filed, income types, deductions, credits, and tax liability, this is one of the richest publicly available geographic snapshots of American household finances. Because it reflects actual filed returns for a complete tax year, it offers strong ecological validity for income and tax behavior research. The "no AGI" variant means all income brackets are collapsed into a single row per ZIP code, making it ideal for geographic correlation studies without the complexity of multi-row AGI-stub joins. The 2022 vintage makes it relatively fresh and directly comparable to other 2022 ACS, Census, or economic datasets.
2. Data Quality Observations
Data quality is remarkably strong for a dataset of this size and complexity. The total null cell count across all 165 columns and 27,690 rows is zero, which is exceptional and reflects the IRS's rigorous suppression-rather-than-null approach — small cell values are suppressed at source rather than left missing. However, two columns deserve immediate scrutiny: A00400 (dividend income amount) and agistub both show min=0, max=0, mean=0, σ=0, distinct=1, meaning they carry no informational content whatsoever and should be dropped before any modeling. A00400's companion count column N00400 does show valid variation (mean=471, max=844,890), suggesting the amount field was intentionally zeroed, possibly due to confidentiality suppression at the aggregate level. The agistub constant of zero is expected given this is the "no AGI breakdown" file. ZIPCODE shows 27,590 distinct values against 27,690 rows, implying approximately 100 duplicate ZIP codes — likely representing multi-state ZIP edge cases or territories — worth investigating before joining. Skewness values throughout the dataset are extreme (many exceeding 50–130), which is structurally expected for geographic count/amount aggregates but signals that any correlation analysis should use log-transformed or ranked versions of these variables.
3. Key Column Distributions
The core return count variable N1 (total returns) shows a mean of 11,282 but a median of only 2,030, with Q1=600 and Q3=8,300 and a skewness of 56.6 — a dramatically right-skewed distribution driven by massive urban ZIP codes (max=18.1M equivalent units). A00100 (Adjusted Gross Income) follows the same pattern: mean of $1.06M vs. median of $144,896, with Q3 at $654,259 and a skewness of 63.1 with 2,677 outlier ZIPs, reflecting extreme wealth concentration in certain postal areas. A01000 (net capital gains) is particularly revealing: mean of $76,589 against a median of $3,932 and a skewness of 73.3 with 3,858 outlier ZIPs — meaning capital gains are hyper-concentrated in a small number of affluent ZIP codes. A00900 (business/self-employment income) includes negative values (min=−$43,955), correctly capturing net losses, with a mean of $30,981 vs. median of $3,860. Filing behavior columns like MARS1 (single filers, skew=57.4) vs. MARS2 (joint filers, skew=55.6) offer geographic demographic proxies. The VITA/TCE volunteer tax assistance columns have medians of zero, indicating these programs serve a sparse minority of ZIP codes, making them useful as geographic inequality markers rather than continuous predictors.
4. Recommended Join Key Columns
ZIPCODE is the primary join key, but users must handle the ~100 apparent duplicates and note that ZIP code 0 (min=0) likely represents foreign filers or unclassifiable returns and should be filtered. A composite key of ZIPCODE + STATEFIPS is strongly recommended to disambiguate edge cases, since ZIP codes occasionally span state lines. STATE (string, 51 distinct) and STATEFIPS (integer, 51 distinct) enable state-level rollup joins. For Census or demographic datasets, ZCTA (ZIP Code Tabulation Area) crosswalk tables should be used as an intermediate bridge, since IRS ZIPs and Census ZCTAs are not perfectly equivalent. When joining to tract-level or county-level datasets, HUD's ZIP-to-FIPS crosswalk file is the recommended intermediary.
5. Recommended Pairing Datasets for Correlation Discovery
This dataset would generate the most insight when paired with: (1) U.S. Census Bureau American Community Survey (ACS) 5-Year 2022 ZIP-level data — enabling direct correlation of IRS-reported income with Census-reported poverty rates, educational attainment, housing costs, and commute patterns; (2) HUD Fair Market Rents and housing affordability indices by ZIP — to test whether high-AGI ZIP codes show disproportionate rent burdens or housing cost inflation; (3) BLS Quarterly Census of Employment and Wages (QCEW) by county — to correlate wage income (A00200) and self-employment income (A00900) with industry employment concentration; (4) IRS SOI Migration Data — pairing in-/out-migration flows with ZIP-level AGI to study income sorting and geographic mobility of high earners; and (5) CDC PLACES or Social Vulnerability Index (SVI) by ZCTA — to explore relationships between tax credit utilization (EITC via N59660/A59660, Child Tax Credit via N07225/A07225) and public health outcomes or social vulnerability scores, which would be particularly valuable for policy research on tax policy and community wellbeing.
Columns
- ZIPCODE (integer)
- STATEFIPS (integer)
- STATE (string)
- agi_stub (integer)
- N1 (decimal)
- MARS1 (decimal)
- MARS2 (decimal)
- MARS4 (decimal)
- ELF (decimal)
- CPREP (decimal)
- PREP (decimal)
- DIR_DEP (decimal)
- VRTCRIND (decimal)
- N2 (decimal)
- TOTAL_VITA (decimal)
- VITA (decimal)
- TCE (decimal)
- VITA_EIC (decimal)
- RAC (decimal)
- ELDERLY (decimal)
- A00100 (decimal)
- N02650 (decimal)
- A02650 (decimal)
- N00200 (decimal)
- A00200 (decimal)
- N00300 (decimal)
- A00300 (decimal)
- N00400 (decimal)
- A00400 (decimal)
- N00600 (decimal)
- A00600 (decimal)
- N00650 (decimal)
- A00650 (decimal)
- N00700 (decimal)
- A00700 (decimal)
- N00900 (decimal)
- A00900 (decimal)
- N01000 (decimal)
- A01000 (decimal)
- N01400 (decimal)
- A01400 (decimal)
- N01700 (decimal)
- A01700 (decimal)
- SCHF (decimal)
- N02300 (decimal)
- A02300 (decimal)
- N02500 (decimal)
- A02500 (decimal)
- N26270 (decimal)
- A26270 (decimal)
- N25870 (decimal)
- A25870 (decimal)
- N02900 (decimal)
- A02900 (decimal)
- N03220 (decimal)
- A03220 (decimal)
- N03300 (decimal)
- A03300 (decimal)
- N03270 (decimal)
- A03270 (decimal)
- N03150 (decimal)
- A03150 (decimal)
- N03210 (decimal)
- A03210 (decimal)
- N04450 (decimal)
- A04450 (decimal)
- N04100 (decimal)
- A04100 (decimal)
- N04200 (decimal)
- A04200 (decimal)
- N04470 (decimal)
- A04470 (decimal)
- A00101 (decimal)
- N17000 (decimal)
- A17000 (decimal)
- N18425 (decimal)
- A18425 (decimal)
- N18450 (decimal)
- A18450 (decimal)
- N18500 (decimal)
- A18500 (decimal)
- N18800 (decimal)
- A18800 (decimal)
- N18460 (decimal)
- A18460 (decimal)
- N18300 (decimal)
- A18300 (decimal)
- N19300 (decimal)
- A19300 (decimal)
- N19500 (decimal)
- A19500 (decimal)
- N19530 (decimal)
- A19530 (decimal)
- N19570 (decimal)
- A19570 (decimal)
- N19700 (decimal)
- A19700 (decimal)
- N20950 (decimal)
- A20950 (decimal)
- N04475 (decimal)
- A04475 (decimal)
- N04800 (decimal)
- A04800 (decimal)
- N05800 (decimal)
- A05800 (decimal)
- N09600 (decimal)
- A09600 (decimal)
- N05780 (decimal)
- A05780 (decimal)
- N07100 (decimal)
- A07100 (decimal)
- N07300 (decimal)
- A07300 (decimal)
- N07180 (decimal)
- A07180 (decimal)
- N07230 (decimal)
- A07230 (decimal)
- N07240 (decimal)
- A07240 (decimal)
- N07225 (decimal)
- A07225 (decimal)
- N07260 (decimal)
- A07260 (decimal)
- N09400 (decimal)
- A09400 (decimal)
- N85770 (decimal)
- A85770 (decimal)
- N85775 (decimal)
- A85775 (decimal)
- N10600 (decimal)
- A10600 (decimal)
- N59660 (decimal)
- A59660 (decimal)
- N59661 (decimal)
- A59661 (decimal)
- N59662 (decimal)
- A59662 (decimal)
- N59663 (decimal)
- A59663 (decimal)
- N59664 (decimal)
- A59664 (decimal)
- N59720 (decimal)
- A59720 (decimal)
- N11070 (decimal)
- A11070 (decimal)
- N10960 (decimal)
- A10960 (decimal)
- N11560 (decimal)
- A11560 (decimal)
- N06500 (decimal)
- A06500 (decimal)
- N10300 (decimal)
- A10300 (decimal)
- N85530 (decimal)
- A85530 (decimal)
- N85300 (decimal)
- A85300 (decimal)
- N11901 (decimal)
- A11901 (decimal)
- N11900 (decimal)
- A11900 (decimal)
- N11902 (decimal)
- A11902 (decimal)
- N12000 (decimal)
- A12000 (decimal)