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

Digital background depicting innovative technologies in (AI) artificial systems, neural interfaces and internet machine learning technologies
Tech Stocks

I’d Invest $7,000 in This Tech Stock Before the AI Boom Hits Canada

Canada’s AI boom may be less about flashy startups and more about the unglamorous companies helping businesses adopt AI safely.

Read more »

Young Boy with Jet Pack Dreams of Flying
Tech Stocks

This Canadian Stock Is Down 29%: I’m Holding for Decades

While MDA Space stock has lost considerable value, its diversified business positions it well to capitalize on growing space economy.

Read more »

AI microchip
Tech Stocks

This Canadian Company Could Cash In Big on the Data Centre Boom

Celestica (TSX:CLS) has been surging due to its promising spot in the AI revolution.

Read more »

AI investing could have upward trajectory
Tech Stocks

Prediction: A $1,000 Investment in IonQ Could Be Worth This Much by 2028 as Revenue Soars 287% and Its Backlog Grows Even Faster

IonQ just delivered stellar second-quarter financial results.

Read more »

container trucks and cargo planes are part of global logistics system
Tech Stocks

1 Stellar Canadian Stock Down 26% From Its High to Buy and Hold for Decades

A 28% pullback in Descartes may be a chance to buy a sticky logistics software platform that could get stronger…

Read more »

A plant grows from coins.
Dividend Stocks

Chasing Income and Growth? Here Are the TSX Stocks I’d Buy

Navigate the world of TSX stocks: income vs. growth. Understand their traits to make informed investment decisions in Canada.

Read more »

Digital brain hologram on future tech background. Productivity of AI evolution
Tech Stocks

2 Canadian Companies Are Cashing In on AI — Not Just Talking About it

These Canadian companies are converting AI driven demand into strong revenue, earnings, and recurring cash flow.

Read more »

Rocket lift off through the clouds
Tech Stocks

Why MDA Stock Jumped 16% Last Week

A $474 million contract boost sent MDA soaring because backlog turns future revenue from a guess into a signed plan.

Read more »