Compare Stocks

4 / 10
Try these comparisons:

Stock Comparison

CNI vs WAB vs UNP vs CSX

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%
WAB
Westinghouse Air Brake Technologies Corporation

Railroads

IndustrialsNYSE • US
Market Cap$45.09B
5Y Perf.+335.1%
UNP
Union Pacific Corporation

Railroads

IndustrialsNYSE • US
Market Cap$157.19B
5Y Perf.+55.9%
CSX
CSX Corporation

Railroads

IndustrialsNASDAQ • US
Market Cap$82.61B
5Y Perf.+86.3%

CNI vs WAB vs UNP vs CSX — Key Financials

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

Company Snapshot
CNI logoCNI
WAB logoWAB
UNP logoUNP
CSX logoCSX
IndustryRailroadsRailroadsRailroadsRailroads
Market Cap$67.77B$45.09B$157.19B$82.61B
Revenue (TTM)$17.29B$11.51B$18.49B$14.15B
Net Income (TTM)$4.71B$1.21B$5.51B$3.05B
Gross Margin44.2%33.8%45.8%37.5%
Operating Margin37.8%16.1%40.3%33.4%
Forward P/E13.8x25.0x21.1x23.4x
Total Debt$21.82B$5.54B$31.81B$19.35B
Cash & Equiv.$363M$789M$1.27B$670M

CNI vs WAB vs UNP vs CSXLong-Term Stock Performance

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

CNI
WAB
UNP
CSX
StockMay 20May 26Return
Canadian National R… (CNI)100128.8+28.8%
Westinghouse Air Br… (WAB)100435.1+335.1%
Union Pacific Corpo… (UNP)100155.9+55.9%
CSX Corporation (CSX)100186.3+86.3%

Price return only. Dividends and distributions are not included.

Quick Verdict: CNI vs WAB vs UNP vs CSX

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

Bottom line: UNP leads in 3 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 valuation and capital efficiency and dividend income and shareholder returns. WAB and CSX also each lead in at least one category. As sector peers, any of these can serve as alternatives in the same allocation.
CNI
Canadian National Railway Company
The Income Pick

CNI is the #2 pick in this set and the best alternative if income & stability is your priority.

  • Dividend streak 12 yrs, beta 0.67, yield 2.3%
  • Lower P/E (13.8x vs 23.4x), PEG 1.60 vs 4.57
  • 2.3% yield, 12-year raise streak, vs CSX's 1.2%
Best for: income & stability
WAB
Westinghouse Air Brake Technologies Corporation
The Growth Play

WAB is the clearest fit if your priority is growth exposure and valuation efficiency.

  • Rev growth 7.5%, EPS growth 13.1%, 3Y rev CAGR 10.1%
  • PEG 0.97 vs CSX's 4.57
  • 7.5% revenue growth vs CSX's -3.1%
Best for: growth exposure and valuation efficiency
UNP
Union Pacific Corporation
The Defensive Pick

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

  • Lower volatility, beta 0.64, current ratio 0.91x
  • Beta 0.64, yield 2.1%, current ratio 0.91x
  • 29.8% margin vs WAB's 10.5%
  • Beta 0.64 vs WAB's 1.11
Best for: sleep-well-at-night and defensive
CSX
CSX Corporation
The Long-Run Compounder

CSX is the clearest fit if your priority is long-term compounding.

  • 459.3% 10Y total return vs WAB's 247.1%
  • +58.6% vs CNI's +13.7%
Best for: long-term compounding
See the full category breakdown
CategoryWinnerWhy
GrowthWAB logoWAB7.5% revenue growth vs CSX's -3.1%
ValueCNI logoCNILower P/E (13.8x vs 23.4x), PEG 1.60 vs 4.57
Quality / MarginsUNP logoUNP29.8% margin vs WAB's 10.5%
Stability / SafetyUNP logoUNPBeta 0.64 vs WAB's 1.11
DividendsCNI logoCNI2.3% yield, 12-year raise streak, vs CSX's 1.2%
Momentum (1Y)CSX logoCSX+58.6% vs CNI's +13.7%
Efficiency (ROA)UNP logoUNP10.7% ROA vs WAB's 5.6%, ROIC 15.2% vs 9.6%

