Home › Guides › Markets & the economy
Does the inflation rate include food and gas?
The big inflation number counts what you buy at the store and the pump. The "core" number does not. In 2022 the gap was 1.8 points.
The short answer
Headline inflation counts food and gas. Core inflation does not.
The BLS says the CPI is a measure of the average change over time in the prices paid by consumers for a market basket of consumer goods and services. Its broadest index, "all items", covers all goods and services bought by urban households. That includes food and gasoline. The BLS publishes gasoline as part of its motor fuel indexes.
Core CPI is "all items less food and energy". The BLS says some users watch it "Some users of CPI data use this index because food and energy prices are relatively volatile" and want the underlying rate. Sources: bls.gov and bls.gov
Headline vs core, 2015 to 2024
Annual average change for each year, from the BLS, with the average US gas price from the EIA.
| Year | Headline CPI (%) | Core CPI (%) | Gap | Regular gas, $ a gallon |
|---|---|---|---|---|
| 2024 | 2.9 | 3.4 | -0.5 | 3.304 |
| 2023 | 4.1 | 4.8 | -0.7 | 3.519 |
| 2022 | 8.0 | 6.2 | +1.8 | 3.951 |
| 2021 | 4.7 | 3.6 | +1.1 | 3.008 |
| 2020 | 1.2 | 1.7 | -0.5 | 2.168 |
| 2019 | 1.8 | 2.2 | -0.4 | 2.604 |
| 2018 | 2.4 | 2.1 | +0.3 | 2.719 |
| 2017 | 2.1 | 1.8 | +0.3 | 2.415 |
| 2016 | 1.3 | 2.2 | -0.9 | 2.143 |
| 2015 | 0.1 | 1.8 | -1.7 | 2.429 |
Gap = headline minus core. Sources: bls.gov, bls.gov and eia.gov.
What the table shows
2022: food and gas pushed the headline up. Headline was 8.0%. Core was 6.2%. Gas averaged $3.951 a gallon, up from $3.008 in 2021. That is 31.3% more.
2015: gas pulled it down. Headline was just 0.1%. Core was 1.8%. Gas averaged $2.429, below the 2014 and 2013 levels in the EIA series.
2023: the gap flips. Gas fell to $3.519 and headline came in below core: 4.1% vs 4.8%.
2008 and 2009: gas fell, and so did the headline. Gas averaged $3.246 in 2008 and $2.353 in 2009. That is 27.5% less. Headline went from 3.8% to -0.4%. Core went from 2.3% to 1.7%, and stayed positive.
1979 and 1980. Headline was 11.3% and 13.5%. Core was 9.7% and 12.4%. Even with food and energy removed, the numbers were very high. The 1970s were not just a gas story.
How to check it yourself
The BLS publishes both indexes. To get the yearly change for either one, use the same formula: later index minus earlier index, divided by the earlier index. The steps are on the inflation rate formula page. Always compare the same series. Do not divide a headline index by a core index.
A hypothetical example: what a gas jump does to one budget
Say a hypothetical household spends $200 a month on gas at the 2021 average of $3.008. At the 2022 average of $3.951, the same gallons cost $262.70 a month. That is $62.70 more, or 31.3%. Food, rent and everything else are separate lines in the same budget.
Same year, different story
Look at 2015 again. A reader who saw only headline CPI would see 0.1% and think prices were flat. A reader who saw core would see 1.8%. Both numbers are correct. The gap was gas, which was cheaper that year than the two years before it.
Why have two numbers?
Food and energy prices jump around. A frost, a war or an oil cut can move them fast. The core number smooths those jumps out. The headline number is the one your wallet feels. Neither is wrong. They answer different questions.
Gas is not the whole story
The headline index is one basket. Gas is one item in it, next to rent, food, cars and care. A big move in gas moves the headline, but only by gas's share of the basket. Rent and other items move it too.
Which one do news stories use?
Most headlines use the headline number. Many analysts watch core as well. Release dates are on the 2027 economic calendar. The CPI report explained shows both on release day. Every year of core is in US core CPI by year. Every year of headline is in US inflation by year. The Fed's own goal uses another gauge, PCE: see PCE explained.
Questions
Does the inflation rate include food and gas?
The headline CPI does. Core CPI leaves them out.
What is core inflation?
The CPI for "all items less food and energy". It is the BLS series many users watch for the underlying rate.
Why is core often lower than headline?
When food and energy prices rise faster than other prices, headline runs higher. That was 2021 and 2022. In 2023 and 2024 core was higher.
What was the gap in 2022?
Headline 8.0% minus core 6.2% is 1.8 points.
Which number does the Fed target?
Its 2% goal is for PCE inflation, not CPI. See what a good inflation rate is.
Follow along