Compare Stocks

5 / 10
Try these comparisons:

Stock Comparison

TREX vs LPX vs UFPI vs WY vs HD

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

Live fundamentals10-year financials5-year price chart
TREX
Trex Company, Inc.

Construction

IndustrialsNYSE • US
Market Cap$4.12B
5Y Perf.-34.8%
LPX
Louisiana-Pacific Corporation

Paper, Lumber & Forest Products

Basic MaterialsNYSE • US
Market Cap$5.28B
5Y Perf.+219.9%
UFPI
UFP Industries, Inc.

Paper, Lumber & Forest Products

Basic MaterialsNASDAQ • US
Market Cap$4.76B
5Y Perf.+83.4%
WY
Weyerhaeuser Company

REIT - Specialty

Real EstateNYSE • US
Market Cap$17.09B
5Y Perf.+17.4%
HD
The Home Depot, Inc.

Home Improvement

Consumer CyclicalNYSE • US
Market Cap$320.71B
5Y Perf.+29.8%

TREX vs LPX vs UFPI vs WY vs HD — Key Financials

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

Company Snapshot
TREX logoTREX
LPX logoLPX
UFPI logoUFPI
WY logoWY
HD logoHD
IndustryConstructionPaper, Lumber & Forest ProductsPaper, Lumber & Forest ProductsREIT - SpecialtyHome Improvement
Market Cap$4.12B$5.28B$4.76B$17.09B$320.71B
Revenue (TTM)$1.18B$2.56B$6.19B$6.92B$164.68B
Net Income (TTM)$191M$82M$264M$397M$14.16B
Gross Margin39.2%19.8%16.6%13.4%33.3%
Operating Margin22.1%5.4%5.4%7.7%12.7%
Forward P/E24.0x29.9x15.9x83.6x21.5x
Total Debt$229M$401M$230M$5.57B$19.01B
Cash & Equiv.$4M$292M$925M$464M$1.39B

TREX vs LPX vs UFPI vs WY vs HDLong-Term Stock Performance

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

TREX
LPX
UFPI
WY
HD
StockMay 20May 26Return
Trex Company, Inc. (TREX)10065.2-34.8%
Louisiana-Pacific C… (LPX)100319.9+219.9%
UFP Industries, Inc. (UFPI)100183.4+83.4%
Weyerhaeuser Company (WY)100117.4+17.4%
The Home Depot, Inc. (HD)100129.8+29.8%

Price return only. Dividends and distributions are not included.

Quick Verdict: TREX vs LPX vs UFPI vs WY vs HD

Each card shows where this stock fits in a portfolio — not just who wins on paper.

Bottom line: WY leads in 3 of 7 categories (5-stock set), making it the strongest pick for capital preservation and lower volatility and dividend income and shareholder returns. The Home Depot, Inc. is the stronger pick specifically for growth and revenue expansion and operational efficiency and capital deployment. TREX and UFPI also each lead in at least one category. This set spans 3 sectors — these stocks serve different portfolio roles, not just different price points.
TREX
Trex Company, Inc.
The Quality Compounder

TREX ranks third and is worth considering specifically for quality.

  • 16.3% margin vs LPX's 3.2%
Best for: quality
LPX
Louisiana-Pacific Corporation
The Long-Run Compounder

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

  • 346.8% 10Y total return vs UFPI's 230.6%
Best for: long-term compounding
UFPI
UFP Industries, Inc.
The Defensive Pick

UFPI is the clearest fit if your priority is sleep-well-at-night and valuation efficiency.

  • Lower volatility, beta 0.92, Low D/E 7.4%, current ratio 4.59x
  • PEG 3.49 vs TREX's 7.16
  • Lower P/E (15.9x vs 21.5x), PEG 3.49 vs 6.01
Best for: sleep-well-at-night and valuation efficiency
WY
Weyerhaeuser Company
The Real Estate Income Play

