Walmart vs. Costco: What's the Better Retail Stock to Buy Right Now?

Source The Motley Fool

Walmart (NYSE: WMT) and Costco Wholesale (NASDAQ: COST) are two of the biggest names in retail. They are massive businesses that can use their strong positions in the market to command low prices from vendors, allowing them to provide good value for their customers. And investors have recognized this, flocking to these shares as safe-haven investments amid economic uncertainty.

In the past 12 months, both stocks have risen by more than 25%, outperforming the S&P 500 and its 12% gains over the same time frame. But which retail stock is the better buy from here on out?

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 »

Investor calculating stock returns on a calculator.

Image source: Getty Images.

Which company has better growth prospects?

For forward-looking investors, it's always important to consider the future, not simply rely on the past, when deciding on which stock to buy. This year, Walmart expects its sales to grow by around 3% to 4%. But it also said that it may have to raise prices, as soon as this month due to tariffs.

This is still a fairly short-term problem for the business. In the long run, the company has promising opportunities in expanding via online retail, it plans to open more stores in the U.S., and its acquisition of TV maker Vizio can enhance its growth opportunities in advertising.

Costco, meanwhile, has been expanding its global presence, opening multiple stores in China last year. And with just seven locations in the country, there's a huge opportunity to expand there, along with other markets.

The bulk of Costco's warehouses are in North America, and global expansion is a massive opportunity. And organically, the business is still doing well. The company reports earnings later this month, but its comparable-store sales for the 35-week period ended May 4 grew 5.9%. And its e-commerce business grew by 16.3% during that time frame.

Ultimately, I give the edge to Walmart when it comes to growth. Its business is a bit more varied than Costco's. And with Walmart focusing more on groceries and necessities, there's arguably more of a need to go to your local Walmart than there is to a Costco, where you may simply end up destroying your budget by spending much more than you planned; Walmart's growth may hold up better in a tougher economy than Costco's will.

Which stock is more expensive?

Both of these stocks have generated some strong gains over the past year, and inevitably, valuation will be a big question mark when deciding which of these stocks to buy. A good way to gauge their values is with respect to earnings. Neither one of them, however, looks terribly cheap right now.

WMT PE Ratio Chart

WMT PE Ratio data by YCharts.

At a price-to-earnings multiple (P/E) of 40, Walmart is more attractively priced, but it's still trading well above the S&P 500 average P/E of 24.

Walmart is the stock I'd buy today

Both of these businesses are solid and continue to do well, making it a challenging decision to pick between them. But the better buy right now looks to be Walmart.

Although it's up 50% over the past 12 months, Walmart's P/E multiple is significantly lower than Costco's. And by focusing on essentials while also having strong growth opportunities ahead in multiple areas, it can make for the better buy in both the short and long terms.

Now can be a risky time to invest in the stock market, amid so much economic uncertainty. But with a trusted brand and strong financials, Walmart is the type of stock you can buy and forget about for a long while.

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 Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you’d have $642,582!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $829,879!*

Now, it’s worth noting Stock Advisor’s total average return is 975% — 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 May 19, 2025

David Jagielski 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.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Gold Price Forecast: XAU/USD drifts higher above $4,200 as Fed delivers expected cutGold price (XAU/USD) gains momentum to around $4,235 during the early Asian session on Thursday. The precious metal extends its upside after the US Federal Reserve (Fed) delivered an expected third consecutive interest rate cut and maintained its outlook for just one cut in 2026.
Author  FXStreet
Dec 11, Thu
Gold price (XAU/USD) gains momentum to around $4,235 during the early Asian session on Thursday. The precious metal extends its upside after the US Federal Reserve (Fed) delivered an expected third consecutive interest rate cut and maintained its outlook for just one cut in 2026.
placeholder
Ethereum Price Eyes an Upside Break — But $3,350 Has Other IdeasEthereum is consolidating above $3,200 and its 100-hour SMA after defending $3,150, with a bullish trend line support at $3,180 and an upside breakout hinging on a clean move through $3,320–$3,350, while a drop below $3,150 would reopen $3,040–$3,000 support.
Author  Mitrade
Dec 12, Fri
Ethereum is consolidating above $3,200 and its 100-hour SMA after defending $3,150, with a bullish trend line support at $3,180 and an upside breakout hinging on a clean move through $3,320–$3,350, while a drop below $3,150 would reopen $3,040–$3,000 support.
placeholder
Gold remains bid as lack of Fed clarity and geopolitical frictions persistGold (XAU/USD) advances modestly on Friday as traders seem to book profits ahead of the weekend, yet clings to gains of over 0.51% after reaching a seven-week high of $4,353. At the time of writing, XAU/USD trades at $4,302 as traders digest comments from Federal Reserve (Fed) officials.
Author  FXStreet
7 hours ago
Gold (XAU/USD) advances modestly on Friday as traders seem to book profits ahead of the weekend, yet clings to gains of over 0.51% after reaching a seven-week high of $4,353. At the time of writing, XAU/USD trades at $4,302 as traders digest comments from Federal Reserve (Fed) officials.
placeholder
Ethereum Price Slips Lower — $3,000 Looms as the Key BattlegroundEthereum is attempting to recover from a $3,026 low but remains below $3,200 and the 100-hour SMA, with a bearish trend line near $3,175 capping rebounds as bulls need a clean break above $3,200 to target $3,250–$3,400, while a drop below $3,050 risks a retest of $3,000 and $2,940.
Author  Mitrade
5 hours ago
Ethereum is attempting to recover from a $3,026 low but remains below $3,200 and the 100-hour SMA, with a bearish trend line near $3,175 capping rebounds as bulls need a clean break above $3,200 to target $3,250–$3,400, while a drop below $3,050 risks a retest of $3,000 and $2,940.
placeholder
Macro Analysts: Hawkish Japan Could Push Bitcoin Below $70KAnalysts predict Bitcoin may face further declines towards the $70,000 mark if the Bank of Japan raises interest rates as expected.
Author  Mitrade
3 hours ago
Analysts predict Bitcoin may face further declines towards the $70,000 mark if the Bank of Japan raises interest rates as expected.
goTop
quote