CNI vs WAB vs UNP vs CSX — Revenue Breakdown by Segment

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

CNICanadian National Railway Company

Segment breakdown not available.

WABWestinghouse Air Brake Technologies Corporation
FY 2025
Freight Segment
72.0%$8.0B
Transit Segment
28.0%$3.1B
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
CSXCSX Corporation
FY 2025
Total Merchandise
64.6%$8.8B
Intermodal
15.4%$2.1B
Coal Services
14.0%$1.9B
Trucking
6.0%$816M

CNI vs WAB vs UNP vs CSX — Financial Metrics

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

BEST OVERALLUNPLAGGINGCSX

Income & Cash Flow (Last 12 Months)

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

UNP is the larger business by revenue, generating $18.5B annually — 1.6x WAB's $11.5B. UNP is the more profitable business, keeping 29.8% of every revenue dollar as net income compared to WAB's 10.5%. On growth, WAB holds the edge at +13.0% YoY revenue growth, suggesting stronger near-term business momentum.

MetricCNI logoCNICanadian National…WAB logoWABWestinghouse Air …UNP logoUNPUnion Pacific Cor…CSX logoCSXCSX Corporation
RevenueTrailing 12 months$17.3B$11.5B$18.5B$14.2B
EBITDAEarnings before interest/tax$8.5B$2.3B$9.3B$6.4B
Net IncomeAfter-tax profit$4.7B$1.2B$5.5B$3.0B
Free Cash FlowCash after capex$3.6B$1.6B$4.2B$4.1B
Gross MarginGross profit ÷ Revenue+44.2%+33.8%+45.8%+37.5%
Operating MarginEBIT ÷ Revenue+37.8%+16.1%+40.3%+33.4%
Net MarginNet income ÷ Revenue+27.2%+10.5%+29.8%+21.6%
FCF MarginFCF ÷ Revenue+20.7%+14.3%+22.7%+29.2%
Rev. Growth (YoY)Latest quarter vs prior year-0.3%+13.0%-99.9%+1.7%
EPS Growth (YoY)Latest quarter vs prior year+1.6%+12.8%+6.2%+26.5%
UNP leads this category, winning 3 of 6 comparable metrics.

Valuation Metrics

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

At 20.0x trailing earnings, CNI trades at a 49% valuation discount to WAB's 38.9x P/E. Adjusting for growth (PEG ratio), WAB offers better value at 1.51x vs CSX's 5.64x — a lower PEG means you pay less per unit of expected earnings growth.

MetricCNI logoCNICanadian National…WAB logoWABWestinghouse Air …UNP logoUNPUnion Pacific Cor…CSX logoCSXCSX Corporation
Market CapShares × price$67.8B$45.1B$157.2B$82.6B
Enterprise ValueMkt cap + debt − cash$83.5B$49.8B$187.7B$101.3B
Trailing P/EPrice ÷ TTM EPS20.00x38.90x22.12x28.87x
Forward P/EPrice ÷ next-FY EPS est.13.83x25.05x21.07x23.39x
PEG RatioP/E ÷ EPS growth rate2.32x1.51x2.54x5.64x
EV / EBITDAEnterprise value multiple13.37x21.03x15.25x17.47x
Price / SalesMarket cap ÷ Revenue5.35x4.04x6.41x5.86x
Price / BookPrice ÷ Book value/share4.38x4.06x8.51x6.30x
Price / FCFMarket cap ÷ FCF27.29x30.08x28.59x48.28x
CNI leads this category, winning 4 of 7 comparable metrics.

Profitability & Efficiency

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

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

