Compare Stocks

2 / 10
Try these comparisons:

Stock Comparison

UNP vs CNI

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

Live fundamentals10-year financials5-year price chart
UNP
Union Pacific Corporation

Railroads

IndustrialsNYSE • US
Market Cap$157.19B
5Y Perf.+55.9%
CNI
Canadian National Railway Company

Railroads

IndustrialsNYSE • CA
Market Cap$67.77B
5Y Perf.+28.8%

UNP vs CNI — Key Financials

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

Company Snapshot
UNP logoUNP
CNI logoCNI
IndustryRailroadsRailroads
Market Cap$157.19B$67.77B
Revenue (TTM)$18.49B$17.29B
Net Income (TTM)$5.51B$4.71B
Gross Margin45.8%44.2%
Operating Margin40.3%37.8%
Forward P/E21.1x13.8x
Total Debt$31.81B$21.82B
Cash & Equiv.$1.27B$363M

UNP vs CNILong-Term Stock Performance

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

UNP
CNI
StockMay 20May 26Return
Union Pacific Corpo… (UNP)100155.9+55.9%
Canadian National R… (CNI)100128.8+28.8%

Price return only. Dividends and distributions are not included.

Quick Verdict: UNP vs CNI

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

Bottom line: UNP leads in 4 of 7 categories, making it the strongest pick for profitability and margin quality and capital preservation and lower volatility. Canadian National Railway Company is the stronger pick specifically for growth and revenue expansion and valuation and capital efficiency. As sector peers, any of these can serve as alternatives in the same allocation.
UNP
Union Pacific Corporation
The Long-Run Compounder

UNP carries the broadest edge in this set and is the clearest fit for long-term compounding and sleep-well-at-night.

  • 261.9% 10Y total return vs CNI's 121.9%
  • Lower volatility, beta 0.64, current ratio 0.91x
  • Beta 0.64, yield 2.1%, current ratio 0.91x
Best for: long-term compounding and sleep-well-at-night
CNI
Canadian National Railway Company
The Income Pick

CNI is the clearest fit if your priority is income & stability and growth exposure.

  • Dividend streak 12 yrs, beta 0.67, yield 2.3%
  • Rev growth 1.4%, EPS growth 7.8%, 3Y rev CAGR 0.4%
  • PEG 1.60 vs UNP's 2.42
Best for: income & stability and growth exposure
See the full category breakdown
CategoryWinnerWhy
GrowthCNI logoCNI1.4% revenue growth vs UNP's 1.1%
ValueCNI logoCNILower P/E (13.8x vs 21.1x), PEG 1.60 vs 2.42
Quality / MarginsUNP logoUNP29.8% margin vs CNI's 27.2%
Stability / SafetyUNP logoUNPBeta 0.64 vs CNI's 0.67
DividendsCNI logoCNI2.3% yield, 12-year raise streak, vs UNP's 2.1%
Momentum (1Y)UNP logoUNP+26.4% vs CNI's +13.7%
Efficiency (ROA)UNP logoUNP10.7% ROA vs CNI's 8.1%, ROIC 15.2% vs 11.6%

UNP vs CNI — Revenue Breakdown by Segment

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

UNPUnion Pacific Corporation
FY 2025
Industrial
35.1%$8.6B
Bulk
31.0%$7.6B
Premium
28.7%$7.0B
Other Subsidiary Revenues
2.9%$718M
Accessorial Revenues
1.9%$475M
Other Miscellaneous Product and Service Revenues
0.4%$97M
CNICanadian National Railway Company

Segment breakdown not available.

UNP vs CNI — Financial Metrics

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

BEST OVERALLUNPLAGGINGCNI

Income & Cash Flow (Last 12 Months)

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

UNP and CNI operate at a comparable scale, with $18.5B and $17.3B in trailing revenue. Profitability is closely matched — net margins range from 29.8% (UNP) to 27.2% (CNI). On growth, CNI holds the edge at -0.3% YoY revenue growth, suggesting stronger near-term business momentum.

