Compare Stocks

2 / 10
Try these comparisons:

Stock Comparison

CNI vs CP

Revenue, margins, valuation, and 5-year total return — side by side.

Live fundamentals10-year financials5-year price chart
CNI
Canadian National Railway Company

Railroads

IndustrialsNYSE • CA
Market Cap$67.77B
5Y Perf.+28.8%
CP
Canadian Pacific Kansas City Ltd.

Railroads

IndustrialsNYSE • CA
Market Cap$76.49B
5Y Perf.+70.6%

CNI vs CP — Key Financials

Market cap, revenue, margins, and valuation side-by-side.

Company Snapshot
CNI logoCNI
CP logoCP
IndustryRailroadsRailroads
Market Cap$67.77B$76.49B
Revenue (TTM)$17.29B$14.98B
Net Income (TTM)$4.71B$4.08B
Gross Margin44.2%47.9%
Operating Margin37.8%37.0%
Forward P/E13.8x22.6x
Total Debt$21.82B$23.19B
Cash & Equiv.$363M$184M

CNI vs CPLong-Term Stock Performance

Price return indexed to 100 at period start. Dividends excluded.

CNI
CP
StockMay 20May 26Return
Canadian National R… (CNI)100128.8+28.8%
Canadian Pacific Ka… (CP)100170.6+70.6%

Price return only. Dividends and distributions are not included.

Quick Verdict: CNI vs CP

Each card shows where this stock fits in a portfolio — not just who wins on paper.

Bottom line: CNI leads in 5 of 7 categories, making it the strongest pick for valuation and capital efficiency and profitability and margin quality. Canadian Pacific Kansas City Ltd. is the stronger pick specifically for growth and revenue expansion and recent price momentum and sentiment. As sector peers, any of these can serve as alternatives in the same allocation.
CNI
Canadian National Railway Company
The Income Pick

CNI carries the broadest edge in this set and is the clearest fit for income & stability and sleep-well-at-night.

  • Dividend streak 12 yrs, beta 0.67, yield 2.3%
  • Lower volatility, beta 0.67, current ratio 0.67x
  • PEG 1.60 vs CP's 4.84
Best for: income & stability and sleep-well-at-night
CP
Canadian Pacific Kansas City Ltd.
The Growth Play

CP is the clearest fit if your priority is growth exposure and long-term compounding.

  • Rev growth 3.7%, EPS growth 13.3%, 3Y rev CAGR 19.6%
  • 230.2% 10Y total return vs CNI's 121.9%
  • 3.7% revenue growth vs CNI's 1.4%
Best for: growth exposure and long-term compounding
See the full category breakdown
CategoryWinnerWhy
GrowthCP logoCP3.7% revenue growth vs CNI's 1.4%
ValueCNI logoCNILower P/E (13.8x vs 22.6x), PEG 1.60 vs 4.84
Quality / MarginsCNI logoCNI27.2% margin vs CP's 27.2%
Stability / SafetyCNI logoCNIBeta 0.67 vs CP's 0.70
DividendsCNI logoCNI2.3% yield, 12-year raise streak, vs CP's 0.7%
Momentum (1Y)CP logoCP+16.3% vs CNI's +13.7%
Efficiency (ROA)CNI logoCNI8.1% ROA vs CP's 5.5%, ROIC 11.6% vs 6.0%

CNI vs CP — Revenue Breakdown by Segment

How each company's revenue is distributed across its business units

CNICanadian National Railway Company

Segment breakdown not available.

CPCanadian Pacific Kansas City Ltd.
FY 2025
Cargo and Freight
49.7%$14.8B
Grain Revenue
10.8%$3.2B
Energy, Chemicals and Plastic Revenue
9.7%$2.9B
Intermodal
9.0%$2.7B
Metals, Minerals and Consumer Products Revenue
6.0%$1.8B
Automotive
4.4%$1.3B
Coal Revenue
3.4%$1.0B
Other (4)
6.9%$2.0B

CNI vs CP — Financial Metrics

Side-by-side numbers across 2 stocks — who leads on profitability, valuation, growth, and risk.

