Costco is a club store retailer with a long history of growth.
Walmart has a more diversified retail footprint, and it's a Dividend King.
Walmart (NASDAQ: WMT) operates big box stores, grocery stores, and membership-based club stores. Costco (NASDAQ: COST) only runs club stores. That said, both are gigantic retailers, claiming the top two spots on the list of the world's largest consumer staples companies.
Is one a better buy than the other?
Where to invest $1,000 right now? Our analyst team just revealed what they believe are the 10 best stocks to buy right now. Continue »
Image source: Getty Images.
If you have a value bias, you probably won't want to buy either of these iconic retailers. Both have price-to-sales, price-to-earnings, and price-to-book value ratios that are well above their five-year averages. Very clearly, they are expensive today. However, they aren't just expensive relative to their own histories. Their P/E ratios are also well above the market's average P/E, so they are expensive on an absolute basis, as well.
Dividend investors won't be interested, either. Walmart's dividend yield is a miserly 0.8%, which is even lower than the S&P 500 index's (SNPINDEX: ^GSPC) anemic 1.1% yield. Costco's dividend yield is even less compelling than Walmart's, at just 0.5%.
If value investors and income investors are out, the last group that might find Walmart and Costco attractive are growth investors. On that score, Costco probably has an edge. It isn't nearly as large as Walmart, and it is still having material success expanding its geographic reach.
Moreover, Costco's focus on the club store format provides it with an annuity-like income stream from its membership fees. These fees make up around half of its gross profits, which gives management a tremendous amount of leeway with regard to product prices. Essentially, Costco can accept lower margins than peers and, thus, keep its members happily renewing.
Only part of Walmart's business offers a similar long-term positive. Investors are largely upbeat about the stock right now, as belt-tightening consumers are trading down to Walmart's big-box and grocery stores because of the retailer's low price focus. That could quickly change if economic conditions improve and customers trade back up to more premium retail experiences.
At the end of the day, Walmart and Costco are both well-run businesses. Walmart is even a Dividend King, with more than 50 consecutive annual dividend increases. The problem is that both stocks appear expensive right now, making them poor choices for many investors. If you do intend to buy one, however, Costco's business model appears to be better positioned for long-term success.
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 $450,256!* 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,171,666!*
Now, it’s worth noting Stock Advisor’s total average return is 942% — a market-crushing outperformance compared to 196% 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 February 1, 2026.
Reuben Gregg Brewer has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Costco Wholesale and Walmart. The Motley Fool has a disclosure policy.