Compare Stocks

4 / 10
Try these comparisons:

Stock Comparison

FSTR vs UNP vs CSX vs NSC

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

Live fundamentals10-year financials5-year price chart
FSTR
L.B. Foster Company

Railroads

IndustrialsNASDAQ • US
Market Cap$422M
5Y Perf.+230.3%
UNP
Union Pacific Corporation

Railroads

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

Railroads

IndustrialsNASDAQ • US
Market Cap$82.61B
5Y Perf.+86.3%
NSC
Norfolk Southern Corporation

Railroads

IndustrialsNYSE • US
Market Cap$70.38B
5Y Perf.+75.8%

FSTR vs UNP vs CSX vs NSC — Key Financials

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

Company Snapshot
FSTR logoFSTR
UNP logoUNP
CSX logoCSX
NSC logoNSC
IndustryRailroadsRailroadsRailroadsRailroads
Market Cap$422M$157.19B$82.61B$70.38B
Revenue (TTM)$563M$18.49B$14.15B$12.19B
Net Income (TTM)$11M$5.51B$3.05B$2.67B
Gross Margin21.2%45.8%37.5%51.1%
Operating Margin4.6%40.3%33.4%32.4%
Forward P/E26.1x21.1x23.4x25.9x
Total Debt$67M$31.81B$19.35B$17.09B
Cash & Equiv.$4M$1.27B$670M$1.53B

FSTR vs UNP vs CSX vs NSCLong-Term Stock Performance

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

FSTR
UNP
CSX
NSC
StockMay 20May 26Return
L.B. Foster Company (FSTR)100330.3+230.3%
Union Pacific Corpo… (UNP)100155.9+55.9%
CSX Corporation (CSX)100186.3+86.3%
Norfolk Southern Co… (NSC)100175.8+75.8%

Price return only. Dividends and distributions are not included.

Quick Verdict: FSTR vs UNP vs CSX vs NSC

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. L.B. Foster Company is the stronger pick specifically for growth and revenue expansion and recent price momentum and sentiment. NSC also leads in specific categories worth noting. As sector peers, any of these can serve as alternatives in the same allocation.
FSTR
L.B. Foster Company
The Growth Play

FSTR is the #2 pick in this set and the best alternative if growth exposure is your priority.

  • Rev growth 1.7%, EPS growth -82.3%, 3Y rev CAGR 2.8%
  • 1.7% revenue growth vs CSX's -3.1%
  • +120.5% vs UNP's +26.4%
Best for: growth exposure
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 CSX's 4.57
  • Beta 0.64, yield 2.1%, current ratio 0.91x
  • Lower P/E (21.1x vs 25.9x), PEG 2.42 vs 2.54
  • 29.8% margin vs FSTR's 2.0%
Best for: valuation efficiency and defensive
CSX
CSX Corporation
The Long-Run Compounder

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

  • 459.3% 10Y total return vs FSTR's 256.0%
Best for: long-term compounding
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 FSTR's 1.24
Best for: income & stability and sleep-well-at-night
See the full category breakdown
CategoryWinnerWhy
GrowthFSTR logoFSTR1.7% revenue growth vs CSX's -3.1%
ValueUNP logoUNPLower P/E (21.1x vs 25.9x), PEG 2.42 vs 2.54
Quality / MarginsUNP logoUNP29.8% margin vs FSTR's 2.0%
Stability / SafetyNSC logoNSCBeta 0.63 vs FSTR's 1.24
DividendsUNP logoUNP2.1% yield, 9-year raise streak, vs NSC's 1.7%, (1 stock pays no dividend)
Momentum (1Y)FSTR logoFSTR+120.5% vs UNP's +26.4%
Efficiency (ROA)UNP logoUNP10.7% ROA vs FSTR's 3.3%, ROIC 15.2% vs 6.9%

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

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

FSTRL.B. Foster Company
FY 2025
Product
89.1%$481M
Service
10.9%$59M
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
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

FSTR vs UNP vs CSX vs NSC — Financial Metrics

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

BEST OVERALLFSTRLAGGINGNSC

Income & Cash Flow (Last 12 Months)

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

UNP is the larger business by revenue, generating $18.5B annually — 32.8x FSTR's $563M. UNP is the more profitable business, keeping 29.8% of every revenue dollar as net income compared to FSTR's 2.0%. On growth, FSTR holds the edge at +23.9% YoY revenue growth, suggesting stronger near-term business momentum.

