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:

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.

online shopping

Image source: Getty Images

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

Data Center Engineer Using Laptop Computer crypto mining
Tech Stocks

3 Canadian Stocks Built for the Data Centre Boom

Capital spending on data centre expansion is expected to remain strong, providing a long-term tailwind for these Canadian stocks.

Read more »

Group of people network together with connected devices
Dividend Stocks

2 Canadian Dividend Giants to Buy With Rates on Hold

BCE and Telus are high-yield stocks that are adapting to a difficult telecom environment, while finding areas of growth along…

Read more »

doctor uses telehealth
Tech Stocks

This Canadian Stock Is Down 53% and Nearly Perfect for Long-Term Investors

Down 53% from all-time highs, this undervalued Canadian tech stock is a top buy in July 2026.

Read more »

Couple working on laptops at home and fist bumping
Tech Stocks

1 Canadian Stock Down 44% to Buy Immediately for Life

Constellation Software stock has dropped 44% from its highs, but Q1 numbers show why long-term investors should be paying attention…

Read more »

data center server racks glow with light
Tech Stocks

The AI Boom Needs Data Centres: 2 TSX Stocks to Watch Closely

These two Canadian companies sit behind the scenes of the AI build-out, and both just posted numbers that back up…

Read more »

young adult uses credit card to shop online
Tech Stocks

1 Canadian Stock Down 28% That Could Be a Buy for Long-Term Investors

Lightspeed’s pullback looks less like a broken story and more like a messy turnaround that’s starting to show real cash…

Read more »

Data Center Engineer Using Laptop Computer crypto mining
Energy Stocks

1 Canadian Stock Set to Profit From Canada’s Data Centre Buildout

AI data centres may feel like software, but their massive power needs could make Brookfield Renewable a stealth winner.

Read more »

chip glows with a blue AI
Tech Stocks

How Your 2026 TFSA Contribution Could Grow to $280,000 or More

Backed by strong long-term growth prospects, these two stocks have the potential to deliver multiple-fold returns, helping TFSA investors create…

Read more »