Compare Stocks

4 / 10
Try these comparisons:

Stock Comparison

CSX vs UNP vs NSC vs CP

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

Live fundamentals10-year financials5-year price chart
CSX
CSX Corporation

Railroads

IndustrialsNASDAQ • US
Market Cap$82.61B
5Y Perf.+86.3%
UNP
Union Pacific Corporation

Railroads

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

Railroads

IndustrialsNYSE • US
Market Cap$70.38B
5Y Perf.+75.8%
CP
Canadian Pacific Kansas City Ltd.

Railroads

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

CSX vs UNP vs NSC vs CP — Key Financials

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

Company Snapshot
CSX logoCSX
UNP logoUNP
NSC logoNSC
CP logoCP
IndustryRailroadsRailroadsRailroadsRailroads
Market Cap$82.61B$157.19B$70.38B$76.49B
Revenue (TTM)$14.15B$18.49B$12.19B$14.98B
Net Income (TTM)$3.05B$5.51B$2.67B$4.08B
Gross Margin37.5%45.8%51.1%47.9%
Operating Margin33.4%40.3%32.4%37.0%
Forward P/E23.4x21.1x25.9x22.6x
Total Debt$19.35B$31.81B$17.09B$23.19B
Cash & Equiv.$670M$1.27B$1.53B$184M

CSX vs UNP vs NSC vs CPLong-Term Stock Performance

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

CSX
UNP
NSC
CP
StockMay 20May 26Return
CSX Corporation (CSX)100186.3+86.3%
Union Pacific Corpo… (UNP)100155.9+55.9%
Norfolk Southern Co… (NSC)100175.8+75.8%
Canadian Pacific Ka… (CP)100170.6+70.6%

Price return only. Dividends and distributions are not included.

Quick Verdict: CSX vs UNP vs NSC vs CP

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 valuation and capital efficiency and profitability and margin quality. CSX Corporation is the stronger pick specifically for recent price momentum and sentiment. NSC and CP also each lead in at least one category. As sector peers, any of these can serve as alternatives in the same allocation.
CSX
CSX Corporation
The Long-Run Compounder

CSX is the #2 pick in this set and the best alternative if long-term compounding is your priority.

  • 459.3% 10Y total return vs NSC's 301.1%
  • +58.6% vs CP's +16.3%
Best for: long-term compounding
UNP
Union Pacific Corporation
The Value Pick

UNP carries the broadest edge in this set and is the clearest fit for valuation efficiency and defensive.

  • PEG 2.42 vs CP's 4.84
  • Beta 0.64, yield 2.1%, current ratio 0.91x
  • Lower P/E (21.1x vs 22.6x), PEG 2.42 vs 4.84
  • 29.8% margin vs CSX's 21.6%
Best for: valuation efficiency and defensive
NSC
Norfolk Southern Corporation
The Income Pick

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
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.

  • Rev growth 3.7%, EPS growth 13.3%, 3Y rev CAGR 19.6%
  • 3.7% revenue growth vs CSX's -3.1%
Best for: growth exposure
See the full category breakdown
CategoryWinnerWhy
GrowthCP logoCP3.7% revenue growth vs CSX's -3.1%
ValueUNP logoUNPLower P/E (21.1x vs 22.6x), PEG 2.42 vs 4.84
Quality / MarginsUNP logoUNP29.8% margin vs CSX's 21.6%
Stability / SafetyNSC logoNSCBeta 0.63 vs CSX's 0.77, lower leverage
DividendsUNP logoUNP2.1% yield, 9-year raise streak, vs NSC's 1.7%
Momentum (1Y)CSX logoCSX+58.6% vs CP's +16.3%
Efficiency (ROA)UNP logoUNP10.7% ROA vs CP's 5.5%, ROIC 15.2% vs 6.0%

CSX vs UNP vs NSC vs CP — Revenue Breakdown by Segment

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

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
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
NSCNorfolk Southern Corporation
FY 2025
Railway Operating Revenues Market Group Merchandise
63.1%$7.7B
Railway Operating Revenues Market Group Intermodal
24.7%$3.0B
Railway Operating Revenues Market Group Coal
12.2%$1.5B
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

CSX vs UNP vs NSC vs CP — Financial Metrics

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

BEST OVERALLUNPLAGGINGCP

Income & Cash Flow (Last 12 Months)

Evenly matched — CSX and UNP and NSC each lead in 2 of 6 comparable metrics.

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.

