July 2026 CPI: 3.4% Inflation, Gas at $4.08 — What the Iran War Energy Shock Actually Costs
The Bureau of Labor Statistics reported July 2026 CPI at 3.4% annually — down from 3.5% in June, but still well above the pre-Iran-war pace of 2.4%. Gasoline is up 24.6% from a year ago and $1.06 per gallon from before the conflict. Here's what that adds up to for a real household.
Close-up of a Shell gas station price display showing regular, mid-grade, premium, E85, and diesel fuel prices — Photo: DanTD (CC BY 4.0)
By DopeCalculators Team
Published August 14, 2026
The Bureau of Labor Statistics released the July 2026 Consumer Price Index report on August 12. The headline number: 3.4% annual inflation, down from 3.5% in June. Monthly prices rose just 0.1%. On the surface, it looks like progress. And in some ways it is — but the story is almost entirely about one thing: what started at the Strait of Hormuz on February 28.
The national average price for a gallon of regular gas hit $4.08 as of August 14, according to AAA. Before U.S.-Israeli strikes on Iran began, you were paying about $3.02. That's $1.06 more per gallon from a conflict that, five months in, is still setting the price you pay at the pump.
What the July CPI Actually Shows
Strip out food and energy, and July's core CPI was 2.5% year-over-year — a level the Fed would have been thrilled with a few years ago. Shelter rose 3.2% annually. Food was up 3.0%, with groceries at 2.7% and restaurant meals at 3.4%. New cars added 0.5%. Used cars actually fell 1.9% from a year ago. These categories are elevated but not alarming.
Then there's energy. The overall energy index is up 14.7% from a year ago. Gasoline specifically is up 24.6% year-over-year. That one category, carried by the Iran conflict's effect on global oil supply, is what's pulling headline inflation more than a full percentage point above core.
The good news in the July report is in the monthly readings: energy prices fell 1.5% from June to July. Gasoline dropped 2.9% month-over-month. June's energy index also fell 5.7% from May. Two straight months of monthly decline in energy prices is a meaningful signal — oil markets appear to be pricing in some stabilization in the Strait of Hormuz, even if annual comparisons are still ugly.
How We Got Here: February to Now
In February 2026, before the conflict began, U.S. annual inflation was 2.4%. Then came the strikes, the closure of nearly all traffic through the Strait of Hormuz — which the International Energy Agency called the "largest supply disruption in the history of the global oil market" — and a rapid repricing of energy across the global economy.
By March, inflation had climbed to 3.3%. By May it had reached 4.2%. Now it's come back to 3.4%, with two months of monthly energy price declines providing some relief. That improvement is real. So is the gap: at 2.4% pre-war vs. 3.4% today, the Iran war has effectively added a full percentage point to the inflation rate for five months running.
For context on what that percentage point costs: an annual inflation rate of 3.4% erodes purchasing power at a rate of about $2.83 per month for every $1,000 of spending. At 2.4%, it would be $2.00 per month. The difference sounds small, but on a $6,000/month household budget — about the U.S. median — that's roughly $50/month in additional purchasing power lost compared to where inflation would have been without the energy shock.
You can run your own numbers through the Inflation Calculator to see what a specific rate does to a specific dollar amount over a specific period.
The Actual Cost at the Pump
Abstract percentages are hard to feel. Gasoline is not. Here's what the 24.6% year-over-year increase and the $1.06 rise from pre-war levels add up to for a typical driver:
The Federal Highway Administration puts average U.S. annual mileage at 13,476 miles per person. The average fuel economy of the U.S. passenger fleet is around 29 miles per gallon. That works out to roughly 465 gallons per year.
At the pre-war price of $3.02 per gallon, 465 gallons costs about $1,404 per year. At today's $4.08, the same driving costs $1,897 — a difference of $493 per year per car, or about $41 per month.
A two-car household is looking at roughly $985 more per year just on gasoline compared to before the attacks started. That's before any of the downstream energy cost — electricity, utility gas, anything transported by truck — shows up in what they buy.
To see what your specific commute and driving habits cost at different gas prices, try the Fuel Cost Calculator. It also lets you compare two vehicles side by side, which is useful if you're weighing whether a more fuel-efficient car starts making more financial sense at $4/gallon than it did at $3.
Airline Fares Are the Other Surprise
One CPI category worth flagging that doesn't get as much attention: airline fares are up 25.5% year-over-year in July. That's nearly the same pace as gasoline, and for related reasons — jet fuel accounts for roughly 20-25% of airline operating costs, and carriers have passed on those higher costs quickly. If you're planning any travel in the back half of 2026, the fares you see are reflecting oil prices, not demand softness.
What the Fed Is Doing
The Federal Open Market Committee has held the federal funds rate at 3.50-3.75% throughout 2026. The July CPI report landed in line with expectations, and the same-day PPI release (which measures wholesale inflation) showed producer prices flat in July — a signal that the energy-driven spike may be losing steam before it feeds further into consumer prices.
Markets reacted positively: S&P 500 rose 0.65% on August 14 to a record close, and bond yields fell, reflecting reduced expectations of a rate hike. Nine of 18 Fed officials in the June dot plot still showed a preference for at least one hike in 2026, but the last two months of cooling monthly energy prices have likely shifted some of those dots.
The Fed's stated goal remains 2% inflation. At 3.4%, they're not there. But the path from here matters as much as the level: if the Strait of Hormuz situation continues to stabilize and oil markets price lower, energy's drag on headline CPI could keep shrinking, even as core inflation stays well-behaved. The scenario where the Fed raises rates is increasingly one where oil prices re-spike — not where the non-energy economy overheats.
What to Actually Watch Going Forward
The August CPI report (covering August prices, released in September) will be the clearest read on whether the two-month energy price decline is a trend or a pause. AAA's data already shows gas prices ticking back up in mid-August to $4.08 after briefly touching $4.00, driven by crude oil volatility in the $70-80/barrel range. If that reversal holds through the month, the August CPI could show energy rebounding — and headline inflation creeping back toward 3.5%.
On the other hand, if the Strait of Hormuz situation eases further and oil stays below $75, the monthly energy price drag could accelerate, pulling headline CPI back toward the 3.0% range by fall. The war's trajectory is doing more work on U.S. inflation right now than anything the Fed controls.
For your own financial picture, the practical question is whether the current energy costs are temporary or durable. If you're making a budget, a lease vs. buy decision on a car, or a commuting choice, the Fuel Cost Calculator lets you model what different gas price scenarios cost you over a year. The Inflation Calculator gives you a concrete number for what a sustained inflation rate does to purchasing power over time — useful when you're deciding whether to lock in a price now or wait.
Sources
- US CPI July 2026: Inflation Slows as Gas Prices Fall — USInflationCalculator.com
- CPI report shows inflation cooled to 3.4% in July — Quartz
- US annual inflation cooled to 3.4% in July as gas prices ease — CNN Business
- Inside the Consumer Price Index: July 2026 — Advisor Perspectives / dshort
- Monthly gas price data, August 2026 — AAA Gas Prices
- Stocks rise and interest rates slide after inflation report — NBC News
- Quantifying the impact of the Iran war on US inflation — CEPR VoxEU
- Implications of the Iran war for U.S. inflation — Dallas Fed
- 2026 Iran war fuel crisis — Wikipedia