Canadian National Railway Co. vs Gitlab Inc — how do they compare? Canadian National Railway Co. trades at $126.3 (market cap $76.28B), while Gitlab Inc trades at $40.7 (market cap $7.11B). The key difference: Canadian National Railway Co. is far larger — about 10.7× Gitlab Inc's market cap, and Canadian National Railway Co. pays a 2.06% dividend while Gitlab Inc pays none. Which is the better fit depends on your goals.
| CNI | GTLB | |
|---|---|---|
Market Cap | $76.28B | $7.11B |
Sector | Industrials | Technology |
52-Week High | $130.58 | $51.04 |
52-Week Low | $90.91 | $19.42 |
Enterprise Value | $92.31B | $5.85B |
Dividend Yield | 2.06% | — |
Signals from Pluang's Aura AI — not financial advice
CNI trades at $126.29, up 0.91% on the day, with a neutral technical signal and bullish moving averages. The company reported strong Q2 2026 earnings, beating estimates with EPS of $1.50, and raised its full-year guidance, driven by record grain volumes and operational efficiency. Financials show solid profitability with a net income margin of 26.92% and ROE of 22.02%, though valuation ratios like P/E of 22.62 appear elevated.
The outlook is positive due to robust operational performance and raised guidance, but risks include stretched valuation, economic sensitivity, and competitive pressures. Analyst consensus is a Buy with a $152.38 price target, implying potential upside, though recent downgrades highlight valuation concerns.
GitLab (GTLB) trades at $40.93, up 0.49% today, with a bullish technical signal from moving averages but overbought RSI readings above 90. The company reported strong revenue growth, reaching $759 million in 2025, and has beaten EPS estimates for three consecutive quarters. Recent news highlights its leadership in DevSecOps and AI-driven platform enhancements, including the launch of GitLab 19.2 and a collaboration with Google Cloud.
Outlook remains mixed; analyst consensus is cautious with a $32.92 price target below the current price, citing high valuation multiples like a P/E of 521.22. Risks include persistent negative cash flow and profitability challenges, though growth in AI and enterprise adoption offers long-term potential. Investors should weigh high valuation against robust revenue expansion and market position.
Trailing returns across standard periods
Canadian National's railway spans Canada from coast to coast and extends through Chicago to the Gulf of Mexico. In 2019, CN delivered almost 6 million carloads over its 19,600 miles of track. CN generated roughly CAD 14 billion in total revenue by hauling intermodal containers (25% of consolidated revenue), petroleum and chemicals (21%), grain and fertilizers (16%), forest products (12%), metals and mining (11%), automotive shipments (6%), and coal (4%). Other items constitute the remaining revenue.
Read more on CNI →GitLab Inc operates on an all-remote model. The company is a technology company whose primary offering is GitLab, a complete DevOps platform delivered as a single application. GitLab is used by a wide range of organizations. The company also provides related training and professional services. GitLab is offered on both self-managed and software-as-a-service (SaaS) models. The principal markets for GitLab are currently located in the United States, Europe, and Asia Pacific. The company is focused on accelerating innovation and broadening the distribution of its platform to companies across the world.
Read more on GTLB →