MetricUNP logoUNPUnion Pacific Cor…CNI logoCNICanadian National…
RevenueTrailing 12 months$18.5B$17.3B
EBITDAEarnings before interest/tax$9.3B$8.5B
Net IncomeAfter-tax profit$5.5B$4.7B
Free Cash FlowCash after capex$4.2B$3.6B
Gross MarginGross profit ÷ Revenue+45.8%+44.2%
Operating MarginEBIT ÷ Revenue+40.3%+37.8%
Net MarginNet income ÷ Revenue+29.8%+27.2%
FCF MarginFCF ÷ Revenue+22.7%+20.7%
Rev. Growth (YoY)Latest quarter vs prior year-99.9%-0.3%
EPS Growth (YoY)Latest quarter vs prior year+6.2%+1.6%
UNP leads this category, winning 5 of 6 comparable metrics.

Valuation Metrics

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

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

MetricUNP logoUNPUnion Pacific Cor…CNI logoCNICanadian National…
Market CapShares × price$157.2B$67.8B
Enterprise ValueMkt cap + debt − cash$187.7B$83.5B
Trailing P/EPrice ÷ TTM EPS22.12x20.00x
Forward P/EPrice ÷ next-FY EPS est.21.07x13.83x
PEG RatioP/E ÷ EPS growth rate2.54x2.32x
EV / EBITDAEnterprise value multiple15.25x13.37x
Price / SalesMarket cap ÷ Revenue6.41x5.35x
Price / BookPrice ÷ Book value/share8.51x4.38x
Price / FCFMarket cap ÷ FCF28.59x27.29x
CNI leads this category, winning 7 of 7 comparable metrics.

Profitability & Efficiency

UNP leads this category, winning 5 of 8 comparable metrics.

UNP delivers a 42.4% return on equity — every $100 of shareholder capital generates $42 in annual profit, vs $22 for CNI. CNI carries lower financial leverage with a 1.01x debt-to-equity ratio, signaling a more conservative balance sheet compared to UNP's 1.72x.

MetricUNP logoUNPUnion Pacific Cor…CNI logoCNICanadian National…
ROE (TTM)Return on equity+42.4%+21.9%
ROA (TTM)Return on assets+10.7%+8.1%
ROICReturn on invested capital+15.2%+11.6%
ROCEReturn on capital employed+15.5%+12.2%
Piotroski ScoreFundamental quality 0–988
Debt / EquityFinancial leverage1.72x1.01x
Net DebtTotal debt minus cash$30.5B$21.5B
Cash & Equiv.Liquid assets$1.3B$363M
Total DebtShort + long-term debt$31.8B$21.8B
Interest CoverageEBIT ÷ Interest expense8.13x7.85x
UNP leads this category, winning 5 of 8 comparable metrics.

Total Returns (Dividends Reinvested)

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

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

MetricUNP logoUNPUnion Pacific Cor…CNI logoCNICanadian National…
YTD ReturnYear-to-date+14.8%+11.2%
1-Year ReturnPast 12 months+26.4%+13.7%
3-Year ReturnCumulative with dividends+40.4%-2.2%
5-Year ReturnCumulative with dividends+26.6%+9.1%
10-Year ReturnCumulative with dividends+261.9%+121.9%
CAGR (3Y)Annualised 3-year return+12.0%-0.7%
UNP leads this category, winning 6 of 6 comparable metrics.

Risk & Volatility

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

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

MetricUNP logoUNPUnion Pacific Cor…CNI logoCNICanadian National…
Beta (5Y)Sensitivity to S&P 5000.64x0.67x
52-Week HighHighest price in past year$273.17$115.80
52-Week LowLowest price in past year$210.84$90.74
% of 52W HighCurrent price vs 52-week peak+96.9%+95.7%
RSI (14)Momentum oscillator 0–10063.555.7
Avg Volume (50D)Average daily shares traded2.8M1.5M
UNP leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

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

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

