Build Your Comparison

Side-by-side financial analysis
UNP logo
UNP
CSX logo
CSX
Try popular comparisons:

Stock Comparison

UNP vs CSX

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$168.08B
5Y Perf.+63.3%
CSX
CSX Corporation

Railroads

IndustrialsNASDAQ • US
Market Cap$90.14B
5Y Perf.+104.0%

UNP vs CSX — Key Financials

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

Company Snapshot
UNP logoUNP
CSX logoCSX
IndustryRailroadsRailroads
Market Cap$168.08B$90.14B
Revenue (TTM)$18.49B$14.15B
Net Income (TTM)$5.51B$3.05B
Gross Margin45.8%37.5%
Operating Margin40.3%33.4%
Forward P/E22.4x25.2x
Total Debt$31.81B$19.35B
Cash & Equiv.$1.27B$670M

UNP vs CSXLong-Term Stock Performance

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

UNP
CSX
StockJul 20Jul 26Return
Union Pacific Corpo… (UNP)100163.3+63.3%
CSX Corporation (CSX)100204.0+104.0%

Price return only. Dividends and distributions are not included.

Quick Verdict: UNP vs CSX

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

Bottom line: UNP leads in 6 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 recent price momentum and sentiment. As sector peers, any of these can serve as alternatives in the same allocation.
🥇UNP emerged as the overall leader. Track its performance:
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 19 yrs, beta 0.36, yield 1.9%
  • Rev growth 1.1%, EPS growth 7.9%, 3Y rev CAGR -0.5%
  • Lower volatility, beta 0.36, current ratio 0.91x
Best for: income & stability and growth exposure
CSX
CSX Corporation
The Long-Run Compounder

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

  • 5.1% 10Y total return vs UNP's 269.7%
  • +48.4% vs UNP's +22.6%
Best for: long-term compounding
See the full category breakdown
CategoryWinnerWhy
GrowthUNP logoUNP1.1% revenue growth vs CSX's -3.1%
ValueUNP logoUNPLower P/E (22.4x vs 25.2x), PEG 2.57 vs 4.92
Quality / MarginsUNP logoUNP29.8% margin vs CSX's 21.6%
Stability / SafetyUNP logoUNPBeta 0.36 vs CSX's 0.58
DividendsUNP logoUNP1.9% yield, 19-year raise streak, vs CSX's 1.1%
Momentum (1Y)CSX logoCSX+48.4% vs UNP's +22.6%
Efficiency (ROA)UNP logoUNP10.7% ROA vs CSX's 7.0%, ROIC 15.2% vs 10.9%

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

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

MetricUNP logoUNPUnion Pacific Cor…CSX logoCSXCSX Corporation
RevenueTrailing 12 months$18.5B$14.2B
EBITDAEarnings before interest/tax$9.3B$6.4B
Net IncomeAfter-tax profit$5.5B$3.0B
Free Cash FlowCash after capex$4.2B$4.1B
Gross MarginGross profit ÷ Revenue+45.8%+37.5%
Operating MarginEBIT ÷ Revenue+40.3%+33.4%
Net MarginNet income ÷ Revenue+29.8%+21.6%
FCF MarginFCF ÷ Revenue+22.7%+29.2%
Rev. Growth (YoY)Latest quarter vs prior year-99.9%+1.7%
EPS Growth (YoY)Latest quarter vs prior year+6.2%+26.5%
Evenly matched — UNP and CSX each lead in 3 of 6 comparable metrics.

Valuation Metrics

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

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

MetricUNP logoUNPUnion Pacific Cor…CSX logoCSXCSX Corporation
Market CapShares × price$168.1B$90.1B
Enterprise ValueMkt cap + debt − cash$198.6B$108.8B
Trailing P/EPrice ÷ TTM EPS23.65x31.50x
Forward P/EPrice ÷ next-FY EPS est.22.39x25.19x
PEG RatioP/E ÷ EPS growth rate2.71x6.16x
EV / EBITDAEnterprise value multiple16.13x18.77x
Price / SalesMarket cap ÷ Revenue6.86x6.40x
Price / BookPrice ÷ Book value/share9.10x6.87x
Price / FCFMarket cap ÷ FCF30.57x52.68x
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.