MetricFSTR logoFSTRL.B. Foster Compa…UNP logoUNPUnion Pacific Cor…CSX logoCSXCSX CorporationNSC logoNSCNorfolk Southern …
RevenueTrailing 12 months$563M$18.5B$14.2B$12.2B
EBITDAEarnings before interest/tax$38M$9.3B$6.4B$5.0B
Net IncomeAfter-tax profit$11M$5.5B$3.0B$2.7B
Free Cash FlowCash after capex$35M$4.2B$4.1B$4.2B
Gross MarginGross profit ÷ Revenue+21.2%+45.8%+37.5%+51.1%
Operating MarginEBIT ÷ Revenue+4.6%+40.3%+33.4%+32.4%
Net MarginNet income ÷ Revenue+2.0%+29.8%+21.6%+21.9%
FCF MarginFCF ÷ Revenue+6.2%+22.7%+29.2%+34.5%
Rev. Growth (YoY)Latest quarter vs prior year+23.9%-99.9%+1.7%+0.2%
EPS Growth (YoY)Latest quarter vs prior year+170.0%+6.2%+26.5%-26.6%
Evenly matched — FSTR and UNP and NSC each lead in 2 of 6 comparable metrics.

Valuation Metrics

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

At 22.1x trailing earnings, UNP trades at a 62% valuation discount to FSTR's 58.5x 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.

MetricFSTR logoFSTRL.B. Foster Compa…UNP logoUNPUnion Pacific Cor…CSX logoCSXCSX CorporationNSC logoNSCNorfolk Southern …
Market CapShares × price$422M$157.2B$82.6B$70.4B
Enterprise ValueMkt cap + debt − cash$485M$187.7B$101.3B$85.9B
Trailing P/EPrice ÷ TTM EPS58.49x22.12x28.87x24.58x
Forward P/EPrice ÷ next-FY EPS est.26.12x21.07x23.39x25.89x
PEG RatioP/E ÷ EPS growth rate2.54x5.64x2.41x
EV / EBITDAEnterprise value multiple14.12x15.25x17.47x15.91x
Price / SalesMarket cap ÷ Revenue0.78x6.41x5.86x5.78x
Price / BookPrice ÷ Book value/share2.50x8.51x6.30x4.53x
Price / FCFMarket cap ÷ FCF16.75x28.59x48.28x32.63x
FSTR 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 $6 for FSTR. FSTR carries lower financial leverage with a 0.38x 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.

MetricFSTR logoFSTRL.B. Foster Compa…UNP logoUNPUnion Pacific Cor…CSX logoCSXCSX CorporationNSC logoNSCNorfolk Southern …
ROE (TTM)Return on equity+6.4%+42.4%+23.5%+17.4%
ROA (TTM)Return on assets+3.3%+10.7%+7.0%+6.0%
ROICReturn on invested capital+6.9%+15.2%+10.9%+9.8%
ROCEReturn on capital employed+8.9%+15.5%+11.3%+9.8%
Piotroski ScoreFundamental quality 0–96857
Debt / EquityFinancial leverage0.38x1.72x1.47x1.10x
Net DebtTotal debt minus cash$63M$30.5B$18.7B$15.6B
Cash & Equiv.Liquid assets$4M$1.3B$670M$1.5B
Total DebtShort + long-term debt$67M$31.8B$19.4B$17.1B
Interest CoverageEBIT ÷ Interest expense5.65x8.13x5.66x4.15x
UNP leads this category, winning 6 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

FSTR leads this category, winning 5 of 6 comparable metrics.

A $10,000 investment in FSTR five years ago would be worth $24,038 today (with dividends reinvested), compared to $11,666 for NSC. Over the past 12 months, FSTR leads with a +120.5% total return vs UNP's +26.4%. The 3-year compound annual growth rate (CAGR) favors FSTR at 54.5% vs UNP's 12.0% — a key indicator of consistent wealth creation.

MetricFSTR logoFSTRL.B. Foster Compa…UNP logoUNPUnion Pacific Cor…CSX logoCSXCSX CorporationNSC logoNSCNorfolk Southern …
YTD ReturnYear-to-date+49.6%+14.8%+23.0%+9.4%
1-Year ReturnPast 12 months+120.5%+26.4%+58.6%+44.3%
3-Year ReturnCumulative with dividends+268.6%+40.4%+44.1%+58.5%
5-Year ReturnCumulative with dividends+140.4%+26.6%+35.9%+16.7%
10-Year ReturnCumulative with dividends+256.0%+261.9%+459.3%+301.1%
CAGR (3Y)Annualised 3-year return+54.5%+12.0%+12.9%+16.6%
FSTR leads this category, winning 5 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 FSTR's 1.24 beta. A beta below 1.0 means the stock typically moves less than the S&P 500.

