Railroads
Compare Stocks
5 / 10Stock Comparison
CP vs CNI vs UNP vs CSX vs NSC
Revenue, margins, valuation, and 5-year total return — side by side.
Railroads
Railroads
Railroads
Railroads
CP vs CNI vs UNP vs CSX vs NSC — Key Financials
Market cap, revenue, margins, and valuation side-by-side.
| Company Snapshot | |||||
|---|---|---|---|---|---|
| Industry | Railroads | Railroads | Railroads | Railroads | Railroads |
| Market Cap | $76.49B | $67.77B | $157.19B | $82.61B | $70.38B |
| Revenue (TTM) | $14.98B | $17.29B | $18.49B | $14.15B | $12.19B |
| Net Income (TTM) | $4.08B | $4.71B | $5.51B | $3.05B | $2.67B |
| Gross Margin | 47.9% | 44.2% | 45.8% | 37.5% | 51.1% |
| Operating Margin | 37.0% | 37.8% | 40.3% | 33.4% | 32.4% |
| Forward P/E | 22.6x | 13.8x | 21.1x | 23.4x | 25.9x |
| Total Debt | $23.19B | $21.82B | $31.81B | $19.35B | $17.09B |
| Cash & Equiv. | $184M | $363M | $1.27B | $670M | $1.53B |
CP vs CNI vs UNP vs CSX vs NSC — Long-Term Stock Performance
Price return indexed to 100 at period start. Dividends excluded.
| Stock | May 20 | May 26 | Return |
|---|---|---|---|
| Canadian Pacific Ka… (CP) | 100 | 170.6 | +70.6% |
| Canadian National R… (CNI) | 100 | 128.8 | +28.8% |
| Union Pacific Corpo… (UNP) | 100 | 155.9 | +55.9% |
| CSX Corporation (CSX) | 100 | 186.3 | +86.3% |
| Norfolk Southern Co… (NSC) | 100 | 175.8 | +75.8% |
Price return only. Dividends and distributions are not included.
Quick Verdict: CP vs CNI vs UNP vs CSX vs NSC
Each card shows where this stock fits in a portfolio — not just who wins on paper.
CP ranks third and is worth considering specifically for growth exposure.
- Rev growth 3.7%, EPS growth 13.3%, 3Y rev CAGR 19.6%
- 3.7% revenue growth vs CSX's -3.1%
CNI has the current edge in this matchup, primarily because of its strength in valuation efficiency.
- PEG 1.60 vs CP's 4.84
- Lower P/E (13.8x vs 25.9x), PEG 1.60 vs 2.54
- 2.3% yield, 12-year raise streak, vs NSC's 1.7%
UNP is the #2 pick in this set and the best alternative if defensive is your priority.
- Beta 0.64, yield 2.1%, current ratio 0.91x
- 29.8% margin vs CSX's 21.6%
- 10.7% ROA vs CP's 5.5%, ROIC 15.2% vs 6.0%
CSX is the clearest fit if your priority is long-term compounding.
- 459.3% 10Y total return vs NSC's 301.1%
- +58.6% vs CNI's +13.7%
NSC is the clearest fit if your priority is income & stability and sleep-well-at-night.
- Dividend streak 24 yrs, beta 0.63, yield 1.7%
- Lower volatility, beta 0.63, current ratio 0.85x
- Beta 0.63 vs CSX's 0.77, lower leverage
See the full category breakdown
| Category | Winner | Why |
|---|---|---|
| Growth | 3.7% revenue growth vs CSX's -3.1% | |
| Value | Lower P/E (13.8x vs 25.9x), PEG 1.60 vs 2.54 | |
| Quality / Margins | 29.8% margin vs CSX's 21.6% | |
| Stability / Safety | Beta 0.63 vs CSX's 0.77, lower leverage | |
| Dividends | 2.3% yield, 12-year raise streak, vs NSC's 1.7% | |
| Momentum (1Y) | +58.6% vs CNI's +13.7% | |
| Efficiency (ROA) | 10.7% ROA vs CP's 5.5%, ROIC 15.2% vs 6.0% |
CP vs CNI vs UNP vs CSX vs NSC — Revenue Breakdown by Segment
How each company's revenue is distributed across its business units
Segment breakdown not available.
CP vs CNI vs UNP vs CSX vs NSC — Financial Metrics
Side-by-side numbers across 5 stocks — who leads on profitability, valuation, growth, and risk.
Who Leads Where
CNI leads in 1 of 6 categories
UNP leads 1 • CSX leads 1 • CP leads 0 • NSC leads 0 • 3 tied
Explore the data ↓Income & Cash Flow (Last 12 Months)
Evenly matched — UNP and CSX and NSC each lead in 2 of 6 comparable metrics.
Income & Cash Flow (Last 12 Months)
UNP is the larger business by revenue, generating $18.5B annually — 1.5x NSC's $12.2B. UNP is the more profitable business, keeping 29.8% of every revenue dollar as net income compared to CSX's 21.6%. On growth, CSX holds the edge at +1.7% YoY revenue growth, suggesting stronger near-term business momentum.
| Metric | |||||
|---|---|---|---|---|---|
| RevenueTrailing 12 months | $15.0B | $17.3B | $18.5B | $14.2B | $12.2B |
| EBITDAEarnings before interest/tax | $7.6B | $8.5B | $9.3B | $6.4B | $5.0B |
| Net IncomeAfter-tax profit | $4.1B | $4.7B | $5.5B | $3.0B | $2.7B |
| Free Cash FlowCash after capex | $2.7B | $3.6B | $4.2B | $4.1B | $4.2B |
| Gross MarginGross profit ÷ Revenue | +47.9% | +44.2% | +45.8% | +37.5% | +51.1% |
| Operating MarginEBIT ÷ Revenue | +37.0% | +37.8% | +40.3% | +33.4% | +32.4% |
| Net MarginNet income ÷ Revenue | +27.2% | +27.2% | +29.8% | +21.6% | +21.9% |
| FCF MarginFCF ÷ Revenue | +18.1% | +20.7% | +22.7% | +29.2% | +34.5% |
| Rev. Growth (YoY)Latest quarter vs prior year | -2.5% | -0.3% | -99.9% | +1.7% | +0.2% |
| EPS Growth (YoY)Latest quarter vs prior year | -3.1% | +1.6% | +6.2% | +26.5% | -26.6% |
Valuation Metrics
CNI leads this category, winning 6 of 7 comparable metrics.
Valuation Metrics
At 20.0x trailing earnings, CNI trades at a 31% valuation discount to CSX's 28.9x P/E. Adjusting for growth (PEG ratio), CNI offers better value at 2.32x vs CSX's 5.64x — a lower PEG means you pay less per unit of expected earnings growth.
| Metric | |||||
|---|---|---|---|---|---|
| Market CapShares × price | $76.5B | $67.8B | $157.2B | $82.6B | $70.4B |
| Enterprise ValueMkt cap + debt − cash | $93.3B | $83.5B | $187.7B | $101.3B | $85.9B |
| Trailing P/EPrice ÷ TTM EPS | 25.78x | 20.00x | 22.12x | 28.87x | 24.58x |
| Forward P/EPrice ÷ next-FY EPS est. | 22.62x | 13.83x | 21.07x | 23.39x | 25.89x |
| PEG RatioP/E ÷ EPS growth rate | 5.52x | 2.32x | 2.54x | 5.64x | 2.41x |
| EV / EBITDAEnterprise value multiple | 16.70x | 13.37x | 15.25x | 17.47x | 15.91x |
| Price / SalesMarket cap ÷ Revenue | 6.92x | 5.35x | 6.41x | 5.86x | 5.78x |
| Price / BookPrice ÷ Book value/share | 2.28x | 4.38x | 8.51x | 6.30x | 4.53x |
| Price / FCFMarket cap ÷ FCF | 48.12x | 27.29x | 28.59x | 48.28x | 32.63x |
Profitability & Efficiency
UNP leads this category, winning 6 of 9 comparable metrics.
Profitability & Efficiency
UNP delivers a 42.4% return on equity — every $100 of shareholder capital generates $42 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 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.
| Metric | |||||
|---|---|---|---|---|---|
| ROE (TTM)Return on equity | +10.1% | +21.9% | +42.4% | +23.5% | +17.4% |
| ROA (TTM)Return on assets | +5.5% | +8.1% | +10.7% | +7.0% | +6.0% |
| ROICReturn on invested capital | +6.0% | +11.6% | +15.2% | +10.9% | +9.8% |
| ROCEReturn on capital employed | +6.9% | +12.2% | +15.5% | +11.3% | +9.8% |
| Piotroski ScoreFundamental quality 0–9 | 7 | 8 | 8 | 5 | 7 |
| Debt / EquityFinancial leverage | 0.50x | 1.01x | 1.72x | 1.47x | 1.10x |
| Net DebtTotal debt minus cash | $23.0B | $21.5B | $30.5B | $18.7B | $15.6B |
| Cash & Equiv.Liquid assets | $184M | $363M | $1.3B | $670M | $1.5B |
| Total DebtShort + long-term debt | $23.2B | $21.8B | $31.8B | $19.4B | $17.1B |
| Interest CoverageEBIT ÷ Interest expense | 7.08x | 7.85x | 8.13x | 5.66x | 4.15x |
Total Returns (Dividends Reinvested)
CSX leads this category, winning 4 of 6 comparable metrics.
Total Returns (Dividends Reinvested)
A $10,000 investment in CSX five years ago would be worth $13,589 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 NSC at 16.6% vs CNI's -0.7% — a key indicator of consistent wealth creation.
| Metric | |||||
|---|---|---|---|---|---|
| YTD ReturnYear-to-date | +14.7% | +11.2% | +14.8% | +23.0% | +9.4% |
| 1-Year ReturnPast 12 months | +16.3% | +13.7% | +26.4% | +58.6% | +44.3% |
| 3-Year ReturnCumulative with dividends | +7.4% | -2.2% | +40.4% | +44.1% | +58.5% |
| 5-Year ReturnCumulative with dividends | +10.8% | +9.1% | +26.6% | +35.9% | +16.7% |
| 10-Year ReturnCumulative with dividends | +230.2% | +121.9% | +261.9% | +459.3% | +301.1% |
| CAGR (3Y)Annualised 3-year return | +2.4% | -0.7% | +12.0% | +12.9% | +16.6% |
Risk & Volatility
Evenly matched — UNP and NSC each lead in 1 of 2 comparable metrics.
Risk & Volatility
NSC is the less volatile stock with a 0.63 beta — it tends to amplify market swings less than CSX's 0.77 beta. A beta below 1.0 means the stock typically moves less than the S&P 500.
| Metric | |||||
|---|---|---|---|---|---|
| Beta (5Y)Sensitivity to S&P 500 | 0.70x | 0.67x | 0.64x | 0.77x | 0.63x |
| 52-Week HighHighest price in past year | $89.42 | $115.80 | $273.17 | $46.55 | $323.37 |
| 52-Week LowLowest price in past year | $68.42 | $90.74 | $210.84 | $28.13 | $218.89 |
| % of 52W HighCurrent price vs 52-week peak | +95.3% | +95.7% | +96.9% | +95.5% | +96.9% |
| RSI (14)Momentum oscillator 0–100 | 57.7 | 55.7 | 63.5 | 65.1 | 63.0 |
| Avg Volume (50D)Average daily shares traded | 2.7M | 1.5M | 2.8M | 12.1M | 1.1M |
Analyst Outlook
Evenly matched — CNI and NSC each lead in 1 of 2 comparable metrics.
Analyst Outlook
Analyst consensus: CP as "Buy", CNI as "Hold", UNP as "Buy", CSX as "Buy", NSC 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 CP's 0.75%.
| Metric | |||||
|---|---|---|---|---|---|
| Analyst RatingConsensus buy/hold/sell | Buy | Hold | Buy | Buy | Hold |
| Price TargetConsensus 12-month target | $92.00 | $100.67 | $287.30 | $43.08 | $332.00 |
| # AnalystsCovering analysts | 43 | 51 | 47 | 46 | 48 |
| Dividend YieldAnnual dividend ÷ price | +0.7% | +2.3% | +2.1% | +1.2% | +1.7% |
| Dividend StreakConsecutive years of raises | 2 | 12 | 9 | 21 | 24 |
| Dividend / ShareAnnual DPS | $0.87 | $3.54 | $5.45 | $0.52 | $5.40 |
| Buyback YieldShare repurchases ÷ mkt cap | +3.8% | +2.3% | +1.7% | +1.7% | +0.8% |
CNI leads in 1 of 6 categories (Valuation Metrics). UNP leads in 1 (Profitability & Efficiency). 3 tied.
CP vs CNI vs UNP vs CSX vs NSC: Key Questions Answered
10 questions · data-driven answers · updated daily
01Is CP or CNI or UNP or CSX or NSC 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 -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 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.
02Which has the better valuation — CP or CNI or UNP or CSX or NSC?
On trailing P/E, Canadian National Railway Company (CNI) is the cheapest at 20.
0x versus CSX Corporation at 28. 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: Canadian National Railway Company wins at 1. 60x versus Canadian Pacific Kansas City Ltd. 's 4. 84x — a reasonable growth-adjusted valuation.
03Which is the better long-term investment — CP or CNI or UNP or CSX or NSC?
Over the past 5 years, CSX Corporation (CSX) delivered a total return of +35.
9%, 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.
04Which is safer — CP or CNI or UNP or CSX or NSC?
By beta (market sensitivity over 5 years), Norfolk Southern Corporation (NSC) is the lower-risk stock at 0.
63β versus CSX Corporation's 0. 77β — meaning CSX is approximately 21% more volatile than NSC 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 172% for Union Pacific Corporation — giving it more financial flexibility in a downturn.
05Which is growing faster — CP or CNI or UNP or CSX or NSC?
By revenue growth (latest reported year), Canadian Pacific Kansas City Ltd.
(CP) is pulling ahead at 3. 7% versus -3. 1% for CSX Corporation (CSX). On earnings-per-share growth, the picture is similar: Canadian Pacific Kansas City Ltd. grew EPS 13. 3% year-over-year, compared to -14. 0% for CSX Corporation. 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.
06Which has better profit margins — CP or CNI or UNP or CSX or NSC?
Union Pacific Corporation (UNP) is the more profitable company, earning 29.
1% net margin versus 20. 5% for CSX 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 32. 1% for CSX. 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.
07Is CP or CNI or UNP or CSX or NSC 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 25. 9x for Norfolk Southern Corporation — 12. 1x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for UNP: 8. 5% to $287. 30.
08Which pays a better dividend — CP or CNI or UNP or CSX or NSC?
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).
09Is CP or CNI or UNP or CSX or NSC better for a retirement portfolio?
For long-horizon retirement investors, Norfolk Southern Corporation (NSC) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0.
63), 1. 7% yield, +301. 1% 10Y return). Both have compounded well over 10 years (NSC: +301. 1%, 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.
10What are the main differences between CP and CNI and UNP and CSX and NSC?
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 all of them.
You Might Also Compare
Based on how these companies actually compete and overlap — not just which sector they're filed under.