Compare Stocks

4 / 10
Try these comparisons:

Stock Comparison

BLDR vs TREX vs HD vs DHI

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

Live fundamentals10-year financials5-year price chart
BLDR
Builders FirstSource, Inc.

Construction

IndustrialsNYSE • US
Market Cap$8.79B
5Y Perf.+281.9%
TREX
Trex Company, Inc.

Construction

IndustrialsNYSE • US
Market Cap$4.12B
5Y Perf.-34.8%
HD
The Home Depot, Inc.

Home Improvement

Consumer CyclicalNYSE • US
Market Cap$320.71B
5Y Perf.+29.8%
DHI
D.R. Horton, Inc.

Residential Construction

Consumer CyclicalNYSE • US
Market Cap$42.29B
5Y Perf.+164.0%

BLDR vs TREX vs HD vs DHI — Key Financials

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

Company Snapshot
BLDR logoBLDR
TREX logoTREX
HD logoHD
DHI logoDHI
IndustryConstructionConstructionHome ImprovementResidential Construction
Market Cap$8.79B$4.12B$320.71B$42.29B
Revenue (TTM)$14.82B$1.18B$164.68B$33.35B
Net Income (TTM)$292M$191M$14.16B$3.17B
Gross Margin29.9%39.2%33.3%22.8%
Operating Margin4.2%22.1%12.7%11.8%
Forward P/E14.1x24.0x21.5x13.7x
Total Debt$5.65B$229M$19.01B$6.03B
Cash & Equiv.$182M$4M$1.39B$2.99B

BLDR vs TREX vs HD vs DHILong-Term Stock Performance

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

BLDR
TREX
HD
DHI
StockMay 20May 26Return
Builders FirstSourc… (BLDR)100381.9+281.9%
Trex Company, Inc. (TREX)10065.2-34.8%
The Home Depot, Inc. (HD)100129.8+29.8%
D.R. Horton, Inc. (DHI)100264.0+164.0%

Price return only. Dividends and distributions are not included.

Quick Verdict: BLDR vs TREX vs HD vs DHI

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

Bottom line: HD leads in 4 of 7 categories, making it the strongest pick for growth and revenue expansion and capital preservation and lower volatility. D.R. Horton, Inc. is the stronger pick specifically for valuation and capital efficiency and recent price momentum and sentiment. TREX also leads in specific categories worth noting. This set spans 2 sectors — these stocks serve different portfolio roles, not just different price points.
BLDR
Builders FirstSource, Inc.
The Long-Run Compounder

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

  • 6.1% 10Y total return vs DHI's 424.3%
Best for: long-term compounding
TREX
Trex Company, Inc.
The Quality Compounder

TREX is the clearest fit if your priority is quality.

  • 16.3% margin vs BLDR's 2.0%
Best for: quality
HD
The Home Depot, Inc.
The Income Pick

HD carries the broadest edge in this set and is the clearest fit for income & stability and growth exposure.

  • Dividend streak 16 yrs, beta 0.84, yield 2.8%
  • Rev growth 3.2%, EPS growth -4.6%, 3Y rev CAGR 1.5%
  • Beta 0.84, yield 2.8%, current ratio 1.06x
  • 3.2% revenue growth vs BLDR's -7.4%
Best for: income & stability and growth exposure
DHI
D.R. Horton, Inc.
The Defensive Pick

DHI is the #2 pick in this set and the best alternative if sleep-well-at-night and valuation efficiency is your priority.

  • Lower volatility, beta 0.85, Low D/E 24.4%, current ratio 17.39x
  • PEG 1.09 vs TREX's 7.16
  • Lower P/E (13.7x vs 21.5x), PEG 1.09 vs 6.01
  • +20.3% vs TREX's -30.8%
Best for: sleep-well-at-night and valuation efficiency
See the full category breakdown
CategoryWinnerWhy
GrowthHD logoHD3.2% revenue growth vs BLDR's -7.4%
ValueDHI logoDHILower P/E (13.7x vs 21.5x), PEG 1.09 vs 6.01
Quality / MarginsTREX logoTREX16.3% margin vs BLDR's 2.0%
Stability / SafetyHD logoHDBeta 0.84 vs BLDR's 1.65
DividendsHD logoHD2.8% yield, 16-year raise streak, vs DHI's 1.1%, (2 stocks pay no dividend)
Momentum (1Y)DHI logoDHI+20.3% vs TREX's -30.8%
Efficiency (ROA)HD logoHD13.5% ROA vs BLDR's 2.6%, ROIC 32.1% vs 6.4%

