Best Stock to Buy Right Now: Walmart vs. Costco

Source The Motley Fool

Walmart (NYSE: WMT) and Costco (NASDAQ: COST) are both recession-resistant retailers. Walmart's scale enables it to sell its products at lower prices than many of its competitors, and it leverages its brick-and-mortar stores to fulfill its online orders. Costco's warehouse stores lock in shoppers with bulk discounts and sticky membership plans.

Over the past three years, Walmart's stock rose more than 90% as Costco's stock rallied over 60%. The S&P 500 only advanced 23% during that period. Let's see why these two retailers beat the market -- and which one is the better buy right now.

Where to invest $1,000 right now? Our analyst team just revealed what they believe are the 10 best stocks to buy right now. See the 10 stocks »

Adult pushing child in a shopping cart in a warehouse store.

Image source: Getty Images.

The differences between Walmart and Costco

Walmart is a more diversified retailer than Costco. It operates its namesake superstores in the U.S., Mexico, China, and other overseas markets, while its smaller members-only Sam's Club banner competes against Costco in the warehouse club market. It also owns other brick-and-mortar banners and e-commerce websites across 19 countries.

Walmart operates over 10,600 stores and warehouse clubs around the world, but it still generated more than 80% of its revenue from its Walmart and Sam's Club's stores in the U.S. in fiscal 2024 (which ended in January 2024).

Costco only operates members-only warehouse clubs, which sell discount and bulk products. It can afford to sell many of its products at low margins because it generates most of its profits through its higher-margin membership fees.

Costco's growth cycle is mainly fueled by gaining new members, maintaining high renewal rates, raising its fees every few years, and opening new warehouses. It operated 897 warehouses at the end of its latest quarter, with 617 locations in the U.S. and Puerto Rico and the rest spread out across Asia, Europe, Australia, and New Zealand.

Which retailer is growing faster?

Walmart's revenue rose 7% throughout the pandemic in fiscal 2021, but only grew 2% in fiscal 2022 as it divested some of its non-core and overseas businesses. Its revenue rose 7% in fiscal 2023 as those headwinds dissipated. Revenue grew another 6% in fiscal 2024, as its U.S. comps rose 5.6% and its international revenue increased 13%.

Walmart's total store count declined from fiscal 2021 to fiscal 2024 as it divested some of its overseas banners, but its core domestic business is still keeping pace with Amazon and other tough competitors. It's maintaining that steady growth rate by matching its competitors' prices, automating its processing volumes at its fulfillment centers, expanding its e-commerce ecosystem, and locking more shoppers into its Walmart+ subscriptions for free deliveries and other perks.

From fiscal 2024 to fiscal 2027, analysts expect Walmart to grow its revenue and earnings per share (EPS) at a compound annual growth rate (CAGR) of 5% and 17%, respectively. Those growth rates are healthy, but its stock looks historically expensive at 34 times next year's earnings. Its low forward yield of 1% also won't attract any serious income investors in this high-interest-rate environment.

Costco's revenue rose 17% in fiscal 2021 (which ended in August 2021) as the pandemic drove more people to stock up on packaged foods and household goods. Its revenue grew another 16% in fiscal 2022, 7% in fiscal 2023, and 5% in fiscal 2024.

Its overall growth slowed down as it lapped the pandemic-driven tailwinds and faced tougher inflationary headwinds for consumer spending. Its total adjusted comps (excluding currency exchange rates and fuel sales) still increased 5.9% in fiscal 2024, as its stronger overseas growth outpaced its U.S. growth. Its e-commerce sales surged 16% as more shoppers pivoted from its stores to its online marketplace.

Costco is also gaining new members and maintaining high renewal rates. In the first quarter of fiscal 2025, its total cardholders grew 7% year over year to 138.8 million, as its worldwide renewal rate only dipped 10 basis points to 90.4%. It's still opening new stores around the world, and it recently raised its membership fees for the first time in seven years.

From fiscal 2024 to fiscal 2027, analysts expect Costco's revenue and EPS to grow at a CAGR of 7% and 11%, respectively. But like Walmart, Costco's stock isn't a bargain at 47 times next year's earnings. It also pays a tiny forward dividend yield of 0.5%.

