Compare Stocks

4 / 10
Try these comparisons:

Stock Comparison

DHI vs SHW vs BLDR vs IBP

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

Live fundamentals10-year financials5-year price chart
DHI
D.R. Horton, Inc.

Residential Construction

Consumer CyclicalNYSE • US
Market Cap$42.29B
5Y Perf.+164.0%
SHW
The Sherwin-Williams Company

Chemicals - Specialty

Basic MaterialsNYSE • US
Market Cap$78.98B
5Y Perf.+61.8%
BLDR
Builders FirstSource, Inc.

Construction

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

Residential Construction

Consumer CyclicalNYSE • US
Market Cap$5.84B
5Y Perf.+237.3%

DHI vs SHW vs BLDR vs IBP — Key Financials

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

Company Snapshot
DHI logoDHI
SHW logoSHW
BLDR logoBLDR
IBP logoIBP
IndustryResidential ConstructionChemicals - SpecialtyConstructionResidential Construction
Market Cap$42.29B$78.98B$8.79B$5.84B
Revenue (TTM)$33.35B$23.94B$14.82B$2.95B
Net Income (TTM)$3.17B$2.60B$292M$255M
Gross Margin22.8%49.1%29.9%33.9%
Operating Margin11.8%16.1%4.2%12.7%
Forward P/E13.7x27.3x14.1x19.5x
Total Debt$6.03B$14.53B$5.65B$1.05B
Cash & Equiv.$2.99B$207M$182M$322M

DHI vs SHW vs BLDR vs IBPLong-Term Stock Performance

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

DHI
SHW
BLDR
IBP
StockMay 20May 26Return
D.R. Horton, Inc. (DHI)100264.0+164.0%
The Sherwin-William… (SHW)100161.8+61.8%
Builders FirstSourc… (BLDR)100381.9+281.9%
Installed Building … (IBP)100337.3+237.3%

Price return only. Dividends and distributions are not included.

Quick Verdict: DHI vs SHW vs BLDR vs IBP

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

Bottom line: SHW and IBP are tied at the top with 3 categories each — the right choice depends on your priorities. Installed Building Products, Inc. is the stronger pick specifically for dividend income and shareholder returns and recent price momentum and sentiment. DHI also leads in specific categories worth noting. This set spans 3 sectors — these stocks serve different portfolio roles, not just different price points.
DHI
D.R. Horton, Inc.
The Defensive Pick

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

  • Lower volatility, beta 0.85, Low D/E 24.4%, current ratio 17.39x
  • Beta 0.85, yield 1.1%, current ratio 17.39x
  • Lower P/E (13.7x vs 27.3x), PEG 1.09 vs 3.94
Best for: sleep-well-at-night and defensive
SHW
The Sherwin-Williams Company
The Income Pick

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

  • Dividend streak 37 yrs, beta 0.79, yield 1.0%
  • Rev growth 2.1%, EPS growth -2.7%, 3Y rev CAGR 2.1%
  • 2.1% revenue growth vs BLDR's -7.4%
  • 10.9% margin vs BLDR's 2.0%
Best for: income & stability and growth exposure
BLDR
Builders FirstSource, Inc.
The Value Angle

BLDR lags the leaders in this set but could rank higher in a more targeted comparison.

Best for: industrials exposure
IBP
Installed Building Products, Inc.
The Long-Run Compounder

IBP is the #2 pick in this set and the best alternative if long-term compounding and valuation efficiency is your priority.

  • 6.5% 10Y total return vs BLDR's 6.1%
  • PEG 0.80 vs SHW's 3.94
  • 1.5% yield, 5-year raise streak, vs SHW's 1.0%, (1 stock pays no dividend)
  • +34.0% vs BLDR's -25.0%
Best for: long-term compounding and valuation efficiency
See the full category breakdown
CategoryWinnerWhy
GrowthSHW logoSHW2.1% revenue growth vs BLDR's -7.4%
ValueDHI logoDHILower P/E (13.7x vs 27.3x), PEG 1.09 vs 3.94
Quality / MarginsSHW logoSHW10.9% margin vs BLDR's 2.0%
Stability / SafetySHW logoSHWBeta 0.79 vs BLDR's 1.65
DividendsIBP logoIBP1.5% yield, 5-year raise streak, vs SHW's 1.0%, (1 stock pays no dividend)
Momentum (1Y)IBP logoIBP+34.0% vs BLDR's -25.0%
Efficiency (ROA)IBP logoIBP12.2% ROA vs BLDR's 2.6%, ROIC 20.7% vs 6.4%

DHI vs SHW vs BLDR vs IBP — Revenue Breakdown by Segment

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

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
SHWThe Sherwin-Williams Company
FY 2025
Paint Stores Group
57.7%$13.6B
Consumer Group
36.3%$8.6B
Global Finishes Group
28.9%$6.8B
Corporate And Eliminations
-22.9%$-5,408,000,000
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

DHI vs SHW vs BLDR vs IBP — Financial Metrics

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

BEST OVERALLSHWLAGGINGBLDR

Income & Cash Flow (Last 12 Months)

