Best E-Commerce Stock To Buy: Amazon Vs. Shopify

Source The Motley Fool

Key Points

  • Amazon and Shopify are two e-commerce leaders with different business models.

  • Amazon is more diversified, with AWS, online ads, and AI accelerating growth rates.

  • Shopify's growth outpaces Amazon, and it enjoys higher profit margins since it doesn't need as much overhead for its business model.

  • 10 stocks we like better than Amazon ›

Amazon (NASDAQ: AMZN) and Shopify (NASDAQ: SHOP) are two of the largest e-commerce stocks, and they have both produced tremendous long-term returns for investors. Shopify has gained over 5,000% in the ten years since November 4, 2015, while Amazon is up by over 700% during the same timeframe.

Amazon grew its business by selling everything under the sun and diversifying into additional opportunities, such as cloud computing and online advertising. Shopify focused on enabling merchants to create online stores and sell their products instead of having inventory and warehouses.

Where to invest $1,000 right now? Our analyst team just revealed what they believe are the 10 best stocks to buy right now, when you join Stock Advisor. See the stocks »

Although both e-commerce stocks offer excellent long-term prospects, one of them stands out as the winner.

Amazon is more diversified

Amazon delivery worker

Image source: Getty Images.

Most people think of Amazon's e-commerce store, which makes it easy to buy millions of products, but the company has quietly diversified into several growth opportunities. The company acquired Whole Foods in 2017 to expand its physical footprint. It had other physical locations like a bookstore and a clothing store, but Amazon closed them to focus on grocery stores.

It also lets third-party sellers list their products on Amazon, similar to what Shopify allows for its merchants. However, Amazon's two biggest growth opportunities are Amazon Web Services and online advertising, which went up by 20% and 24% year-over-year, respectively, in the third quarter.

Online ads and AWS represent more than 25% of the company's total revenue, and cloud computing revenue can continue to accelerate due to strong AI demand. For instance, OpenAI and Amazon recently agreed to a $38 billion deal that gives OpenAI access to additional cloud computing capacity from AWS.

Overall revenue rose by 13% year-over-year, with those segments playing key roles. Amazon is also investing heavily in artificial intelligence, hoping to capture a future trend the same way Amazon became the cloud computing leader by launching AWS in 2006. Its custom AI chip, Trainium2, grew by 150% quarter-over-quarter and is now a multi-billion dollar business. If AI tailwinds continue to accelerate, Trainium can be a key growth driver like online ads and AWS.

Shopify is growing at a faster rate

Shopify is growing at a faster rate than Amazon due to its successful e-commerce model and the fact that it's a smaller company. It's easier for Shopify to build on its $2.8 billion in Q3 revenue than it is for Amazon to build on top of its $180 billion in Q3 revenue. Making an extra $1 billion per quarter would do wonders for Shopify's growth rates, but for Amazon, that same amount wouldn't make much of an impact on revenue growth rates.

Shopify posted 32% year-over-year revenue growth in the third quarter, which was higher than Amazon's growth rate. Merchant solutions and subscriptions are Shopify's two revenue sources, which grew at 14.6% and 38.2%, respectively. It's good to see merchant solutions growing at a faster rate since that segment makes up almost 75% of Shopify's total revenue.

The subscription model results in high annual recurring revenue for Shopify, and high switching costs mean most customers will continue to use Shopify. It's hard to justify all of the time it would take for big companies to move away from Shopify and migrate to another option.

Choosing between Amazon and Shopify

Shopify is growing at a faster rate and enjoys higher profit margins than Amazon since it has fewer overhead costs. While Shopify posted a 33.8% net profit margin in Q3, Amazon only delivered an 11.8% net profit margin. A focus on digital software gives Shopify an edge with margins, while Amazon's e-commerce model has lower margins. Online ads and AWS have helped a bit, though.

