AMZN

Amazon vs. Walmart vs. Costco: Which Is the Smartest Buy for the Second Half of 2026?

Key Points

  • Amazon, Walmart, and Costco each focus on value for their customers, and that’s translated into earnings growth over time.

  • One of these players is very reasonably priced right now.

  • These 10 stocks could mint the next wave of millionaires ›

The S&P 500 has soared in recent years amid excitement about artificial intelligence (AI) stocks. Investors piled into these exciting growth stories. In more recent times, though, companies specifically focused on AI have experienced some headwinds, from general worries about the economic environment to concerns about the level of spending on AI. This weighed on the performance of some -- and has pushed certain investors into looking for other growth opportunities.

The AI story certainly isn't over. Demand for AI products and services remains high, and the technology is just starting to be applied in the real world, signaling earnings growth potential ahead. But investors looking for another growth theme, one that may offer a bit more stability, might turn to certain consumer goods players.

Missed Nvidia in 2009? This Rare Signal Is Flashing Again. In 2009, a "Double Down" signal flashed for a little-known chipmaker called Nvidia. For the first time in years, that same "Total Conviction" signal is flashing for a company 1/100th the size of Nvidia. Continue »

Amazon (NASDAQ: AMZN), Walmart (NASDAQ: WMT), and Costco Wholesale (NASDAQ: COST) are excellent options. But, of the three, which is the smartest buy for the second half? Let's find out.

A shopper removes an item from a box.

Image source: Getty Images.

The case for Amazon

Amazon actually is an AI stock, thanks to its Amazon Web Services (AWS) cloud computing arm -- the unit offers AI products and services to its customers, and this has resulted in a $150 billion annual revenue run rate for AWS. But the company also is an e-commerce giant, selling essentials, general merchandise, and even entertainment like books and movies to its customers.

This e-commerce business has built a significant track record of earnings strength. And earnings may become even stronger in the quarters to come, thanks to Amazon's revamp of its cost structure a couple of years ago. The company cut certain jobs, shifted its U.S. fulfillment system to a regional model from a national one, and made other moves to favor profitability.

Amazon's focus on fast delivery, its broad range of products, and its global presence should keep customers coming back and earnings climbing.

The case for Costco

What I like most about Costco's business model is that you, as a customer, generate revenue for the company before you even set foot in a warehouse to shop. This is through membership fees, and these fees are high-margin for the company -- and they actually drive Costco's profit growth.

To make the story even better, Costco's renewal rates are extremely high. In the company's biggest markets of the U.S. and Canada, renewal rates have topped 90% quarter after quarter. This is fantastic because it offers us visibility regarding earnings ahead. The membership model also is great because once shoppers pay the fee, they will want to amortize it -- so they will likely shop as much as possible at Costco.

All of this has helped this warehouse giant increase earnings over time -- and this business model sets Costco up for victory over the long run too.

The case for Walmart

Walmart's focus on low prices makes it a favorite of customers and gives it an advantage in any market environment. The company has also made progress in areas such as digital sales -- something that helps it compete with Amazon -- and membership -- something that helps it compete with Costco. In the recent quarter, worldwide e-commerce sales rose 26%, and membership fee revenue advanced 17%.

This retail giant also has benefited from its advertising business, offering brands the ability to advertise to gain attention for their products across Walmart's digital platforms and in stores. The business generated 37% growth in the latest quarter.

So, Walmart offers investors a certain level of revenue stability and the potential for growth, a combination that has helped the stock price soar in recent years.

Which retailer is the better buy?

Each of these players has proven itself over time and offers solid long-term prospects -- so you can't go wrong by investing in any of them. And each has seen a bit of a sell-off recently, offering investors a potential buying opportunity. But if I could only invest in one of these retail winners for the second half, I would choose Amazon. The company trades for a lower valuation than Walmart and Costco, yet it offers superior revenue growth.

AMZN PE Ratio (Forward) Chart

AMZN PE Ratio (Forward) data by YCharts

At the same time, Amazon may benefit from the AI boom, but it also could be a winner during times of slower economic growth, thanks to its e-commerce business and focus on value for the customer. All of this makes Amazon a reasonably priced stock to buy now -- it's one that could excel during any environment in the second half of 2026 and beyond.

Don’t miss this second chance at a potentially lucrative opportunity

Ever feel like you missed the boat in buying the most successful stocks? Then you’ll want to hear this.

On rare occasions, our expert team of analysts issues a “Double Down” stock recommendation for companies that they think are about to pop. If you’re worried you’ve already missed your chance to invest, now is the best time to buy before it’s too late. And the numbers speak for themselves:

  • Nvidia: if you invested $1,000 when we doubled down in 2009, you’d have $511,405!*
  • Apple: if you invested $1,000 when we doubled down in 2008, you’d have $59,210!*
  • Netflix: if you invested $1,000 when we doubled down in 2004, you’d have $410,833!*

Right now, we’re issuing “Double Down” alerts for three incredible companies, available when you join Stock Advisor, and there may not be another chance like this anytime soon.

See the 3 stocks »

*Stock Advisor returns as of July 8, 2026.

Adria Cimino has positions in Amazon. The Motley Fool has positions in and recommends Amazon, Costco Wholesale, and Walmart. The Motley Fool has a disclosure policy.

The views and opinions expressed herein are the views and opinions of the author and do not necessarily reflect those of Nasdaq, Inc.

Tags

More Related Articles

Info icon

This data feed is not available at this time.

Data is currently not available

Sign up for the TradeTalks newsletter to receive your weekly dose of trading news, trends and education. Delivered Wednesdays.