Compare Stocks

2 / 10
Try these comparisons:

Stock Comparison

CSX vs UNP

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$84.69B
5Y Perf.+91.0%
UNP
Union Pacific Corporation

Railroads

IndustrialsNYSE • US
Market Cap$159.24B
5Y Perf.+57.9%

CSX vs UNP — Key Financials

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

Company Snapshot
CSX logoCSX
UNP logoUNP
IndustryRailroadsRailroads
Market Cap$84.69B$159.24B
Revenue (TTM)$14.15B$18.49B
Net Income (TTM)$3.05B$5.51B
Gross Margin37.5%45.8%
Operating Margin33.4%40.3%
Forward P/E24.0x21.3x
Total Debt$19.35B$31.81B
Cash & Equiv.$670M$1.27B

CSX vs UNPLong-Term Stock Performance

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

CSX
UNP
StockMay 20May 26Return
CSX Corporation (CSX)100191.0+91.0%
Union Pacific Corpo… (UNP)100157.9+57.9%

Price return only. Dividends and distributions are not included.

Quick Verdict: CSX vs UNP

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

Bottom line: UNP leads in 5 of 7 categories, making it the strongest pick for growth and revenue expansion and valuation and capital efficiency. CSX Corporation is the stronger pick specifically for dividend income and shareholder returns and recent price momentum and sentiment. As sector peers, any of these can serve as alternatives in the same allocation.
CSX
CSX Corporation
The Long-Run Compounder

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

  • 465.7% 10Y total return vs UNP's 261.3%
  • 1.1% yield, 21-year raise streak, vs UNP's 2.0%
  • +64.1% vs UNP's +28.4%
Best for: long-term compounding
UNP
Union Pacific Corporation
The Income Pick

UNP carries the broadest edge in this set and is the clearest fit for income & stability and growth exposure.

  • Dividend streak 9 yrs, beta 0.64, yield 2.0%
  • Rev growth 1.1%, EPS growth 7.9%, 3Y rev CAGR -0.5%
  • Lower volatility, beta 0.64, current ratio 0.91x
Best for: income & stability and growth exposure
See the full category breakdown
CategoryWinnerWhy
GrowthUNP logoUNP1.1% revenue growth vs CSX's -3.1%
ValueUNP logoUNPLower P/E (21.3x vs 24.0x), PEG 2.45 vs 4.69
Quality / MarginsUNP logoUNP29.8% margin vs CSX's 21.6%
Stability / SafetyUNP logoUNPBeta 0.64 vs CSX's 0.77
DividendsCSX logoCSX1.1% yield, 21-year raise streak, vs UNP's 2.0%
Momentum (1Y)CSX logoCSX+64.1% vs UNP's +28.4%
Efficiency (ROA)UNP logoUNP10.7% ROA vs CSX's 7.0%, ROIC 15.2% vs 10.9%

CSX vs UNP — 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

CSX vs UNP — Financial Metrics

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

BEST OVERALLUNPLAGGINGCSX

Income & Cash Flow (Last 12 Months)

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

UNP and CSX operate at a comparable scale, with $18.5B and $14.2B in trailing revenue. 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…
RevenueTrailing 12 months$14.2B$18.5B
EBITDAEarnings before interest/tax$6.4B$9.3B
Net IncomeAfter-tax profit$3.0B$5.5B
Free Cash FlowCash after capex$4.1B$4.2B
Gross MarginGross profit ÷ Revenue+37.5%+45.8%
Operating MarginEBIT ÷ Revenue+33.4%+40.3%
Net MarginNet income ÷ Revenue+21.6%+29.8%
FCF MarginFCF ÷ Revenue+29.2%+22.7%
Rev. Growth (YoY)Latest quarter vs prior year+1.7%-99.9%
EPS Growth (YoY)Latest quarter vs prior year+26.5%+6.2%
Evenly matched — CSX and UNP each lead in 3 of 6 comparable metrics.

Valuation Metrics

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

At 22.4x trailing earnings, UNP trades at a 24% valuation discount to CSX's 29.6x P/E. Adjusting for growth (PEG ratio), UNP offers better value at 2.57x vs CSX's 5.79x — a lower PEG means you pay less per unit of expected earnings growth.

