Trex (TREX) vs UFP Industries (UFPI)
Head-to-head comparison of performance, valuation, growth, profitability and dividends. Prices delayed 15 minutes; data as of Oct 9, 2026.
Summary
UFP Industries (UFPI) has outperformed Trex (TREX) over the past year, losing 16.3% versus a loss of 16.7%. Over five years, UFPI leads with a +1.7% price change compared with -53.1% for TREX. Trex is the larger company by market cap ($4.53 billion vs $4.22 billion), about 1.1 times the size.
On valuation, UFP Industries trades at a lower forward P/E (13.8x vs 22.0x for Trex). UFP Industries pays a dividend yielding 1.86%, 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
Percent change in share price from the first common trading day shown; excludes dividends.
Head-to-head
| Metric | TREX | UFPI |
|---|---|---|
| Share price | $44.44 | $76.45 |
| Market cap | $4.53B | $4.22B |
| 1-day change | +1.41% | +0.01% |
| YTD return | +24.91% | -16.04% |
| 1-year return | -16.72% | -16.31% |
| 5-year return | -53.07% | +1.72% |
| P/E ratio (TTM) | 26.14 | 17.45 |
| Forward P/E | 21.99 | 13.85 |
| EPS (TTM) | $1.70 | $4.38 |
| Dividend yield | 0.00% | 1.86% |
| Annual dividend | $0.00 | $1.42 |
| Revenue (latest FY) | $1.17B | $6.32B |
| Revenue growth (YoY) | +1.98% | -4.99% |
| Net income (latest FY) | $190.41M | $294.79M |
| Gross margin | 39.17% | 16.77% |
| Operating margin | 21.97% | 5.76% |
| Net margin | 16.22% | 4.66% |
| 52-week high | $54.30 | $118.00 |
| 52-week low | $29.77 | $74.55 |
| Distance from 52-week high | -18.16% | -35.21% |
| Analyst consensus | buy | buy |
| Avg. price target upside | +23.87% | +34.21% |
| Average volume | 1.84M | 440.18K |
| Shares outstanding | 101.87M | 55.16M |
| Employees | 1,839 | 13,800 |
| Sector | Basic Materials | Basic Materials |
| Industry | Forest Products | Forest 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 trades at a higher earnings multiple (26.1x vs 17.5x trailing P/E).
- UFP Industries offers a meaningfully higher dividend yield (1.86% 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 $4.53B compared with $4.22B for UFP Industries (UFPI).
Which stock has performed better over the past year, TREX or UFPI?
UFPI returned -16.31% over the past 12 months, compared with -16.72% for TREX (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 17.5, versus 26.1 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.86%, 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.