Compare Stocks

5 / 10
Try these comparisons:

Stock Comparison

SGD vs BLDR vs IBP vs TREX vs DHI

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

Live fundamentals10-year financials5-year price chart
SGD
Safe and Green Development Corporation

Real Estate - Development

Real EstateNASDAQ • US
Market Cap$155K
5Y Perf.-99.4%
BLDR
Builders FirstSource, Inc.

Construction

IndustrialsNYSE • US
Market Cap$8.79B
5Y Perf.-8.1%
IBP
Installed Building Products, Inc.

Residential Construction

Consumer CyclicalNYSE • US
Market Cap$5.84B
5Y Perf.+130.7%
TREX
Trex Company, Inc.

Construction

IndustrialsNYSE • US
Market Cap$4.12B
5Y Perf.-32.8%
DHI
D.R. Horton, Inc.

Residential Construction

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

SGD vs BLDR vs IBP vs TREX vs DHI — Key Financials

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

Company Snapshot
SGD logoSGD
BLDR logoBLDR
IBP logoIBP
TREX logoTREX
DHI logoDHI
IndustryReal Estate - DevelopmentConstructionResidential ConstructionConstructionResidential Construction
Market Cap$155K$8.79B$5.84B$4.12B$42.29B
Revenue (TTM)$5M$14.82B$2.95B$1.18B$33.35B
Net Income (TTM)$-14M$292M$255M$191M$3.17B
Gross Margin16.6%29.9%33.9%39.2%22.8%
Operating Margin-186.2%4.2%12.7%22.1%11.8%
Forward P/E14.1x19.5x24.0x13.7x
Total Debt$10M$5.65B$1.05B$229M$6.03B
Cash & Equiv.$296K$182M$322M$4M$2.99B

SGD vs BLDR vs IBP vs TREX vs DHILong-Term Stock Performance

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

SGD
BLDR
IBP
TREX
DHI
StockSep 23Feb 26Return
Safe and Green Deve… (SGD)1000.6-99.4%
Builders FirstSourc… (BLDR)10091.9-8.1%
Installed Building … (IBP)100230.7+130.7%
Trex Company, Inc. (TREX)10067.2-32.8%
D.R. Horton, Inc. (DHI)100138.5+38.5%

Price return only. Dividends and distributions are not included.

Quick Verdict: SGD vs BLDR vs IBP vs TREX vs DHI

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

Bottom line: IBP leads in 3 of 7 categories (5-stock set), making it the strongest pick for valuation and capital efficiency and dividend income and shareholder returns. Trex Company, Inc. is the stronger pick specifically for profitability and margin quality and operational efficiency and capital deployment. SGD and DHI also each lead in at least one category. This set spans 3 sectors — these stocks serve different portfolio roles, not just different price points.
SGD
Safe and Green Development Corporation
The Real Estate Income Play

SGD ranks third and is worth considering specifically for growth.

  • 27.7% FFO/revenue growth vs BLDR's -7.4%
Best for: growth
BLDR
Builders FirstSource, Inc.
The Value Angle

Among these 5 stocks, BLDR doesn't own a clear edge in any measured category.

Best for: industrials exposure
IBP
Installed Building Products, Inc.
The Income Pick

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

  • Dividend streak 5 yrs, beta 1.19, yield 1.5%
  • Rev growth 1.0%, EPS growth 6.7%, 3Y rev CAGR 3.6%
  • 6.5% 10Y total return vs BLDR's 6.1%
  • PEG 0.80 vs TREX's 7.16
Best for: income & stability and growth exposure
TREX
Trex Company, Inc.
The Quality Compounder

TREX is the #2 pick in this set and the best alternative if quality and efficiency is your priority.

  • 16.3% margin vs SGD's -277.3%
  • 12.3% ROA vs SGD's -35.9%, ROIC 16.4% vs -50.6%
Best for: quality and efficiency
DHI
D.R. Horton, Inc.
The Defensive Pick

DHI is the clearest fit if your priority is sleep-well-at-night.

  • Lower volatility, beta 0.85, Low D/E 24.4%, current ratio 17.39x
  • Beta 0.85 vs SGD's 1.69, lower leverage
