ANALYSIS / BLS CONSUMER EXPENDITURES + CPI / 2019–2024
Consumer spending by income: what changed after inflation
Food, housing and transportation spending rose in dollars in every income group we examined. After adjusting for general inflation, six of those fifteen comparisons were lower.
National annual averages per consumer unit, across all five before-tax income quintiles. Descriptive point estimates, not a study of the same families over time.
A larger dollar total does not tell the whole story
If you are putting together a consumer-market brief, it is easy to stop at the change in spending. The lowest-income fifth spent an average of $5,105 on transportation in 2024, up from $4,581 in 2019. That is an 11.4% increase.
But the general price level rose 22.7% over the same period, measured by annual all-items CPI-U. The earlier $4,581 is equivalent to about $5,621 in 2024 purchasing power. On that basis, the later transportation figure is 9.2% lower.
The highest-income fifth has a different pattern: transportation spending rose 32.4% in dollars and 7.9% after the same CPI adjustment. The chart includes the three middle groups and the other two categories so that the endpoints do not stand in for the entire comparison.
Food spending changed by roughly −1% to +6% after adjustment. Housing rose on that basis in the bottom four income groups and was about 1% lower in the top group. These are estimated changes, and small differences should not be treated as established population differences: we have not performed significance tests.
The adjustment puts dollars on a common purchasing-power basis. It does not tell us how much more food people ate, how much transportation they used, or whether their living standards improved. Each category has its own prices and changing mix of purchases; income-group membership also changes.
The complete endpoint comparison
Each amount is mean annual spending per consumer unit. Q1 is the lowest before-tax income fifth and Q5 the highest. Dollar columns are nominal; the final column adjusts the change using the same general CPI-U series for every group and category.
| Category / income group | 2019 dollars | 2024 dollars | Nominal change | CPI-adjusted change |
|---|---|---|---|---|
| Food · Q1 | $4,400 | $5,498 | +25.0% | +1.8% |
| Food · Q2 | $5,859 | $7,400 | +26.3% | +2.9% |
| Food · Q3 | $7,505 | $9,097 | +21.2% | -1.2% |
| Food · Q4 | $9,080 | $11,845 | +30.5% | +6.3% |
| Food · Q5 | $13,987 | $16,989 | +21.5% | -1.0% |
| Housing · Q1 | $11,531 | $14,563 | +26.3% | +2.9% |
| Housing · Q2 | $14,805 | $19,174 | +29.5% | +5.6% |
| Housing · Q3 | $18,075 | $24,093 | +33.3% | +8.6% |
| Housing · Q4 | $22,611 | $29,374 | +29.9% | +5.9% |
| Housing · Q5 | $36,302 | $44,033 | +21.3% | -1.1% |
| Transportation · Q1 | $4,581 | $5,105 | +11.4% | -9.2% |
| Transportation · Q2 | $7,160 | $8,430 | +17.7% | -4.0% |
| Transportation · Q3 | $9,850 | $11,657 | +18.3% | -3.5% |
| Transportation · Q4 | $12,910 | $15,952 | +23.6% | +0.7% |
| Transportation · Q5 | $19,166 | $25,378 | +32.4% | +7.9% |
What the two datasets contribute
The expenditure tables supply annual spending and its composition. CPI supplies a consistent general price index. Joining them by year lets us ask how a dollar comparison changes when purchasing power is held on a common basis.
U.S. Consumer Spending by Income & Age, 2012–2025
Annual spending, shares, precision and group definitions across income and age groups. This analysis selects three categories and income quintiles from the broader 2012–2025 history.
$29 once · Fields, sample and purchase →
U.S. Consumer Prices & Inflation History, 1990–2025
National monthly and annual price indexes, with series definitions and coverage. This analysis uses one annual all-items series from the 1990–2025 history.
$29 once · Fields, sample and purchase →
Together, the two prepared editions cost $58 at current individual prices. Each is a separate one-time purchase. You can also reproduce the calculations from the free selected results below. The original BLS data are free; our products provide the broader prepared histories, field documentation, source records and versioned downloads.
This is a worked use of existing products, not a new product or a subscription. Purchases retain access to their source edition and its processing corrections; a later source edition is a separate purchase.
Results and code
These are real selected BLS observations and derived calculations, not invented example households. The free files cover this article's question; they are smaller than either complete paid product.
For the full products, unzip Consumer Spending into spending/ and Consumer Prices into prices/. The code reads spending/expenditures.csv and prices/annual_observations.csv. Paste it into a notebook or run it as a script. It prints all fifteen comparisons and saves the four main result CSVs in results/. Change the paths in main() to match your folders.
Code example: reproduce the comparison
"""Compare CE spending by income, 2019–2024, with a general CPI adjustment.
Unzip the two products into spending/ and prices/, or change the paths in main().
Works in a notebook or as a script, using only Python's standard library.
"""
import csv
import math
from pathlib import Path
YEARS = range(2019, 2025)
GROUPS = ('q1', 'q2', 'q3', 'q4', 'q5')
CATEGORIES = ('Food', 'Housing', 'Transportation')
SERIES = 'CUUR0000SA0'
def read_csv(path):
with open(path, newline='', encoding='utf-8') as file:
return list(csv.DictReader(file))
def write_csv(path, rows):
with open(path, 'w', newline='', encoding='utf-8') as file:
writer = csv.DictWriter(file, fieldnames=list(rows[0]))
writer.writeheader()
# Avoid binary floating-point artifacts in the public CSVs.
for row in rows:
writer.writerow({k: (format(v, '.6f').rstrip('0').rstrip('.') if isinstance(v, float) else v)
for k, v in row.items()})
def number(row, field):
if row is None or not row[field] or not row[field + '_status'].startswith('reported'):
return None
value = float(row[field])
if not math.isfinite(value) or value < 0:
raise ValueError(f'Invalid {field}: {row}')
return value
def compare(expenditures, annual_cpi):
prices = {}
for row in read_csv(annual_cpi):
year = int(row['year'])
if row['series_id'] != SERIES or year not in YEARS:
continue
if year in prices:
raise ValueError(f'Duplicate CPI year: {year}')
if (row['availability'] != 'reported' or row['reported_months'] != '12'
or row['period'] != 'M13' or row['seasonal'] != 'U'
or not math.isfinite(float(row['value'])) or float(row['value']) <= 0):
raise ValueError(f'Incomplete or incompatible annual CPI: {year}')
prices[year] = float(row['value'])
if set(prices) != set(YEARS):
raise ValueError('Missing annual CPI year')
selected = {}
for row in read_csv(expenditures):
key = (int(row['year']), row['group_id'], row['category_path'])
if (row['table_family'] == 'income_quintile' and key[0] in YEARS
and key[1] in GROUPS and key[2] in CATEGORIES):
if key in selected:
raise ValueError(f'Duplicate expenditure key: {key}')
selected[key] = row
observations, coverage = [], []
for year in YEARS:
for group in GROUPS:
for category in CATEGORIES:
row = selected.get((year, group, category))
mean, share, se = [number(row, f) for f in
('mean_usd', 'share_pct', 'standard_error_usd')]
factor = prices[2024] / prices[year]
statuses = {f + '_status': row[f + '_status'] if row else 'absent'
for f in ('mean_usd', 'share_pct', 'standard_error_usd')}
observations.append({'year': year, 'group_id': group, 'category': category,
'mean_usd': mean, 'share_pct': share, 'standard_error_usd': se,
'cpi': prices[year], 'mean_2024_usd': None if mean is None else mean * factor,
'standard_error_2024_usd': None if se is None else se * factor,
**statuses})
coverage.append({'year': year, 'group_id': group, 'category': category,
'included_mean_and_share': 'yes' if mean is not None and share is not None else 'no',
**statuses, 'source_file': row['source_file'] if row else '',
'source_column': row['source_column'] if row else '',
'mean_source_row': row['mean_usd_source_row'] if row else ''})
lookup = {(r['year'], r['group_id'], r['category']): r for r in observations}
comparisons = []
for category in CATEGORIES:
for group in GROUPS:
old, new = [lookup[(year, group, category)] for year in (2019, 2024)]
def change(field):
a, b = old[field], new[field]
return None if a is None or b is None or a == 0 else 100 * (b / a - 1)
comparisons.append({'category': category, 'group_id': group,
'mean_2019_usd': old['mean_usd'], 'mean_2024_usd': new['mean_usd'],
'mean_2019_in_2024_usd': old['mean_2024_usd'],
'share_2019_pct': old['share_pct'], 'share_2024_pct': new['share_pct'],
'share_change_pp': None if old['share_pct'] is None or new['share_pct'] is None
else new['share_pct'] - old['share_pct'],
'nominal_change_pct': change('mean_usd'),
'cpi_adjusted_change_pct': change('mean_2024_usd')})
return observations, comparisons, coverage, prices
def main(expenditures='spending/expenditures.csv', annual_cpi='prices/annual_observations.csv',
output='results'):
observations, comparisons, coverage, prices = compare(expenditures, annual_cpi)
destination = Path(output)
destination.mkdir(parents=True, exist_ok=True)
for name, rows in [('annual_spending.csv', observations), ('spending_changes.csv', comparisons),
('coverage.csv', coverage), ('annual_cpi.csv',
[{'year': y, 'series_id': SERIES, 'cpi': prices[y], 'reported_months': 12} for y in YEARS])]:
write_csv(destination / name, rows)
print('2019–2024 change in mean annual spending per consumer unit')
print('Q1 = lowest income fifth; Q5 = highest. CPI adjustment is not a volume estimate.')
for row in comparisons:
nominal, adjusted = row['nominal_change_pct'], row['cpi_adjusted_change_pct']
text = 'Unavailable' if nominal is None or adjusted is None else f'{nominal:+.1f}% nominal; {adjusted:+.1f}% CPI-adjusted'
print(f"{row['category']:14} {row['group_id'].upper()}: {text}")
return comparisons
if __name__ == '__main__':
results = main()
To redraw the charts without purchasing, save the free spending_changes.csv beside the chart code and run it with matplotlib 3.10.7. The source-edition manifest pins both input files and archives; the analysis plan records the rules selected before calculation.
Method and coverage
- Scope: six years, five before-tax income quintiles and three top-level categories: 90 annual observations and 15 endpoint comparisons. All requested means, shares and standard errors are present and unflagged. No observation was dropped or filled with zero. All intermediate years are included in the download.
- Population: a consumer unit can be a family, an independent person or people who share major expenses. Means include non-purchasers. These are not per-person estimates. In 2024, average unit size was 1.6 people in Q1 and 3.2 in Q5; the group-context download retains each year's size and income thresholds.
- Changing groups: quintiles are defined anew each year. Income cutoffs, unit size, demographics and purchasing patterns can change. This analysis does not follow a fixed panel or adjust those compositional differences.
- Price adjustment: use published annual U.S. city average all-items CPI-U, not seasonally adjusted, series
CUUR0000SA0. Annual CPI is 255.657 in 2019 and 313.689 in 2024. Multiply each mean and its standard error byCPI_2024 / CPI_year. Percentage change is100 × (adjusted_2024 / adjusted_2019 − 1). All six annual indexes have twelve reported months. - Shares and precision: use BLS's published spending shares, rounded to one decimal. Subtract shares for percentage-point changes; do not confuse them with percent growth. Standard errors describe dollar means. We retain them in the annual CSV, but do not infer uncertainty for changes or shares without the needed covariance. Near-zero changes may reflect sampling variation.
- Category review: the three selected top-level labels and prepared category identifiers persist across all six years. We reviewed the retained category histories and source notes; no top-level break was identified for this selection. Stable labels do not guarantee an unchanged mix of detailed items. No CE-to-CPI category crosswalk is assumed.
- 2025: excluded as specified before calculation. CE collection was interrupted in October and November; BLS adjusted weights. The retained all-items CPI annual average uses eleven months. Those issues deserve a separate comparison rather than silently extending this one.
- Validation: both customer archive hashes checked; all 90 records and 495 source/derived numeric values reconciled by an independent calculation. Tests reject duplicate keys, incomplete CPI years and invalid values, and preserve missing or flagged expenditure estimates.
Sources and versions
Consumer Spending: BLS annual income-quintile workbooks retained November 18, 2026 UTC. Consumer Prices: BLS national CPI-U bulk snapshot retained November 5, 2026. This analysis selects 2019–2024 from those fixed editions; later source revisions may change the historical results.
- BLS Consumer Expenditure annual tables · Table interpretation and precision · Expenditure and consumer-unit definitions.
- BLS Consumer Price Index data · CPI definitions and interpretation.
- 2025 CE collection interruption · 2025 CPI coverage and annual averages.
Need a different set of categories or years? Contact Ben and Hugh or discuss a custom dataset.