Retail is emerging from its inflation slump, and most of the country's large retailers demonstrated important progress last year. Amazon(NASDAQ: AMZN) and Costco Wholesale(NASDAQ: COST), the two largest U.S. retailers behind first-place Walmart, ended the year with solid growth and healthy stock gains.
Let's see what each of these companies brings to the investing table and which one is the better buy today.
Amazon is the largest e-commerce retailer in the U.S. It has higher sales than Costco, and it's still growing faster. It's also more profitable.
Company
Sales
Sales Growth
Net Income
Amazon
$158.9 billion
11%
$15.3 billion
Costco
$61 billion
7.5%
$1.8 billion
Data source: Amazon and Costco quarterly reports. Amazon metrics are for the 2024 third quarter, and Costco metrics are for the fiscal 2025 first quarter.
Amazon accounts for around 40% of all U.S. e-commerce sales, a breathtaking lead that's unchallengeable in the near term. It's taking all kinds of actions to protect its position and become the source of even more of its loyal Prime members' shopping, like a new distribution network to keep products closer to customers and get them out faster. E-commerce remains Amazon's core business, and it's still growing. E-commerce is also increasing as a percentage of retail sales, expected to reach 41% of sales, up from 18% in 2017, according to the Boston Consulting Group.
But there's something else entirely that makes Amazon stand out right now, and that's generative artificial intelligence (AI). Really, it starts with Amazon Web Services, (AWS), Amazon's cloud computing business. AWS is growing faster than e-commerce, and it's a higher-margin business. In the third quarter, sales increased 19% year over year, accounting for 17% of sales and 62% of operating income.
Many of the most valuable generative AI solutions are available to AWS customers, who can tap into all kinds of data and tools to create or benefit from AI. CEO Andy Jassy keeps saying things like it's a "once-in-a-lifetime type of opportunity" and that it's already a billion-dollar run rate business.
There could be many factors to add in Amazon's favor, but another important one is its growing advertising business, or better framed, its constant innovations that lead to new businesses and sales-generating opportunities.
You might say Costco is the very opposite of Amazon. As much as Amazon jumps from here to there, catching onto the flavor of the week, Costco is steadfast.
That's not completely true; every company has to shift to meet changing needs, and Costco's doing a fabulous job at staying the course with what it does best while embracing new opportunities to create more value for shoppers and shareholders. It offers self-checkout counters for quicker shopping, and it's been experimenting with the best way to integrate e-commerce into its platform. For example, it offers store pickup for many items, a service Amazon can't offer. It also allows customers to check store inventory for many products. In the 2025 fiscal first quarter (ended Nov. 24), e-commerce sales increased 13% over last year. Traffic, order value, and conversion rates all increased year over year.
Costco also releases monthly results, and e-commerce picked up even more, 34% year over year. Management says that was due to Thanksgiving-related sales happening a week later than last year, but it was a strong result nontheless.
But Costco is dependable because it has a reliable membership model that customers love. You might say that Costco's main business isn't selling products but selling memberships. Paid households increased 7.6% year over year to more than 77 million in Q1, and membership fee income increased 7.8% to $1.2 billion. Renewal rates were high, as usual, at 92.8% in the U.S. and Canada and 90.4% worldwide.
Costco also pays a dividend, which has a low yield of 0.48% at the current price. But it also pays an attractive special dividend occasionally that was $15 in 2023.
Neither of these stocks is cheap, but Costco is more expensive, trading at a price-to-earnings (P/E) ratio of 55 vs. 47 for Amazon.That makes it harder to call Costco a better value.
For most investors, Amazon is going to be the better buy. It's growing faster and has more opportunities. However, investors who are looking for a solid, reliable stock and passive income, like a retiree, might choose Costco instead.
Before you buy stock in Amazon, 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 Amazon wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.
Consider when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $818,587!*
Stock Advisor provides investors with an easy-to-follow blueprint for success, including guidance on building a portfolio, regular updates from analysts, and two new stock picks each month. TheStock Advisorservice has more than quadrupled the return of S&P 500 since 2002*.
John Mackey, former CEO of Whole Foods Market, an Amazon subsidiary, is a member of The Motley Fool's board of directors. Jennifer Saibil has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Amazon, Costco Wholesale, and Walmart. The Motley Fool has a disclosure policy.