Shopify vs. Amazon: Which E-Commerce Stock Is a Better Buy?

Shopify and Amazon are tech giants that have crushed broader market returns in the last few years, but which stock is a better buy today?

| More on:

In the last decade, the shift toward online shopping has accelerated at a rapid pace. This trend gained further momentum all over the world amid COVID-19 as countries imposed lockdowns. It meant businesses had to establish an online presence to stay relevant and consumer spending experienced a shift due to limited shopping options.

The transition towards online shopping is expected to continue in the future as well, making technology stocks such as Shopify (TSX:SHOP)(NYSE:SHOP) and Amazon (AMZN) top bets right now. But which stock is a better buy?

Shopify stock has gained 5,800% since IPO

Shopify went public in mid-2015 and the stock has since gained an astonishing 5,800% in just over six years. It is now Canada’s largest company in terms of market cap, valued at $229.6 billion. The company’s software allows merchants to manage their businesses across various channels by integrating transactions from physical retail locations, custom websites, and online marketplaces into a single POS or point-of-sale system. It also provides merchants with additional services that include payment processing, financing, and shipping.

At the end of Q2, Shopify had more than 1.7 million merchants on its platform and the company’s suite of software solutions has also attracted Fortune 500 companies such as Unilever and Pepsi.

In the last three years, Shopify sales have risen at an annual rate of 65%. In the last 12 months, Shopify reported revenue of US$3.9 billion, up from just US$853.6 million in the same period in 2018. This rapid expansion in the top-line allowed the tech giant to report a free cash flow of US$507 million in the last year, compared to the negative figure of US$31.5 million three years ago.

Shopify ended the June quarter with close to US$8 billion in cash compared to just US$910 million in long-term debt. The company is already profitable and has enough liquidity to weather economic recessions or grow on the back of accretive acquisitions.

The bull case for Amazon stock

Amazon is one of the largest companies in the world, valued at a market cap of US$1.6 trillion. While it generates a majority of sales via e-commerce, the company has a significant presence across several business verticals that include cloud computing, online streaming, and digital advertising. In fact, Amazon Web Services grew revenue by 37% year over year to US$14.8 billion in Q2 of 2021.

AMZN stock is up just 4.7% in the last 12 months but it has been a massive wealth creator for long-term investors, returning over 1,300% in cumulative returns since October 2011. Despite its massive size, Amazon grew sales by 27% year over year to US$113 billion in Q2. Wall Street expects the company to increase revenue by 23.3% to US$476 billion in 2021 and by 18.3% to US$563 billion in 2022. Comparatively, its earnings per share are also forecast to expand at an annual rate of 37% in the next five years.

AMZN stock is valued at a forward price to earnings multiple of 45, which is higher than the S&P 500 Composite Index average of 34. But it’s also growing at a faster rate compared to the market and enjoys leadership positions across business segments.

The Foolish takeaway

Both Shopify and Amazon are well-positioned to derive market-beating gains in the long term. But Amazon’s diversified business and significantly lower valuation make it a better stock to buy right now.

John Mackey, CEO of Whole Foods Market, an Amazon subsidiary, is a member of The Motley Fool’s board of directors. Fool contributor Aditya Raghunath has no position in any of the stocks mentioned. The Motley Fool owns shares of and recommends Amazon and Shopify. The Motley Fool recommends Unilever and recommends the following options: long January 2022 $1,920 calls on Amazon, long January 2023 $1,140 calls on Shopify, short January 2022 $1,940 calls on Amazon, and short January 2023 $1,160 calls on Shopify.

More on Tech Stocks

woman considering the future
Tech Stocks

2 Cheap Tech Stocks to Buy Right Now

Shopify (TSX:SHOP) and Constellation Software (TSX:CSU) have crashed quite a bit, but, eventually, things will get overdone.

Read more »

moving into apartment
Tech Stocks

If I Could Only Buy and Hold a Single Stock, This Would Be It

Looking for the best stock to buy and hold? Discover why Shopify is a long-term winner in the e-commerce space.

Read more »

looking backward in car mirror
Tech Stocks

1 Magnificent Canadian Tech Stock Down 63% to Buy and Hold for Decades

Gatekeeper Systems stock is down 63% from its highs, but the AI-powered transit safety company has major tailwinds. Here's why…

Read more »

gold prices rise and fall
Tech Stocks

The Only 3 Stocks I’d Consider Buying in March 2026

March 2026 presents unique stock opportunities amid AI spending and geopolitical tensions. Learn which stocks to watch.

Read more »

young adult uses credit card to shop online
Tech Stocks

Shopify Stock Is Still 35% Cheaper Today, And It’s Still a Forever Hold

Shopify is no longer a hype-only story. The business is bigger -- and generating meaningful cash flow.

Read more »

Digital background depicting innovative technologies in (AI) artificial systems, neural interfaces and internet machine learning technologies
Tech Stocks

2 Canadian AI Stocks Poised for Significant Gains

These two Canadian stocks are showing real strength in the AI space, and they’ve got the numbers to back it…

Read more »

Dividend Stocks

The Best Canadian Stocks to Own During a Trade War

In the face of tariffs, Canadian stocks with scale, pricing power, or defence-linked demand can hold up better than most.

Read more »

young people dance to exercise
Dividend Stocks

Canadians: How Much Should Be in a 20-Year-Old’s TFSA to Retire?

At 20, having any TFSA savings matters more than the size, because consistency is what compounds.

Read more »