BLDR vs TREX vs HD vs DHI — Revenue Breakdown by Segment

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

BLDRBuilders FirstSource, Inc.
FY 2025
Specialty Building Products And Services
26.8%$4.1B
Lumber And Lumber Sheet Goods
25.5%$3.9B
Windows Doors And Millwork
25.3%$3.8B
Manufactured Products
22.5%$3.4B
TREXTrex Company, Inc.

Segment breakdown not available.

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
DHID.R. Horton, Inc.
FY 2025
Homebuilding
91.9%$31.5B
Forestar Group
4.8%$1.7B
Rental
4.8%$1.6B
Financial Services
2.5%$841M
Eliminations and Other
-4.0%$-1,364,600,000

BLDR vs TREX vs HD vs DHI — Financial Metrics

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

BEST OVERALLDHILAGGINGBLDR

Income & Cash Flow (Last 12 Months)

TREX leads this category, winning 6 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 BLDR's 2.0%. On growth, TREX holds the edge at +1.0% YoY revenue growth, suggesting stronger near-term business momentum.

MetricBLDR logoBLDRBuilders FirstSou…TREX logoTREXTrex Company, Inc.HD logoHDThe Home Depot, I…DHI logoDHID.R. Horton, Inc.
RevenueTrailing 12 months$14.8B$1.2B$164.7B$33.3B
EBITDAEarnings before interest/tax$1.2B$309M$24.2B$4.0B
Net IncomeAfter-tax profit$292M$191M$14.2B$3.2B
Free Cash FlowCash after capex$862M$263M$12.6B$3.5B
Gross MarginGross profit ÷ Revenue+29.9%+39.2%+33.3%+22.8%
Operating MarginEBIT ÷ Revenue+4.2%+22.1%+12.7%+11.8%
Net MarginNet income ÷ Revenue+2.0%+16.3%+8.6%+9.5%
FCF MarginFCF ÷ Revenue+5.8%+22.3%+7.7%+10.5%
Rev. Growth (YoY)Latest quarter vs prior year-10.1%+1.0%-3.8%-2.3%
EPS Growth (YoY)Latest quarter vs prior year-151.2%+3.6%-14.6%-13.2%
TREX leads this category, winning 6 of 6 comparable metrics.

Valuation Metrics

DHI leads this category, winning 5 of 7 comparable metrics.

At 12.6x trailing earnings, DHI trades at a 44% valuation discount to HD's 22.7x P/E. Adjusting for growth (PEG ratio), DHI offers better value at 1.01x vs TREX's 6.58x — a lower PEG means you pay less per unit of expected earnings growth.

MetricBLDR logoBLDRBuilders FirstSou…TREX logoTREXTrex Company, Inc.HD logoHDThe Home Depot, I…DHI logoDHID.R. Horton, Inc.
Market CapShares × price$8.8B$4.1B$320.7B$42.3B
Enterprise ValueMkt cap + debt − cash$14.3B$4.3B$338.3B$45.3B
Trailing P/EPrice ÷ TTM EPS20.43x22.00x22.67x12.62x
Forward P/EPrice ÷ next-FY EPS est.14.07x23.95x21.47x13.71x
PEG RatioP/E ÷ EPS growth rate2.59x6.58x6.35x1.01x
EV / EBITDAEnterprise value multiple10.35x13.53x14.00x10.02x
Price / SalesMarket cap ÷ Revenue0.58x3.51x1.95x1.23x
Price / BookPrice ÷ Book value/share2.04x4.05x25.11x1.83x
Price / FCFMarket cap ÷ FCF10.30x30.60x25.36x12.88x
DHI leads this category, winning 5 of 7 comparable metrics.

Profitability & Efficiency

Evenly matched — TREX and HD each lead in 4 of 9 comparable metrics.

HD delivers a 110.5% return on equity — every $100 of shareholder capital generates $110 in annual profit, vs $7 for BLDR. TREX carries lower financial leverage with a 0.22x 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 DHI's 4/9, reflecting solid financial health.