MetricCNI logoCNICanadian National…WAB logoWABWestinghouse Air …UNP logoUNPUnion Pacific Cor…CSX logoCSXCSX Corporation
ROE (TTM)Return on equity+21.9%+10.9%+42.4%+23.5%
ROA (TTM)Return on assets+8.1%+5.6%+10.7%+7.0%
ROICReturn on invested capital+11.6%+9.6%+15.2%+10.9%
ROCEReturn on capital employed+12.2%+11.7%+15.5%+11.3%
Piotroski ScoreFundamental quality 0–98585
Debt / EquityFinancial leverage1.01x0.50x1.72x1.47x
Net DebtTotal debt minus cash$21.5B$4.8B$30.5B$18.7B
Cash & Equiv.Liquid assets$363M$789M$1.3B$670M
Total DebtShort + long-term debt$21.8B$5.5B$31.8B$19.4B
Interest CoverageEBIT ÷ Interest expense7.85x7.41x8.13x5.66x
UNP leads this category, winning 6 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

WAB leads this category, winning 4 of 6 comparable metrics.

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

MetricCNI logoCNICanadian National…WAB logoWABWestinghouse Air …UNP logoUNPUnion Pacific Cor…CSX logoCSXCSX Corporation
YTD ReturnYear-to-date+11.2%+23.0%+14.8%+23.0%
1-Year ReturnPast 12 months+13.7%+40.6%+26.4%+58.6%
3-Year ReturnCumulative with dividends-2.2%+170.1%+40.4%+44.1%
5-Year ReturnCumulative with dividends+9.1%+229.0%+26.6%+35.9%
10-Year ReturnCumulative with dividends+121.9%+247.1%+261.9%+459.3%
CAGR (3Y)Annualised 3-year return-0.7%+39.3%+12.0%+12.9%
WAB leads this category, winning 4 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 WAB's 1.11 beta. A beta below 1.0 means the stock typically moves less than the S&P 500.

MetricCNI logoCNICanadian National…WAB logoWABWestinghouse Air …UNP logoUNPUnion Pacific Cor…CSX logoCSXCSX Corporation
Beta (5Y)Sensitivity to S&P 5000.67x1.11x0.64x0.77x
52-Week HighHighest price in past year$115.80$275.84$273.17$46.55
52-Week LowLowest price in past year$90.74$184.26$210.84$28.13
% of 52W HighCurrent price vs 52-week peak+95.7%+96.3%+96.9%+95.5%
RSI (14)Momentum oscillator 0–10055.758.763.565.1
Avg Volume (50D)Average daily shares traded1.5M905K2.8M12.1M
UNP leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

Evenly matched — CNI and CSX each lead in 1 of 2 comparable metrics.

Analyst consensus: CNI as "Hold", WAB as "Buy", UNP as "Buy", CSX as "Buy". Consensus price targets imply 9.5% upside for WAB (target: $291) vs -9.2% for CNI (target: $101). For income investors, CNI offers the higher dividend yield at 2.34% vs WAB's 0.38%.

MetricCNI logoCNICanadian National…WAB logoWABWestinghouse Air …UNP logoUNPUnion Pacific Cor…CSX logoCSXCSX Corporation
Analyst RatingConsensus buy/hold/sellHoldBuyBuyBuy
Price TargetConsensus 12-month target$100.67$291.00$287.30$43.08
# AnalystsCovering analysts51344746
Dividend YieldAnnual dividend ÷ price+2.3%+0.4%+2.1%+1.2%
Dividend StreakConsecutive years of raises126921
Dividend / ShareAnnual DPS$3.54$1.01$5.45$0.52
Buyback YieldShare repurchases ÷ mkt cap+2.3%+0.5%+1.7%+1.7%
Evenly matched — CNI and CSX each lead in 1 of 2 comparable metrics.
Key Takeaway

UNP leads in 3 of 6 categories (Income & Cash Flow, Profitability & Efficiency). CNI leads in 1 (Valuation Metrics). 1 tied.

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