Best for: sleep-well-at-night
See the full category breakdown
CategoryWinnerWhy
GrowthSGD logoSGD27.7% FFO/revenue growth vs BLDR's -7.4%
ValueIBP logoIBPLower P/E (19.5x vs 24.0x), PEG 0.80 vs 7.16
Quality / MarginsTREX logoTREX16.3% margin vs SGD's -277.3%
Stability / SafetyDHI logoDHIBeta 0.85 vs SGD's 1.69, lower leverage
DividendsIBP logoIBP1.5% yield, 5-year raise streak, vs DHI's 1.1%, (3 stocks pay no dividend)
Momentum (1Y)IBP logoIBP+34.0% vs SGD's -80.4%
Efficiency (ROA)TREX logoTREX12.3% ROA vs SGD's -35.9%, ROIC 16.4% vs -50.6%

SGD vs BLDR vs IBP vs TREX vs DHI — Revenue Breakdown by Segment

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

SGDSafe and Green Development Corporation

Segment breakdown not available.

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
IBPInstalled Building Products, Inc.
FY 2025
Product Installation
50.0%$2.8B
Insulation
30.9%$1.7B
Shower Doors Shelving And Mirrors
4.0%$219M
Other Building Products
3.3%$184M
Garage Doors
3.1%$173M
Waterproofing
2.9%$161M
Rain Gutters
2.3%$125M
Other (2)
3.5%$193M
TREXTrex Company, Inc.

Segment breakdown not available.

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

SGD vs BLDR vs IBP vs TREX vs DHI — Financial Metrics

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

BEST OVERALLIBPLAGGINGBLDR

Income & Cash Flow (Last 12 Months)

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

DHI is the larger business by revenue, generating $33.3B annually — 6708.9x SGD's $5M. TREX is the more profitable business, keeping 16.3% of every revenue dollar as net income compared to SGD's -2.8%. On growth, SGD holds the edge at +42.3% YoY revenue growth, suggesting stronger near-term business momentum.

MetricSGD logoSGDSafe and Green De…BLDR logoBLDRBuilders FirstSou…IBP logoIBPInstalled Buildin…TREX logoTREXTrex Company, Inc.DHI logoDHID.R. Horton, Inc.
RevenueTrailing 12 months$5M$14.8B$2.9B$1.2B$33.3B
EBITDAEarnings before interest/tax-$9M$1.2B$656M$309M$4.0B
Net IncomeAfter-tax profit-$14M$292M$255M$191M$3.2B
Free Cash FlowCash after capex-$3M$862M$63M$263M$3.5B
Gross MarginGross profit ÷ Revenue+16.6%+29.9%+33.9%+39.2%+22.8%
Operating MarginEBIT ÷ Revenue-186.2%+4.2%+12.7%+22.1%+11.8%
Net MarginNet income ÷ Revenue-2.8%+2.0%+8.6%+16.3%+9.5%
FCF MarginFCF ÷ Revenue-52.9%+5.8%+2.1%+22.3%+10.5%
Rev. Growth (YoY)Latest quarter vs prior year+42.3%-10.1%-3.5%+1.0%-2.3%
EPS Growth (YoY)Latest quarter vs prior year+57.1%-151.2%-21.3%+3.6%-13.2%
TREX leads this category, winning 4 of 6 comparable metrics.

Valuation Metrics

Evenly matched — SGD and BLDR and DHI each lead in 2 of 7 comparable metrics.

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

MetricSGD logoSGDSafe and Green De…BLDR logoBLDRBuilders FirstSou…IBP logoIBPInstalled Buildin…TREX logoTREXTrex Company, Inc.DHI logoDHID.R. Horton, Inc.
Market CapShares × price$155,445$8.8B$5.8B$4.1B$42.3B
Enterprise ValueMkt cap + debt − cash$10M$14.3B$6.6B$4.3B$45.3B
Trailing P/EPrice ÷ TTM EPS-0.02x20.43x22.33x22.00x12.62x
Forward P/EPrice ÷ next-FY EPS est.14.07x19.50x23.95x13.71x
PEG RatioP/E ÷ EPS growth rate2.59x0.92x6.58x1.01x
EV / EBITDAEnterprise value multiple10.35x13.41x13.53x10.02x
Price / SalesMarket cap ÷ Revenue0.75x0.58x1.97x3.51x1.23x
Price / BookPrice ÷ Book value/share0.18x2.04x8.26x4.05x1.83x
Price / FCFMarket cap ÷ FCF10.30x19.41x30.60x12.88x
Evenly matched — SGD and BLDR and DHI each lead in 2 of 7 comparable metrics.

Profitability & Efficiency