However, Shopify's faster growth rate and higher year-to-date gain aren't enough to make it a clear winner. It's a closer battle when investors consider Amazon's diversified opportunities and valuation. Amazon is a cloud computing leader that is at the forefront of artificial intelligence. Its Trainium2 AI chip is growing at a rapid rate, and Amazon has more backup routes if e-commerce sales growth decelerates. Shopify doesn't have that luxury if e-commerce growth decelerates.

Amazon trades at a 33.90 P/E ratio compared to Shopify's 84.06 P/E ratio. Amazon has a better valuation, which results in a better margin of safety for investors, and that also holds true for the forward P/E ratio. Shopify's 82.64 P/E ratio is almost three times higher than Amazon's 28.57 forward P/E ratio.

Amazon is the safer stock of the two due to having more revenue streams, with some of them accelerating. The OpenAI partnership further validates Amazon's leading position amid the AI boom, which can translate into renewed revenue acceleration in the upcoming quarters. Shopify is great too, but if revenue for its merchant solutions decelerates, it has limited growth opportunities beyond that, and the valuation may come under pressure.

Both e-commerce stocks look solid, but Amazon is the winner.

Should you invest $1,000 in Amazon right now?

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 Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you’d have $624,230!* 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,187,967!*

Now, it’s worth noting Stock Advisor’s total average return is 1,069% — a market-crushing outperformance compared to 195% 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 November 10, 2025

Marc Guberti has no positions in any of the mentioned stocks. The Motley Fool has positions in and recommends Amazon and Shopify. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Why a Quiet 2025 Signals a Massive 2026 Crypto Bull Run: Bitwise CIO ExplainsBitwise's Matt Hougan Predicts a Crypto Boom in 2026 Amid Current Market Struggles
Author  Mitrade
Yesterday 04: 03
Bitwise's Matt Hougan Predicts a Crypto Boom in 2026 Amid Current Market Struggles
placeholder
Gold hits three-week top as dovish Fed bets offset US government reopening optimismGold (XAU/USD) reverses a modest Asian session dip and climbs to an over three-week high, around the $4,213 region, on Thursday.
Author  FXStreet
Yesterday 06: 22
Gold (XAU/USD) reverses a modest Asian session dip and climbs to an over three-week high, around the $4,213 region, on Thursday.
placeholder
Bitcoin vs. Ethereum: Distinct Monetary UniversesBitcoin and Ethereum are diverging significantly in their monetary roles, according to a joint report from Glassnode and Keyrock.
Author  Mitrade
8 hours ago
Bitcoin and Ethereum are diverging significantly in their monetary roles, according to a joint report from Glassnode and Keyrock.
placeholder
Ethereum slides 5% as bears lean on $3,500 cap and put $3,150 support in focusEthereum (ETH) drops more than 5% after a failed push above $3,550, with price sliding to $3,153 and now holding below $3,350, the 100-hour SMA and a bearish trend line at $3,500; unless bulls reclaim the $3,350–$3,500 zone, the short-term bias stays bearish and a clean break under $3,150 could expose $3,050, $3,000 and even the $2,880–$2,850 support area.
Author  Mitrade
7 hours ago
Ethereum (ETH) drops more than 5% after a failed push above $3,550, with price sliding to $3,153 and now holding below $3,350, the 100-hour SMA and a bearish trend line at $3,500; unless bulls reclaim the $3,350–$3,500 zone, the short-term bias stays bearish and a clean break under $3,150 could expose $3,050, $3,000 and even the $2,880–$2,850 support area.
placeholder
Top 3 Price Prediction: Bitcoin, Ethereum, Ripple – BTC, ETH, and XRP flash deeper downside risks as market selloff intensifiesBitcoin (BTC), Ethereum (ETH) and Ripple (XRP) trade in red on Friday after correcting more than 5%, 10% and 2%, respectively, so far this week.
Author  FXStreet
2 hours ago
Bitcoin (BTC), Ethereum (ETH) and Ripple (XRP) trade in red on Friday after correcting more than 5%, 10% and 2%, respectively, so far this week.
goTop
quote