Canadian National Railway Co. vs Okta, Inc. — how do they compare? Canadian National Railway Co. trades at $126.3 (market cap $76.28B), while Okta, Inc. trades at $147.32 (market cap $26.13B). The key difference: Canadian National Railway Co. is far larger — about 2.9× Okta, Inc.'s market cap, and Canadian National Railway Co. pays a 2.06% dividend while Okta, Inc. pays none. Which is the better fit depends on your goals.
| CNI | OKTA | |
|---|---|---|
Market Cap | $76.28B | $26.13B |
Sector | Industrials | Technology |
52-Week High | $130.58 | $154.62 |
52-Week Low | $90.91 | $62.93 |
Enterprise Value | $92.31B | $23.95B |
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.
Okta trades at $147.43, down 2.22% today, with a bullish technical signal from moving averages but overbought RSI readings. The company achieved GAAP profitability in 2025 with $28M net income, marking a significant turnaround from prior losses. Recent earnings beats and the acquisition of Permiso Security for AI identity threat defense highlight growth momentum. Operating cash flow surged to $750M in 2025, supporting financial flexibility.
The outlook is positive with strong analyst support (73% buy ratings) and a consensus price target of $129.71, though the current price exceeds this. Risks include high valuation multiples (P/E 108.93) and competitive pressure from Microsoft. Revenue growth to $3.0B in 2026 forecasts sustained expansion, but investor caution is warranted near technical resistance.
Trailing returns across standard periods
Latest headlines on both assets
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 →Okta is a cloud-native security company that focuses on identity and access management. The San Francisco-based firm went public in 2017 and focuses on two key client stakeholder groups: workforces and customers. Okta's workforce offerings enable a company's employees to securely access its cloud-based and on-premises resources. The firm's customer offerings allow its clients' customers to securely access the client's applications.
Read more on OKTA →