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

Two seniors float in a pool.
Dividend Stocks

5 Top Canadian Stocks to Buy in August

Even with the TSX near record highs, several quality names are still down from highs and could be worth watching…

Read more »

Rocket lift off through the clouds
Tech Stocks

Got $5,000? Top Canadian Stocks to Buy Right Now

A $5,000 TFSA starter portfolio could pair Dollarama’s steady growth with MDA Space’s higher-upside space cycle.

Read more »

Soundhound AI is a leader in voice recognition software
Dividend Stocks

How Much You Really Need in a TFSA to Make $800 a Month

Getting $800 a month tax-free in a TFSA is possible, but the needed balance depends on yield and risk.

Read more »

Dividend Stocks

What Investors Should Know About Canadian Bank Stocks Before Rates Fall

Rate cuts can squeeze bank margins, but BMO’s improving credit trends and fee businesses could help it navigate the cycle.

Read more »

IonQ stock surged in early august 2026
Tech Stocks

Why IonQ Stock Is Up 16% This Week

IonQ is the biggest and best-funded pure play on quantum computing -- and this investment bank loves it.

Read more »

senior relaxes in hammock with e-book
Dividend Stocks

A Canadian Dividend Stock Down 59% to Buy and Hold for Retirement

BCE’s “boring” dividend reputation cracked, but a reset payout and a turnaround plan could still interest retirees.

Read more »

u.s. government spending
Tech Stocks

Which Quantum Computing Stocks Get the Most U.S. Government Funding – and Does It Matter?

The Pentagon spent US$151 million on quantum computing. Investors who chased those headlines probably wish they hadn't.

Read more »

A child pretends to blast off into space.
Tech Stocks

2 Canadian Stocks That Could Surge Before 2026 Ends

Two smaller Canadian growth stocks could get a boost from upcoming results and big deals tied to data-centre power and…

Read more »