Construction
Compare Stocks
2 / 10Stock Comparison
TREX vs UFPI
Revenue, margins, valuation, and 5-year total return — side by side.
Paper, Lumber & Forest Products
TREX vs UFPI — Key Financials
Market cap, revenue, margins, and valuation side-by-side.
| Company Snapshot | ||
|---|---|---|
| Industry | Construction | Paper, Lumber & Forest Products |
| Market Cap | $4.12B | $4.76B |
| Revenue (TTM) | $1.18B | $6.19B |
| Net Income (TTM) | $191M | $264M |
| Gross Margin | 39.2% | 16.6% |
| Operating Margin | 22.1% | 5.4% |
| Forward P/E | 24.0x | 15.9x |
| Total Debt | $229M | $230M |
| Cash & Equiv. | $4M | $925M |
TREX vs UFPI — Long-Term Stock Performance
Price return indexed to 100 at period start. Dividends excluded.
| Stock | May 20 | May 26 | Return |
|---|---|---|---|
| Trex Company, Inc. (TREX) | 100 | 65.2 | -34.8% |
| UFP Industries, Inc. (UFPI) | 100 | 183.4 | +83.4% |
Price return only. Dividends and distributions are not included.
Quick Verdict: TREX vs UFPI
Each card shows where this stock fits in a portfolio — not just who wins on paper.
TREX is the clearest fit if your priority is growth exposure and long-term compounding.
- Rev growth 2.0%, EPS growth -14.8%, 3Y rev CAGR 2.0%
- 239.9% 10Y total return vs UFPI's 230.6%
- 2.0% revenue growth vs UFPI's -5.0%
UFPI carries the broadest edge in this set and is the clearest fit for income & stability and sleep-well-at-night.
- Dividend streak 13 yrs, beta 0.92, yield 1.7%
- Lower volatility, beta 0.92, Low D/E 7.4%, current ratio 4.59x
- PEG 3.49 vs TREX's 7.16
See the full category breakdown
| Category | Winner | Why |
|---|---|---|
| Growth | 2.0% revenue growth vs UFPI's -5.0% | |
| Value | Lower P/E (15.9x vs 24.0x), PEG 3.49 vs 7.16 | |
| Quality / Margins | 16.3% margin vs UFPI's 4.3% | |
| Stability / Safety | Beta 0.92 vs TREX's 1.47, lower leverage | |
| Dividends | 1.7% yield; 13-year raise streak; the other pay no meaningful dividend | |
| Momentum (1Y) | -12.0% vs TREX's -30.8% | |
| Efficiency (ROA) | 12.3% ROA vs UFPI's 6.5%, ROIC 16.4% vs 11.4% |
TREX vs UFPI — Revenue Breakdown by Segment
How each company's revenue is distributed across its business units
Segment breakdown not available.
TREX vs UFPI — Financial Metrics
Side-by-side numbers across 2 stocks — who leads on profitability, valuation, growth, and risk.
Income & Cash Flow (Last 12 Months)
TREX leads this category, winning 6 of 6 comparable metrics.
Income & Cash Flow (Last 12 Months)
UFPI is the larger business by revenue, generating $6.2B annually — 5.3x TREX's $1.2B. TREX is the more profitable business, keeping 16.3% of every revenue dollar as net income compared to UFPI's 4.3%. On growth, TREX holds the edge at +1.0% YoY revenue growth, suggesting stronger near-term business momentum.
| Metric | ||
|---|---|---|
| RevenueTrailing 12 months | $1.2B | $6.2B |
| EBITDAEarnings before interest/tax | $309M | $498M |
| Net IncomeAfter-tax profit | $191M | $264M |
| Free Cash FlowCash after capex | $263M | $298M |
| Gross MarginGross profit ÷ Revenue | +39.2% | +16.6% |
| Operating MarginEBIT ÷ Revenue | +22.1% | +5.4% |
| Net MarginNet income ÷ Revenue | +16.3% | +4.3% |
| FCF MarginFCF ÷ Revenue | +22.3% | +4.8% |
| Rev. Growth (YoY)Latest quarter vs prior year | +1.0% | -8.4% |
| EPS Growth (YoY)Latest quarter vs prior year | +3.6% | -31.5% |
Valuation Metrics
UFPI leads this category, winning 7 of 7 comparable metrics.
Valuation Metrics
At 16.8x trailing earnings, UFPI trades at a 24% valuation discount to TREX's 22.0x P/E. Adjusting for growth (PEG ratio), UFPI offers better value at 3.67x vs TREX's 6.58x — a lower PEG means you pay less per unit of expected earnings growth.
| Metric | ||
|---|---|---|
| Market CapShares × price | $4.1B | $4.8B |
| Enterprise ValueMkt cap + debt − cash | $4.3B | $4.1B |
| Trailing P/EPrice ÷ TTM EPS | 22.00x | 16.77x |
| Forward P/EPrice ÷ next-FY EPS est. | 23.95x | 15.92x |
| PEG RatioP/E ÷ EPS growth rate | 6.58x | 3.67x |
| EV / EBITDAEnterprise value multiple | 13.53x | 7.70x |
| Price / SalesMarket cap ÷ Revenue | 3.51x | 0.75x |
| Price / BookPrice ÷ Book value/share | 4.05x | 1.60x |
| Price / FCFMarket cap ÷ FCF | 30.60x | 17.24x |
Profitability & Efficiency
TREX leads this category, winning 6 of 8 comparable metrics.
Profitability & Efficiency
TREX delivers a 18.8% return on equity — every $100 of shareholder capital generates $19 in annual profit, vs $8 for UFPI. UFPI carries lower financial leverage with a 0.07x debt-to-equity ratio, signaling a more conservative balance sheet compared to TREX's 0.22x. On the Piotroski fundamental quality scale (0–9), TREX scores 6/9 vs UFPI's 4/9, reflecting solid financial health.
| Metric | ||
|---|---|---|
| ROE (TTM)Return on equity | +18.8% | +8.4% |
| ROA (TTM)Return on assets | +12.3% | +6.5% |
| ROICReturn on invested capital | +16.4% | +11.4% |
| ROCEReturn on capital employed | +23.2% | +10.2% |
| Piotroski ScoreFundamental quality 0–9 | 6 | 4 |
| Debt / EquityFinancial leverage | 0.22x | 0.07x |
| Net DebtTotal debt minus cash | $225M | -$695M |
| Cash & Equiv.Liquid assets | $4M | $925M |
| Total DebtShort + long-term debt | $229M | $230M |
| Interest CoverageEBIT ÷ Interest expense | — | 43.92x |
Total Returns (Dividends Reinvested)
UFPI leads this category, winning 4 of 6 comparable metrics.
Total Returns (Dividends Reinvested)
A $10,000 investment in UFPI five years ago would be worth $10,149 today (with dividends reinvested), compared to $3,599 for TREX. Over the past 12 months, UFPI leads with a -12.0% total return vs TREX's -30.8%. The 3-year compound annual growth rate (CAGR) favors UFPI at 2.1% vs TREX's -11.4% — a key indicator of consistent wealth creation.
| Metric | ||
|---|---|---|
| YTD ReturnYear-to-date | +9.3% | -8.6% |
| 1-Year ReturnPast 12 months | -30.8% | -12.0% |
| 3-Year ReturnCumulative with dividends | -30.4% | +6.3% |
| 5-Year ReturnCumulative with dividends | -64.0% | +1.5% |
| 10-Year ReturnCumulative with dividends | +239.9% | +230.6% |
| CAGR (3Y)Annualised 3-year return | -11.4% | +2.1% |
Risk & Volatility
UFPI leads this category, winning 2 of 2 comparable metrics.
Risk & Volatility
UFPI is the less volatile stock with a 0.92 beta — it tends to amplify market swings less than TREX's 1.47 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. UFPI currently trades 71.1% from its 52-week high vs TREX's 56.9% drawdown — a narrower gap to the peak suggests stronger recent price momentum.
| Metric | ||
|---|---|---|
| Beta (5Y)Sensitivity to S&P 500 | 1.47x | 0.92x |
| 52-Week HighHighest price in past year | $68.78 | $118.00 |
| 52-Week LowLowest price in past year | $29.77 | $80.06 |
| % of 52W HighCurrent price vs 52-week peak | +56.9% | +71.1% |
| RSI (14)Momentum oscillator 0–100 | 51.3 | 35.6 |
| Avg Volume (50D)Average daily shares traded | 1.7M | 379K |
Analyst Outlook
UFPI leads this category, winning 1 of 1 comparable metric.
Analyst Outlook
Wall Street rates TREX as "Hold" and UFPI as "Buy". Consensus price targets imply 22.8% upside for UFPI (target: $103) vs 13.6% for TREX (target: $45). UFPI is the only dividend payer here at 1.67% yield — a key consideration for income-focused portfolios.
| Metric | ||
|---|---|---|
| Analyst RatingConsensus buy/hold/sell | Hold | Buy |
| Price TargetConsensus 12-month target | $44.50 | $103.00 |
| # AnalystsCovering analysts | 31 | 8 |
| Dividend YieldAnnual dividend ÷ price | — | +1.7% |
| Dividend StreakConsecutive years of raises | 2 | 13 |
| Dividend / ShareAnnual DPS | — | $1.40 |
| Buyback YieldShare repurchases ÷ mkt cap | +1.3% | +9.1% |
UFPI leads in 4 of 6 categories (Valuation Metrics, Total Returns). TREX leads in 2 (Income & Cash Flow, Profitability & Efficiency).
TREX vs UFPI: Frequently Asked Questions
10 questions · data-driven answers · updated daily
01Is TREX or UFPI a better buy right now?
For growth investors, Trex Company, Inc.
(TREX) is the stronger pick with 2. 0% revenue growth year-over-year, versus -5. 0% for UFP Industries, Inc. (UFPI). UFP Industries, Inc. (UFPI) offers the better valuation at 16. 8x trailing P/E (15. 9x forward), making it the more compelling value choice. Analysts rate UFP Industries, Inc. (UFPI) a "Buy" — based on 8 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.
02Which has the better valuation — TREX or UFPI?
On trailing P/E, UFP Industries, Inc.
(UFPI) is the cheapest at 16. 8x versus Trex Company, Inc. at 22. 0x. On forward P/E, UFP Industries, Inc. is actually cheaper at 15. 9x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: UFP Industries, Inc. wins at 3. 49x versus Trex Company, Inc. 's 7. 16x.
03Which is the better long-term investment — TREX or UFPI?
Over the past 5 years, UFP Industries, Inc.
(UFPI) delivered a total return of +1. 5%, compared to -64. 0% for Trex Company, Inc. (TREX). Over 10 years, the gap is even starker: TREX returned +239. 9% versus UFPI's +230. 6%. Past returns do not guarantee future results, and the stock with the higher historical return may already have its best growth priced in.
04Which is safer — TREX or UFPI?
By beta (market sensitivity over 5 years), UFP Industries, Inc.
(UFPI) is the lower-risk stock at 0. 92β versus Trex Company, Inc. 's 1. 47β — meaning TREX is approximately 59% more volatile than UFPI relative to the S&P 500. On balance sheet safety, UFP Industries, Inc. (UFPI) carries a lower debt/equity ratio of 7% versus 22% for Trex Company, Inc. — giving it more financial flexibility in a downturn.
05Which is growing faster — TREX or UFPI?
By revenue growth (latest reported year), Trex Company, Inc.
(TREX) is pulling ahead at 2. 0% versus -5. 0% for UFP Industries, Inc. (UFPI). On earnings-per-share growth, the picture is similar: Trex Company, Inc. grew EPS -14. 8% year-over-year, compared to -26. 1% for UFP Industries, Inc.. Over a 3-year CAGR, TREX leads at 2. 0% 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.
06Which has better profit margins — TREX or UFPI?
Trex Company, Inc.
(TREX) is the more profitable company, earning 16. 2% net margin versus 4. 7% for UFP Industries, Inc. — meaning it keeps 16. 2% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: TREX leads at 22. 0% versus 5. 8% for UFPI. At the gross margin level — before operating expenses — TREX leads at 39. 2%, 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.
07Is TREX or UFPI 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, UFP Industries, Inc. (UFPI) is the more undervalued stock at a PEG of 3. 49x versus Trex Company, Inc. 's 7. 16x. Both stocks trade at elevated growth-adjusted valuations, so expected growth needs to materialise. On forward earnings alone, UFP Industries, Inc. (UFPI) trades at 15. 9x forward P/E versus 24. 0x for Trex Company, Inc. — 8. 0x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for UFPI: 22. 8% to $103. 00.
08Which pays a better dividend — TREX or UFPI?
In this comparison, UFPI (1.
7% yield) pays a dividend. TREX does not pay a meaningful dividend and should not be held primarily for income.
09Is TREX or UFPI better for a retirement portfolio?
For long-horizon retirement investors, UFP Industries, Inc.
(UFPI) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0. 92), 1. 7% yield, +230. 6% 10Y return). Both have compounded well over 10 years (UFPI: +230. 6%, TREX: +239. 9%), 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.
10What are the main differences between TREX and UFPI?
These companies operate in different sectors (TREX (Industrials) and UFPI (Basic Materials)), which means they face different economic cycles, regulatory environments, and macro sensitivities — making direct comparison nuanced.
In terms of investment character: TREX is a small-cap quality compounder stock; UFPI is a small-cap deep-value stock. UFPI pays a dividend while TREX 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 both.
You Might Also Compare
Based on how these companies actually compete and overlap — not just which sector they're filed under.