BEST OVERALLCNILAGGINGCP

Income & Cash Flow (Last 12 Months)

CNI leads this category, winning 5 of 6 comparable metrics.

CNI and CP operate at a comparable scale, with $17.3B and $15.0B in trailing revenue. Profitability is closely matched — net margins range from 27.2% (CNI) to 27.2% (CP).

MetricCNI logoCNICanadian National…CP logoCPCanadian Pacific …
RevenueTrailing 12 months$17.3B$15.0B
EBITDAEarnings before interest/tax$8.5B$7.6B
Net IncomeAfter-tax profit$4.7B$4.1B
Free Cash FlowCash after capex$3.6B$2.7B
Gross MarginGross profit ÷ Revenue+44.2%+47.9%
Operating MarginEBIT ÷ Revenue+37.8%+37.0%
Net MarginNet income ÷ Revenue+27.2%+27.2%
FCF MarginFCF ÷ Revenue+20.7%+18.1%
Rev. Growth (YoY)Latest quarter vs prior year-0.3%-2.5%
EPS Growth (YoY)Latest quarter vs prior year+1.6%-3.1%
CNI leads this category, winning 5 of 6 comparable metrics.

Valuation Metrics

CNI leads this category, winning 6 of 7 comparable metrics.

At 20.0x trailing earnings, CNI trades at a 22% valuation discount to CP's 25.8x P/E. Adjusting for growth (PEG ratio), CNI offers better value at 2.32x vs CP's 5.52x — a lower PEG means you pay less per unit of expected earnings growth.

MetricCNI logoCNICanadian National…CP logoCPCanadian Pacific …
Market CapShares × price$67.8B$76.5B
Enterprise ValueMkt cap + debt − cash$83.5B$93.3B
Trailing P/EPrice ÷ TTM EPS20.00x25.78x
Forward P/EPrice ÷ next-FY EPS est.13.83x22.62x
PEG RatioP/E ÷ EPS growth rate2.32x5.52x
EV / EBITDAEnterprise value multiple13.37x16.70x
Price / SalesMarket cap ÷ Revenue5.35x6.92x
Price / BookPrice ÷ Book value/share4.38x2.28x
Price / FCFMarket cap ÷ FCF27.29x48.12x
CNI leads this category, winning 6 of 7 comparable metrics.

Profitability & Efficiency

CNI leads this category, winning 8 of 9 comparable metrics.

CNI delivers a 21.9% return on equity — every $100 of shareholder capital generates $22 in annual profit, vs $10 for CP. CP carries lower financial leverage with a 0.50x debt-to-equity ratio, signaling a more conservative balance sheet compared to CNI's 1.01x. On the Piotroski fundamental quality scale (0–9), CNI scores 8/9 vs CP's 7/9, reflecting strong financial health.

MetricCNI logoCNICanadian National…CP logoCPCanadian Pacific …
ROE (TTM)Return on equity+21.9%+10.1%
ROA (TTM)Return on assets+8.1%+5.5%
ROICReturn on invested capital+11.6%+6.0%
ROCEReturn on capital employed+12.2%+6.9%
Piotroski ScoreFundamental quality 0–987
Debt / EquityFinancial leverage1.01x0.50x
Net DebtTotal debt minus cash$21.5B$23.0B
Cash & Equiv.Liquid assets$363M$184M
Total DebtShort + long-term debt$21.8B$23.2B
Interest CoverageEBIT ÷ Interest expense7.85x7.08x
CNI leads this category, winning 8 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

CP leads this category, winning 6 of 6 comparable metrics.

A $10,000 investment in CP five years ago would be worth $11,081 today (with dividends reinvested), compared to $10,909 for CNI. Over the past 12 months, CP leads with a +16.3% total return vs CNI's +13.7%. The 3-year compound annual growth rate (CAGR) favors CP at 2.4% vs CNI's -0.7% — a key indicator of consistent wealth creation.