MetricUNP logoUNPUnion Pacific Cor…CSX logoCSXCSX Corporation
ROE (TTM)Return on equity+42.4%+23.5%
ROA (TTM)Return on assets+10.7%+7.0%
ROICReturn on invested capital+15.2%+10.9%
ROCEReturn on capital employed+15.5%+11.3%
Piotroski ScoreFundamental quality 0–985
Debt / EquityFinancial leverage1.72x1.47x
Net DebtTotal debt minus cash$30.5B$18.7B
Cash & Equiv.Liquid assets$1.3B$670M
Total DebtShort + long-term debt$31.8B$19.4B
Interest CoverageEBIT ÷ Interest expense8.13x5.66x
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 $15,408 today (with dividends reinvested), compared to $13,538 for UNP. Over the past 12 months, CSX leads with a +48.4% total return vs UNP's +22.6%. The 3-year compound annual growth rate (CAGR) favors CSX at 12.8% vs UNP's 11.1% — a key indicator of consistent wealth creation.

MetricUNP logoUNPUnion Pacific Cor…CSX logoCSXCSX Corporation
YTD ReturnYear-to-date+23.3%+34.5%
1-Year ReturnPast 12 months+22.6%+48.4%
3-Year ReturnCumulative with dividends+47.5%+50.2%
5-Year ReturnCumulative with dividends+35.4%+54.1%
10-Year ReturnCumulative with dividends+269.7%+506.5%
CAGR (3Y)Annualised 3-year return+11.1%+12.8%
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.36 beta — it tends to amplify market swings less than CSX's 0.58 beta. A beta below 1.0 means the stock typically moves less than the S&P 500.

MetricUNP logoUNPUnion Pacific Cor…CSX logoCSXCSX Corporation
Beta (5Y)Sensitivity to S&P 5000.36x0.58x
52-Week HighHighest price in past year$285.79$49.29
52-Week LowLowest price in past year$210.84$31.80
% of 52W HighCurrent price vs 52-week peak+99.1%+98.4%
RSI (14)Momentum oscillator 0–10066.065.1
Avg Volume (50D)Average daily shares traded2.5M10.6M
UNP leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

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

Wall Street rates UNP as "Buy" and CSX as "Buy". Consensus price targets imply 4.2% upside for UNP (target: $295) vs -2.8% for CSX (target: $47). For income investors, UNP offers the higher dividend yield at 1.93% vs CSX's 1.07%.

MetricUNP logoUNPUnion Pacific Cor…CSX logoCSXCSX Corporation
Analyst RatingConsensus buy/hold/sellBuyBuy
Price TargetConsensus 12-month target$295.00$47.15
# AnalystsCovering analysts4746
Dividend YieldAnnual dividend ÷ price+1.9%+1.1%
Dividend StreakConsecutive years of raises1921
Dividend / ShareAnnual DPS$5.45$0.52
Buyback YieldShare repurchases ÷ mkt cap+1.6%+1.5%
Evenly matched — UNP and CSX 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

Custom Comparison: UNP vs CSX

Compare on any lens — Growth, Value, Income, or pick from 130+ individual metrics.

View as:

UNP vs CSX: Frequently Asked Questions

10 questions · data-driven answers · updated daily

01

Is UNP or CSX 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 23. 7x trailing P/E (22. 4x 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 CSX?

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

7x versus CSX Corporation at 31. 5x. On forward P/E, Union Pacific Corporation is actually cheaper at 22. 4x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Union Pacific Corporation wins at 2. 57x versus CSX Corporation's 4. 92x.

03

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

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

1%, compared to +35. 4% for Union Pacific Corporation (UNP). Over 10 years, the gap is even starker: CSX returned +506. 5% versus UNP's +269. 7%. 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 CSX?

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

36β versus CSX Corporation's 0. 58β — meaning CSX is approximately 58% 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 — UNP or CSX?

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 — UNP or CSX?

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 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, Union Pacific Corporation (UNP) is the more undervalued stock at a PEG of 2. 57x versus CSX Corporation's 4. 92x. Both stocks trade at elevated growth-adjusted valuations, so expected growth needs to materialise. On forward earnings alone, Union Pacific Corporation (UNP) trades at 22. 4x forward P/E versus 25. 2x for CSX Corporation — 2. 8x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for UNP: 4. 2% to $295. 00.

08

Which pays a better dividend — UNP or CSX?

All stocks in this comparison pay dividends.

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

09

Is UNP or CSX 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.

36), 1. 9% yield, +269. 7% 10Y return). Both have compounded well over 10 years (UNP: +269. 7%, CSX: +506. 5%), 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 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.

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.

Related Comparisons

Other popular comparisons that include one of these companies.