Shopify vs. CGI: Which Canadian Tech Stock Would I Add to a Retirement Portfolio?

Shopify’s growth is hard to ignore. I’d add CGI to a retirement portfolio first because I can put a more reasonable price on its earnings.

Key Points
  • Shopify’s third-quarter revenue rose 32% and its free cash flow margin reached 22%.
  • CGI reported $2.31 in fourth-quarter adjusted earnings per share.
  • I’d choose CGI for a smaller retirement allocation and consider Shopify at a lower price.

Today we’re going to talk about tech. These two stocks both sell technology, but their customers pay them for different things. For both, I’d start at what an ordinary month looks like when deciding which stock belongs in a retirement portfolio.

AI concept person in profile

Source: Getty Images

What retirement money needs

I’d separate the money I’ll spend soon from the money that can stay invested. A retiree may still have decades to invest, but the money paying next year’s bills doesn’t have decades to recover from a drop. I’d keep it in cash or another lower-risk holding.

Tech businesses can earn in different ways. Some collect more as their customers sell more. Others charge to maintain systems clients already rely on. Both can grow. The contract or transaction behind each dollar tells me how those sales might hold up when customers become cautious.

I’d also consider how much I’m paying for each source of growth. A business that already has years of contracted work gives me something to compare with the price today. A business still winning its market can offer more upside and a wider range of results if those customers change plans.

For money invested inside a Tax-Free Savings Account (TFSA), I’d give a growth stock a modest allocation. Gains can generally compound without Canadian tax. A loss in the account doesn’t restore room, so a bad purchase can cost more than the dollars on the screen.

How the companies earn

Shopify (TSX: SHOP) makes tools for merchants to sell online and in person. Payments and other services give it a way to earn more as those merchants grow. Third-quarter sales rose 32%, and free cash flow was 22% of revenue. It’s the combination of growth and cash left after investment that gets my attention.

CGI (TSX: GIB.A) gets paid to run, modernize and build computer systems for clients. A customer with decades of old software can hire it to keep things working while moving to newer systems. Those aren’t always exciting projects to announce. They can give CGI a steady stream of work.

CGI’s November 11 report showed $2.31 in adjusted earnings per share for the fourth quarter, up 8.5%. It also booked more work than it billed in the quarter. That helps me see demand beyond this year’s earnings, especially if customers sign multi-year agreements and CGI can staff them profitably.

What the shares cost

At a recent $117, CGI was about 13 times fiscal 2026 adjusted earnings of $8.98 per share. The price is from before CGI’s results came out, and I’d check the live quote before buying. I’d use the full year’s earnings rather than assume the latest quarter repeats.

Shopify recently closed at $208.12. To support that price at 35 times annual free cash flow, I’d need about $5.95 per share in Canadian dollars. The multiple is illustrative, and the cash flow hurdle helps me decide how much of its growth I’d need before buying.

I wouldn’t compare that multiple directly with CGI’s earnings multiple. For CGI, I’d look at adjusted earnings alongside the cash it collects. For Shopify, I’d want to see whether the improvements in cash flow hold after the holiday shopping season. Strong holiday sales can flatter the quarterly numbers, so I’d make the purchase work across the full year.

CGI’s risk is that discretionary projects slow or new work earns thinner margins. Shopify is more exposed to merchant activity and investors changing what they’ll pay for growth. I’d hold either alongside other Canadian stocks rather than count on one tech holding to provide the account’s growth.

Bottom line

I’d add CGI to the long-term portion of the account. For Shopify, I’d wait for a lower price or evidence that cash flow per share is growing fast enough to justify what I’d pay.

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 recommends CGI. The Motley Fool has a disclosure policy.

More on Tech Stocks

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

3 AI Stocks Canadians May Like Better Than Nvidia

Nvidia's stock is down 32% amid controversies. Discover the implications for Nvidia and the chip industry amid these concerns.

Read more »

chip with the letters "AI" on it
Tech Stocks

Top Canadian Stocks to Buy Now for Long-term Growth

This long-term grower is worth picking up on recent weakness and buying steadily over time.

Read more »

dividend stocks bring in passive income so investors can sit back and relax
Tech Stocks

Already Own Shopify? What the Sell-off Means for Your Investment

Analyze the seasonal trends of Shopify and understand what caused the recent stock dip after a significant rally.

Read more »

Business doodle about dividends on chalkboard
Dividend Stocks

BCE vs. Enbridge: Which Stock Offers the More Convincing Dividend Case?

BCE and Enbridge offer similar starting yields. I’d choose the one with a clearer route from operating cash to the…

Read more »

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

Where Could Celestica Stock Be in 5 Years? What the New Outlook Means

Celestica’s ambitious 2027 outlook and accelerating AI infrastructure demand could fuel its next phase of growth, making its recent stock…

Read more »

A person uses and AI chat bot
Tech Stocks

This Canadian Tech Stock Is a Steal, and I’m Telling New Investors to Buy It Right Now

A beaten-down share price, growing cloud business, and AI-focused initiatives make this Canadian tech stock attractive for new investors seeking…

Read more »

frustrated shopper at grocery store
Tech Stocks

Shopify Stock Is Down 16% in the Past Month: Should You Buy the Dip?

Shopify stock fell 16% recently. Discover the impact of interest rate hikes and market sentiment on Shopify's performance.

Read more »

scanning a package shipping label for ecommerce delivery
Tech Stocks

Shopify After the Selloff: What Would Make Me Buy, Hold, or Wait?

Shopify’s latest quarter showed a fast-growing business. My buy decision depends on how much of that growth the price already…

Read more »