MetricCNI logoCNICanadian National…CP logoCPCanadian Pacific …
YTD ReturnYear-to-date+11.2%+14.7%
1-Year ReturnPast 12 months+13.7%+16.3%
3-Year ReturnCumulative with dividends-2.2%+7.4%
5-Year ReturnCumulative with dividends+9.1%+10.8%
10-Year ReturnCumulative with dividends+121.9%+230.2%
CAGR (3Y)Annualised 3-year return-0.7%+2.4%
CP leads this category, winning 6 of 6 comparable metrics.

Risk & Volatility

CNI leads this category, winning 2 of 2 comparable metrics.

CNI is the less volatile stock with a 0.67 beta — it tends to amplify market swings less than CP's 0.70 beta. A beta below 1.0 means the stock typically moves less than the S&P 500.

MetricCNI logoCNICanadian National…CP logoCPCanadian Pacific …
Beta (5Y)Sensitivity to S&P 5000.67x0.70x
52-Week HighHighest price in past year$115.80$89.42
52-Week LowLowest price in past year$90.74$68.42
% of 52W HighCurrent price vs 52-week peak+95.7%+95.3%
RSI (14)Momentum oscillator 0–10055.757.7
Avg Volume (50D)Average daily shares traded1.5M2.7M
CNI leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

CNI leads this category, winning 2 of 2 comparable metrics.

Wall Street rates CNI as "Hold" and CP as "Buy". Consensus price targets imply 8.0% upside for CP (target: $92) vs -9.2% for CNI (target: $101). For income investors, CNI offers the higher dividend yield at 2.34% vs CP's 0.75%.

MetricCNI logoCNICanadian National…CP logoCPCanadian Pacific …
Analyst RatingConsensus buy/hold/sellHoldBuy
Price TargetConsensus 12-month target$100.67$92.00
# AnalystsCovering analysts5143
Dividend YieldAnnual dividend ÷ price+2.3%+0.7%
Dividend StreakConsecutive years of raises122
Dividend / ShareAnnual DPS$3.54$0.87
Buyback YieldShare repurchases ÷ mkt cap+2.3%+3.8%
CNI leads this category, winning 2 of 2 comparable metrics.
Key Takeaway

CNI leads in 5 of 6 categories (Income & Cash Flow, Valuation Metrics). CP leads in 1 (Total Returns).

Best OverallCanadian National Railway C… (CNI)Leads 5 of 6 categories
Loading custom metrics...

CNI vs CP: Frequently Asked Questions

10 questions · data-driven answers · updated daily

01

Is CNI or CP a better buy right now?

For growth investors, Canadian Pacific Kansas City Ltd.

(CP) is the stronger pick with 3. 7% revenue growth year-over-year, versus 1. 4% for Canadian National Railway Company (CNI). Canadian National Railway Company (CNI) offers the better valuation at 20. 0x trailing P/E (13. 8x forward), making it the more compelling value choice. Analysts rate Canadian Pacific Kansas City Ltd. (CP) a "Buy" — based on 43 analyst ratings — the highest consensus in this comparison. The "better buy" depends entirely on your goals: growth investors should weight revenue trajectory, value investors should weight P/E and PEG, and income investors should weight dividend yield and streak.

02

Which has the better valuation — CNI or CP?

On trailing P/E, Canadian National Railway Company (CNI) is the cheapest at 20.

0x versus Canadian Pacific Kansas City Ltd. at 25. 8x. On forward P/E, Canadian National Railway Company is actually cheaper at 13. 8x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Canadian National Railway Company wins at 1. 60x versus Canadian Pacific Kansas City Ltd. 's 4. 84x — a reasonable growth-adjusted valuation.

03

Which is the better long-term investment — CNI or CP?

Over the past 5 years, Canadian Pacific Kansas City Ltd.

(CP) delivered a total return of +10. 8%, compared to +9. 1% for Canadian National Railway Company (CNI). Over 10 years, the gap is even starker: CP returned +230. 2% versus CNI's +121. 9%. Past returns do not guarantee future results, and the stock with the higher historical return may already have its best growth priced in.

04

Which is safer — CNI or CP?

By beta (market sensitivity over 5 years), Canadian National Railway Company (CNI) is the lower-risk stock at 0.

