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?

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

telehealth stocks
Tech Stocks

1 Canadian Stock Down 42% to Buy and Hold Forever

This health tech stock is trading at a discount as it continues to grow and expand a business very much…

Read more »

space ship model takes off
Tech Stocks

Ottawa’s Defence Spending Boom: This Canadian Tech Stock is Already Cashing In

MDA has identifiable government and defence work, but its backlog and profit margins reveal more than the spending headlines.

Read more »

Printing canadian dollar bills on a print machine
Tech Stocks

I’d Keep Shopify for its 18% Free Cash Flow Margin

With an expanding 18% free cash flow margin and massive share buybacks, Shopify proves why it remains a top TSX…

Read more »

quantum computing is still in infancy
Tech Stocks

A Quantum Computing Stock Canadian Investors Can Buy Now

Looking for a quantum computing stock? D-Wave offers exposure to an emerging industry, with paying customers and plenty still to…

Read more »

ETF is short for exchange traded fund, a popular investment choice for Canadians
Tech Stocks

A Handful of Tech Giants Is Carrying Wall Street: Canadians Holding U.S. Index ETFs Should Know How Concentrated They Really Are

XQQ's top 10 holdings make up 46% of the fund. See how concentrated Canada's Nasdaq 100 ETF is and why…

Read more »

man makes the timeout gesture with his hands
Dividend Stocks

Why Dividend Cuts Happen and How to Spot the Warning Signs

Learn why dividend cuts happen and how to spot warning signs, using BCE and TELUS to examine cash flow, debt,…

Read more »

The letters AI glowing on a circuit board processor.
Tech Stocks

Nvidia Just Hit $5.8 Trillion: The Canadian Stock Riding the Same AI Wave

Celestica’s AI exposure is supported by operating results, while cash investment and valuation make the buying decision more demanding.

Read more »

man in bowtie poses with abacus
Tech Stocks

A Simple Way to Estimate Your Retirement Number

Here's how Canadian couples can calculate their retirement number in 2026.

Read more »