WY carries the broadest edge in this set and is the clearest fit for defensive.

  • Beta 0.51, yield 3.5%, current ratio 1.29x
  • Beta 0.51 vs TREX's 1.47
  • 3.5% yield, vs HD's 2.8%, (1 stock pays no dividend)
  • -5.0% vs TREX's -30.8%
Best for: defensive
HD
The Home Depot, Inc.
The Income Pick

HD is the #2 pick in this set and the best alternative if income & stability and growth exposure is your priority.

  • Dividend streak 16 yrs, beta 0.84, yield 2.8%
  • Rev growth 3.2%, EPS growth -4.6%, 3Y rev CAGR 1.5%
  • 3.2% revenue growth vs LPX's -7.9%
  • 13.5% ROA vs WY's 2.4%, ROIC 32.1% vs 2.4%
Best for: income & stability and growth exposure
See the full category breakdown
CategoryWinnerWhy
GrowthHD logoHD3.2% revenue growth vs LPX's -7.9%
ValueUFPI logoUFPILower P/E (15.9x vs 21.5x), PEG 3.49 vs 6.01
Quality / MarginsTREX logoTREX16.3% margin vs LPX's 3.2%
Stability / SafetyWY logoWYBeta 0.51 vs TREX's 1.47
DividendsWY logoWY3.5% yield, vs HD's 2.8%, (1 stock pays no dividend)
Momentum (1Y)WY logoWY-5.0% vs TREX's -30.8%
Efficiency (ROA)HD logoHD13.5% ROA vs WY's 2.4%, ROIC 32.1% vs 2.4%

TREX vs LPX vs UFPI vs WY vs HD — Revenue Breakdown by Segment

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

TREXTrex Company, Inc.

Segment breakdown not available.

LPXLouisiana-Pacific Corporation
FY 2025
Siding
67.0%$1.7B
OSB
33.0%$832M
UFPIUFP Industries, Inc.
FY 2025
Retail
40.3%$2.4B
Site Built
33.2%$2.0B
Industrial
26.5%$1.6B
WYWeyerhaeuser Company
FY 2025
Wood Products
66.1%$5.0B
Timberlands
27.8%$2.1B
R E E N R
6.1%$454M
HDThe Home Depot, Inc.
FY 2024
Major Product Line - Building Materials
33.1%$52.8B
Major Product Line, Décor
32.5%$51.8B
Major Product Line - Hardlines
30.4%$48.6B
Other Segment
4.0%$6.4B

TREX vs LPX vs UFPI vs WY vs HD — Financial Metrics

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

BEST OVERALLTREXLAGGINGHD

Income & Cash Flow (Last 12 Months)

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

HD is the larger business by revenue, generating $164.7B annually — 139.8x TREX's $1.2B. TREX is the more profitable business, keeping 16.3% of every revenue dollar as net income compared to LPX's 3.2%. On growth, TREX holds the edge at +1.0% YoY revenue growth, suggesting stronger near-term business momentum.

MetricTREX logoTREXTrex Company, Inc.LPX logoLPXLouisiana-Pacific…UFPI logoUFPIUFP Industries, I…WY logoWYWeyerhaeuser Comp…HD logoHDThe Home Depot, I…
RevenueTrailing 12 months$1.2B$2.6B$6.2B$6.9B$164.7B
EBITDAEarnings before interest/tax$309M$246M$498M$1.0B$24.2B
Net IncomeAfter-tax profit$191M$82M$264M$397M$14.2B
Free Cash FlowCash after capex$263M-$7M$298M$516M$12.6B
Gross MarginGross profit ÷ Revenue+39.2%+19.8%+16.6%+13.4%+33.3%
Operating MarginEBIT ÷ Revenue+22.1%+5.4%+5.4%+7.7%+12.7%
Net MarginNet income ÷ Revenue+16.3%+3.2%+4.3%+5.7%+8.6%
FCF MarginFCF ÷ Revenue+22.3%-0.3%+4.8%+7.5%+7.7%
Rev. Growth (YoY)Latest quarter vs prior year+1.0%-20.7%-8.4%-2.0%-3.8%
EPS Growth (YoY)Latest quarter vs prior year+3.6%-70.0%-31.5%+100.0%-14.6%
TREX leads this category, winning 5 of 6 comparable metrics.