Evenly matched — IBP and TREX each lead in 3 of 9 comparable metrics.

IBP delivers a 37.5% return on equity — every $100 of shareholder capital generates $37 in annual profit, vs $-7 for SGD. TREX carries lower financial leverage with a 0.22x debt-to-equity ratio, signaling a more conservative balance sheet compared to SGD's 11.95x. On the Piotroski fundamental quality scale (0–9), IBP scores 8/9 vs DHI's 4/9, reflecting strong financial health.

MetricSGD logoSGDSafe and Green De…BLDR logoBLDRBuilders FirstSou…IBP logoIBPInstalled Buildin…TREX logoTREXTrex Company, Inc.DHI logoDHID.R. Horton, Inc.
ROE (TTM)Return on equity-7.0%+6.9%+37.5%+18.8%+12.9%
ROA (TTM)Return on assets-35.9%+2.6%+12.2%+12.3%+8.9%
ROICReturn on invested capital-50.6%+6.4%+20.7%+16.4%+12.1%
ROCEReturn on capital employed-3.1%+8.5%+22.6%+23.2%+13.1%
Piotroski ScoreFundamental quality 0–955864
Debt / EquityFinancial leverage11.95x1.30x1.48x0.22x0.24x
Net DebtTotal debt minus cash$10M$5.5B$731M$225M$3.0B
Cash & Equiv.Liquid assets$296,202$182M$322M$4M$3.0B
Total DebtShort + long-term debt$10M$5.6B$1.1B$229M$6.0B
Interest CoverageEBIT ÷ Interest expense-1.89x2.19x9.47x44.09x
Evenly matched — IBP and TREX each lead in 3 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

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

A $10,000 investment in IBP five years ago would be worth $18,064 today (with dividends reinvested), compared to $13 for SGD. Over the past 12 months, IBP leads with a +34.0% total return vs SGD's -80.4%. The 3-year compound annual growth rate (CAGR) favors IBP at 25.6% vs SGD's -89.1% — a key indicator of consistent wealth creation.

MetricSGD logoSGDSafe and Green De…BLDR logoBLDRBuilders FirstSou…IBP logoIBPInstalled Buildin…TREX logoTREXTrex Company, Inc.DHI logoDHID.R. Horton, Inc.
YTD ReturnYear-to-date-14.9%-24.0%-18.1%+9.3%+0.8%
1-Year ReturnPast 12 months-80.4%-25.0%+34.0%-30.8%+20.3%
3-Year ReturnCumulative with dividends-99.9%-30.1%+98.3%-30.4%+38.6%
5-Year ReturnCumulative with dividends-99.9%+51.8%+80.6%-64.0%+46.7%
10-Year ReturnCumulative with dividends-99.9%+614.8%+650.1%+239.9%+424.3%
CAGR (3Y)Annualised 3-year return-89.1%-11.2%+25.6%-11.4%+11.5%
IBP leads this category, winning 5 of 6 comparable metrics.

Risk & Volatility

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

DHI is the less volatile stock with a 0.85 beta — it tends to amplify market swings less than SGD's 1.69 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 SGD's 6.9% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricSGD logoSGDSafe and Green De…BLDR logoBLDRBuilders FirstSou…IBP logoIBPInstalled Buildin…TREX logoTREXTrex Company, Inc.DHI logoDHID.R. Horton, Inc.
Beta (5Y)Sensitivity to S&P 5001.69x1.65x1.19x1.47x0.85x
52-Week HighHighest price in past year$2.36$151.03$349.00$68.78$184.55
52-Week LowLowest price in past year$0.11$73.40$150.83$29.77$114.17
% of 52W HighCurrent price vs 52-week peak+6.9%+52.6%+62.1%+56.9%+79.1%
RSI (14)Momentum oscillator 0–10040.042.855.051.349.6
Avg Volume (50D)Average daily shares traded02.4M344K1.7M2.6M
DHI leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

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

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

MetricSGD logoSGDSafe and Green De…BLDR logoBLDRBuilders FirstSou…IBP logoIBPInstalled Buildin…TREX logoTREXTrex Company, Inc.DHI logoDHID.R. Horton, Inc.
Analyst RatingConsensus buy/hold/sellBuyHoldHoldHold
Price TargetConsensus 12-month target$109.92$293.00$44.50$163.86
# AnalystsCovering analysts43273152
Dividend YieldAnnual dividend ÷ price+1.5%+1.1%
Dividend StreakConsecutive years of raises25211
Dividend / ShareAnnual DPS$3.24$1.60
Buyback YieldShare repurchases ÷ mkt cap0.0%+4.7%+3.0%+1.3%+10.1%
Evenly matched — IBP and DHI each lead in 1 of 2 comparable metrics.
Key Takeaway