MetricCSX logoCSXCSX CorporationUNP logoUNPUnion Pacific Cor…NSC logoNSCNorfolk Southern …CP logoCPCanadian Pacific …
RevenueTrailing 12 months$14.2B$18.5B$12.2B$15.0B
EBITDAEarnings before interest/tax$6.4B$9.3B$5.0B$7.6B
Net IncomeAfter-tax profit$3.0B$5.5B$2.7B$4.1B
Free Cash FlowCash after capex$4.1B$4.2B$4.2B$2.7B
Gross MarginGross profit ÷ Revenue+37.5%+45.8%+51.1%+47.9%
Operating MarginEBIT ÷ Revenue+33.4%+40.3%+32.4%+37.0%
Net MarginNet income ÷ Revenue+21.6%+29.8%+21.9%+27.2%
FCF MarginFCF ÷ Revenue+29.2%+22.7%+34.5%+18.1%
Rev. Growth (YoY)Latest quarter vs prior year+1.7%-99.9%+0.2%-2.5%
EPS Growth (YoY)Latest quarter vs prior year+26.5%+6.2%-26.6%-3.1%
Evenly matched — CSX and UNP and NSC each lead in 2 of 6 comparable metrics.

Valuation Metrics

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

At 22.1x trailing earnings, UNP trades at a 23% valuation discount to CSX's 28.9x P/E. Adjusting for growth (PEG ratio), NSC offers better value at 2.41x vs CSX's 5.64x — a lower PEG means you pay less per unit of expected earnings growth.

MetricCSX logoCSXCSX CorporationUNP logoUNPUnion Pacific Cor…NSC logoNSCNorfolk Southern …CP logoCPCanadian Pacific …
Market CapShares × price$82.6B$157.2B$70.4B$76.5B
Enterprise ValueMkt cap + debt − cash$101.3B$187.7B$85.9B$93.3B
Trailing P/EPrice ÷ TTM EPS28.87x22.12x24.58x25.78x
Forward P/EPrice ÷ next-FY EPS est.23.39x21.07x25.89x22.62x
PEG RatioP/E ÷ EPS growth rate5.64x2.54x2.41x5.52x
EV / EBITDAEnterprise value multiple17.47x15.25x15.91x16.70x
Price / SalesMarket cap ÷ Revenue5.86x6.41x5.78x6.92x
Price / BookPrice ÷ Book value/share6.30x8.51x4.53x2.28x
Price / FCFMarket cap ÷ FCF48.28x28.59x32.63x48.12x
UNP 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 $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), UNP scores 8/9 vs CSX's 5/9, reflecting strong financial health.

MetricCSX logoCSXCSX CorporationUNP logoUNPUnion Pacific Cor…NSC logoNSCNorfolk Southern …CP logoCPCanadian Pacific …
ROE (TTM)Return on equity+23.5%+42.4%+17.4%+10.1%
ROA (TTM)Return on assets+7.0%+10.7%+6.0%+5.5%
ROICReturn on invested capital+10.9%+15.2%+9.8%+6.0%
ROCEReturn on capital employed+11.3%+15.5%+9.8%+6.9%
Piotroski ScoreFundamental quality 0–95877
Debt / EquityFinancial leverage1.47x1.72x1.10x0.50x
Net DebtTotal debt minus cash$18.7B$30.5B$15.6B$23.0B
Cash & Equiv.Liquid assets$670M$1.3B$1.5B$184M
Total DebtShort + long-term debt$19.4B$31.8B$17.1B$23.2B
Interest CoverageEBIT ÷ Interest expense5.66x8.13x4.15x7.08x
UNP leads this category, winning 6 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

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

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

MetricCSX logoCSXCSX CorporationUNP logoUNPUnion Pacific Cor…NSC logoNSCNorfolk Southern …CP logoCPCanadian Pacific …
YTD ReturnYear-to-date+23.0%+14.8%+9.4%+14.7%
1-Year ReturnPast 12 months+58.6%+26.4%+44.3%+16.3%
3-Year ReturnCumulative with dividends+44.1%+40.4%+58.5%+7.4%
5-Year ReturnCumulative with dividends+35.9%+26.6%+16.7%+10.8%
10-Year ReturnCumulative with dividends+459.3%+261.9%+301.1%+230.2%
CAGR (3Y)Annualised 3-year return+12.9%+12.0%+16.6%+2.4%
CSX leads this category, winning 4 of 6 comparable metrics.

Risk & Volatility

Evenly matched — UNP and NSC each lead in 1 of 2 comparable metrics.

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.