SHW leads this category, winning 6 of 6 comparable metrics.

DHI is the larger business by revenue, generating $33.3B annually — 11.3x IBP's $2.9B. SHW is the more profitable business, keeping 10.9% of every revenue dollar as net income compared to BLDR's 2.0%. On growth, SHW holds the edge at +6.8% YoY revenue growth, suggesting stronger near-term business momentum.

MetricDHI logoDHID.R. Horton, Inc.SHW logoSHWThe Sherwin-Willi…BLDR logoBLDRBuilders FirstSou…IBP logoIBPInstalled Buildin…
RevenueTrailing 12 months$33.3B$23.9B$14.8B$2.9B
EBITDAEarnings before interest/tax$4.0B$4.5B$1.2B$656M
Net IncomeAfter-tax profit$3.2B$2.6B$292M$255M
Free Cash FlowCash after capex$3.5B$2.9B$862M$63M
Gross MarginGross profit ÷ Revenue+22.8%+49.1%+29.9%+33.9%
Operating MarginEBIT ÷ Revenue+11.8%+16.1%+4.2%+12.7%
Net MarginNet income ÷ Revenue+9.5%+10.9%+2.0%+8.6%
FCF MarginFCF ÷ Revenue+10.5%+12.1%+5.8%+2.1%
Rev. Growth (YoY)Latest quarter vs prior year-2.3%+6.8%-10.1%-3.5%
EPS Growth (YoY)Latest quarter vs prior year-13.2%+7.5%-151.2%-21.3%
SHW leads this category, winning 6 of 6 comparable metrics.

Valuation Metrics

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

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

MetricDHI logoDHID.R. Horton, Inc.SHW logoSHWThe Sherwin-Willi…BLDR logoBLDRBuilders FirstSou…IBP logoIBPInstalled Buildin…
Market CapShares × price$42.3B$79.0B$8.8B$5.8B
Enterprise ValueMkt cap + debt − cash$45.3B$93.3B$14.3B$6.6B
Trailing P/EPrice ÷ TTM EPS12.62x31.18x20.43x22.33x
Forward P/EPrice ÷ next-FY EPS est.13.71x27.27x14.07x19.50x
PEG RatioP/E ÷ EPS growth rate1.01x4.51x2.59x0.92x
EV / EBITDAEnterprise value multiple10.02x21.24x10.35x13.41x
Price / SalesMarket cap ÷ Revenue1.23x3.35x0.58x1.97x
Price / BookPrice ÷ Book value/share1.83x17.33x2.04x8.26x
Price / FCFMarket cap ÷ FCF12.88x29.76x10.30x19.41x
DHI leads this category, winning 4 of 7 comparable metrics.

Profitability & Efficiency

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

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

MetricDHI logoDHID.R. Horton, Inc.SHW logoSHWThe Sherwin-Willi…BLDR logoBLDRBuilders FirstSou…IBP logoIBPInstalled Buildin…
ROE (TTM)Return on equity+12.9%+58.2%+6.9%+37.5%
ROA (TTM)Return on assets+8.9%+10.0%+2.6%+12.2%
ROICReturn on invested capital+12.1%+16.5%+6.4%+20.7%
ROCEReturn on capital employed+13.1%+21.3%+8.5%+22.6%
Piotroski ScoreFundamental quality 0–94658
Debt / EquityFinancial leverage0.24x3.16x1.30x1.48x
Net DebtTotal debt minus cash$3.0B$14.3B$5.5B$731M
Cash & Equiv.Liquid assets$3.0B$207M$182M$322M
Total DebtShort + long-term debt$6.0B$14.5B$5.6B$1.1B
Interest CoverageEBIT ÷ Interest expense44.09x7.83x2.19x9.47x
IBP leads this category, winning 6 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 $11,612 for SHW. Over the past 12 months, IBP leads with a +34.0% total return vs BLDR's -25.0%. The 3-year compound annual growth rate (CAGR) favors IBP at 25.6% vs BLDR's -11.2% — a key indicator of consistent wealth creation.

MetricDHI logoDHID.R. Horton, Inc.SHW logoSHWThe Sherwin-Willi…BLDR logoBLDRBuilders FirstSou…IBP logoIBPInstalled Buildin…
YTD ReturnYear-to-date+0.8%-2.1%-24.0%-18.1%
1-Year ReturnPast 12 months+20.3%-8.0%-25.0%+34.0%
3-Year ReturnCumulative with dividends+38.6%+42.4%-30.1%+98.3%
5-Year ReturnCumulative with dividends+46.7%+16.1%+51.8%+80.6%
10-Year ReturnCumulative with dividends+424.3%+250.0%+614.8%+650.1%
CAGR (3Y)Annualised 3-year return+11.5%+12.5%-11.2%+25.6%
IBP leads this category, winning 5 of 6 comparable metrics.

Risk & Volatility

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

