MetaCap

Trex (TREX) vs UFP Industries (UFPI)

Head-to-head comparison of performance, valuation, growth, profitability and dividends. Prices delayed 15 minutes; data as of Nov 23, 2026.

Summary

Trex (TREX) has outperformed UFP Industries (UFPI) over the past year, gaining 55.9% versus a loss of 11.9%. Over five years, UFPI leads with a -8.9% price change compared with -62.0% for TREX. Trex is the larger company by market cap ($5.12 billion vs $4.40 billion), about 1.2 times the size.

On valuation, UFP Industries trades at a lower forward P/E (18.0x vs 24.6x for Trex). UFP Industries pays a dividend yielding 1.77%, while Trex does not currently pay one. Trex converts more of its revenue into profit, with a net margin of 16.2% versus 4.7%.

Summary generated from market data by MetaCap's automated system. Methodology

Relative performance

TREX+55.91%UFPI-11.89%
+89%+33%-22%
Nov 24, 20251 yearNov 20, 2026
TREX-62.89%UFPI-11.28%
+60%-12%-83%
Nov 15, 20215 yearsNov 16, 2026

Percent change in share price from the first common trading day shown; excludes dividends.

Head-to-head

TREX versus UFPI key metrics
MetricTREXUFPI
Share price$51.26$80.65
Market cap$5.12B$4.40B
1-day change+2.87%+1.86%
YTD return+42.05%-13.04%
1-year return+55.91%-11.89%
5-year return-61.98%-8.95%
P/E ratio (TTM)29.6319.48
Forward P/E24.6017.99
EPS (TTM)$1.73$4.14
Dividend yield0.00%1.77%
Annual dividend$0.00$1.43
Revenue (latest FY)$1.17B$6.32B
Revenue growth (YoY)+1.98%-4.99%
Net income (latest FY)$190.41M$294.79M
Gross margin39.17%16.77%
Operating margin21.97%5.76%
Net margin16.22%4.66%
52-week high$60.21$118.00
52-week low$30.60$73.72
Distance from 52-week high-14.86%-31.65%
Analyst consensusbuybuy
Avg. price target upside+23.53%+16.06%
Average volume1.85M445.10K
Shares outstanding99.94M54.60M
Employees1,83913,800
SectorBasic MaterialsBasic Materials
IndustryForest ProductsForest Products

Highlighted cells mark the higher value for growth, returns, margins and yield, and the lower value for P/E ratios. Highlighting is a mechanical comparison, not a recommendation.

Key differences

  • TREX has outperformed UFPI by 67.8 percentage points over the past year.
  • Trex trades at a higher earnings multiple (29.6x vs 19.5x trailing P/E).
  • UFP Industries offers a meaningfully higher dividend yield (1.77% vs 0.00%).
  • Trex is more profitable, keeping 16.2 cents of every revenue dollar as net income versus 4.7 cents for UFP Industries.
  • Trex grew revenue faster in its latest fiscal year (+1.98% vs -4.99%).

About Trex

TREX stock →

Trex Company, Inc. manufactures and sells composite decking and railing products in the United States.

Basic Materials · Forest Products · 1,839 employees

About UFP Industries

UFPI stock →

UFP Industries, Inc., together with its subsidiaries, designs, manufactures, and supplies wood and non-wood composites, and other materials in the United States and internationally. It operates through three segments: Retail, Construction, and Packaging.

Basic Materials · Forest Products · 13,800 employees

TREX vs UFPI FAQ

Which is bigger, Trex or UFP Industries?

Trex (TREX) is larger, with a market capitalization of $5.12B compared with $4.40B for UFP Industries (UFPI).

Which stock has performed better over the past year, TREX or UFPI?

TREX returned +55.91% over the past 12 months, compared with -11.89% for UFPI (price return, excluding dividends). Past performance does not predict future results.

Which has the lower P/E ratio, TREX or UFPI?

UFPI has the lower trailing P/E at 19.5, versus 29.6 for TREX. A lower P/E is not by itself a sign of a better investment; it can reflect slower expected growth or higher risk.

Which pays a higher dividend, Trex or UFP Industries?

UFP Industries pays a dividend yielding 1.77%, while Trex does not currently pay a regular dividend.

Are Trex and UFP Industries in the same industry?

Yes. Both are classified in the Forest Products industry within the Basic Materials sector.

More comparisons