MetricBLDR logoBLDRBuilders FirstSou…TREX logoTREXTrex Company, Inc.HD logoHDThe Home Depot, I…DHI logoDHID.R. Horton, Inc.
ROE (TTM)Return on equity+6.9%+18.8%+110.5%+12.9%
ROA (TTM)Return on assets+2.6%+12.3%+13.5%+8.9%
ROICReturn on invested capital+6.4%+16.4%+32.1%+12.1%
ROCEReturn on capital employed+8.5%+23.2%+29.8%+13.1%
Piotroski ScoreFundamental quality 0–95644
Debt / EquityFinancial leverage1.30x0.22x1.48x0.24x
Net DebtTotal debt minus cash$5.5B$225M$17.6B$3.0B
Cash & Equiv.Liquid assets$182M$4M$1.4B$3.0B
Total DebtShort + long-term debt$5.6B$229M$19.0B$6.0B
Interest CoverageEBIT ÷ Interest expense2.19x8.71x44.09x
Evenly matched — TREX and HD each lead in 4 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

DHI leads this category, winning 3 of 6 comparable metrics.

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

MetricBLDR logoBLDRBuilders FirstSou…TREX logoTREXTrex Company, Inc.HD logoHDThe Home Depot, I…DHI logoDHID.R. Horton, Inc.
YTD ReturnYear-to-date-24.0%+9.3%-6.0%+0.8%
1-Year ReturnPast 12 months-25.0%-30.8%-8.5%+20.3%
3-Year ReturnCumulative with dividends-30.1%-30.4%+21.4%+38.6%
5-Year ReturnCumulative with dividends+51.8%-64.0%+7.3%+46.7%
10-Year ReturnCumulative with dividends+614.8%+239.9%+184.0%+424.3%
CAGR (3Y)Annualised 3-year return-11.2%-11.4%+6.7%+11.5%
DHI leads this category, winning 3 of 6 comparable metrics.

Risk & Volatility

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

HD is the less volatile stock with a 0.84 beta — it tends to amplify market swings less than BLDR's 1.65 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. DHI currently trades 79.1% from its 52-week high vs BLDR's 52.6% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricBLDR logoBLDRBuilders FirstSou…TREX logoTREXTrex Company, Inc.HD logoHDThe Home Depot, I…DHI logoDHID.R. Horton, Inc.
Beta (5Y)Sensitivity to S&P 5001.65x1.47x0.84x0.85x
52-Week HighHighest price in past year$151.03$68.78$426.75$184.55
52-Week LowLowest price in past year$73.40$29.77$310.42$114.17
% of 52W HighCurrent price vs 52-week peak+52.6%+56.9%+75.6%+79.1%
RSI (14)Momentum oscillator 0–10042.851.343.149.6
Avg Volume (50D)Average daily shares traded2.4M1.7M3.6M2.6M
Evenly matched — HD and DHI each lead in 1 of 2 comparable metrics.

Analyst Outlook

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

Analyst consensus: BLDR as "Buy", TREX as "Hold", HD as "Buy", DHI as "Hold". Consensus price targets imply 38.3% upside for BLDR (target: $110) vs 12.3% for DHI (target: $164). For income investors, HD offers the higher dividend yield at 2.84% vs DHI's 1.09%.

MetricBLDR logoBLDRBuilders FirstSou…TREX logoTREXTrex Company, Inc.HD logoHDThe Home Depot, I…DHI logoDHID.R. Horton, Inc.
Analyst RatingConsensus buy/hold/sellBuyHoldBuyHold
Price TargetConsensus 12-month target$109.92$44.50$408.08$163.86
# AnalystsCovering analysts43316252
Dividend YieldAnnual dividend ÷ price+2.8%+1.1%
Dividend StreakConsecutive years of raises221611
Dividend / ShareAnnual DPS$9.18$1.60
Buyback YieldShare repurchases ÷ mkt cap+4.7%+1.3%0.0%+10.1%
HD leads this category, winning 2 of 2 comparable metrics.
Key Takeaway

DHI leads in 2 of 6 categories (Valuation Metrics, Total Returns). TREX leads in 1 (Income & Cash Flow). 2 tied.

Best OverallD.R. Horton, Inc. (DHI)Leads 2 of 6 categories
Loading custom metrics...

