Compare Stocks

5 / 10
Try these comparisons:

Stock Comparison

BLD vs AMWD vs IBP vs TREX vs BLDR

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

Live fundamentals10-year financials5-year price chart
BLD
TopBuild Corp.

Engineering & Construction

IndustrialsNYSE • US
Market Cap$12.05B
5Y Perf.+281.9%
AMWD
American Woodmark Corporation

Furnishings, Fixtures & Appliances

Consumer CyclicalNASDAQ • US
Market Cap$576M
5Y Perf.-37.0%
IBP
Installed Building Products, Inc.

Residential Construction

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

Construction

IndustrialsNYSE • US
Market Cap$4.12B
5Y Perf.-34.8%
BLDR
Builders FirstSource, Inc.

Construction

IndustrialsNYSE • US
Market Cap$8.79B
5Y Perf.+8.7%

BLD vs AMWD vs IBP vs TREX vs BLDR — Key Financials

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

Company Snapshot
BLD logoBLD
AMWD logoAMWD
IBP logoIBP
TREX logoTREX
BLDR logoBLDR
IndustryEngineering & ConstructionFurnishings, Fixtures & AppliancesResidential ConstructionConstructionConstruction
Market Cap$12.05B$576M$5.84B$4.12B$8.79B
Revenue (TTM)$5.62B$1.52B$2.95B$1.18B$14.82B
Net Income (TTM)$503M$18M$255M$191M$292M
Gross Margin28.8%15.3%33.9%39.2%29.9%
Operating Margin14.1%1.9%12.7%22.1%4.2%
Forward P/E23.5x16.1x19.5x24.0x14.1x
Total Debt$3.15B$510M$1.05B$229M$5.65B
Cash & Equiv.$185M$48M$322M$4M$182M

BLD vs AMWD vs IBP vs TREX vs BLDRLong-Term Stock Performance

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

BLD
AMWD
IBP
TREX
BLDR
StockMay 20May 26Return
TopBuild Corp. (BLD)100373.2+273.2%
American Woodmark C… (AMWD)10063.0-37.0%
Installed Building … (IBP)100337.3+237.3%
Trex Company, Inc. (TREX)10065.2-34.8%
Builders FirstSourc… (BLDR)100381.9+281.9%

Price return only. Dividends and distributions are not included.

Quick Verdict: BLD vs AMWD vs IBP vs TREX vs BLDR

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

Bottom line: IBP and TREX are tied at the top with 3 categories each (5-stock set) — the right choice depends on your priorities. Trex Company, Inc. is the stronger pick specifically for growth and revenue expansion and profitability and margin quality. BLD also leads in specific categories worth noting. This set spans 2 sectors — these stocks serve different portfolio roles, not just different price points.
BLD
TopBuild Corp.
The Long-Run Compounder

BLD ranks third and is worth considering specifically for long-term compounding.

  • 12.2% 10Y total return vs IBP's 6.5%
  • +50.2% vs TREX's -30.8%
Best for: long-term compounding
AMWD
American Woodmark Corporation
The Consumer Cyclical Pick

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

Best for: consumer cyclical 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%
  • Lower volatility, beta 1.19, current ratio 3.03x
  • PEG 0.80 vs TREX's 7.16
Best for: income & stability and growth exposure
TREX
Trex Company, Inc.
The Growth Leader

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

  • 2.0% revenue growth vs AMWD's -7.5%
  • 16.3% margin vs AMWD's 1.2%
  • 12.3% ROA vs AMWD's 1.2%, ROIC 16.4% vs 7.8%
Best for: growth and quality
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
See the full category breakdown
CategoryWinnerWhy
GrowthTREX logoTREX2.0% revenue growth vs AMWD's -7.5%
ValueIBP logoIBPLower P/E (19.5x vs 24.0x), PEG 0.80 vs 7.16
Quality / MarginsTREX logoTREX16.3% margin vs AMWD's 1.2%
Stability / SafetyIBP logoIBPBeta 1.19 vs BLDR's 1.65
DividendsIBP logoIBP1.5% yield; 5-year raise streak; the other 4 pay no meaningful dividend
Momentum (1Y)BLD logoBLD+50.2% vs TREX's -30.8%
Efficiency (ROA)TREX logoTREX12.3% ROA vs AMWD's 1.2%, ROIC 16.4% vs 7.8%