MetricUNP logoUNPUnion Pacific Cor…CNI logoCNICanadian National…
Analyst RatingConsensus buy/hold/sellBuyHold
Price TargetConsensus 12-month target$287.30$100.67
# AnalystsCovering analysts4751
Dividend YieldAnnual dividend ÷ price+2.1%+2.3%
Dividend StreakConsecutive years of raises912
Dividend / ShareAnnual DPS$5.45$3.54
Buyback YieldShare repurchases ÷ mkt cap+1.7%+2.3%
CNI leads this category, winning 2 of 2 comparable metrics.
Key Takeaway

UNP leads in 4 of 6 categories (Income & Cash Flow, Profitability & Efficiency). CNI leads in 2 (Valuation Metrics, Analyst Outlook).

Best OverallUnion Pacific Corporation (UNP)Leads 4 of 6 categories
Loading custom metrics...

UNP vs CNI: Frequently Asked Questions

10 questions · data-driven answers · updated daily

01

Is UNP or CNI a better buy right now?

For growth investors, Canadian National Railway Company (CNI) is the stronger pick with 1.

4% revenue growth year-over-year, versus 1. 1% for Union Pacific Corporation (UNP). 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 Union Pacific Corporation (UNP) a "Buy" — based on 47 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 — UNP or CNI?

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

0x versus Union Pacific Corporation at 22. 1x. 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 Union Pacific Corporation's 2. 42x — a reasonable growth-adjusted valuation.

03

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

Over the past 5 years, Union Pacific Corporation (UNP) delivered a total return of +26.

6%, compared to +9. 1% for Canadian National Railway Company (CNI). Over 10 years, the gap is even starker: UNP returned +261. 9% 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 — UNP or CNI?

By beta (market sensitivity over 5 years), Union Pacific Corporation (UNP) is the lower-risk stock at 0.

64β versus Canadian National Railway Company's 0. 67β — meaning CNI is approximately 4% more volatile than UNP relative to the S&P 500. On balance sheet safety, Canadian National Railway Company (CNI) carries a lower debt/equity ratio of 101% versus 172% for Union Pacific Corporation — giving it more financial flexibility in a downturn.

05

Which is growing faster — UNP or CNI?

By revenue growth (latest reported year), Canadian National Railway Company (CNI) is pulling ahead at 1.

4% versus 1. 1% for Union Pacific Corporation (UNP). On earnings-per-share growth, the picture is similar: Union Pacific Corporation grew EPS 7. 9% year-over-year, compared to 7. 8% for Canadian National Railway Company. Over a 3-year CAGR, CNI leads at 0. 4% 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 — UNP or CNI?

Union Pacific Corporation (UNP) is the more profitable company, earning 29.

1% net margin versus 27. 3% for Canadian National Railway Company — meaning it keeps 29. 1% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: UNP leads at 40. 1% versus 38. 1% for CNI. At the gross margin level — before operating expenses — UNP leads at 59. 4%, 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 UNP or CNI 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 Union Pacific Corporation's 2. 42x. 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 21. 1x for Union Pacific Corporation — 7. 2x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for UNP: 8. 5% to $287. 30.

08

Which pays a better dividend — UNP or CNI?

All stocks in this comparison pay dividends.

Canadian National Railway Company (CNI) offers the highest yield at 2. 3%, versus 2. 1% for Union Pacific Corporation (UNP).

09

Is UNP or CNI better for a retirement portfolio?

For long-horizon retirement investors, Union Pacific Corporation (UNP) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0.

64), 2. 1% yield, +261. 9% 10Y return). Both have compounded well over 10 years (UNP: +261. 9%, 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 UNP and CNI?

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

UNP

Dividend Mega-Cap Quality

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

CNI

Dividend Mega-Cap Quality

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

Beat Both

Find stocks that outperform UNP and CNI on the metrics below

Revenue Growth>
%
(UNP: -99.9% · CNI: -0.3%)
Net Margin>
%
(UNP: 29.8% · CNI: 27.2%)
P/E Ratio<
x
(UNP: 22.1x · CNI: 20.0x)

You Might Also Compare

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