Owning Costco (NASDAQ: COST) or Walmart (NYSE: WMT) stock today might seem risky, given the uncertainty around tariffs and economic growth. Retailers are among the first to notice when consumers are pulling back on spending, often by trading down to cheaper brands and limiting discretionary purchases. Yet, these two retailing giants have proven that they can maintain customer traffic through a wide range of selling conditions. Their sales often do better, in fact, when shoppers are looking to save money.
Those factors help explain why both Costco and Walmart stock are outperforming the market so far in 2025. But which one is the better fit today? That depends on your preferences around value, cash returns, and growth potential. Let’s take a closer look.
Where to invest $1,000 right now? Our analyst team just revealed what they believe are the 10 best stocks to buy right now. Learn More »
Growth and profits
Costco is the clear leader in terms of revenue growth. Comparable-store sales rose 8% last quarter, with Walmart’s gain clocking in at 5%. Zoom out, and the picture doesn’t change. Costco expanded sales by 8% over the last three quarters, and Walmart notched a 5% increase in fiscal 2025. The warehouse retailing titan’s lead is driven by factors like its loyal base of subscribers and a merchandise strategy that spans the entire pricing range (from $1.50 hot dogs to gold bars selling for $3,400).
A customer shops for cleaning supplies. Image source: Getty Images.
The profit picture isn’t as clear-cut. Costco’s profitability is unusually steady for a retailer because it is mostly powered by those highly predictable membership fees. As a result, an investor who doesn’t like to see large earnings declines might prefer this stock.
COST Operating Margin (TTM) data by YCharts
Walmart lacks that stability, but in exchange, you get a higher overall margin (4.3% today). The retail giant is also boosting its profitability through initiatives like its booming e-commerce business and its digital advertising push. It’s more likely to see Walmart’s margin increase over the next few years than Costco’s, whose management team is committed to reinvesting excess cash into keeping prices low.
Cash returns
Dividend investors will have a tough time choosing between these two stocks. While Costco and Walmart both generate ample free cash flow, neither stock will wow you with its yield. Walmart’s shares deliver a roughly 1% yield, and Costco’s yield is a meager 0.5%. You’d do much better by simply owning an index fund that tracked the wider S&P 500.
Costco has in the past rewarded investors with large one-time dividends, yet management hasn’t committed to these, and the timing is always unpredictable when they do arrive. On the plus side, the retailers both produce enough cash to allow for direct returns like dividends and stock buybacks. If you’re looking for a higher yield and predictably rising dividends, Walmart is the standout.
Price and value
There’s a huge difference between these stocks in terms of valuation. Unfortunately, you won’t be getting a crazy deal with either stock, since Costco and Walmart are each priced at significant premiums compared to other retailers such as Target or Kroger.
Between them, though, Walmart is cheaper, valued at 1 times sales versus Costco’s price-to-sales ratio of 1.7. Similarly, you’d have to pay nearly 60 times earnings for Costco stock, compared to 41 times earnings for Walmart today.
Both retailers have earned these premiums by maintaining high shopper traffic through the years, dramatically expanding their e-commerce units, and consistently delivering low prices to their customers. Yet I believe Costco is the better stock to consider buying today. You get stronger growth and more stability with this business. Those are valuable factors in any market, but especially when volatility and uncertainty are on the rise.
Should you invest $1,000 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 $653,702!* Or when Nvidia made this list on April 15, 2005… if you invested $1,000 at the time of our recommendation, you’d have $870,207!*
Now, it’s worth noting Stock Advisor’s total average return is 988% — a market-crushing outperformance compared to 172% for the S&P 500. Don’t miss out on the latest top 10 list, available when you join Stock Advisor.
See the 10 stocks »
*Stock Advisor returns as of June 9, 2025
Demitri Kalogeropoulos has positions in Costco Wholesale. The Motley Fool has positions in and recommends Costco Wholesale, Target, and Walmart. The Motley Fool recommends Kroger. The Motley Fool has a disclosure policy.