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

Source 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
Top 3 Price Prediction: Bitcoin, Ethereum, Ripple: BTC inches toward all-time high, ETH and XRP defend key support levelsBitcoin (BTC) price stabilizes at around $106,400 at the time of writing on Wednesday, just 3% shy of its record peak.
Author  FXStreet
12 hours ago
Bitcoin (BTC) price stabilizes at around $106,400 at the time of writing on Wednesday, just 3% shy of its record peak.
placeholder
Ethereum Market Shows Signs Of Overheating Near $2,500 – Is A Short-Term Pullback Coming?As Ethereum (ETH) continues to hover around the $2,500 mark, signs of market exhaustion are beginning to emerge. Analysts suggest the second-largest cryptocurrency by market cap could face a
Author  NewsBTC
12 hours ago
As Ethereum (ETH) continues to hover around the $2,500 mark, signs of market exhaustion are beginning to emerge. Analysts suggest the second-largest cryptocurrency by market cap could face a
placeholder
XRP Price Coils for a Breakout — Is The Next Leg Up Imminent?XRP price started a fresh decline below the $2.3350 zone. The price is now recovering losses and might aim for an upside break above $2.40. XRP price started a fresh decline below the $2.40 zone. The
Author  NewsBTC
12 hours ago
XRP price started a fresh decline below the $2.3350 zone. The price is now recovering losses and might aim for an upside break above $2.40. XRP price started a fresh decline below the $2.40 zone. The
placeholder
Gold price retakes $3,300 amid a broadly weaker USD and reviving safe-haven demandGold price (XAU/USD) prolongs its weekly uptrend for the third straight day and climbs further beyond the $3,300 mark, to a one-and-a-half-week high during the Asian session on Wednesday.
Author  FXStreet
12 hours ago
Gold price (XAU/USD) prolongs its weekly uptrend for the third straight day and climbs further beyond the $3,300 mark, to a one-and-a-half-week high during the Asian session on Wednesday.
placeholder
Cardano (ADA) In Focus: Can It Break This Barrier and Reclaim Momentum?Cardano price started a fresh increase above the $0.7250 zone. ADA is now consolidating and facing hurdles near the $0.760 zone. ADA price started a decent increase above $0.7250 and $0.7320. The
Author  NewsBTC
12 hours ago
Cardano price started a fresh increase above the $0.7250 zone. ADA is now consolidating and facing hurdles near the $0.760 zone. ADA price started a decent increase above $0.7250 and $0.7320. The
goTop
quote