BLDR vs TREX vs HD vs DHI: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is BLDR or TREX or HD or DHI 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. 4% for Builders FirstSource, Inc. (BLDR). D. R. Horton, Inc. (DHI) offers the better valuation at 12. 6x trailing P/E (13. 7x forward), making it the more compelling value choice. Analysts rate Builders FirstSource, Inc. (BLDR) a "Buy" — based on 43 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 — BLDR or TREX or HD or DHI?

On trailing P/E, D.

R. Horton, Inc. (DHI) is the cheapest at 12. 6x versus The Home Depot, Inc. at 22. 7x. On forward P/E, D. R. Horton, Inc. is actually cheaper at 13. 7x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: D. R. Horton, Inc. wins at 1. 09x versus Trex Company, Inc. 's 7. 16x — a reasonable growth-adjusted valuation.

03

Which is the better long-term investment — BLDR or TREX or HD or DHI?

Over the past 5 years, Builders FirstSource, Inc.

(BLDR) delivered a total return of +51. 8%, compared to -64. 0% for Trex Company, Inc. (TREX). Over 10 years, the gap is even starker: BLDR returned +614. 8% versus HD's +184. 0%. 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 — BLDR or TREX or HD or DHI?

By beta (market sensitivity over 5 years), The Home Depot, Inc.

(HD) is the lower-risk stock at 0. 84β versus Builders FirstSource, Inc. 's 1. 65β — meaning BLDR is approximately 98% more volatile than HD relative to the S&P 500. On balance sheet safety, Trex Company, Inc. (TREX) carries a lower debt/equity ratio of 22% versus 148% for The Home Depot, Inc. — giving it more financial flexibility in a downturn.

05

Which is growing faster — BLDR or TREX or HD or DHI?

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

(HD) is pulling ahead at 3. 2% versus -7. 4% for Builders FirstSource, Inc. (BLDR). On earnings-per-share growth, the picture is similar: The Home Depot, Inc. grew EPS -4. 6% year-over-year, compared to -57. 1% for Builders FirstSource, 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.

06

Which has better profit margins — BLDR or TREX or HD or DHI?

Trex Company, Inc.

(TREX) is the more profitable company, earning 16. 2% net margin versus 2. 9% for Builders FirstSource, 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. 2% for BLDR. 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 BLDR or TREX or HD or DHI 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, D. R. Horton, Inc. (DHI) is the more undervalued stock at a PEG of 1. 09x versus Trex Company, Inc. 's 7. 16x. A PEG below 1. 5 suggests fair-to-attractive pricing relative to expected growth. On forward earnings alone, D. R. Horton, Inc. (DHI) trades at 13. 7x forward P/E versus 24. 0x for Trex Company, Inc. — 10. 2x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for BLDR: 38. 3% to $109. 92.

08

Which pays a better dividend — BLDR or TREX or HD or DHI?

In this comparison, HD (2.

8% yield), DHI (1. 1% yield) pay a dividend. BLDR, TREX do not pay a meaningful dividend and should not be held primarily for income.

09

Is BLDR or TREX or HD or DHI better for a retirement portfolio?

For long-horizon retirement investors, D.

R. Horton, Inc. (DHI) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0. 85), 1. 1% yield, +424. 3% 10Y return). Both have compounded well over 10 years (DHI: +424. 3%, 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 BLDR and TREX and HD and DHI?

These companies operate in different sectors (BLDR (Industrials) and TREX (Industrials) and HD (Consumer Cyclical) and DHI (Consumer Cyclical)), which means they face different economic cycles, regulatory environments, and macro sensitivities — making direct comparison nuanced.

In terms of investment character: BLDR is a small-cap quality compounder stock; TREX is a small-cap quality compounder stock; HD is a large-cap quality compounder stock; DHI is a mid-cap deep-value stock. HD, DHI pay a dividend while BLDR, TREX do 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

BLDR

Quality Business

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

TREX

Quality Business

  • Sector: Industrials
  • Market Cap > $100B
  • Net Margin > 9%
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
Stocks Like

DHI

Stable Dividend Mega-Cap

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

Beat Both

Find stocks that outperform BLDR and TREX and HD and DHI on the metrics below

Revenue Growth>
%
(BLDR: -10.1% · TREX: 1.0%)
P/E Ratio<
x
(BLDR: 20.4x · TREX: 22.0x)

You Might Also Compare

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