MetricFSTR logoFSTRL.B. Foster Compa…UNP logoUNPUnion Pacific Cor…CSX logoCSXCSX CorporationNSC logoNSCNorfolk Southern …
Beta (5Y)Sensitivity to S&P 5001.24x0.64x0.77x0.63x
52-Week HighHighest price in past year$42.41$273.17$46.55$323.37
52-Week LowLowest price in past year$17.66$210.84$28.13$218.89
% of 52W HighCurrent price vs 52-week peak+95.2%+96.9%+95.5%+96.9%
RSI (14)Momentum oscillator 0–10088.263.565.163.0
Avg Volume (50D)Average daily shares traded86K2.8M12.1M1.1M
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: FSTR as "Hold", UNP as "Buy", CSX as "Buy", NSC as "Hold". Consensus price targets imply 8.5% upside for UNP (target: $287) vs -48.0% for FSTR (target: $21). For income investors, UNP offers the higher dividend yield at 2.06% vs CSX's 1.17%.

MetricFSTR logoFSTRL.B. Foster Compa…UNP logoUNPUnion Pacific Cor…CSX logoCSXCSX CorporationNSC logoNSCNorfolk Southern …
Analyst RatingConsensus buy/hold/sellHoldBuyBuyHold
Price TargetConsensus 12-month target$21.00$287.30$43.08$332.00
# AnalystsCovering analysts7474648
Dividend YieldAnnual dividend ÷ price+2.1%+1.2%+1.7%
Dividend StreakConsecutive years of raises092124
Dividend / ShareAnnual DPS$5.45$0.52$5.40
Buyback YieldShare repurchases ÷ mkt cap+3.9%+1.7%+1.7%+0.8%
Evenly matched — UNP and NSC each lead in 1 of 2 comparable metrics.
Key Takeaway

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

Best OverallL.B. Foster Company (FSTR)Leads 2 of 6 categories
Loading custom metrics...

FSTR vs UNP vs CSX vs NSC: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is FSTR or UNP or CSX or NSC a better buy right now?

For growth investors, L.

B. Foster Company (FSTR) is the stronger pick with 1. 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 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 — FSTR or UNP or CSX or NSC?

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

1x versus L. B. Foster Company at 58. 5x. 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 CSX Corporation's 4. 57x.

03

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

Over the past 5 years, L.

B. Foster Company (FSTR) delivered a total return of +140. 4%, compared to +16. 7% for Norfolk Southern Corporation (NSC). Over 10 years, the gap is even starker: CSX returned +459. 3% versus FSTR's +256. 0%. 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 — FSTR or UNP or CSX or NSC?

By beta (market sensitivity over 5 years), Norfolk Southern Corporation (NSC) is the lower-risk stock at 0.

63β versus L. B. Foster Company's 1. 24β — meaning FSTR is approximately 95% more volatile than NSC relative to the S&P 500. On balance sheet safety, L. B. Foster Company (FSTR) carries a lower debt/equity ratio of 38% versus 172% for Union Pacific Corporation — giving it more financial flexibility in a downturn.

05

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

By revenue growth (latest reported year), L.

B. Foster Company (FSTR) is pulling ahead at 1. 7% versus -3. 1% for CSX Corporation (CSX). On earnings-per-share growth, the picture is similar: Norfolk Southern Corporation grew EPS 10. 2% year-over-year, compared to -82. 3% for L. B. Foster Company. Over a 3-year CAGR, FSTR leads at 2. 8% 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 — FSTR or UNP or CSX or NSC?

Union Pacific Corporation (UNP) is the more profitable company, earning 29.

1% net margin versus 1. 4% for L. B. Foster Company — 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 4. 1% for FSTR. 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 FSTR or UNP or CSX or NSC 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 CSX Corporation's 4. 57x. 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 26. 1x for L. B. Foster Company — 5. 1x 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 — FSTR or UNP or CSX or NSC?

In this comparison, UNP (2.

1% yield), NSC (1. 7% yield), CSX (1. 2% yield) pay a dividend. FSTR does not pay a meaningful dividend and should not be held primarily for income.

09

Is FSTR or UNP or CSX or NSC 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%, FSTR: +256. 0%), 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 FSTR and UNP and CSX and NSC?

Both stocks operate in the Industrials sector, making this a peer-level intra-sector comparison — the same macro tailwinds and headwinds will affect both.

UNP, CSX, NSC pay a dividend while FSTR does not, making them suitable for different income and tax situations. 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

FSTR

High-Growth Disruptor

  • Sector: Industrials
  • Market Cap > $100B
  • Revenue Growth > 11%
  • Gross Margin > 12%
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

CSX

Quality Mega-Cap Compounder

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

Beat Both

Find stocks that outperform FSTR and UNP and CSX and NSC on the metrics below

Revenue Growth>
%
(FSTR: 23.9% · UNP: -99.9%)
P/E Ratio<
x
(FSTR: 58.5x · UNP: 22.1x)

You Might Also Compare

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