TREX leads in 1 of 6 categories (Income & Cash Flow). IBP leads in 1 (Total Returns). 3 tied.

Best OverallInstalled Building Products… (IBP)Leads 1 of 6 categories
Loading custom metrics...

SGD vs BLDR vs IBP vs TREX vs DHI: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is SGD or BLDR or IBP or TREX or DHI 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 -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 — SGD or BLDR or IBP or TREX or DHI?

On trailing P/E, D.

R. Horton, Inc. (DHI) is the cheapest at 12. 6x versus Installed Building Products, Inc. at 22. 3x. 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: Installed Building Products, Inc. wins at 0. 80x versus Trex Company, Inc. 's 7. 16x — a PEG below 1. 0 traditionally signals the market is underpricing earnings growth.

03

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

Over the past 5 years, Installed Building Products, Inc.

(IBP) delivered a total return of +80. 6%, compared to -99. 9% for Safe and Green Development Corporation (SGD). Over 10 years, the gap is even starker: IBP returned +650. 1% versus SGD's -99. 9%. 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 — SGD or BLDR or IBP or TREX or DHI?

By beta (market sensitivity over 5 years), D.

R. Horton, Inc. (DHI) is the lower-risk stock at 0. 85β versus Safe and Green Development Corporation's 1. 69β — meaning SGD is approximately 100% more volatile than DHI relative to the S&P 500. On balance sheet safety, Trex Company, Inc. (TREX) carries a lower debt/equity ratio of 22% versus 12% for Safe and Green Development Corporation — giving it more financial flexibility in a downturn.

05

Which is growing faster — SGD or BLDR or IBP or TREX or DHI?

By revenue growth (latest reported year), Trex Company, Inc.

(TREX) is pulling ahead at 2. 0% versus -7. 4% for Builders FirstSource, Inc. (BLDR). On earnings-per-share growth, the picture is similar: Installed Building Products, Inc. grew EPS 6. 7% year-over-year, compared to -21. 2% for Safe and Green Development Corporation. Over a 3-year CAGR, IBP leads at 3. 6% 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 — SGD or BLDR or IBP or TREX or DHI?

Trex Company, Inc.

(TREX) is the more profitable company, earning 16. 2% net margin versus -42. 9% for Safe and Green Development Corporation — 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 -31. 6% for SGD. 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 SGD or BLDR or IBP or TREX 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, Installed Building Products, Inc. (IBP) is the more undervalued stock at a PEG of 0. 80x versus Trex Company, Inc. 's 7. 16x. A PEG below 1. 0 is traditionally considered the threshold for growth-adjusted undervaluation. 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 — SGD or BLDR or IBP or TREX or DHI?

In this comparison, IBP (1.

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

09

Is SGD or BLDR or IBP or TREX 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). Safe and Green Development Corporation (SGD) carries a higher beta of 1. 69 — meaning larger drawdowns in market downturns, which matters significantly when you cannot wait years for a recovery. Both have compounded well over 10 years (DHI: +424. 3%, SGD: -99. 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 SGD and BLDR and IBP and TREX and DHI?

These companies operate in different sectors (SGD (Real Estate) and BLDR (Industrials) and IBP (Consumer Cyclical) and TREX (Industrials) 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: SGD is a small-cap quality compounder stock; BLDR is a small-cap quality compounder stock; IBP is a small-cap quality compounder stock; TREX is a small-cap quality compounder stock; DHI is a mid-cap deep-value stock. IBP, DHI pay a dividend while SGD, 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

SGD

High-Growth Disruptor

  • Sector: Real Estate
  • Market Cap > $20B
  • Revenue Growth > 2114%
Run This Screen
Stocks Like

BLDR

Quality Business

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

IBP

Stable Dividend Mega-Cap

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

TREX

Quality Business

  • Sector: Industrials
  • Market Cap > $100B
  • Net Margin > 9%
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 SGD and BLDR and IBP and TREX and DHI on the metrics below

Revenue Growth>
%
(SGD: 4229.2% · BLDR: -10.1%)

You Might Also Compare

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