Valuation Metrics

UFPI leads this category, winning 7 of 7 comparable metrics.

At 16.8x trailing earnings, UFPI trades at a 68% valuation discount to WY's 52.7x 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.

MetricTREX logoTREXTrex Company, Inc.LPX logoLPXLouisiana-Pacific…UFPI logoUFPIUFP Industries, I…WY logoWYWeyerhaeuser Comp…HD logoHDThe Home Depot, I…
Market CapShares × price$4.1B$5.3B$4.8B$17.1B$320.7B
Enterprise ValueMkt cap + debt − cash$4.3B$5.4B$4.1B$22.2B$338.3B
Trailing P/EPrice ÷ TTM EPS22.00x36.32x16.77x52.67x22.67x
Forward P/EPrice ÷ next-FY EPS est.23.95x29.89x15.92x83.63x21.47x
PEG RatioP/E ÷ EPS growth rate6.58x3.67x6.35x
EV / EBITDAEnterprise value multiple13.53x13.33x7.70x22.79x14.00x
Price / SalesMarket cap ÷ Revenue3.51x1.95x0.75x2.47x1.95x
Price / BookPrice ÷ Book value/share4.05x3.05x1.60x1.81x25.11x
Price / FCFMarket cap ÷ FCF30.60x57.98x17.24x194.19x25.36x
UFPI leads this category, winning 7 of 7 comparable metrics.

Profitability & Efficiency

HD leads this category, winning 4 of 9 comparable metrics.

HD delivers a 110.5% return on equity — every $100 of shareholder capital generates $110 in annual profit, vs $4 for WY. UFPI carries lower financial leverage with a 0.07x debt-to-equity ratio, signaling a more conservative balance sheet compared to HD's 1.48x. On the Piotroski fundamental quality scale (0–9), TREX scores 6/9 vs HD's 4/9, reflecting solid financial health.

MetricTREX logoTREXTrex Company, Inc.LPX logoLPXLouisiana-Pacific…UFPI logoUFPIUFP Industries, I…WY logoWYWeyerhaeuser Comp…HD logoHDThe Home Depot, I…
ROE (TTM)Return on equity+18.8%+4.7%+8.4%+4.2%+110.5%
ROA (TTM)Return on assets+12.3%+3.1%+6.5%+2.4%+13.5%
ROICReturn on invested capital+16.4%+10.9%+11.4%+2.4%+32.1%
ROCEReturn on capital employed+23.2%+11.3%+10.2%+3.0%+29.8%
Piotroski ScoreFundamental quality 0–965444
Debt / EquityFinancial leverage0.22x0.23x0.07x0.59x1.48x
Net DebtTotal debt minus cash$225M$109M-$695M$5.1B$17.6B
Cash & Equiv.Liquid assets$4M$292M$925M$464M$1.4B
Total DebtShort + long-term debt$229M$401M$230M$5.6B$19.0B
Interest CoverageEBIT ÷ Interest expense11.67x43.92x1.95x8.71x
HD leads this category, winning 4 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

LPX leads this category, winning 4 of 6 comparable metrics.

A $10,000 investment in LPX five years ago would be worth $11,049 today (with dividends reinvested), compared to $3,599 for TREX. Over the past 12 months, WY leads with a -5.0% total return vs TREX's -30.8%. The 3-year compound annual growth rate (CAGR) favors LPX at 7.6% vs TREX's -11.4% — a key indicator of consistent wealth creation.

