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

3 colorful arrows racing straight up on a black background.
Tech Stocks

This Canadian Stock Could Rule Them All in 2026

Constellation Software’s pullback could be a rare chance to buy a proven Canadian compounder before its next growth leg.

Read more »

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

The Best Canadian AI Stocks to Buy for 2026

Celestica and CMG are two AI-powered Canadian tech stocks that are poised to deliver market-beating returns to shareholders.

Read more »

AI image of a face with chips
Tech Stocks

Outlook for Kraken Robotics Stock in 2026

The stock is already up 36% in 2026. Could the new $35M deal signal a massive year ahead for Kraken…

Read more »

Young adult concentrates on laptop screen
Tech Stocks

Where Will Constellation Software Stock Be in 5 Years?

Down 35% from all-time highs, Constellation Software is a TSX tech stock that offers significant upside potential to investors.

Read more »

top canadian stocks january 2026
Tech Stocks

Just Released: 5 Top Motley Fool Stocks to Buy in January 2026

Stock Advisor Canada is kicking off 2026 with our newest collection of top stocks to buy this month.

Read more »

hot air balloon in a blue sky
Tech Stocks

1 Soaring Stock I’d Buy Now With No Hesitation

Looking for a soaring stock with real momentum? Shopify’s growth, profitability, and AI expansion make it a compelling buy right…

Read more »

visualization of a digital brain
Tech Stocks

2 Top Canadian AI Stocks to Buy in January

Canadian AI stocks such as Docebo and Kinaxis offer significant upside potential to shareholders in January 2026.

Read more »

Paper Canadian currency of various denominations
Tech Stocks

TFSA: Top Canadian Stocks for Big Tax-Free Capital Gains

The real magic of a TFSA happens when quality growth stocks can grow and multiply.

Read more »