How to use FRED for inflation research: a practical guide
FRED hosts over 800,000 data series. For inflation research, the key series to bookmark:
- CPIAUCSL — US CPI for All Urban Consumers, seasonally adjusted, monthly. The headline US CPI series.
- CPILFESL — US CPI less food and energy (core CPI), seasonally adjusted.
- PCEPI — PCE price index (headline), the Fed's inflation measure.
- PCEPILFE — Core PCE price index (ex-food and energy). This is the Fed's 2% target series.
- T10YIE — 10-year TIPS breakeven (market inflation expectations, daily).
- MICH — University of Michigan 1-year inflation expectations (survey, monthly).
Tip: FRED's search works well with series IDs (type the code directly) or with keywords. Use the "Units" dropdown to switch between index levels, percent changes, and year-on-year percent changes — the most common format for inflation analysis.
FRED series come in several formats. For inflation analysis you almost always want the "Percent Change from Year Ago" (year-on-year) view, not the index level. To convert:
- Open any series page (e.g., CPIAUCSL).
- Click the "Edit Graph" button below the chart.
- Under "Units", select "Percent Change from Year Ago".
- Click "Apply" — the chart now shows the year-on-year inflation rate.
Alternatively, append ?units=pc1 to the FRED URL for "Percent Change from Year Ago", or use the FRED graph builder to specify units programmatically. For the FRED API, use the units=pc1 parameter: https://api.stlouisfed.org/fred/series/observations?series_id=CPIAUCSL&units=pc1&api_key=YOUR_KEY.
FRED's "Add Line" feature lets you overlay multiple inflation series on a single chart — essential for comparing headline vs core, or CPI vs PCE:
- Open the CPIAUCSL series page and set units to "Percent Change from Year Ago".
- Click "Edit Graph" → "Add Line".
- Search for CPILFESL (core CPI) and click "Add series".
- Optionally add PCEPILFE (core PCE) for the Fed's preferred measure.
- Click "Save & Share" to get a permanent shareable URL.
You can also compute a custom series: click "Add Line" → "Create your own data transformation". FRED supports arithmetic operations between series, enabling calculations like the CPI-PCE gap or shelter vs non-shelter contributions.
FRED data is freely downloadable in multiple formats:
- CSV download: Click "Download" → "CSV" on any series page. The file includes series metadata and all observations.
- Excel download: Click "Download" → "Excel". Includes the same data with column headers.
- FRED API: FRED API documentation — REST API returning JSON or XML. Example call for CPI data:
https://api.stlouisfed.org/fred/series/observations?series_id=CPIAUCSL&api_key=YOUR_KEY&file_type=json - Python (fredapi):
pip install fredapi— the official Python wrapper. Two lines to get CPI data:from fredapi import Fred; fred = Fred(api_key='YOUR_KEY'); cpi = fred.get_series('CPIAUCSL')
The FRED API also supports bulk category downloads, series search, and vintage data (historical snapshots as of past dates) — useful for replicating historical forecasts.
A practical inflation monitoring dashboard using FRED typically includes:
- Panel 1 — Headline vs core: CPIAUCSL and CPILFESL (year-on-year), last 5 years. Add a horizontal line at 2% for the target.
- Panel 2 — CPI vs PCE: CPIAUCSL and PCEPILFE, same window. Shows the typical 0.3–0.5 pp gap and how it behaves during inflation episodes.
- Panel 3 — Market expectations: T10YIE (10-year TIPS breakeven) and MICH (Michigan 1-year survey), both on the same chart. Shows whether long-run expectations are anchored.
- Panel 4 — Shelter component: CPIHOSSL (shelter CPI) alongside CUSR0000SAH1. The most important leading indicator of future core CPI normalisation.
- Panel 5 — Real policy rate: DFF (fed funds rate) minus CPIAUCSL percent change. When this is positive, monetary policy is restrictive in real terms.
Save each as a FRED "My Graph" (requires free registration). FRED also supports custom dashboards that combine multiple saved graphs in one view, updated automatically. Our real-time tracking guide expands on this with additional non-FRED sources.