MetricCSX logoCSXCSX CorporationUNP logoUNPUnion Pacific Cor…NSC logoNSCNorfolk Southern …CP logoCPCanadian Pacific …
Beta (5Y)Sensitivity to S&P 5000.77x0.64x0.63x0.70x
52-Week HighHighest price in past year$46.55$273.17$323.37$89.42
52-Week LowLowest price in past year$28.13$210.84$218.89$68.42
% of 52W HighCurrent price vs 52-week peak+95.5%+96.9%+96.9%+95.3%
RSI (14)Momentum oscillator 0–10065.163.563.057.7
Avg Volume (50D)Average daily shares traded12.1M2.8M1.1M2.7M
Evenly matched — UNP and NSC each lead in 1 of 2 comparable metrics.

Analyst Outlook

Evenly matched — UNP and NSC each lead in 1 of 2 comparable metrics.

Analyst consensus: CSX as "Buy", UNP as "Buy", NSC as "Hold", CP as "Buy". Consensus price targets imply 8.5% upside for UNP (target: $287) vs -3.1% for CSX (target: $43). For income investors, UNP offers the higher dividend yield at 2.06% vs CP's 0.75%.

MetricCSX logoCSXCSX CorporationUNP logoUNPUnion Pacific Cor…NSC logoNSCNorfolk Southern …CP logoCPCanadian Pacific …
Analyst RatingConsensus buy/hold/sellBuyBuyHoldBuy
Price TargetConsensus 12-month target$43.08$287.30$332.00$92.00
# AnalystsCovering analysts46474843
Dividend YieldAnnual dividend ÷ price+1.2%+2.1%+1.7%+0.7%
Dividend StreakConsecutive years of raises219242
Dividend / ShareAnnual DPS$0.52$5.45$5.40$0.87
Buyback YieldShare repurchases ÷ mkt cap+1.7%+1.7%+0.8%+3.8%
Evenly matched — UNP and NSC each lead in 1 of 2 comparable metrics.
Key Takeaway

UNP leads in 2 of 6 categories (Valuation Metrics, Profitability & Efficiency). CSX leads in 1 (Total Returns). 3 tied.

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

CSX vs UNP vs NSC vs CP: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is CSX or UNP or NSC 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 -3. 1% for CSX Corporation (CSX). Union Pacific Corporation (UNP) offers the better valuation at 22. 1x trailing P/E (21. 1x forward), making it the more compelling value choice. Analysts rate CSX Corporation (CSX) a "Buy" — based on 46 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 — CSX or UNP or NSC or CP?

On trailing P/E, Union Pacific Corporation (UNP) is the cheapest at 22.

1x versus CSX Corporation at 28. 9x. On forward P/E, Union Pacific Corporation is actually cheaper at 21. 1x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Union Pacific Corporation wins at 2. 42x versus Canadian Pacific Kansas City Ltd. 's 4. 84x.

03

Which is the better long-term investment — CSX or UNP or NSC or CP?

Over the past 5 years, CSX Corporation (CSX) delivered a total return of +35.

9%, compared to +10. 8% for Canadian Pacific Kansas City Ltd. (CP). Over 10 years, the gap is even starker: CSX returned +459. 3% versus CP's +230. 2%. 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 — CSX or UNP or NSC or CP?

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.

05

Which is growing faster — CSX or UNP or NSC or CP?

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.

06

Which has better profit margins — CSX or UNP or NSC or CP?

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.

07

Is CSX or UNP or NSC 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, Union Pacific Corporation (UNP) is the more undervalued stock at a PEG of 2. 42x 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, Union Pacific Corporation (UNP) trades at 21. 1x forward P/E versus 25. 9x for Norfolk Southern Corporation — 4. 8x 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 — CSX or UNP or NSC or CP?

All stocks in this comparison pay dividends.

Union Pacific Corporation (UNP) offers the highest yield at 2. 1%, versus 0. 7% for Canadian Pacific Kansas City Ltd. (CP).

09

Is CSX or UNP or NSC or CP 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%, CP: +230. 2%), 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 CSX and UNP and NSC 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 all of them.

Stocks Like

CSX

Quality Mega-Cap Compounder

  • Sector: Industrials
  • Market Cap > $100B
  • Net Margin > 12%
  • Dividend Yield > 0.5%
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

NSC

Dividend Mega-Cap Quality

  • Sector: Industrials
  • Market Cap > $100B
  • Net Margin > 13%
  • Dividend Yield > 0.6%
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 CSX and UNP and NSC and CP on the metrics below

Revenue Growth>
%
(CSX: 1.7% · UNP: -99.9%)
Net Margin>
%
(CSX: 21.6% · UNP: 29.8%)
P/E Ratio<
x
(CSX: 28.9x · UNP: 22.1x)

You Might Also Compare

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