MetricTREX logoTREXTrex Company, Inc.LPX logoLPXLouisiana-Pacific…UFPI logoUFPIUFP Industries, I…WY logoWYWeyerhaeuser Comp…HD logoHDThe Home Depot, I…
YTD ReturnYear-to-date+9.3%-7.2%-8.6%+0.5%-6.0%
1-Year ReturnPast 12 months-30.8%-14.5%-12.0%-5.0%-8.5%
3-Year ReturnCumulative with dividends-30.4%+24.6%+6.3%-11.7%+21.4%
5-Year ReturnCumulative with dividends-64.0%+10.5%+1.5%-23.7%+7.3%
10-Year ReturnCumulative with dividends+239.9%+346.8%+230.6%+16.5%+184.0%
CAGR (3Y)Annualised 3-year return-11.4%+7.6%+2.1%-4.1%+6.7%
LPX leads this category, winning 4 of 6 comparable metrics.

Risk & Volatility

WY leads this category, winning 2 of 2 comparable metrics.

WY is the less volatile stock with a 0.51 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. WY currently trades 85.1% from its 52-week high vs TREX's 56.9% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricTREX logoTREXTrex Company, Inc.LPX logoLPXLouisiana-Pacific…UFPI logoUFPIUFP Industries, I…WY logoWYWeyerhaeuser Comp…HD logoHDThe Home Depot, I…
Beta (5Y)Sensitivity to S&P 5001.47x1.20x0.92x0.51x0.84x
52-Week HighHighest price in past year$68.78$102.86$118.00$27.86$426.75
52-Week LowLowest price in past year$29.77$66.68$80.06$21.16$310.42
% of 52W HighCurrent price vs 52-week peak+56.9%+73.4%+71.1%+85.1%+75.6%
RSI (14)Momentum oscillator 0–10051.347.635.645.543.1
Avg Volume (50D)Average daily shares traded1.7M1.0M379K5.0M3.6M
WY leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

Evenly matched — WY and HD each lead in 1 of 2 comparable metrics.

Analyst consensus: TREX as "Hold", LPX as "Buy", UFPI as "Buy", WY as "Buy", HD as "Buy". Consensus price targets imply 35.0% upside for LPX (target: $102) vs 13.6% for TREX (target: $45). For income investors, WY offers the higher dividend yield at 3.54% vs LPX's 1.48%.

MetricTREX logoTREXTrex Company, Inc.LPX logoLPXLouisiana-Pacific…UFPI logoUFPIUFP Industries, I…WY logoWYWeyerhaeuser Comp…HD logoHDThe Home Depot, I…
Analyst RatingConsensus buy/hold/sellHoldBuyBuyBuyBuy
Price TargetConsensus 12-month target$44.50$102.00$103.00$29.83$408.08
# AnalystsCovering analysts312382562
Dividend YieldAnnual dividend ÷ price+1.5%+1.7%+3.5%+2.8%
Dividend StreakConsecutive years of raises2813016
Dividend / ShareAnnual DPS$1.11$1.40$0.84$9.18
Buyback YieldShare repurchases ÷ mkt cap+1.3%+1.2%+9.1%+0.9%0.0%
Evenly matched — WY and HD each lead in 1 of 2 comparable metrics.
Key Takeaway

TREX leads in 1 of 6 categories (Income & Cash Flow). UFPI leads in 1 (Valuation Metrics). 1 tied.

Best OverallTrex Company, Inc. (TREX)Leads 1 of 6 categories
Loading custom metrics...

TREX vs LPX vs UFPI vs WY vs HD: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is TREX or LPX or UFPI or WY or HD a better buy right now?

For growth investors, The Home Depot, Inc.

(HD) is the stronger pick with 3. 2% revenue growth year-over-year, versus -7. 9% for Louisiana-Pacific Corporation (LPX). 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 Louisiana-Pacific Corporation (LPX) a "Buy" — based on 23 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 — TREX or LPX or UFPI or WY or HD?

On trailing P/E, UFP Industries, Inc.

