Railroads
Compare Stocks
2 / 10Stock Comparison
CSX vs UNP
Revenue, margins, valuation, and 5-year total return — side by side.
Railroads
CSX vs UNP — Key Financials
Market cap, revenue, margins, and valuation side-by-side.
| Company Snapshot | ||
|---|---|---|
| Industry | Railroads | Railroads |
| Market Cap | $84.69B | $159.24B |
| Revenue (TTM) | $14.15B | $18.49B |
| Net Income (TTM) | $3.05B | $5.51B |
| Gross Margin | 37.5% | 45.8% |
| Operating Margin | 33.4% | 40.3% |
| Forward P/E | 24.0x | 21.3x |
| Total Debt | $19.35B | $31.81B |
| Cash & Equiv. | $670M | $1.27B |
CSX vs UNP — Long-Term Stock Performance
Price return indexed to 100 at period start. Dividends excluded.
| Stock | May 20 | May 26 | Return |
|---|---|---|---|
| CSX Corporation (CSX) | 100 | 191.0 | +91.0% |
| Union Pacific Corpo… (UNP) | 100 | 157.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.
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%
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
See the full category breakdown
| Category | Winner | Why |
|---|---|---|
| Growth | 1.1% revenue growth vs CSX's -3.1% | |
| Value | Lower P/E (21.3x vs 24.0x), PEG 2.45 vs 4.69 | |
| Quality / Margins | 29.8% margin vs CSX's 21.6% | |
| Stability / Safety | Beta 0.64 vs CSX's 0.77 | |
| Dividends | 1.1% yield, 21-year raise streak, vs UNP's 2.0% | |
| Momentum (1Y) | +64.1% vs UNP's +28.4% | |
| Efficiency (ROA) | 10.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
CSX vs UNP — Financial Metrics
Side-by-side numbers across 2 stocks — who leads on profitability, valuation, growth, and risk.
Income & Cash Flow (Last 12 Months)
Evenly matched — CSX and UNP each lead in 3 of 6 comparable metrics.
Income & Cash Flow (Last 12 Months)
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.
| Metric | ||
|---|---|---|
| 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% |
Valuation Metrics
UNP leads this category, winning 5 of 7 comparable metrics.
Valuation 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.
| Metric | ||
|---|---|---|
| Market CapShares × price | $84.7B | $159.2B |
| Enterprise ValueMkt cap + debt − cash | $103.4B | $189.8B |
| Trailing P/EPrice ÷ TTM EPS | 29.60x | 22.41x |
| Forward P/EPrice ÷ next-FY EPS est. | 23.98x | 21.34x |
| PEG RatioP/E ÷ EPS growth rate | 5.79x | 2.57x |
| EV / EBITDAEnterprise value multiple | 17.83x | 15.42x |
| Price / SalesMarket cap ÷ Revenue | 6.01x | 6.50x |
| Price / BookPrice ÷ Book value/share | 6.46x | 8.62x |
| Price / FCFMarket cap ÷ FCF | 49.50x | 28.96x |
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 $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.
| Metric | ||
|---|---|---|
| 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–9 | 5 | 8 |
| Debt / EquityFinancial leverage | 1.47x | 1.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 expense | 5.66x | 8.13x |
Total Returns (Dividends Reinvested)
CSX leads this category, winning 6 of 6 comparable metrics.
Total Returns (Dividends Reinvested)
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.
| Metric | ||
|---|---|---|
| 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% |
Risk & Volatility
UNP leads this category, winning 2 of 2 comparable metrics.
Risk & Volatility
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.
| Metric | ||
|---|---|---|
| Beta (5Y)Sensitivity to S&P 500 | 0.77x | 0.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–100 | 62.2 | 59.3 |
| Avg Volume (50D)Average daily shares traded | 12.0M | 2.8M |
Analyst Outlook
Evenly matched — CSX and UNP each lead in 1 of 2 comparable metrics.
Analyst Outlook
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%.
| Metric | ||
|---|---|---|
| Analyst RatingConsensus buy/hold/sell | Buy | Buy |
| Price TargetConsensus 12-month target | $43.08 | $287.30 |
| # AnalystsCovering analysts | 46 | 47 |
| Dividend YieldAnnual dividend ÷ price | +1.1% | +2.0% |
| Dividend StreakConsecutive years of raises | 21 | 9 |
| Dividend / ShareAnnual DPS | $0.52 | $5.45 |
| Buyback YieldShare repurchases ÷ mkt cap | +1.6% | +1.7% |
UNP leads in 3 of 6 categories (Valuation Metrics, Profitability & Efficiency). CSX leads in 1 (Total Returns). 2 tied.
CSX vs UNP: Frequently Asked Questions
10 questions · data-driven answers · updated daily
01Is 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.
02Which 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.
03Which 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.
04Which 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.
05Which 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.
06Which 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.
07Is 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.
08Which 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).
09Is 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.
10What 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.
You Might Also Compare
Based on how these companies actually compete and overlap — not just which sector they're filed under.