Stocks

Side by side

Trex Company, Inc. (TREX) vs Union Pacific Corporation (UNP)

The same free fields, in the same order, for both companies, so a figure on one line can be read straight across.

This page states measurements and nothing else. It does not rank the two companies, name one of them, or draw a conclusion from the figures.

Data as of Oct 27, 2026, for both companies.

The figures, field by field

A dash means the snapshot carries no figure for that company on that line. A line is dropped only when neither company has it, so a dash beside a figure is a fact about coverage, not about either company.

TREX and UNP, field by field, in the same order for both.
TREXUNP
SectorIndustrialsIndustrials
IndustryBuilding Products & EquipmentRailroads
Size bandMIDLARGE
ListingNYSENYSE
CountryUnited StatesUnited States
Themebuilding-productsrail-transport
Price and returns
Last close$49.57$296.97
Return · 1 week+6.63%+3.47%
Return · 1 month+11.54%+8.34%
Return · 3 months+12.61%+0.86%
Return · year to date+38.35%+28.72%
Return · 1 year−0.32%+37.59%
Distance from the 52-week highThe last close measured against the highest close of the past 52 weeks.−4.21%−6.02%
52-week high$51.75$315.99
52-week low$29.77$215.53
Size and turnover
Market value · USDConverted to US dollars, so two companies listed in different currencies sit under one heading.$5.15B$176.42B
Turnover · median day, USDThe median value traded in a session over the past 50 sessions.$67.61M$640.06M
Employees1,83928,658
Valuation
Price to earnings · trailing26.34×23.42×
Price to earnings · forward22.16×20.30×
Price to sales3.85×6.76×
Price to book4.67×8.30×
Enterprise value to EBITDA15.22×15.58×
Enterprise value to revenue3.94×7.90×
PEG ratio1.002.87
Earnings per share · trailing1.7012.34
Profitability
Gross margin38.20%45.62%
Operating margin20.62%40.98%
Profit margin14.68%28.85%
Return on equity17.74%39.70%
Return on assets9.62%9.27%
Growth
Revenue growth+7.80%+11.50%
Earnings growth−15.20%+6.60%
Balance sheet and payout
Debt / equity (%)30.03150.77
Current ratio1.060.99
Dividend yield0.00%1.97%
Payout ratio0.00%44.73%
Trend and volatility
RSI · 1456.1262.86
ADX · 1411.5024.74
50-day average$45.44$287.75
200-day average$42.56$267.10
Average true range · share of priceAverage true range over 14 sessions, stated as a share of the last close, so it can be read across two share prices.3.06%1.43%
The full analysis

The full TREX analysis

Everything this table leaves out for Trex Company, Inc.: the plain-language summary and key points, the accumulation read, signal history, full fundamentals, market context, and the case each side of the TREX argument makes.

$9.90 per stock, one time, 30 days of access.

Open the full TREX analysis
The full analysis

The full UNP analysis

Everything this table leaves out for Union Pacific Corporation: the plain-language summary and key points, the accumulation read, signal history, full fundamentals, market context, and the case each side of the UNP argument makes.

$9.90 per stock, one time, 30 days of access.

Open the full UNP analysis
TREX vs UNP: Side by Side Comparison | FullStockData