HomeFinanceIf Gas Prices Stay High, Costco Stock Could Be a Better Buy...

If Gas Prices Stay High, Costco Stock Could Be a Better Buy Than Walmart


As of this writing on June 10, a new round of U.S. military strikes in the Iran conflict has driven up the price of oil. Higher oil prices mean higher prices at the gas pump. And in an economy where many Americans already feel pressured by high costs of living, that could lead to some changes in how people spend their discretionary income.

Some retail stocks are more vulnerable than others to high gasoline prices. Retail sector stocks in general are struggling in 2026. So far this year, Walmart (WMT +0.44%) and Costco (COST +0.67%) are both strongly outperforming the S&P Retail Select Industry Index, but only Costco is outperforming the S&P 500 index:

WMT Total Return Level Chart

WMT Total Return Level data by YCharts.

Costco shares have delivered slightly higher returns than Walmart stock in 2026. And if gas prices stay high, that outperformance is likely to continue. Costco might be better positioned than any other retailer to keep thriving even if gas prices spike again.

Let’s look at a few reasons why Costco could be a better buy than Walmart.

Walmart customers are cutting back on gas

Walmart Stock Quote

Today’s Change

(0.44%) $0.54

Current Price

$121.03

Walmart and Costco both sell gas. So on that basic level, both retailers will keep earning revenue from gasoline even if gas prices stay higher for longer. But customers seem to be reacting to high gas prices in a way that’s more troubling for Walmart’s business.

On May 21, during the company’s most recent earnings call, Walmart’s chief financial officer John David Rainey said that although the retailer’s higher-income customers are still spending “with confidence,” lower-income customers are “more budget-conscious.”

As part of that trend, Rainey shared a surprising statistic: Walmart fuel-center customers are now buying an average of less than 10 gallons of gas per visit. That’s the lowest level since 2022.

It’s a bad sign, indicating that Walmart shoppers are being hit hard by high gas prices. If people are still topping up their tanks at Walmart gas pumps but having to cut back on gas, that could mean they’re tapped out and ready to pull back on other consumer discretionary spending. That could lead to less foot traffic in Walmart stores.

Costco: Record-breaking gasoline sales

Costco Wholesale Stock Quote

Today’s Change

(0.67%) $6.58

Current Price

$982.27

Gasoline sales make up a significant portion of Costco’s revenue — about 10% of total net sales, according to the 2025 annual report. But the recent spike in gas prices has driven Costco’s gas sales even higher than usual.

On the company’s most recent quarterly earnings call on May 28, CEO Ron Vachris said that Costco achieved “record-breaking volumes” in its latest fiscal quarter, and the final five weeks of the quarter were “our top five volume weeks ever.”

Even beyond the sheer volume of gasoline that they buy, Costco members seem to behave differently when buying gas. Instead of buying cheap gas and driving away, Costco’s gas customers tend to stick around and shop. Vachris said on May 28 that company executives believe higher gasoline sales volumes “will drive even greater loyalty with these members in the future, as members who use our gas stations typically spend more with us in the warehouse.”

During a previous earnings call on March 5, Costco’s CFO said that about 50% of gas shoppers also “cross-shop” at the nearby Costco warehouse. Buying gas at Costco isn’t just a way to save money, it’s an occasion to go spend some more. People might think: “I’ll stop by Costco for the cheap gas — oh, and while I’m there, I’ll buy some groceries for dinner.”

A consumer pumps gas while watching the numbers on the pump.

Image source: Getty Images.

Why buy Costco stock versus Walmart stock?

High gas prices aren’t the only factor that determines how people spend money or where they shop. But if the Iran conflict leads to a longer, more severe spike in gas prices, it would likely drive inflation even higher for longer across the economy. If inflation rises, Walmart’s lower-income customer base is likely to pull back on spending sooner than Costco’s more affluent gas-pump bargain hunters.

Costco has a recent price-to-earnings (P/E) ratio of 48.8, compared to Walmart’s P/E multiple of 42.3. Neither stock looks cheap compared to the S&P 500’s current P/E ratio of 31.3. But if I had to choose today between investing in shares of Costco or Walmart, I’d buy Costco stock.



Source link

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular