CSX vs UNP: Which Is the Better Buy in 2026?
Last updated August 2026
Short answer
UNP is the larger of the two ($173.55B market cap): the incumbent the market prices for continued execution (20.69x forward earnings, beta 0.96). CSX is the smaller challenger ($93.36B), priced similarly on forward earnings (22.23x): more room to run, but more to prove. The real question is which set of drivers you believe, and whether owning one (or both) leaves you over-concentrated.
CSX vs UNP: the tie-breaker metrics
Same yardstick, side by side (as of August 2026). Valuation lined up like this is most meaningful for two names in the same corner of the market, which these are. Figures are approximate; verify before investing.
| Metric | CSX | UNP | What it tells you |
|---|---|---|---|
| Market cap | $93.36B | $173.55B | Size. The larger name is the incumbent; the smaller has more room to grow and more to prove. |
| Forward P/E | 22.23 | 20.69 | Valuation on next year's expected earnings, the same yardstick for both. Lower is cheaper for that growth; higher means the market is paying up. |
| Trailing P/E | 29.30 | 23.64 | Valuation on the last 12 months. A big drop from trailing to forward means the market expects earnings to jump, so more growth is already in the price. |
| Beta | 1.21 | 0.96 | Volatility vs the market. Above 1 swings harder than the index; below 1 is steadier. Higher beta means bigger drawdowns to hold through. |
| Price vs 52-week range | 85% of range | 77% of range | Where today's price sits between the 52-week low and high. Near the high is momentum with less margin of safety; near the low is out of favor or a discount, depending on why. |
| Price / book | 6.63 | 8.93 | How much you pay over book value. Very high can signal an asset-light, high-return business or a rich price. |
Before you buy: how CSX and UNP affect your concentration
The metrics above tell you which is the marginally better business. The bigger risk for most people is not picking the slightly worse stock, it is over-concentrating. CSX and UNP share themes, so owning both, or adding either to what you already hold, can quietly push a large share of your portfolio into one bet.
This is the part a generic comparison page cannot answer, because it depends on what you own. Connect your brokerage and Walnut shows your real, combined CSX and UNP exposure, flags overlap with your existing positions, and tells you if adding one would tip you past a concentration you are comfortable with, read-only by default, with your login staying at your broker. Walnut is not an investment adviser.
What does CSX Corporation (CSX) do?
CSX Corporation, headquartered in Jacksonville, Florida, operates CSX Transportation, a Class I freight railroad spanning roughly 20,000 route miles across 26 eastern U.S. states, the District of Columbia, and two Canadian provinces. The network connects Atlantic and Gulf ports, population centers, and industrial regions, hauling three broad categories of freight: merchandise (chemicals, agriculture, metals, minerals, forest products, automotive, and food and consumer goods), intermodal containers moved in partnership with trucking and shipping lines, and coal (both domestic thermal and export metallurgical). Revenue comes from freight rates negotiated with shippers, fuel surcharges tied to diesel prices, and ancillary services, with the economics driven by network density and precision scheduled railroading that maximizes asset utilization.
What does Union Pacific Corporation (UNP) do?
Union Pacific Corporation, headquartered in Omaha, Nebraska, operates the Union Pacific Railroad, which spans more than 30,000 route miles across 23 western U.S. states. The railroad hauls a diversified mix of freight including bulk commodities (coal, grain, fertilizers), industrial products, chemicals, automotive goods, and intermodal containers, connecting U.S. manufacturers, farmers, and ports to domestic and global markets. Revenue is generated through freight rates negotiated with shippers, fuel surcharge mechanisms tied to diesel prices, and ancillary services. The company's precision scheduled railroading (PSR) model focuses on maximizing asset utilization, train length, and velocity while minimizing cost per unit, which has driven sustained operating ratio improvement.
CSX vs UNP: how do they differ?
Both fit overlapping themes, but they are not interchangeable. The useful comparison is which set of drivers and risks you want exposure to.
- CSX drivers: Margin and Service Recovery; Intermodal and Pricing Momentum.
- UNP drivers: Pricing Power and Volume Momentum; Operational Efficiency and PSR Upside.
Which fits which kind of investor
A faster-growing, richer-valued name usually swings harder, so it suits a longer horizon and a higher tolerance for volatility; a steadier, more cash-generative business suits a more conservative or income-minded investor. The honest test is which set of risks you could hold through a drawdown: CSX carries the cyclical risk common to all railroads: freight volumes track industrial production, consumer goods flows, and export demand, so a macroeconomic slowdown would pressure carloads and revenue directly. For UNP, the most immediate risk is regulatory: the Surface Transportation Board's review of the Norfolk Southern merger is drawing active opposition from competitor CSX, which is mobilizing shippers and communities, and UNP has indicated it may walk away if approval conditions exceed a reported $750 million cost threshold, which could also trigger a large breakup fee.
CSX or UNP: which should you pick?
Growth-minded investors who believe the theme has years to run tend to accept the richer multiple for more upside; value-minded investors lean toward the cheaper forward earnings and steadier profile. Pick CSX if you believe its drivers more; UNP if you believe its. Many investors hold both, but since they share themes, that is a concentrated bet, not diversification. Decide deliberately and check overlap. For the full detail, see the CSX and UNP guides.
CSX vs UNP: the full fundamentals
CSX. CSX trades at a mid-20s price-to-earnings multiple, roughly in line with its Class I railroad peers, reflecting a high-quality but slow-growing network asset. The valuation embeds both the ongoing margin-recovery story and a premium for the scarcity and regulatory-barrier value of an eastern rail franchise amid industry consolidation. Figures are approximate and move with quarterly results and share price.
UNP. At roughly 21x trailing earnings, UNP trades near its own 3-year and 5-year historical average P/E, suggesting the market is pricing in steady but not exceptional growth rather than a valuation premium. The ~29% net profit margin (net income of $7.1 billion on $24.5 billion in revenue for 2025) reflects the structural cost advantages of the U.S. Class I railroad oligopoly and the efficiency gains from PSR. The pending Norfolk Southern merger introduces both meaningful upside (synergies of at least $2 billion in incremental net revenue projected) and execution and regulatory risk that investors are still digesting.
Headline figures (approximate, July 2026): CSX shows revenue (ttm) ~$14.1 billion, q1 2026 revenue ~$3.48 billion (+2% YoY), q1 2026 operating income ~$1.25 billion (+20% YoY), q1 2026 eps (diluted) ~$0.43 (+26% YoY); UNP shows revenue (full-year 2025) ~$24.5 billion, net income (full-year 2025) ~$7.1 billion, eps diluted (full-year 2025) ~$11.98, adjusted operating ratio (full-year 2025) ~59.3%.
The bottom line: CSX vs UNP
CSX and UNP are related but distinct: same themes, different businesses and risks. Neither wins in the abstract; the right pick is whichever thesis you actually believe, sized so you are not over-concentrated in one theme. Walnut can show your combined CSX and UNP exposure against your real portfolio. It is not an investment adviser.
Wondering how CSX or UNP fits the portfolio you already own? Walnut is an AI investing app that connects your brokerage read-only and answers questions like that about your actual holdings: overlap, concentration, and how each position tracks the S&P 500. Compare the best AI portfolio analyzers or see the best AI investing apps in 2026.
Investing in CSX Corporation with AI
Connect the broker you already use and ask Walnut's AI how CSX fits what you actually hold: whether you own it already through a fund, what it would do to your concentration, and how it has tracked the S&P 500. Read-only by default, and you approve anything before it reaches your broker.
FAQ
What is the difference between CSX and UNP?
+
CSX Corporation, headquartered in Jacksonville, Florida, operates CSX Transportation, a Class I freight railroad spanning roughly 20,000 route miles across 26 eastern U.S. Union Pacific Corporation, headquartered in Omaha, Nebraska, operates the Union Pacific Railroad, which spans more than 30,000 route miles across 23 western U.S. They show up together because they share investment themes, but they are different businesses, so the better fit depends on which thesis you are expressing.
Is CSX or UNP the better stock?
+
Neither is universally better. UNP is the larger incumbent; CSX is the smaller challenger and looks pricier on forward earnings. Walnut is informational, not investment advice. Compare what each does, the tie-breaker metrics above, and the risks, then decide which fits your thesis and what you already own.
Which is cheaper, CSX or UNP?
+
On forward P/E (as of August 2026), CSX trades at 22.23x and UNP at 20.69x, so UNP is the cheaper of the two on next year's expected earnings. A lower multiple is not automatically the better buy: a richer valuation can be justified by faster growth, and a lower one can reflect real risk. Weigh the multiple against how fast each business is compounding.
Should you own both CSX and UNP?
+
Because they share themes, owning both concentrates you in that theme. That can be intentional (a focused bet) or accidental (less diversification than it looks). Walnut can show your combined exposure across both, and whether adding either over-concentrates you, before you buy.
What are the risks of CSX vs UNP?
+
CSX: CSX carries the cyclical risk common to all railroads: freight volumes track industrial production, consumer goods flows, and export demand, so a macroeconomic slowdown would pressure carloads and revenue directly. Coal remains a structurally declining and volatile category, and export metallurgical coal in particular swings with global benchmark prices, which weighed on 2025 results. Intermodal pricing is constrained by soft truckload rates that offer shippers a cheaper substitute. The proposed Union Pacific and Norfolk Southern merger creates regulatory and competitive uncertainty that CSX cannot fully control, and any approval could alter routing, interchange, and pricing dynamics across the network. Rail cost inflation and the capital intensity of maintaining thousands of miles of track add ongoing margin pressure that must be offset with pricing and productivity. UNP: The most immediate risk is regulatory: the Surface Transportation Board's review of the Norfolk Southern merger is drawing active opposition from competitor CSX, which is mobilizing shippers and communities, and UNP has indicated it may walk away if approval conditions exceed a reported $750 million cost threshold, which could also trigger a large breakup fee. A macroeconomic slowdown or recession would reduce carload volumes across nearly every freight category and pressure revenue directly, since rail demand is closely tied to industrial production and consumer goods flows. Intermodal pricing faces ongoing headwinds from depressed full-truckload rates, which limit UNP's ability to raise prices in that segment in the near term. Additionally, rail inflation is expected to run above 4% in 2026, which management must offset with price gains and further productivity improvements to maintain margin progress.
Walnut is informational, not investment advice. This page is descriptive and not a recommendation to buy or sell CSX or UNP; figures are approximate and dated (as of August 2026). Verify current data before investing.