BLD vs AMWD vs IBP vs TREX vs BLDR — Revenue Breakdown by Segment

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

BLDTopBuild Corp.
FY 2025
Insulation and accessories
83.5%$4.3B
All other
6.3%$326M
Gutters
5.7%$296M
Glass and windows
4.6%$236M
AMWDAmerican Woodmark Corporation

Segment breakdown not available.

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.

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

BLD vs AMWD vs IBP vs TREX vs BLDR — Financial Metrics

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

BEST OVERALLTREXLAGGINGBLDR

Income & Cash Flow (Last 12 Months)

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

BLDR is the larger business by revenue, generating $14.8B annually — 12.6x TREX's $1.2B. TREX is the more profitable business, keeping 16.3% of every revenue dollar as net income compared to AMWD's 1.2%. On growth, BLD holds the edge at +17.2% YoY revenue growth, suggesting stronger near-term business momentum.

MetricBLD logoBLDTopBuild Corp.AMWD logoAMWDAmerican Woodmark…IBP logoIBPInstalled Buildin…TREX logoTREXTrex Company, Inc.BLDR logoBLDRBuilders FirstSou…
RevenueTrailing 12 months$5.6B$1.5B$2.9B$1.2B$14.8B
EBITDAEarnings before interest/tax$981M$92M$656M$309M$1.2B
Net IncomeAfter-tax profit$503M$18M$255M$191M$292M
Free Cash FlowCash after capex$704M$64M$63M$263M$862M
Gross MarginGross profit ÷ Revenue+28.8%+15.3%+33.9%+39.2%+29.9%
Operating MarginEBIT ÷ Revenue+14.1%+1.9%+12.7%+22.1%+4.2%
Net MarginNet income ÷ Revenue+9.0%+1.2%+8.6%+16.3%+2.0%
FCF MarginFCF ÷ Revenue+12.5%+4.2%+2.1%+22.3%+5.8%
Rev. Growth (YoY)Latest quarter vs prior year+17.2%-18.4%-3.5%+1.0%-10.1%
EPS Growth (YoY)Latest quarter vs prior year-11.8%-2.3%-21.3%+3.6%-151.2%
TREX leads this category, winning 5 of 6 comparable metrics.

Valuation Metrics

AMWD leads this category, winning 6 of 7 comparable metrics.

At 6.1x trailing earnings, AMWD trades at a 74% valuation discount to BLD's 23.4x P/E. Adjusting for growth (PEG ratio), AMWD offers better value at 0.76x vs TREX's 6.58x — a lower PEG means you pay less per unit of expected earnings growth.

MetricBLD logoBLDTopBuild Corp.AMWD logoAMWDAmerican Woodmark…IBP logoIBPInstalled Buildin…TREX logoTREXTrex Company, Inc.BLDR logoBLDRBuilders FirstSou…
Market CapShares × price$12.0B$576M$5.8B$4.1B$8.8B
Enterprise ValueMkt cap + debt − cash$15.0B$1.0B$6.6B$4.3B$14.3B
Trailing P/EPrice ÷ TTM EPS23.43x6.08x22.33x22.00x20.43x
Forward P/EPrice ÷ next-FY EPS est.23.52x16.13x19.50x23.95x14.07x
PEG RatioP/E ÷ EPS growth rate1.19x0.76x0.92x6.58x2.59x
EV / EBITDAEnterprise value multiple15.62x5.31x13.41x13.53x10.35x
Price / SalesMarket cap ÷ Revenue2.23x0.34x1.97x3.51x0.58x
Price / BookPrice ÷ Book value/share5.20x0.66x8.26x4.05x2.04x
Price / FCFMarket cap ÷ FCF17.29x8.77x19.41x30.60x10.30x
AMWD leads this category, winning 6 of 7 comparable metrics.

