I remember standing in the grocery store line, looking at my receipt. The same bag of groceries that cost me $100 not long ago was now ringing up at $120. That feeling, the quiet shock of watching your money buy less, is the personal side of inflation. It's not just a number on a government website. So, when you ask "What's the inflation rate over the last two years?" you're really asking, "How much has my life gotten more expensive, and what can I do about it?" Let's unpack that.

The short answer is that inflation over the last 24 months has been significant and volatile, peaking at levels not seen in decades before gradually cooling down. But that headline number, the Consumer Price Index (CPI), is just the starting point. The real story is in the details—which prices shot up the most, why it happened, and crucially, how it reshuffled the deck for savers and investors.

What Inflation Rate Are We Even Talking About?

Most headlines use the Consumer Price Index for All Urban Consumers (CPI-U) from the U.S. Bureau of Labor Statistics. Think of it as a giant, monthly shopping cart survey. It tracks the price changes for a basket of goods and services—food, rent, gas, healthcare, appliances. The percentage change in the cost of that basket from one year to the next is the annual inflation rate.

But here's a nuance most articles skip. The Federal Reserve, the central bank that actually fights inflation, prefers a different measure called the Personal Consumption Expenditures (PCE) Price Index. Why? The PCE captures how people actually spend their money, including when they substitute expensive steak for cheaper chicken. The CPI is more fixed. In practice, PCE inflation tends to run a bit lower than CPI. When the Fed says it's targeting 2% inflation, it's talking about PCE. For the past two years, both told the same dramatic story, just with slightly different numbers.

Key Takeaway: When you see "inflation hit 9.1%," that's the CPI. It's the most common gauge and directly tied to things like Social Security adjustments. The PCE is the Fed's preferred dashboard gauge. For your personal life, the CPI often feels more real.

The Last Two Years: A Rollercoaster of Numbers

Talking about "the" inflation rate for a two-year period is misleading because it was anything but steady. It was a story of three distinct acts: a sharp ascent, a painful peak, and a slow, stubborn decline.

Let's look at the CPI data. The period started with inflation already elevated above the Fed's comfort zone, a lingering effect of supply chain snarls and strong demand as the economy reopened. Then it accelerated dramatically, driven by a perfect storm of factors we'll dig into next.

The peak came in the middle of this two-year window, with the CPI hitting a high not seen since the early 1980s. This was the moment that truly changed consumer psychology and forced the Federal Reserve into its most aggressive interest rate hiking campaign in decades.

Following that peak, the rate began to fall—a process called disinflation. But this is where many people get frustrated. Prices didn't go down (that's deflation, which is bad); they just started rising more slowly. Your grocery bill didn't shrink back to old levels; it just stopped climbing as fast. The decline was bumpy, with some months showing better progress than others, keeping everyone on edge.

To visualize the journey, here’s a simplified look at how key categories contributed to the overall inflation picture at the peak versus more recently. Notice the shift.

>
Spending Category Contribution at Peak Inflation Recent Contribution Trend Why It Matters
Energy (Gas, Utilities) Massive driver Much lower, even negative Volatile; gave initial relief but is less of a drag now.
Food (Groceries, Dining Out) Very high Moderated but still sticky Hits everyone daily; slowest to cool down.
Shelter (Rent, Home Costs) Significant Remains the primary driver Lags market data by months; keeps core inflation high.
Core Goods (Cars, Furniture) HighFalling sharply Supply chains healed; demand cooled. A success story.
Core Services (Healthcare, Insurance) Rising Stubbornly elevated Tied to wages; the Fed's current main focus.

The Biggest Price Drivers: It Wasn't Just Everything

It's tempting to say "everything got expensive," but that's not how inflation works. Specific sectors led the charge, and understanding which ones helps you predict what might come next.

Energy Was the Accelerant

This was the most visible pain point. A surge in global oil prices, exacerbated by geopolitical events, sent gasoline, heating oil, and electricity costs soaring. This acted like a tax on every single person and business, increasing the cost to produce and transport everything else. When energy prices finally retreated, it provided the first big dose of relief in the headline number.

Shelter Became the Anchor

While energy cooled, shelter costs—mainly rent and owners' equivalent rent—kept climbing. This is the sneaky part. The CPI measure of shelter lags real-time market data by 6-12 months. So, even as asking rents on new apartments began to stabilize or dip in many cities, the CPI was still reflecting the high prices people were paying on leases signed a year prior. This component became, and has remained, the single largest contributor to ongoing core inflation.

The Goods-to-Services Shift

Early on, the inflation was in goods: used cars, furniture, appliances. You couldn't get a semiconductor, a shipping container was priceless. As supply chains normalized and consumer spending shifted back toward services (travel, concerts, dining), goods inflation collapsed. In some cases, prices for electronics and other items actually fell. The baton passed to services, where inflation is more stubborn because it's heavily influenced by wages.

I made a classic mistake myself during this time. I held onto too much cash, thinking I'd "wait for prices to come down" before making a big purchase. What happened? The item I wanted never returned to its old price; meanwhile, the cash in my savings account lost purchasing power every month. I was being cautious, but it was the wrong kind of caution.

