Better Buy: Shopify Stock or Alibaba Stock?

Shopify (TSX:SHOP) stock and Alibaba (NYSE:BABA) stock are similar in many ways. Which is the better buy?

| More on:
online shopping

Image source: Getty Images

Shopify (TSX:SHOP) stock and Alibaba (NYSE:BABA) stock are similar in many ways. Both are e-commerce companies. Both are involved in the payments business. And both are the largest tech companies (as measured by customer count) in their countries of origin.

As similar as Shopify and Alibaba are, there are many differences between the two companies as well. Shopify provides infrastructure for people to host their own e-commerce websites, Alibaba provides platforms for people to buy and sell on directly. So, there are enough differences to make the opportunities in SHOP stock and BABA stock worth comparing.

In this article, I will compare Shopify and Alibaba side by side to try to determine which technology stock is the better buy.

The case for Shopify

The case for Shopify over Alibaba largely comes down to growth. In its most recent quarter, Shopify grew its revenue at 26%, Alibaba’s growth was near 0%. Obviously, Shopify is growing a lot faster than Alibaba is on the top line. When it comes to profit growth, the comparison is not so clear cut.

In its most recent quarter, Shopify’s gross profit increased by 11%, but its operating income and net income both swung from profits to losses. Alibaba, however, posted strong growth in all of its profitability metrics last quarter. The overall comparison is mixed, but I’d still say that SHOP stock is growing faster than Alibaba is, because BABA’s profit growth was mainly achieved by cost cutting. That kind of thing is not the kind of growth that growth investors typically have in mind.

The case for Alibaba

The case for choosing Alibaba over Shopify comes down to valuation and profitability.

Alibaba stock is far cheaper than SHOP stock. It’s currently trading at the following metrics:

  • 13.6 times earnings
  • 2.17 times sales
  • 1.88 times book value
  • 11.4 times operating cash flow

By contrast, SHOP trades at 10.25 times earnings and seven times book value. It’s much more expensive than BABA is.

Alibaba is also more profitable than Shopify. In the last 12 months, it boasted the following profitability metrics:

  • 37% gross profit margin
  • 12.3% EBIT margin
  • 4% net margin
  • 4% return on equity

By contrast, Shopify was not even profitable in terms of net income or operating income in its most recent quarter. I should also add that the margins calculated above were using GAAP earnings, which were much lower than its non-GAAP earnings. If you use BABA’s adjusted earnings then its profit margins approach double digits.

The verdict

Having looked at the virtues of Alibaba and Shopify side by side, I’m overall more comfortable holding Alibaba. As you can see in the disclosure below, I do, in fact, hold BABA, but I don’t hold Shopify. That’s because I find its mix of profitability and value more compelling than SHOP’s revenue growth, which is not translating into profit growth. BABA’s profit growth is better than SHOP’s.

Still, there is one last reason why an investor might prefer SHOP stock over BABA: risk.

Alibaba is a Chinese company, and China’s relations with the West have been strained lately. There have been major disputes over the status of Taiwan, disputes that some think could lead to a war. When Russia invaded Ukraine, many brokers simply stopped supporting Russian stocks, and Russia ordered the cancellation of dividend payments. So, you could say that BABA has a more extreme “worst-case scenario” than SHOP stock does.

Fool contributor Andrew Button has positions in Alibaba Group Holding Limited. The Motley Fool has positions in and recommends Shopify. 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 »