MetricCSX logoCSXCSX CorporationUNP logoUNPUnion Pacific Cor…
Market CapShares × price$84.7B$159.2B
Enterprise ValueMkt cap + debt − cash$103.4B$189.8B
Trailing P/EPrice ÷ TTM EPS29.60x22.41x
Forward P/EPrice ÷ next-FY EPS est.23.98x21.34x
PEG RatioP/E ÷ EPS growth rate5.79x2.57x
EV / EBITDAEnterprise value multiple17.83x15.42x
Price / SalesMarket cap ÷ Revenue6.01x6.50x
Price / BookPrice ÷ Book value/share6.46x8.62x
Price / FCFMarket cap ÷ FCF49.50x28.96x
UNP leads this category, winning 5 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 $24 for CSX. CSX carries lower financial leverage with a 1.47x 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…
ROE (TTM)Return on equity+23.5%+42.4%
ROA (TTM)Return on assets+7.0%+10.7%
ROICReturn on invested capital+10.9%+15.2%
ROCEReturn on capital employed+11.3%+15.5%
Piotroski ScoreFundamental quality 0–958
Debt / EquityFinancial leverage1.47x1.72x
Net DebtTotal debt minus cash$18.7B$30.5B
Cash & Equiv.Liquid assets$670M$1.3B
Total DebtShort + long-term debt$19.4B$31.8B
Interest CoverageEBIT ÷ Interest expense5.66x8.13x
UNP leads this category, winning 6 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

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

A $10,000 investment in CSX five years ago would be worth $13,992 today (with dividends reinvested), compared to $12,936 for UNP. Over the past 12 months, CSX leads with a +64.1% total return vs UNP's +28.4%. The 3-year compound annual growth rate (CAGR) favors CSX at 13.9% vs UNP's 12.4% — a key indicator of consistent wealth creation.

MetricCSX logoCSXCSX CorporationUNP logoUNPUnion Pacific Cor…
YTD ReturnYear-to-date+26.0%+16.3%
1-Year ReturnPast 12 months+64.1%+28.4%
3-Year ReturnCumulative with dividends+47.6%+42.2%
5-Year ReturnCumulative with dividends+39.9%+29.4%
10-Year ReturnCumulative with dividends+465.7%+261.3%
CAGR (3Y)Annualised 3-year return+13.9%+12.4%
CSX 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 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…
Beta (5Y)Sensitivity to S&P 5000.77x0.64x
52-Week HighHighest price in past year$46.55$273.17
52-Week LowLowest price in past year$28.05$210.84
% of 52W HighCurrent price vs 52-week peak+97.9%+98.2%
RSI (14)Momentum oscillator 0–10062.259.3
Avg Volume (50D)Average daily shares traded12.0M2.8M
UNP leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

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

Wall Street rates CSX as "Buy" and UNP as "Buy". Consensus price targets imply 7.1% upside for UNP (target: $287) vs -5.5% for CSX (target: $43). For income investors, UNP offers the higher dividend yield at 2.03% vs CSX's 1.14%.

MetricCSX logoCSXCSX CorporationUNP logoUNPUnion Pacific Cor…
Analyst RatingConsensus buy/hold/sellBuyBuy
Price TargetConsensus 12-month target$43.08$287.30
# AnalystsCovering analysts4647
Dividend YieldAnnual dividend ÷ price+1.1%+2.0%
Dividend StreakConsecutive years of raises219
Dividend / ShareAnnual DPS$0.52$5.45
Buyback YieldShare repurchases ÷ mkt cap+1.6%+1.7%
Evenly matched — CSX and UNP each lead in 1 of 2 comparable metrics.
Key Takeaway

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

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

CSX vs UNP: Frequently Asked Questions

10 questions · data-driven answers · updated daily

01

Is CSX or UNP a better buy right now?

For growth investors, Union Pacific Corporation (UNP) is the stronger pick with 1.

1% revenue growth year-over-year, versus -3. 1% for CSX Corporation (CSX). Union Pacific Corporation (UNP) offers the better valuation at 22. 4x trailing P/E (21. 3x 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?

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

4x versus CSX Corporation at 29. 6x. On forward P/E, Union Pacific Corporation is actually cheaper at 21. 3x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Union Pacific Corporation wins at 2. 45x versus CSX Corporation's 4. 69x.

03

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

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

9%, compared to +29. 4% for Union Pacific Corporation (UNP). Over 10 years, the gap is even starker: CSX returned +465. 7% versus UNP's +261. 3%. 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?

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

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

05

Which is growing faster — CSX or UNP?

By revenue growth (latest reported year), Union Pacific Corporation (UNP) is pulling ahead at 1.

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

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 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. 45x versus CSX Corporation's 4. 69x. 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. 3x forward P/E versus 24. 0x for CSX Corporation — 2. 6x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for UNP: 7. 1% to $287. 30.

08

Which pays a better dividend — CSX or UNP?

All stocks in this comparison pay dividends.

Union Pacific Corporation (UNP) offers the highest yield at 2. 0%, versus 1. 1% for CSX Corporation (CSX).

09

Is CSX or UNP 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. 1% yield, +465. 7% 10Y return). Both have compounded well over 10 years (CSX: +465. 7%, UNP: +261. 3%), 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?

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

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
Custom Screen

Beat Both

Find stocks that outperform CSX and UNP 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: 29.6x · UNP: 22.4x)

You Might Also Compare

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