CNI vs WAB vs UNP vs CSX: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is CNI or WAB or UNP or CSX a better buy right now?

For growth investors, Westinghouse Air Brake Technologies Corporation (WAB) is the stronger pick with 7.

5% revenue growth year-over-year, versus -3. 1% for CSX Corporation (CSX). 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 Westinghouse Air Brake Technologies Corporation (WAB) a "Buy" — based on 34 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 WAB or UNP or CSX?

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

0x versus Westinghouse Air Brake Technologies Corporation at 38. 9x. 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: Westinghouse Air Brake Technologies Corporation wins at 0. 97x versus CSX Corporation's 4. 57x — a PEG below 1. 0 traditionally signals the market is underpricing earnings growth.

03

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

Over the past 5 years, Westinghouse Air Brake Technologies Corporation (WAB) delivered a total return of +229.

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

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

64β versus Westinghouse Air Brake Technologies Corporation's 1. 11β — meaning WAB is approximately 73% more volatile than UNP relative to the S&P 500. On balance sheet safety, Westinghouse Air Brake Technologies Corporation (WAB) carries a lower debt/equity ratio of 50% versus 172% for Union Pacific Corporation — giving it more financial flexibility in a downturn.

05

Which is growing faster — CNI or WAB or UNP or CSX?

By revenue growth (latest reported year), Westinghouse Air Brake Technologies Corporation (WAB) is pulling ahead at 7.

5% versus -3. 1% for CSX Corporation (CSX). On earnings-per-share growth, the picture is similar: Westinghouse Air Brake Technologies Corporation grew EPS 13. 1% year-over-year, compared to -14. 0% for CSX Corporation. Over a 3-year CAGR, WAB leads at 10. 1% 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 WAB or UNP or CSX?

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

1% net margin versus 10. 5% for Westinghouse Air Brake Technologies Corporation — 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 16. 7% for WAB. 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 CNI or WAB or UNP or CSX 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, Westinghouse Air Brake Technologies Corporation (WAB) is the more undervalued stock at a PEG of 0. 97x versus CSX Corporation's 4. 57x. A PEG below 1. 0 is traditionally considered the threshold for growth-adjusted undervaluation. On forward earnings alone, Canadian National Railway Company (CNI) trades at 13. 8x forward P/E versus 25. 0x for Westinghouse Air Brake Technologies Corporation — 11. 2x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for WAB: 9. 5% to $291. 00.

08

Which pays a better dividend — CNI or WAB or UNP or CSX?

All stocks in this comparison pay dividends.

Canadian National Railway Company (CNI) offers the highest yield at 2. 3%, versus 0. 4% for Westinghouse Air Brake Technologies Corporation (WAB).

09

Is CNI or WAB or UNP or CSX better for a retirement portfolio?

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

77), 1. 2% yield, +459. 3% 10Y return). Both have compounded well over 10 years (CSX: +459. 3%, WAB: +247. 1%), 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 WAB and UNP and CSX?

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

CNI, UNP, CSX pay a dividend while WAB does not, making them suitable for different income and tax situations. 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 all of them.

Stocks Like

CNI

Dividend Mega-Cap Quality

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

WAB

Stable Dividend Mega-Cap

  • Sector: Industrials
  • Market Cap > $100B
  • Revenue Growth > 6%
  • Net Margin > 6%
Run This Screen
Stocks Like

UNP

Dividend Mega-Cap Quality

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

CSX

Quality Mega-Cap Compounder

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

Beat Both

Find stocks that outperform CNI and WAB and UNP and CSX on the metrics below

Revenue Growth>
%
(CNI: -0.3% · WAB: 13.0%)
Net Margin>
%
(CNI: 27.2% · WAB: 10.5%)
P/E Ratio<
x
(CNI: 20.0x · WAB: 38.9x)

You Might Also Compare

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