(UFPI) is the cheapest at 16. 8x versus Weyerhaeuser Company at 52. 7x. 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.

03

Which is the better long-term investment — TREX or LPX or UFPI or WY or HD?

Over the past 5 years, Louisiana-Pacific Corporation (LPX) delivered a total return of +10.

5%, compared to -64. 0% for Trex Company, Inc. (TREX). Over 10 years, the gap is even starker: LPX returned +346. 8% versus WY's +16. 5%. 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 — TREX or LPX or UFPI or WY or HD?

By beta (market sensitivity over 5 years), Weyerhaeuser Company (WY) is the lower-risk stock at 0.

51β versus Trex Company, Inc. 's 1. 47β — meaning TREX is approximately 186% more volatile than WY relative to the S&P 500. On balance sheet safety, UFP Industries, Inc. (UFPI) carries a lower debt/equity ratio of 7% versus 148% for The Home Depot, Inc. — giving it more financial flexibility in a downturn.

05

Which is growing faster — TREX or LPX or UFPI or WY or HD?

By revenue growth (latest reported year), The Home Depot, Inc.

(HD) is pulling ahead at 3. 2% versus -7. 9% for Louisiana-Pacific Corporation (LPX). On earnings-per-share growth, the picture is similar: The Home Depot, Inc. grew EPS -4. 6% year-over-year, compared to -64. 7% for Louisiana-Pacific Corporation. 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.

06

Which has better profit margins — TREX or LPX or UFPI or WY or HD?

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.

07

Is TREX or LPX or UFPI or WY or HD 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 83. 6x for Weyerhaeuser Company — 67. 7x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for LPX: 35. 0% to $102. 00.

08

Which pays a better dividend — TREX or LPX or UFPI or WY or HD?

In this comparison, WY (3.

5% yield), HD (2. 8% yield), UFPI (1. 7% yield), LPX (1. 5% yield) pay a dividend. TREX does not pay a meaningful dividend and should not be held primarily for income.

09

Is TREX or LPX or UFPI or WY or HD better for a retirement portfolio?

For long-horizon retirement investors, Weyerhaeuser Company (WY) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0.

51), 3. 5% yield). Both have compounded well over 10 years (WY: +16. 5%, 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.

10

What are the main differences between TREX and LPX and UFPI and WY and HD?

These companies operate in different sectors (TREX (Industrials) and LPX (Basic Materials) and UFPI (Basic Materials) and WY (Real Estate) and HD (Consumer Cyclical)), 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; LPX is a small-cap quality compounder stock; UFPI is a small-cap deep-value stock; WY is a mid-cap income-oriented stock; HD is a large-cap quality compounder stock. LPX, UFPI, WY, HD pay 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 all of them.

Stocks Like

TREX

Quality Business

  • Sector: Industrials
  • Market Cap > $100B
  • Net Margin > 9%
Run This Screen
Stocks Like

LPX

Stable Dividend Mega-Cap

  • Sector: Basic Materials
  • Market Cap > $100B
  • Dividend Yield > 0.5%
Run This Screen
Stocks Like

UFPI

Income & Dividend Stock

  • Sector: Basic Materials
  • Market Cap > $100B
  • Dividend Yield > 0.6%
Run This Screen
Stocks Like

WY

Income & Dividend Stock

  • Sector: Real Estate
  • Market Cap > $100B
  • Net Margin > 5%
  • Dividend Yield > 1.4%
Run This Screen
Stocks Like

HD

Income & Dividend Stock

  • Sector: Consumer Cyclical
  • Market Cap > $100B
  • Net Margin > 5%
  • Dividend Yield > 1.1%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform TREX and LPX and UFPI and WY and HD on the metrics below

Revenue Growth>
%
(TREX: 1.0% · LPX: -20.7%)
Net Margin>
%
(TREX: 16.3% · LPX: 3.2%)
P/E Ratio<
x
(TREX: 22.0x · LPX: 36.3x)

You Might Also Compare

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