(NEXSTAR) – Inflation has been putting a strain on U.S. households for two years strong, and everyone has been feeling it to some extent. But some cities have been hit harder than others, according to a recent analysis by WalletHub.

WalletHub compared changes in the Consumer Price Index, a statistic from the Bureau of Labor Statistics that measures the cost of a mix of goods like groceries, gas and services, in 23 metro areas.

The analysis found things were worst in Anchorage, Alaska – and by a lot. Over the past year, the CPI has jumped up more than 12%, WalletHub found.

No region seems spared by the ranking. Cities in the West, South, Midwest and East Coast were all among the top 10. (See the full ranking below.)

You may think inflation hits expensive states hardest, but that’s not the case, according to think tank Economic Innovation Group. Prices in lower-cost states have risen the most, the group found. For example, Hawaii – where the cost of living has long been high – has seem some of the lowest impacts inflation.

“Many of today’s inflation hotspots were actually becoming more affordable relative to the country until the Covid-19 pandemic hit. This pattern might be giving those who live in these states a sense of whiplash,” the Economic Innovation Group.

What explains the difference? Many of the historically cheap states are “home to industries disproportionately affected by price increases, such as manufacturing,” the group explains. “Some are rural, where gasoline and other hard commodities feature strongly in the local household and business spending baskets. Some states have also seen rapid population increases drive up housing costs, especially in the Mountain West.”

High-cost states like Hawaii, California and New York have economies that rely more on the service sector, which have been slower to recover from COVID-related economic shutdowns, and haven’t seen the boom of returning to business (and resulting inflation) as a result.

See below for more on how the 23 cities compare when it comes to inflation:

Metro areaScoreCPI change (past 2 months)CPI change (last year)
1Anchorage, Alaska100.007.10%12.40%
2Phoenix-Mesa-Scottsdale, Arizona68.383.10%12.30%
3Atlanta-Sandy Springs-Roswell, Georgia56.222.40%11.50%
4Seattle-Tacoma-Bellevue, Washington50.513.20%10.10%
5Baltimore-Columbia-Towson, Maryland50.132.60%10.60%
6Miami-Fort Lauderdale-West Palm Beach, Florida49.362.50%10.60%
7Houston-The Woodlands-Sugar Land, Texas48.282.80%10.20%
8Detroit-Warren-Dearborn, Michigan45.583.00%9.70%
9Tampa-St. Petersburg-Clearwater, Florida45.221.30%11.20%
10Philadelphia-Camden-Wilmington, Penn-N.J.-Del.-Md.32.572.30%8.80%
11St. Louis, Missouri29.952.40%8.40%
12Dallas-Fort Worth-Arlington, Texas27.651.00%9.40%
13Riverside-San Bernardino-Ontario, California26.731.10%9.20%
14Chicago-Naperville-Elgin, Ill.-Ind.-Wis.26.421.50%8.80%
15Denver-Aurora-Lakewood, Colorado22.871.70%8.20%
16Minneapolis-St.Paul-Bloomington, Minnesota19.021.20%8.20%
17Los Angeles-Long Beach-Anaheim, California12.480.90%7.70%
18Washington-Arlington-Alexandria, D.C.-Va.-Md.-W.V.12.321.10%7.50%
19San Diego-Carlsbad, California11.401.20%7.30%
20San Francisco-Oakland-Hayward, California11.001.70%6.80%
21Boston-Cambridge-Newton, Mass.-N.H.5.010.70%7.00%
22New York-Newark-Jersey City, N.Y.-N.J.-Pa.3.851.10%6.50%
23Urban Honolulu, Hawaii2.540.60%6.80%

There are early signs this week that inflation could finally be easing up. A report from the Labor Department Thursday showed that the producer price index — which measures inflation before it reaches consumers — declined 0.5% in July. It was the first monthly drop since April 2020 and was down from a sharp 1% increase from May to June.

The easing of wholesale inflation suggests that consumers could get some relief from relentless inflation in the coming months. The wholesale report follows government data Wednesday that showed that consumer inflation was unchanged from June to July — the first flat figure after 25 straight months of increases.

Yet economists caution that it’s still too early to say that inflation is headed steadily lower.

“The July deceleration … is a move in the right direction,” said Rubeela Farooqi, chief U.S. economist at High Frequency Economics. “But producer costs continue to rise at a rapid pace, well above target.”

The Associated Press contributed to this report.