Better e-Commerce Buy – Shopify vs Alibaba

Shopify and Alibaba are both important e-commerce companies. But which is the better stock?

| More on:

Shopify (TSX:SHOP) and Alibaba (NYSE:BABA) are the biggest tech companies in Canada and China, respectively. Shopify is an e-commerce company that sells a platform on which people host online stores. Alibaba is also an e-commerce company, with an Amazon-like “one stop shop” business model, and an attached cloud business.

Both Shopify and Alibaba got pummelled last year. SHOP fell after a string of earnings releases disappointed investors, while BABA plummeted due to the fallout from China’s Zero COVID policy. Both stocks are now cheaper than they were in the past. In this article, I’ll compare them side by side, so you can decide which is the better buy.

The case for Shopify

The case for picking Shopify over Alibaba rests on historical growth. Since it went public, Shopify has grown its sales by about 40% per year on average. In recent quarters, the growth has been slower than that (around 20%), but still faster than Alibaba’s. In the last 12 months, Alibaba’s revenue only grew 5.5%. So Shopify has far more rapid growth than Alibaba does. With that said, Shopify’s revenue growth has historically been about the same as Alibaba’s – these last two years have been somewhat of an anomaly for BABA, as I’ll show in the section below.

The case for Alibaba

The case for Alibaba rests on profitability and valuation.

There can be no doubt that Alibaba is more profitable than Shopify is. In its most recent quarter, it recorded positive adjusted earnings and free cash flow – SHOP’s earnings in the same period were negative. If we look further back, BABA’s profit advantage is even greater. Alibaba has been profitable for most of the last decade. SHOP only briefly achieved profits in 2020 and 2021, and then lost them.

It’s a similar story for valuation. At today’s prices, BABA trades at just 14.4 times adjusted earnings, 2.4 times sales, 2 times book value, and 13 times operating cash flow. It’s a pretty inexpensive stock.

Of course, BABA doesn’t have SHOP’s growth. That’s part of why it’s valued more modestly. However, some background information is needed here.

China’s economy has been artificially restrained by government policy for much of the last three years. During the COVID-19 pandemic, China followed a policy known as “Zero-COVID,” in which strict lockdowns were implemented in response to very small case numbers. In many cases, the lockdowns lasted for months, and the general policy lasted until long after lockdowns ended in North America.

Last December, China permanently ended its Zero-COVID policy. Most of the lockdowns across the country were ended in the span of a week, and now China has one of the most open economies in Asia. This doesn’t mean that growth will immediately rush back. Due to its rapid re-opening, China recorded 60,000 COVID deaths in a month, when it had hardly any deaths prior to that. Initially, the re-opening slowed the economy even more than the lockdowns did. But just recently, China put out economic data that showed strong growth in the services sector, so there should be a boost in sales soon.

Foolish takeaway

For my money, Alibaba is a better buy than Shopify is. It’s cheaper, it’s more profitable, and it would probably be growing just as rapidly had China not shut down its economy. As a value investor, I consider that an open and shut case. But if you’re a growth investor, you might prefer SHOP, as its recent growth has been better than BABA’s.

John Mackey, former CEO of Whole Foods Market, an Amazon subsidiary, is a member of The Motley Fool’s board of directors. Fool contributor Andrew Button has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Shopify. The Motley Fool recommends Amazon.com. The Motley Fool has a disclosure policy.

More on Tech Stocks

leader pulls ahead of the pack during bike race
Tech Stocks

TSX Is Beating Wall Street This Year, and Here Are Some of the Canadian Stocks Driving the Rally

It’s not every year you see Canada outpace America on the investing front, but 2025 has shaped up differently. The…

Read more »

diversification and asset allocation are crucial investing concepts
Tech Stocks

Here Are My Top 2 Tech Stocks to Buy Now

Investors looking for two world-class tech stocks to buy today for big gains over the long term do have prime…

Read more »

AI concept person in profile
Tech Stocks

3 of the Best Canadian Tech Stocks Out There

These three Canadian tech stocks could be among the best global options for those seeking growth at a reasonable price…

Read more »

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

I’d Buy This Tech Stock on the Pullback

Celestica (TSX:CLS) stock looks tempting while it's down, given its AI tailwinds in play.

Read more »

AI concept person in profile
Tech Stocks

1 Oversold TSX Tech Stock Down 23% to Buy Now

This oversold Canadian tech name could be a rare chance to buy a global, AI-powered info platform before sentiment snaps…

Read more »

a person watches a downward arrow crash through the floor
Tech Stocks

Have a Few Duds? How to Be Smart About Investment Losses (Tax-Loss Strategies for Canadians)

Tax-loss selling can help Canadians offset capital gains in non-registered accounts, but each underperforming stock should be evaluated carefully before…

Read more »

AI concept person in profile
Tech Stocks

Tesla vs. Alphabet: Which Is the Better AI Stock for 2026?

Both stocks have delivered good returns recently. But only one looks like a good bet going into 2026.

Read more »

A child pretends to blast off into space.
Dividend Stocks

2 Canadian Stocks to Buy for Lifetime Income

Two under‑the‑radar Canadian plays pair mission‑critical growth with paycheque‑like income you can hold for decades.

Read more »