How This Inflation Directly Hits Your Savings and Budget

This is where the rubber meets the road. A high inflation rate is a silent thief. It doesn't take money from your bank account, but it reduces what each dollar in there can buy.

Let's say you had $10,000 in a standard savings account earning a tiny amount of interest. If inflation averaged 6% over a year, the purchasing power of that $10,000 would effectively drop to about $9,400 in just one year. You didn't spend $600; inflation eroded it for you.

For budgeting, it meant the old rules broke down. The "50/30/20" budget (needs/wants/savings) got squeezed because the "needs" category—food, housing, utilities—swelled uncontrollably. Discretionary spending on "wants" took a hit. And for many, the "savings" part evaporated entirely.

On the investment side, it triggered a brutal regime change. The low-interest-rate, "everything goes up" environment of the previous decade ended abruptly. Bonds, traditionally a safe haven, got hammered as rising rates pushed their prices down. Growth stocks, valued on distant future profits, struggled as those future dollars were worth less in today's terms. It was a harsh lesson in diversification.

The most overlooked impact? Tax brackets. Inflation pushes wages up nominally. If you get a 5% raise during 5% inflation, you've stood still in real terms. But that higher nominal income can push you into a higher tax bracket, so you pay a higher percentage in taxes on money that hasn't increased your real standard of living. It's a stealth tax increase.

Practical Ways to Protect Your Money Now

Knowing the inflation rate is pointless without an action plan. Based on the last two years, here's what actually worked and what didn't.

First, attack your cash. The biggest error is letting large sums sit in a checking or traditional savings account. Move your emergency fund and short-term savings to a high-yield savings account (HYSA) or money market fund. These now offer yields that can actually compete with inflation, something unseen for over a decade. It's not a growth strategy, but it's a vital defense.

Second, rethink "safe" investments. Long-term bonds were a disaster. If you need bonds, keep durations short (look at short-term Treasury ETFs or bond funds). Their prices are less sensitive to rate hikes. I-bonds from the U.S. Treasury were a superstar for a while, as their rate is directly tied to inflation. They have purchase limits and rules, but for a portion of your cash holdings, they were perfect.

Third, be selective with stocks. The market rotated violently. Sectors with pricing power—companies that could pass higher costs to customers without losing business—held up better. Think energy for a time, certain consumer staples, and healthcare. Dividend-growing stocks also provided a nominal income stream that could potentially keep pace with inflation. This isn't about chasing hot sectors, but understanding which business models are more resilient in this environment.

Finally, invest in yourself. This is the best hedge. Negotiate a raise that at least matches inflation. Develop a side skill that brings in extra income. Inflation rewards those with the ability to increase their earnings.

Your Burning Inflation Questions Answered

If inflation is coming down, why do my bills still feel so high?
Because disinflation isn't deflation. Prices are still rising, just at a slower pace. That means the price level is now permanently higher on a new, elevated plateau. Your rent, your grocery bill, your insurance premium—they reset at a higher point during the surge. Coming down from 9% to 3% inflation means prices are climbing 3% from that new, higher base. The feeling of relief is relative; you're comparing today's 3% increase to last year's 9% nightmare, not to the prices from three years ago.
Should I change my 401(k) contributions because of high inflation?
Almost never. This is a common panic move. Stopping contributions means you're buying fewer shares when prices are lower and missing out on dollar-cost averaging. The long-term trajectory of the stock market has historically outpaced inflation. If anything, ensure your asset allocation within your 401(k) is appropriate—maybe slightly more tilted towards equities if you have a long horizon—but keep feeding the machine. The worst thing you can do is let inflation scare you out of the market permanently.
What's the one thing most people get wrong about protecting savings from inflation?
They focus entirely on growth and ignore yield on cash. Chasing speculative investments with their emergency fund to "beat inflation" exposes them to massive risk of loss. The first, most important step is to simply stop the bleeding on the cash you know you'll need in the next 1-3 years. Earning 4-5% in a safe HYSA isn't exciting, but it dramatically reduces the real loss from inflation. Securing that foundation frees you to be more rational with your long-term, growth-oriented investments.
If inflation spikes again, should I rush to buy things now?
This is called panic buying and it often backfires. It makes sense for non-perishable staples you use regularly if you see a genuine sale, but hoarding generally distorts your budget. The better strategy is to build a resilient financial lifestyle: that high-yield savings account, a diversified investment portfolio, and skills that give you income flexibility. That preparation is far more valuable than a basement full of canned goods you might not need.

Looking back at the inflation rate over the last two years gives us more than a history lesson. It shows how interconnected our economy is—from global oil markets to your local grocery aisle. It tested financial plans and exposed weak spots, particularly in how we handle cash. The key lesson isn't just to watch the CPI number each month, but to build a portfolio and a budget that can withstand its ups and downs. Because while the peak may be behind us, the reality of higher prices and the need for vigilant financial defense is here to stay.