The better buy: Walmart

Costco and Walmart are great long-term investments, but their multiples are currently being inflated by expectations for lower rates and a rotation toward safer evergreen stocks. Therefore, I wouldn't rush to buy either of these stocks right now. But if I had to choose one over the other, I'd buy Walmart over Costco. Its business is more broadly diversified, it's less dependent on recurring memberships, and its stock is cheaper.

Should you invest $1,000 in Walmart right now?

Before you buy stock in Walmart, consider this:

The Motley Fool Stock Advisor analyst team just identified what they believe are the 10 best stocks for investors to buy now… and Walmart wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.

Consider when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $847,637!*

Stock Advisor provides investors with an easy-to-follow blueprint for success, including guidance on building a portfolio, regular updates from analysts, and two new stock picks each month. The Stock Advisor service has more than quadrupled the return of S&P 500 since 2002*.

See the 10 stocks »

*Stock Advisor returns as of December 30, 2024

John Mackey, former CEO of Whole Foods Market, an Amazon subsidiary, is a member of The Motley Fool’s board of directors. Leo Sun has positions in Amazon. The Motley Fool has positions in and recommends Amazon, 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
XRP Price Prediction: Ripple Rally Expected but Altcoin Dubbed the ‘Next XRP’ Set for 5800% GainsThe crypto market is aiming for a rebound in early 2025 after a turbulent end to 2024. Ripple (XRP) is now making some waves in this environment. Its value is rising on the charts. Even some market analysts like XRP Whale have made a bullish price prediction for this altcoin.
Author  Cryptopolitan
Jan 03, Fri
The crypto market is aiming for a rebound in early 2025 after a turbulent end to 2024. Ripple (XRP) is now making some waves in this environment. Its value is rising on the charts. Even some market analysts like XRP Whale have made a bullish price prediction for this altcoin.
placeholder
Tesla Just Did Something It Has Never Done BeforeIn this video, I will talk about Tesla (NASDAQ: TSLA) and explain why the stock started the year on the wrong foot. Watch the short video to learn more, consider subscribing, and click the special offer link below.
Author  The Motley Fool
Jan 03, Fri
In this video, I will talk about Tesla (NASDAQ: TSLA) and explain why the stock started the year on the wrong foot. Watch the short video to learn more, consider subscribing, and click the special offer link below.
placeholder
Opinion: Bitcoin price predictions for 2025 shouldn’t be trustedWe are barely 3 days into the year, and Bitcoin’s price predictions have already flooded the crypto space. Several industry veterans, analysts, prominent business people – everyone seems to have their forecast for the leading cryptocurrency’s future. But should these predictions be taken seriously? The short answer: NO.
Author  Cryptopolitan
Jan 03, Fri
We are barely 3 days into the year, and Bitcoin’s price predictions have already flooded the crypto space. Several industry veterans, analysts, prominent business people – everyone seems to have their forecast for the leading cryptocurrency’s future. But should these predictions be taken seriously? The short answer: NO.
placeholder
PBoC: Will cut RRR and interest rates at proper timeThe People's Bank of China's (PBoC) Monetary Policy Committee said on Friday that they will cut the reserve ratio requirements (RRR) and interest rates at proper time, per Reuters.
Author  FXStreet
Jan 03, Fri
The People's Bank of China's (PBoC) Monetary Policy Committee said on Friday that they will cut the reserve ratio requirements (RRR) and interest rates at proper time, per Reuters.
placeholder
Here's Why Boeing Stock Gained Back Ground in DecemberBoeing (NYSE: BA) stock rose by 13.9% in December, according to data provided by S&P Global Market Intelligence. The move put a little shine on a disappointing year for the company and comes down to some positive news for Boeing.
Author  The Motley Fool
Jan 03, Fri
Boeing (NYSE: BA) stock rose by 13.9% in December, according to data provided by S&P Global Market Intelligence. The move put a little shine on a disappointing year for the company and comes down to some positive news for Boeing.
goTop
quote