67β versus Canadian Pacific Kansas City Ltd. 's 0. 70β — meaning CP is approximately 5% more volatile than CNI relative to the S&P 500. On balance sheet safety, Canadian Pacific Kansas City Ltd. (CP) carries a lower debt/equity ratio of 50% versus 101% for Canadian National Railway Company — giving it more financial flexibility in a downturn.

05

Which is growing faster — CNI or CP?

By revenue growth (latest reported year), Canadian Pacific Kansas City Ltd.

(CP) is pulling ahead at 3. 7% versus 1. 4% for Canadian National Railway Company (CNI). On earnings-per-share growth, the picture is similar: Canadian Pacific Kansas City Ltd. grew EPS 13. 3% year-over-year, compared to 7. 8% for Canadian National Railway Company. Over a 3-year CAGR, CP leads at 19. 6% annualised revenue growth. Higher growth typically commands a higher valuation multiple — check whether the premium P/E or P/S is justified by the growth rate using the PEG ratio.

06

Which has better profit margins — CNI or CP?

Canadian Pacific Kansas City Ltd.

(CP) is the more profitable company, earning 27. 5% net margin versus 27. 3% for Canadian National Railway Company — meaning it keeps 27. 5% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: CNI leads at 38. 1% versus 37. 2% for CP. At the gross margin level — before operating expenses — CP leads at 52. 2%, reflecting greater pricing power or product mix advantage. Stronger margins indicate durable pricing power, lower cost of revenue, or higher mix of software/services. They are one of the clearest signs of business quality.

07

Is CNI or CP more undervalued right now?

The PEG ratio (forward P/E divided by expected earnings growth rate) is the most precise measure of undervaluation relative to growth potential.

By this metric, Canadian National Railway Company (CNI) is the more undervalued stock at a PEG of 1. 60x versus Canadian Pacific Kansas City Ltd. 's 4. 84x. Both stocks trade at elevated growth-adjusted valuations, so expected growth needs to materialise. On forward earnings alone, Canadian National Railway Company (CNI) trades at 13. 8x forward P/E versus 22. 6x for Canadian Pacific Kansas City Ltd. — 8. 8x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for CP: 8. 0% to $92. 00.

08

Which pays a better dividend — CNI or CP?

All stocks in this comparison pay dividends.

Canadian National Railway Company (CNI) offers the highest yield at 2. 3%, versus 0. 7% for Canadian Pacific Kansas City Ltd. (CP).

09

Is CNI or CP better for a retirement portfolio?

For long-horizon retirement investors, Canadian Pacific Kansas City Ltd.

(CP) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0. 70), 0. 7% yield, +230. 2% 10Y return). Both have compounded well over 10 years (CP: +230. 2%, CNI: +121. 9%), confirming both are viable long-term holds — but the lower-volatility option typically results in less emotional selling during corrections. Retirement portfolios generally favour predictability over maximum returns. Consult a financial advisor before making allocation decisions.

10

What are the main differences between CNI and CP?

Both stocks operate in the Industrials sector, making this a peer-level intra-sector comparison — the same macro tailwinds and headwinds will affect both.

These fundamental differences mean investors should not choose between them on a single metric — the "better stock" depends entirely on which of these characteristics aligns with your investment strategy.

Find Stocks Like These

Explore pre-built screens for each stock's profile, or build a custom screen to find stocks that outperform both.

Stocks Like

CNI

Dividend Mega-Cap Quality

  • Sector: Industrials
  • Market Cap > $100B
  • Net Margin > 16%
  • Dividend Yield > 0.9%
Run This Screen
Stocks Like

CP

Quality Mega-Cap Compounder

  • Sector: Industrials
  • Market Cap > $100B
  • Net Margin > 16%
  • Dividend Yield > 0.5%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform CNI and CP on the metrics below

Revenue Growth>
%
(CNI: -0.3% · CP: -2.5%)
Net Margin>
%
(CNI: 27.2% · CP: 27.2%)
P/E Ratio<
x
(CNI: 20.0x · CP: 25.8x)

You Might Also Compare

Based on how these companies actually compete and overlap — not just which sector they're filed under.