SHW is the less volatile stock with a 0.79 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. SHW currently trades 84.3% from its 52-week high vs BLDR's 52.6% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricDHI logoDHID.R. Horton, Inc.SHW logoSHWThe Sherwin-Willi…BLDR logoBLDRBuilders FirstSou…IBP logoIBPInstalled Buildin…
Beta (5Y)Sensitivity to S&P 5000.85x0.79x1.65x1.19x
52-Week HighHighest price in past year$184.55$379.65$151.03$349.00
52-Week LowLowest price in past year$114.17$301.58$73.40$150.83
% of 52W HighCurrent price vs 52-week peak+79.1%+84.3%+52.6%+62.1%
RSI (14)Momentum oscillator 0–10049.647.642.855.0
Avg Volume (50D)Average daily shares traded2.6M1.6M2.4M344K
SHW leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

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

Analyst consensus: DHI as "Hold", SHW as "Buy", BLDR as "Buy", IBP 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 SHW's 0.99%.

MetricDHI logoDHID.R. Horton, Inc.SHW logoSHWThe Sherwin-Willi…BLDR logoBLDRBuilders FirstSou…IBP logoIBPInstalled Buildin…
Analyst RatingConsensus buy/hold/sellHoldBuyBuyHold
Price TargetConsensus 12-month target$163.86$389.43$109.92$293.00
# AnalystsCovering analysts52384327
Dividend YieldAnnual dividend ÷ price+1.1%+1.0%+1.5%
Dividend StreakConsecutive years of raises113725
Dividend / ShareAnnual DPS$1.60$3.17$3.24
Buyback YieldShare repurchases ÷ mkt cap+10.1%0.0%+4.7%+3.0%
Evenly matched — SHW and IBP each lead in 1 of 2 comparable metrics.
Key Takeaway

SHW leads in 2 of 6 categories (Income & Cash Flow, Risk & Volatility). IBP leads in 2 (Profitability & Efficiency, Total Returns). 1 tied.

Best OverallThe Sherwin-Williams Company (SHW)Leads 2 of 6 categories
Loading custom metrics...

DHI vs SHW vs BLDR vs IBP: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is DHI or SHW or BLDR or IBP a better buy right now?

For growth investors, The Sherwin-Williams Company (SHW) is the stronger pick with 2.

1% 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 The Sherwin-Williams Company (SHW) a "Buy" — based on 38 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 — DHI or SHW or BLDR or IBP?

On trailing P/E, D.

R. Horton, Inc. (DHI) is the cheapest at 12. 6x versus The Sherwin-Williams Company at 31. 2x. 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 The Sherwin-Williams Company's 3. 94x — a PEG below 1. 0 traditionally signals the market is underpricing earnings growth.

03

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

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

(IBP) delivered a total return of +80. 6%, compared to +16. 1% for The Sherwin-Williams Company (SHW). Over 10 years, the gap is even starker: IBP returned +650. 1% versus SHW's +250. 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 — DHI or SHW or BLDR or IBP?

By beta (market sensitivity over 5 years), The Sherwin-Williams Company (SHW) is the lower-risk stock at 0.

79β versus Builders FirstSource, Inc. 's 1. 65β — meaning BLDR is approximately 109% more volatile than SHW relative to the S&P 500. On balance sheet safety, D. R. Horton, Inc. (DHI) carries a lower debt/equity ratio of 24% versus 3% for The Sherwin-Williams Company — giving it more financial flexibility in a downturn.

05

Which is growing faster — DHI or SHW or BLDR or IBP?

By revenue growth (latest reported year), The Sherwin-Williams Company (SHW) is pulling ahead at 2.

1% 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 -57. 1% for Builders FirstSource, Inc.. 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 — DHI or SHW or BLDR or IBP?

The Sherwin-Williams Company (SHW) is the more profitable company, earning 10.

9% net margin versus 2. 9% for Builders FirstSource, Inc. — meaning it keeps 10. 9% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: SHW leads at 16. 1% versus 5. 2% for BLDR. At the gross margin level — before operating expenses — SHW leads at 48. 9%, 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 DHI or SHW or BLDR or IBP 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 The Sherwin-Williams Company's 3. 94x. 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 27. 3x for The Sherwin-Williams Company — 13. 6x 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 — DHI or SHW or BLDR or IBP?

In this comparison, IBP (1.

5% yield), DHI (1. 1% yield), SHW (1. 0% yield) pay a dividend. BLDR does not pay a meaningful dividend and should not be held primarily for income.

09

Is DHI or SHW or BLDR or IBP 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). Builders FirstSource, Inc. (BLDR) carries a higher beta of 1. 65 — 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%, BLDR: +614. 8%), 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 DHI and SHW and BLDR and IBP?

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

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

DHI

Stable Dividend Mega-Cap

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

SHW

Stable Dividend Mega-Cap

  • Sector: Basic Materials
  • Market Cap > $100B
  • Revenue Growth > 5%
  • Net Margin > 6%
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
Custom Screen

Beat Both

Find stocks that outperform DHI and SHW and BLDR and IBP on the metrics below

Revenue Growth>
%
(DHI: -2.3% · SHW: 6.8%)
Net Margin>
%
(DHI: 9.5% · SHW: 10.9%)
P/E Ratio<
x
(DHI: 12.6x · SHW: 31.2x)

You Might Also Compare

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