Walmart vs Costco Wholesale: Which Retail Stock Is the Better Buy Right Now?

Source Motley_fool

Key Points

  • These stocks both trade at price-to-earnings multiples of around 50.

  • Walmart's growth has been more consistent, while Costco's can vary with consumer appetite for discretionary spending.

  • 10 stocks we like better than Costco Wholesale ›

Walmart (NASDAQ: WMT) and Costco Wholesale (NASDAQ: COST) are two iconic retailers that have shown they can do well regardless of economic conditions. Walmart's low prices have attracted high-income shoppers looking to stretch their budgets, enabling the business to do well even in tough times. And while Costco often leaves shoppers spending more than they planned, its bargain-hunting experience has been highly successful.

Over the past five years, their returns have been comparable, with Walmart rising by around 190% and Costco's stock up 175%. Both have surged past the S&P 500, which has rallied at a more modest rate of 82% during that period. This year, Walmart's valuation hit $1 trillion in market cap, while Costco's valuation is around $450 billion.

Will AI create the world's first trillionaire? Our team just released a report on the one little-known company, called an "Indispensable Monopoly" providing the critical technology Nvidia and Intel both need. Continue »

In terms of earnings, however, both of their valuations may be a bit stretched, as neither stock looks particularly cheap. But if you're planning to buy and hold for the long term, which one could be a better addition to your portfolio today?

Person shopping for groceries.

Image source: Getty Images.

Costco's growth rate has typically been stronger

These retail stocks are generating just single-digit growth these days, but their performance has been reasonably strong given the headwinds and challenges consumers are facing amid rising prices. What's notable from the chart below, however, is that Costco's growth rate remains a fair bit higher than Walmart's, and when there's been greater appetite for discretionary purchases, the difference has been even more significant.

WMT Revenue (Quarterly YoY Growth) Chart

WMT vs Costco (Quarterly YoY Growth) data by YCharts

Walmart's business centers more around essentials and groceries. While Costco also sells groceries, its bargain-hunting experience often entices shoppers to spend a bit more, and the results show that's been highly effective. Both businesses may continue to do well this year as shoppers seek savings amid rising prices. Costco's cheap gas prices are also likely to lead to greater foot traffic, which may, in turn, drive more in-store sales.

Walmart's recent rally has pushed its valuation nearly as high as Costco's

Over the past 12 months, Costco's stock has been flat, while Walmart's shares have risen 35%. In the process, that has made their valuations much more comparable; previously, Costco was trading at a far higher price-to-earnings multiple than Walmart. Now, however, that gap has shrunk significantly.

WMT PE Ratio Chart

WMT vs COST on PE Ratio data by YCharts

A year ago, the conclusion would have been evident: Walmart was clearly the cheaper stock. But now, with one stock trading at 53 times earnings and another at nearly 48, there's a difference, though not massive enough to drastically tip the scales in favor of one over the other. Either way you look at it, you're paying a hefty premium for both stocks, and it really comes down to which one may be more worthy of it.

Why I'd give the edge to Costco's stock today

There are many similarities between the two stocks, but the big difference for me is that Walmart is more of a grocery and defensive play than Costco, which may benefit more from stronger economic conditions and heightened consumer spending. Paying around 50 times earnings for either stock is hard to stomach, but with Costco, I believe there's far more growth potential.

Not only can Costco's growth rate rise significantly if discretionary spending is on the rise, but its footprint is also smaller; it can more easily pick its spots as to where in the country or the world, for that matter, to expand into. Its large warehouses are often packed and attract a lot of attention. Furthermore, its website and e-commerce business may be a big source of future growth. Walmart, on the other hand, arguably has a much stronger online presence as it competes head-on with e-commerce giant Amazon.

Costco looks better positioned to grow in the long run, which makes its high valuation much more tenable, and that's why I believe it's the better buy at this stage.

Should you buy stock in Costco Wholesale right now?

Before you buy stock in Costco Wholesale, 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 Costco Wholesale wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.

Consider when Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you’d have $472,744!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $1,353,500!*

Now, it’s worth noting Stock Advisor’s total average return is 991% — a market-crushing outperformance compared to 207% for the S&P 500. Don't miss the latest top 10 list, available with Stock Advisor, and join an investing community built by individual investors for individual investors.

See the 10 stocks »

*Stock Advisor returns as of May 13, 2026.

David Jagielski, CPA has no position in any of the stocks mentioned. 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
Ethereum Is Not Dead: Why Market Experts Are Still Predicting A Rise Above $10,000Ethereum’s price has lagged behind Bitcoin at key moments, retail confidence is low, and every failed breakout has given critics another reason to argue that ETH has lost its place. However,
Author  NewsBTC
15 hours ago
Ethereum’s price has lagged behind Bitcoin at key moments, retail confidence is low, and every failed breakout has given critics another reason to argue that ETH has lost its place. However,
placeholder
Here’s Why The Bitcoin Price Has Risen 37% Since April And What Could Threaten The RallyThe massive surge in the Bitcoin price since April 2026 is still viewed as part of a broader bear market phase, according to on-chain analytics platform CryptoQuant. While some market experts believe
Author  NewsBTC
15 hours ago
The massive surge in the Bitcoin price since April 2026 is still viewed as part of a broader bear market phase, according to on-chain analytics platform CryptoQuant. While some market experts believe
placeholder
Wintermute says Bitcoin’s push past $80,000 is a short squeeze, not a healthy rally amid stagnant US Iran negotiationsBitcoin has crossed $80,000. For the first time since January. However, Wintermute, the algorithmic trading firm, believes this to be only a “short squeeze” and has warned that the move is driven by liquidations in the derivatives market, not genuine spot buying by traders. This market report would mean the current price levels are very...
Author  Cryptopolitan
15 hours ago
Bitcoin has crossed $80,000. For the first time since January. However, Wintermute, the algorithmic trading firm, believes this to be only a “short squeeze” and has warned that the move is driven by liquidations in the derivatives market, not genuine spot buying by traders. This market report would mean the current price levels are very...
placeholder
XRP real-world adoption surges as monthly transactions jump 65% in one yearXRP is seeing a sharp rise in real-world usage, with on-chain activity accelerating significantly over the past year. This comes as institutional flows, tokenized assets, and payment settlement demand continue to grow across the XRP Ledger. Recent blockchain data indicates that monthly transactions on the XRP Ledger increased by 65% from 43 million to 71.5...
Author  Cryptopolitan
15 hours ago
XRP is seeing a sharp rise in real-world usage, with on-chain activity accelerating significantly over the past year. This comes as institutional flows, tokenized assets, and payment settlement demand continue to grow across the XRP Ledger. Recent blockchain data indicates that monthly transactions on the XRP Ledger increased by 65% from 43 million to 71.5...
placeholder
Experts Predict a 10% S&P 500 Rally, Trump’s “Buy Now” Call ResurfacesA year-old Donald Trump quote urging Americans to “buy stock now” is back at the top of crypto Twitter. The clip is paired with a Wellington-Altus forecast that sees the S&P 500 climbing to 8,000 by y
Author  Beincrypto
15 hours ago
A year-old Donald Trump quote urging Americans to “buy stock now” is back at the top of crypto Twitter. The clip is paired with a Wellington-Altus forecast that sees the S&P 500 climbing to 8,000 by y
goTop
quote