Profitability & Efficiency

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

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

MetricBLD logoBLDTopBuild Corp.AMWD logoAMWDAmerican Woodmark…IBP logoIBPInstalled Buildin…TREX logoTREXTrex Company, Inc.BLDR logoBLDRBuilders FirstSou…
ROE (TTM)Return on equity+22.1%+1.9%+37.5%+18.8%+6.9%
ROA (TTM)Return on assets+8.1%+1.2%+12.2%+12.3%+2.6%
ROICReturn on invested capital+13.7%+7.8%+20.7%+16.4%+6.4%
ROCEReturn on capital employed+16.1%+10.1%+22.6%+23.2%+8.5%
Piotroski ScoreFundamental quality 0–944865
Debt / EquityFinancial leverage1.36x0.56x1.48x0.22x1.30x
Net DebtTotal debt minus cash$3.0B$462M$731M$225M$5.5B
Cash & Equiv.Liquid assets$185M$48M$322M$4M$182M
Total DebtShort + long-term debt$3.2B$510M$1.1B$229M$5.6B
Interest CoverageEBIT ÷ Interest expense6.47x4.75x9.47x2.19x
TREX leads this category, winning 5 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

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

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

MetricBLD logoBLDTopBuild Corp.AMWD logoAMWDAmerican Woodmark…IBP logoIBPInstalled Buildin…TREX logoTREXTrex Company, Inc.BLDR logoBLDRBuilders FirstSou…
YTD ReturnYear-to-date-0.8%-28.1%-18.1%+9.3%-24.0%
1-Year ReturnPast 12 months+50.2%-30.3%+34.0%-30.8%-25.0%
3-Year ReturnCumulative with dividends+99.7%-22.1%+98.3%-30.4%-30.1%
5-Year ReturnCumulative with dividends+91.2%-62.1%+80.6%-64.0%+51.8%
10-Year ReturnCumulative with dividends+1219.2%-47.1%+650.1%+239.9%+614.8%
CAGR (3Y)Annualised 3-year return+25.9%-8.0%+25.6%-11.4%-11.2%
BLD leads this category, winning 5 of 6 comparable metrics.

Risk & Volatility

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

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

MetricBLD logoBLDTopBuild Corp.AMWD logoAMWDAmerican Woodmark…IBP logoIBPInstalled Buildin…TREX logoTREXTrex Company, Inc.BLDR logoBLDRBuilders FirstSou…
Beta (5Y)Sensitivity to S&P 5001.47x1.49x1.19x1.47x1.65x
52-Week HighHighest price in past year$559.47$72.16$349.00$68.78$151.03
52-Week LowLowest price in past year$273.87$35.53$150.83$29.77$73.40
% of 52W HighCurrent price vs 52-week peak+76.5%+54.8%+62.1%+56.9%+52.6%
RSI (14)Momentum oscillator 0–10055.736.655.051.342.8
Avg Volume (50D)Average daily shares traded629K231K344K1.7M2.4M
Evenly matched — BLD and IBP each lead in 1 of 2 comparable metrics.

Analyst Outlook

IBP leads this category, winning 1 of 1 comparable metric.

Analyst consensus: BLD as "Buy", AMWD as "Hold", IBP as "Hold", TREX as "Hold", BLDR as "Buy". Consensus price targets imply 38.3% upside for BLDR (target: $110) vs 13.6% for TREX (target: $45). IBP is the only dividend payer here at 1.49% yield — a key consideration for income-focused portfolios.

