Better Stock to Buy Now: Walmart or Costco?

These two resilient companies have proven their worth again and again, even during tough times, but which is the better buy right now?

When it comes to buying big, and buying cheap, there are two companies that continue to dominate the market. Those are Walmart (NYSE:WMT) and Costco (NASDAQ: COST). Both have proven to big strong winners on the market, providing investors with both dividends and returns. Furthermore, each have proven to be resilient even during downturns, with customers seeking the best price.

But which is better?

Let’s get into more recent performance, as well as the outlook for both of these resilient companies. And then, see which comes out on top.

A woman shops in a grocery store while pushing a stroller with a child

Source: Getty Images

Walmart

First, there’s Walmart, a company that is a solid buy for a number of reasons. Let’s first start of with recent earnings. Walmart has consistently exceeded analyst expectations for earnings per share (EPS) in the last four quarters. This indicates the company is performing better than anticipated. What’s more, it’s also topped revenue estimates over the same period. Beating revenue forecasts suggests strong sales and customer demand.

Add to this the company’s resilience. With inflation on the rise, consumers are likely to flock to discount retailers like Walmart seeking lower prices. This could boost Walmart’s sales in the coming months. Plus, Walmart has been aggressively expanding its e-commerce presence to compete with Amazon. This could be a significant driver of future growth, as online shopping continues to rise.

Of course, analysts love all this. Many rate the company a buy, with an average price target above its current stock price. Yet while not expensive, Walmart stock doesn’t really have a lot of wiggle room for higher growth compared to other stocks. As mentioned, there is still a lot of fierce competition in the retail space, as well as other discount grocers and e-commerce.

Costco

Let’s now turn our attention to Costco stock. The company is similar to Walmart but with a bonus: subscriptions. It’s another compelling investment for long-term growth. So, again, let’s start off with earnings.

Even with the pandemic subsiding, Costco has maintained steady comparable-store sales growth, a key metric in retail, exceeding 8% in early 2024. Therefore, the company’s core business model clearly remains strong.

Plus, an insanely high 92% of Costco members renew their memberships, demonstrating high customer satisfaction and loyalty, leading to predictable revenue streams. And that looks like it might just be climbing higher.

Costco stock is actively expanding its global footprint, opening new warehouses at a steady pace, which increases its customer reach and potential sales. Their business model thrives on offering a curated selection of discounted everyday items alongside surprise deals, keeping customers engaged and returning for more. This fosters brand loyalty and repeat business.

And as mentioned, even during inflationary periods, Costco’s membership model with bulk discounts becomes even more attractive to value-conscious shoppers, potentially driving up sales. So, while the company may trade at a premium valuation, it still offers long-term investors growth.

Bottom line

So, which stock is the better buy? Of course, it’s going to come down to your priorities. Costco stock might be better if you want consistent growth, with customer loyalty thanks to high membership renewal rates. It also has a strong brand, with customers choosing the company again and again, even during downturns.

Walmart stock, however, might be better for those seeking a lower valuation and dividend income. Furthermore, it’s providing more growth in the e-commerce space. Overall, both look like great options on the market today. 

John Mackey, former CEO of Whole Foods Market, an Amazon subsidiary, is a member of The Motley Fool’s board of directors. Fool contributor Amy Legate-Wolfe has positions in Walmart. The Motley Fool recommends Amazon, Costco Wholesale, and Walmart. The Motley Fool has a disclosure policy.

More on Stocks for Beginners

traders work at stock exchange
Stocks for Beginners

Canadian Bank Stocks: Buy, Sell, or Hold for 2027?

Explore the Big Six, their latest earnings and dividend yields, with income and defensive picks.

Read more »

trading chart of brent crude oil prices
Energy Stocks

Suncor Stock: The Dividend Test I’d Use When Oil Prices Swing

Suncor’s dividend increase needs to be assessed beside cash after investment and a weaker-oil stress test.

Read more »

groceries get more expensive as inflation rises
Dividend Stocks

What $25,000 in Manulife Could Add to Your Annual Dividend Income

A $25,000 Manulife budget provides about $755 annually, with a clear trade-off between spending and reinvesting.

Read more »

Canadian investor contemplating U.S. stocks with multiple doors to choose from.
Dividend Stocks

Great-West Lifeco vs. Manulife: Which Insurance Stock Would I Buy for Income?

Manulife gets a narrow income preference, while Great-West offers a strong retirement-and-wealth alternative.

Read more »

man shops at grocery store
Dividend Stocks

Choice Properties Pays Monthly: Does the Yield Compensate for Higher Rates?

Choice’s yield deserves a closer look at cash after property spending and financing costs.

Read more »

A meter measures energy use.
Energy Stocks

Canadian Utilities vs. Hydro One: Which Dividend Stock Would I Hold for 15 Years?

A proposed merger changes the Canadian Utilities comparison, while Hydro One still requires price discipline.

Read more »

pig shows concept of sustainable investing
Stocks for Beginners

How I’d Turn Quarterly Bank Dividends Into a Monthly Paycheque

Quarterly bank dividends can fund regular monthly transfers without choosing stocks for payment dates.

Read more »

man studies at computer
Dividend Stocks

Here Are The 3 Canadian Stocks I’d Tell a New Investor to Buy ASAP

Discover strategies for investing in stocks that can help you thrive in a market filled with volatility and uncertainty.

Read more »