Best Stock to Buy Right Now: Walmart vs. Costco

Source Motley_fool

Key Points

  • Both of these retailers have been successful for decades.

  • Walmart's low prices have attracted thongs of customers.

  • Costco's members continue to find value in the annual fee.

  • 10 stocks we like better than Walmart ›

Finding long-term winners in the retail sector has always been challenging. It requires keeping up with changing consumer tastes while facing intense competition, including from new entrants. Walmart (NASDAQ: WMT) and Costco Wholesale (NASDAQ: COST) have been two of the more successful retailers throughout the decades. And they've rewarded shareholders.

But which company is poised to produce a better long-term return? To make that determination, it's time to look at each company's fundamentals and valuation.

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 »

Two people shopping in a store.

Image source: Getty Images.

Walmart

Walmart is a very popular shopping destination. It has 270 million visitors to its stores and websites every week, and it generates the sector's highest revenue.

What makes Walmart such an attractive place to shop? It has a simple, but very effective, strategy that it has perfected over the company's more than six decades of existence. Walmart keeps costs ultra-low, including using its size and clout to negotiate effectively with suppliers, allowing it to pass these savings on to customers in the form of low prices.

In fact, shoppers would be hard-pressed to find lower prices, even from online competitors like Amazon. The low-cost, low-price strategy gives Walmart a major competitive advantage. Management hasn't stood still, either. It's made technology investments to make the shopping experience faster and more convenient. This includes same-day pickup and delivery.

During the first nine months of the fiscal year (ended Oct. 31), Walmart's capital expenditures totaled $18.7 billion. It allocated the majority of this amount to improving the supply chain, customer-facing initiatives, and other technology.

Walmart's broadly low prices and convenience have clearly resonated with consumers. Fiscal third-quarter same-store sales (comps) at its Walmart U.S. locations grew 4.5%, driven by higher traffic (1.8 percentage points) and increased spending (2.7 percentage points). The U.S. locations produce the majority of Walmart's revenue.

Costco

Costco has earned a reputation for selling a wide range of goods and services at attractive unit prices at its huge warehouses. Often, it sells items in bulk. You have to pay an annual fee to shop at its warehouses. Despite a fee increase in September 2024 (the first time in seven years), membership growth continued, and retention remained high.

Paid memberships totaled 81 million at the end of fiscal 2025, which ended on Aug. 31. That's a 6.3% increase from the previous year. They grew to 81.4 million in the first quarter. Renewal rates continue to hover at about 90%. These two stats show that consumers continue to find value in a Costco membership.

Members continue to shop and spend money at Costco. Its first-quarter comps, removing foreign-exchange translations and the impact from changing gas prices, increased 6.4% across the company.

Management continues to open new warehouses, including internationally. It ended the quarter with 923 locations, with 633 in the U.S. It had 914 at the end of the year. The company typically opens between 20 and 30 each year.

Making the choice

It's a very difficult decision. Both companies have executed their strategies very well for a long time, and they remain in a position for future success. Walmart's stock returned 32% over the last year through Jan. 16. That's higher than the S&P 500 index's 18.4% gain.

Walmart's shares don't trade at a cheap valuation, as measured by the price-to-earnings (P/E) ratio. The stock has a P/E multiple of 42 versus the 10-year median of 29. The current P/E ratio is also higher than the S&P 500's 31 earnings multiple.

Costco's share price didn't perform nearly as well over the last year, returning 5.3%. Nonetheless, despite the recent lackluster return, the stock remains richly valued, with a P/E ratio of 52. Over 10 years, the shares had a median P/E multiple of 37. However, I believe Costco has better expansion opportunities that justify the richer valuation. Based on its growth potential, I'd choose Costco's stock.

Should you buy stock 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 $470,587!* 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,091,605!*

Now, it’s worth noting Stock Advisor’s total average return is 930% — a market-crushing outperformance compared to 192% 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 January 21, 2026.

Lawrence Rothman, CFA has positions in Costco Wholesale. 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
Gold Hits $4,844 as Geopolitical Tensions Drive Safe-Haven Demand Gold prices soared to a historic high of $4,844 an ounce amidst rising geopolitical unrest linked to Greenland and a weakening U.S. dollar. Investors flock to precious metals as trade tensions escalate.
Author  Mitrade
13 hours ago
Gold prices soared to a historic high of $4,844 an ounce amidst rising geopolitical unrest linked to Greenland and a weakening U.S. dollar. Investors flock to precious metals as trade tensions escalate.
placeholder
Oil Holds Steady Amid Greenland Tensions and Oversupply PressuresOil prices stabilized on Wednesday as traders weighed escalating geopolitical tensions over the U.S. push to take control of Greenland against a backdrop of persistent concerns about global oversupply.
Author  Mitrade
Yesterday 07: 05
Oil prices stabilized on Wednesday as traders weighed escalating geopolitical tensions over the U.S. push to take control of Greenland against a backdrop of persistent concerns about global oversupply.
placeholder
Bitcoin Tops $95,000 Amid Two-Month High, but U.S. Demand Lags Behind Global RallyBitcoin prices climbed above $95,000 on Tuesday, reaching their highest level in two months. However, a key market indicator suggests U.S. investor participation in the rally has been noticeably weaker compared to overseas demand.
Author  Mitrade
Jan 14, Wed
Bitcoin prices climbed above $95,000 on Tuesday, reaching their highest level in two months. However, a key market indicator suggests U.S. investor participation in the rally has been noticeably weaker compared to overseas demand.
placeholder
Jefferies Predicts Strong Growth in Chinese AI Stocks Amid Narrowing Valuation GapsJefferies analysts highlight the growth potential of Chinese artificial intelligence stocks, forecasting significant upside as valuations converge with U.S. peers. Increased capital spending and government support further enhance optimistic outlook through 2026.
Author  Mitrade
Jan 14, Wed
Jefferies analysts highlight the growth potential of Chinese artificial intelligence stocks, forecasting significant upside as valuations converge with U.S. peers. Increased capital spending and government support further enhance optimistic outlook through 2026.
placeholder
Australian Consumer Confidence Declines Amid Rising Interest Rate ConcernsConsumer confidence in Australia fell in January, driven by increased worries about interest rates and job security. The Westpac-Melbourne Institute Consumer Sentiment Index remains in pessimistic territory below neutral levels.
Author  Mitrade
Jan 13, Tue
Consumer confidence in Australia fell in January, driven by increased worries about interest rates and job security. The Westpac-Melbourne Institute Consumer Sentiment Index remains in pessimistic territory below neutral levels.
goTop
quote