Best Stock to Buy Right Now: Costco vs. Walmart

Source The Motley Fool

Retail giants Walmart (NYSE: WMT) and Costco Wholesale (NASDAQ: COST) have a lot in common. People go to these shopping hubs when budgets are tight. Actually, Walmart and Costco stay busy in any economy -- and despite their low-cost products and services, these companies make money by the truckload.

Look up "consumer defensive" stocks in your favorite screener and sort the list by market cap. Walmart tops that list with a $734 billion market value on Dec. 27, followed by Costco at $415 billion. I'm talking about true business titans here.

Start Your Mornings Smarter! Wake up with Breakfast news in your inbox every market day. Sign Up For Free »

But should you buy Costco or Walmart stock today? You know how similar these companies can be, but let's check out how they differ, too.

Retailer rockets in 2024

Both stocks have soared in 2024. Costco shares gained more than 41% this year, and Walmart investors saw a 73% share price increase.

These stodgy old value stocks are behaving more like high-growth names from the tech sector. Walmart shares are trading at price-to-sales (P/S) ratios not seen in more than 20 years, and Costco's P/S valuation has never been this rich before.

WMT PS Ratio Chart

WMT PS Ratio data by YCharts.

The growth gap narrows

Costco used to grow its sales much faster than the retail giant from Arkansas. Costco's revenues rose 46% in the three-year period from fiscal year 2019 to 2022. Walmart's top-line growth stopped at 14.5% over that time span.

But things have changed, and the two companies have shown very similar sales growth in the last two years.

WMT Revenue (TTM) Chart

WMT Revenue (TTM) data by YCharts.

Here's an unexpected AI leader

Walmart's accelerated growth comes from a surprisingly high-tech setup. In the latest earnings call, Walmart's leaders highlighted growing e-commerce operations in places like Mexico and a growing reliance on artificial intelligence (AI) tools.

"[W]e're learning and applying generative AI, AI, and machine learning to solve the practical opportunities right in front of us," said Walmart CEO Doug McMillon. One generative AI tool is helping Walmart's staff access the proprietary business data they need. A customer-facing shopping assistant with machine learning smarts has been in beta testing since the summer, and should soon become widely available.

E-commerce is also a large part of Costco's business plan, but the company appears to have fewer AI projects going on. Costco leaders haven't mentioned AI in a financial call since last spring, when (now retired) CFO Richard Galanti said that the company was in "early innings" of putting this technology to use.

I'm almost shocked to see Walmart taking advantage of new technology faster than Costco. It can't be easy to drive that massive business in a new direction, given the unyielding law of large numbers. But that's what I see happening today.

Great stocks, bad timing

So Walmart is keeping up with Costco's business growth, with assistance from a promising set of AI tools. At the same time, the retail giant's stock is less expensive than Costco's across a wide range of valuation metrics.

But that doesn't make Walmart's stock a slam-dunk buy today. With a price-to-earnings ratio (P/E) of 37.5 and price-to-free cash flow (P/FCF) of more than 43, even Walmart's lower-priced stock looks quite expensive.

This malaise extends beyond Costco and Walmart. With a couple of exceptions, the entire category of discount-priced retail stores has enjoyed stellar market performance this year -- leaving their stocks stranded at very lofty valuation ratios. This secular trend makes sense, since people have been dodging inflation since the summer of 2021. Low-priced goods are worth their weight in gold these days.

Yes, I'd rather buy Walmart stock than Costco shares at the moment. But even Walmart is more of a "hold" recommendation than a flat-out "buy" idea. This just doesn't look like the right time to start a position in most discount-store stocks.

Don’t miss this second chance at a potentially lucrative opportunity

Ever feel like you missed the boat in buying the most successful stocks? Then you’ll want to hear this.

On rare occasions, our expert team of analysts issues a “Double Down” stock recommendation for companies that they think are about to pop. If you’re worried you’ve already missed your chance to invest, now is the best time to buy before it’s too late. And the numbers speak for themselves:

  • Nvidia: if you invested $1,000 when we doubled down in 2009, you’d have $355,269!*
  • Apple: if you invested $1,000 when we doubled down in 2008, you’d have $48,404!*
  • Netflix: if you invested $1,000 when we doubled down in 2004, you’d have $489,434!*

Right now, we’re issuing “Double Down” alerts for three incredible companies, and there may not be another chance like this anytime soon.

See 3 “Double Down” stocks »

*Stock Advisor returns as of December 23, 2024

Anders Bylund has positions in Walmart. The Motley Fool has positions in and recommends Costco Wholesale and Walmart. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Natural Gas sinks to pivotal level as China’s demand slumpsNatural Gas price (XNG/USD) edges lower and sinks to $2.56 on Monday, extending its losing streak for the fifth day in a row. The move comes on the back of China cutting its Liquified Natural Gas (LNG) imports after prices rose above $3.0 in June. It
Author  FXStreet
Jul 01, 2024
Natural Gas price (XNG/USD) edges lower and sinks to $2.56 on Monday, extending its losing streak for the fifth day in a row. The move comes on the back of China cutting its Liquified Natural Gas (LNG) imports after prices rose above $3.0 in June. It
placeholder
What Crypto Whales are Buying For May 2025Crypto whales are making bold moves heading into May 2025, and three tokens are standing out: Ethereum (ETH), Artificial Superintelligence Alliance (FET), and Onyxcoin (XCN).
Author  Beincrypto
Apr 21, Mon
Crypto whales are making bold moves heading into May 2025, and three tokens are standing out: Ethereum (ETH), Artificial Superintelligence Alliance (FET), and Onyxcoin (XCN).
placeholder
Ethereum (ETH) Underperforms All Top 5 Major Cryptos in Brutal 2025 DowntrendDespite signs of improving momentum, with RSI climbing and EMA lines hinting at a potential breakout, ETH continues to lag behind competitors like Solana in multiple metrics.
Author  Beincrypto
Apr 23, Wed
Despite signs of improving momentum, with RSI climbing and EMA lines hinting at a potential breakout, ETH continues to lag behind competitors like Solana in multiple metrics.
placeholder
Analysts Highlight 4 Reasons Why ETH Price Could Rebound Strongly in MayEthereum (ETH) has declined for five consecutive months. However, it enters May with rising optimism.
Author  Beincrypto
May 07, Wed
Ethereum (ETH) has declined for five consecutive months. However, it enters May with rising optimism.
placeholder
Ethereum Price Ready to Surge—$2,000 Level Could Be Within ReachEthereum price started a fresh increase above the $1,800 zone. ETH is now rising and attempting a move above the $1,850 resistance. Ethereum started a fresh recovery wave above the $1,820 resistance.
Author  NewsBTC
May 08, Thu
Ethereum price started a fresh increase above the $1,800 zone. ETH is now rising and attempting a move above the $1,850 resistance. Ethereum started a fresh recovery wave above the $1,820 resistance.
goTop
quote