May's closely watched Consumer Price Index showed Tuesday that inflation has been cut by more than half from last year's peak.
On an annual basis, prices rose by 4% compared to a year ago. That's a significant decline from April, when annual inflation was 4.9%.
The slowdown in inflation occurred in conjunction with the Federal Reserve's rate-hiking campaign, which began in March 2022. But the rate hikes haven't prevented more inflationary pressures from seeping into the economy.
In turn, inflation over the past year has been a game of give-and-take. Here's where some of that giving and taking is happening:
Service inflation has become more problematic
Price increases for services like dry cleaning, haircuts and transportation have been one of the top contributors to overall inflation this year and last. But the magnitude of their contribution has drastically increased.
The 5.7% 12-month increase in the cost of services last May accounted for 41% of inflation at the time, according to CPI data.
Since then, services have become more expensive, costing 6.3% more in May of this year compared to May 2022. That alone accounted for 84% of the inflation Americans experienced.
Service inflation has grown in part because consumer behavior is still out of whack from the pandemic. When the US economy shut down, consumers couldn't spend money on many services. When it reopened, consumers jumped at the opportunity to finally enjoy services and experiences like dining out, traveling and getting their hair styled.
Firms scrambled to hire more workers and, as a result, had to raise wages. That helped fuel more inflation since it meant workers had more money to spend.
"Wage growth is still a big problem," Ian Shepherdson, chief economist at Pantheon Macroeconomics, said recently.
A shift from broad-based to concentrated inflation
A year ago, the top contributors to overall inflation behind services were housing and energy, which accounted for 34% and 28% of the annual price increases across the economy, respectively.
No individual spending category accounted for more than 41% of overall inflation last year. But there were more categories that collectively were pushing inflation higher.
Lately, inflation is being primarily driven by fewer categories. For instance, the percentage of housing expenses that contributed to overall inflation more than doubled to 72% from a year ago. The effect of food and beverage price increases also grew.
Gas got a lot cheaper
In addition to the Fed's rate hikes, falling gas prices are a big reason why inflation cooled from a year ago.
Around this time last year, gas prices were up 49% compared to 2021. That accounted for 21% of overall inflation last May. But in the latest CPI report, gas prices were down 20% from a year ago. That helped lower inflation overall.