MetricBLD logoBLDTopBuild Corp.AMWD logoAMWDAmerican Woodmark…IBP logoIBPInstalled Buildin…TREX logoTREXTrex Company, Inc.BLDR logoBLDRBuilders FirstSou…
Analyst RatingConsensus buy/hold/sellBuyHoldHoldHoldBuy
Price TargetConsensus 12-month target$537.80$47.00$293.00$44.50$109.92
# AnalystsCovering analysts2910273143
Dividend YieldAnnual dividend ÷ price+1.5%
Dividend StreakConsecutive years of raises10522
Dividend / ShareAnnual DPS$3.24
Buyback YieldShare repurchases ÷ mkt cap+3.6%+4.8%+3.0%+1.3%+4.7%
IBP leads this category, winning 1 of 1 comparable metric.
Key Takeaway

TREX leads in 2 of 6 categories (Income & Cash Flow, Profitability & Efficiency). AMWD leads in 1 (Valuation Metrics). 1 tied.

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

BLD vs AMWD vs IBP vs TREX vs BLDR: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is BLD or AMWD or IBP or TREX or BLDR 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. 5% for American Woodmark Corporation (AMWD). American Woodmark Corporation (AMWD) offers the better valuation at 6. 1x trailing P/E (16. 1x forward), making it the more compelling value choice. Analysts rate TopBuild Corp. (BLD) a "Buy" — based on 29 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 — BLD or AMWD or IBP or TREX or BLDR?

On trailing P/E, American Woodmark Corporation (AMWD) is the cheapest at 6.

1x versus TopBuild Corp. at 23. 4x. On forward P/E, Builders FirstSource, Inc. is actually cheaper at 14. 1x — notably different from the trailing picture, reflecting expected earnings growth. 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 — BLD or AMWD or IBP or TREX or BLDR?

Over the past 5 years, TopBuild Corp.

(BLD) delivered a total return of +91. 2%, compared to -64. 0% for Trex Company, Inc. (TREX). Over 10 years, the gap is even starker: BLD returned +1219% versus AMWD's -47. 1%. 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 — BLD or AMWD or IBP or TREX or BLDR?

By beta (market sensitivity over 5 years), Installed Building Products, Inc.

(IBP) is the lower-risk stock at 1. 19β versus Builders FirstSource, Inc. 's 1. 65β — meaning BLDR is approximately 39% more volatile than IBP 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 Installed Building Products, Inc. — giving it more financial flexibility in a downturn.

05

Which is growing faster — BLD or AMWD or IBP or TREX or BLDR?

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

(TREX) is pulling ahead at 2. 0% versus -7. 5% for American Woodmark Corporation (AMWD). 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 — BLD or AMWD or IBP or TREX or BLDR?

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 BLD or AMWD or IBP or TREX or BLDR 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, Builders FirstSource, Inc. (BLDR) trades at 14. 1x forward P/E versus 24. 0x for Trex Company, Inc. — 9. 9x 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 — BLD or AMWD or IBP or TREX or BLDR?

In this comparison, IBP (1.

5% yield) pays a dividend. BLD, AMWD, TREX, BLDR do not pay a meaningful dividend and should not be held primarily for income.

09

Is BLD or AMWD or IBP or TREX or BLDR better for a retirement portfolio?

For long-horizon retirement investors, Installed Building Products, Inc.

(IBP) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 1. 19), 1. 5% yield, +650. 1% 10Y return). Both have compounded well over 10 years (IBP: +650. 1%, AMWD: -47. 1%), 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 BLD and AMWD and IBP and TREX and BLDR?

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

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

BLD

High-Growth Disruptor

  • Sector: Industrials
  • Market Cap > $100B
  • Revenue Growth > 8%
  • Net Margin > 5%
Run This Screen
Stocks Like

AMWD

Quality Business

  • Sector: Consumer Cyclical
  • Market Cap > $100B
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

BLDR

Quality Business

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

Beat Both

Find stocks that outperform BLD and AMWD and IBP and TREX and BLDR on the metrics below

Revenue Growth>
%
(BLD: 17.2% · AMWD: -18.4%)
P/E Ratio<
x
(BLD: 23.4x · AMWD: 6.1x)

You Might Also Compare

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