The 1 Number Tech Investors Should Watch

Shopify’s Rule of 40 score of 52 shows it’s pairing fast growth with real cash generation, but the stock’s valuation demands near-perfect execution.

| More on:
Key Points
  • The Rule of 40 adds revenue growth and free-cash-flow margin to judge balance between growth and profitability.
  • Shopify scored 52 last quarter, with 34% revenue growth and an 18% free-cash-flow margin.
  • That’s excellent, but the stock is expensive, so any slowdown or margin slip could hit shares hard.

A tech company can grow sales by 30% and still chew through shareholder money like a teenager with access to the family credit card. Another can produce lovely profits while barely growing at all. Neither number tells the whole story, which is why investors may want to combine them.

The result is called the Rule of 40. Add a software company’s revenue-growth rate to its free-cash-flow margin. A total of 40 or more suggests the business is balancing growth and cash generation well. Suddenly, two messy financial statements have been reduced to one delightfully nosy number.

woman checks off all the boxes

Source: Getty Images

Why 40 is the magic number

Revenue growth shows whether customers are spending more, while free cash flow measures the cash left after operating expenses and capital expenditures. The latter can fund acquisitions, share repurchases, debt repayment, and further growth without repeatedly asking shareholders to open their wallets.

McKinsey found that barely one-third of software companies achieved the Rule of 40, while fewer sustained it. That makes the measure particularly useful while investors sort through Canadian AI stocks. Artificial intelligence (AI) can accelerate revenue, but the servers, engineers, marketing, and research behind it can also swallow cash at an impressive pace.

A high score doesn’t automatically make a stock cheap, nor should one terrific quarter earn a lifetime achievement award. Investors should track the number over several quarters and watch how management calculates free cash flow. Stock-based compensation, acquisitions, and temporary working-capital changes can occasionally give the figure a flattering camera angle.

Shopify just scored 52

Shopify (TSX: SHOP) offers an excellent real-world example. The Canadian commerce platform provides online stores, payments, shipping, lending, point-of-sale tools, and other services that help merchants sell almost anywhere. It isn’t a pure subscription-software company, yet the Rule of 40 still captures the balance investors need to see.

During the second quarter of 2026, Shopify stock increased revenue by 34% year over year and produced an 18% free-cash-flow margin. Add those figures together, and Shopify stock scores 52, comfortably clearing the traditional threshold. Better still, the margin improved from 16% one year earlier, even as the company continued investing in AI-powered commerce.

That improvement suggests Shopify isn’t merely purchasing growth. More merchants and transactions are moving through its platform, while a larger portion of revenue is reaching the bottom of the cash-flow statement. Management expects third-quarter revenue to grow in the low-30% range and its free-cash-flow margin to remain in the high teens to low 20s. If delivered, Shopify stock should stay above 40.

More improvements on the way

AI could help keep it there. Shopify stock is building tools that help merchants create stores, manage operations, and sell through AI assistants. As shopping shifts from typing searches into websites to asking an assistant what to buy, Shopify stock wants to remain the infrastructure completing the transaction. That connects AI adoption directly to payment volume and merchant revenue.

Investors noticed the quarter, sending Shopify stock sharply higher after the release. At roughly 98 times trailing earnings, the stock certainly isn’t hiding in the clearance aisle. Anyone buying stocks in Canada should recognize that such a valuation leaves little room for slowing growth or a disappointing margin.

Competition is another risk. Major technology companies are building their own AI-shopping tools, while merchants can switch platforms if Shopify stock’s fees become too expensive. Free cash flow can also fluctuate from quarter to quarter, making the trend more important than any single result.

Bottom line

For now, Shopify stock’s 52 shows growth and financial discipline pulling in the same direction. Investors watching that score each quarter may spot weakening momentum before it reaches the share price, or recognize when an expensive-looking tech stock is steadily growing into its ambitions.

Fool contributor Amy Legate-Wolfe has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Shopify. The Motley Fool has a disclosure policy.

More on Tech Stocks

space ship model takes off
Tech Stocks

This Canadian Growth Stock Isn’t Cheap: I’d Still Buy It Before the Next Jump

MDA Space looks pricey, but its surging revenue, massive backlog, and defence-driven contract wins could help earnings grow into today’s…

Read more »

Canada Day fireworks over two Adirondack chairs on the wooden dock in Ontario, Canada
Tech Stocks

1 Magnificent TSX Stock Down 33% to Buy and Hold Forever

Constellation Software stock has fallen sharply, but strong cash flow, revenue growth, and continued acquisitions could make this TSX tech…

Read more »

A microchip in a circuit board powers artificial intelligence.
Tech Stocks

Forget the Hype: These 2 Canadian AI Stocks Are Already Profitable

Two Canadian AI stocks are posting real profits and have raised guidance. Here's why Kinaxis and Celestica deserve a closer…

Read more »

abstract visualization of digital data processing
Tech Stocks

This Stock Has Already Rallied: Here’s Why the Best Gains May Still Be Ahead

A stock that has already doubled can still be a great buy if the business is growing fast enough to…

Read more »

chart reflected in eyeglass lenses
Tech Stocks

2 Undervalued Canadian Stocks Set for Massive Gains

With healthy financials, strong growth prospects, and discounted valuations, these two undervalued Canadian stocks offer attractive buying opportunities.

Read more »

young adult uses credit card to shop online
Tech Stocks

2 Canadian AI Stocks Worth Buying in September

Shopify Inc (TSX:SHOP) is profitable and has positive free cash flow (FCF).

Read more »

man touches brain to show a good idea
Tech Stocks

The 1 Number Telling Investors This Selloff May Be Nearly Over

MDA Space is down sharply from its high, but its latest results suggest demand is accelerating, not fading.

Read more »

Illustration of data, cloud computing and microchips
Tech Stocks

Kinaxis’s Niche AI Strategy Is Paying Off

Kinaxis (TSX:KXS) is turning specialized supply chain AI into stronger recurring revenue, new customer wins, and a strong long-term growth…

Read more »