Compare Stocks

5 / 10
Try these comparisons:

Stock Comparison

MAS vs ALLE vs TREX vs NVR vs DHI

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

Live fundamentals10-year financials5-year price chart
MAS
Masco Corporation

Construction

IndustrialsNYSE • US
Market Cap$14.51B
5Y Perf.+54.2%
ALLE
Allegion plc

Security & Protection Services

IndustrialsNYSE • IE
Market Cap$11.76B
5Y Perf.+37.2%
TREX
Trex Company, Inc.

Construction

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

Residential Construction

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

Residential Construction

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

MAS vs ALLE vs TREX vs NVR vs DHI — Key Financials

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

Company Snapshot
MAS logoMAS
ALLE logoALLE
TREX logoTREX
NVR logoNVR
DHI logoDHI
IndustryConstructionSecurity & Protection ServicesConstructionResidential ConstructionResidential Construction
Market Cap$14.51B$11.76B$4.12B$16.69B$42.29B
Revenue (TTM)$7.68B$4.16B$1.18B$10.17B$33.35B
Net Income (TTM)$837M$634M$191M$1.34B$3.17B
Gross Margin35.4%45.0%39.2%22.8%22.8%
Operating Margin16.8%20.6%22.1%16.5%11.8%
Forward P/E16.9x15.6x24.0x16.7x13.7x
Total Debt$3.44B$2.28B$229M$1.20B$6.03B
Cash & Equiv.$647M$356M$4M$1.96B$2.99B

MAS vs ALLE vs TREX vs NVR vs DHILong-Term Stock Performance

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

MAS
ALLE
TREX
NVR
DHI
StockMay 20May 26Return
Masco Corporation (MAS)100154.2+54.2%
Allegion plc (ALLE)100137.2+37.2%
Trex Company, Inc. (TREX)10065.2-34.8%
NVR, Inc. (NVR)100186.5+86.5%
D.R. Horton, Inc. (DHI)100264.0+164.0%

Price return only. Dividends and distributions are not included.

Quick Verdict: MAS vs ALLE vs TREX vs NVR vs DHI

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

Bottom line: MAS and ALLE are tied at the top with 2 categories each (5-stock set) — the right choice depends on your priorities. Allegion plc is the stronger pick specifically for growth and revenue expansion and capital preservation and lower volatility. TREX, NVR, and DHI also each lead in at least one category. This set spans 2 sectors — these stocks serve different portfolio roles, not just different price points.
MAS
Masco Corporation
The Income Pick

MAS has the current edge in this matchup, primarily because of its strength in income & stability.

  • Dividend streak 12 yrs, beta 1.28, yield 1.7%
  • 1.7% yield, 12-year raise streak, vs DHI's 1.1%, (2 stocks pay no dividend)
  • +21.1% vs TREX's -30.8%
Best for: income & stability
ALLE
Allegion plc
The Growth Play

ALLE is the #2 pick in this set and the best alternative if growth exposure and sleep-well-at-night is your priority.

  • Rev growth 7.8%, EPS growth 9.1%, 3Y rev CAGR 7.5%
  • Lower volatility, beta 0.67, current ratio 1.84x
  • PEG 0.92 vs TREX's 7.16
  • Beta 0.67, yield 1.5%, current ratio 1.84x
Best for: growth exposure and sleep-well-at-night
TREX
Trex Company, Inc.
The Quality Compounder

TREX ranks third and is worth considering specifically for quality.

  • 16.3% margin vs DHI's 9.5%
Best for: quality
NVR
NVR, Inc.
The Niche Pick

NVR is the clearest fit if your priority is efficiency.

  • 22.3% ROA vs DHI's 8.9%, ROIC 43.8% vs 12.1%
Best for: efficiency
DHI
D.R. Horton, Inc.
The Long-Run Compounder

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

  • 424.3% 10Y total return vs NVR's 264.9%
  • Lower P/E (13.7x vs 16.7x), PEG 1.09 vs 1.22
Best for: long-term compounding
See the full category breakdown
CategoryWinnerWhy
GrowthALLE logoALLE7.8% revenue growth vs DHI's -6.9%
ValueDHI logoDHILower P/E (13.7x vs 16.7x), PEG 1.09 vs 1.22
Quality / MarginsTREX logoTREX16.3% margin vs DHI's 9.5%
Stability / SafetyALLE logoALLEBeta 0.67 vs TREX's 1.47
DividendsMAS logoMAS1.7% yield, 12-year raise streak, vs DHI's 1.1%, (2 stocks pay no dividend)
Momentum (1Y)MAS logoMAS+21.1% vs TREX's -30.8%
Efficiency (ROA)NVR logoNVR22.3% ROA vs DHI's 8.9%, ROIC 43.8% vs 12.1%

MAS vs ALLE vs TREX vs NVR vs DHI — Revenue Breakdown by Segment

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

MASMasco Corporation
FY 2025
Plumbing Products
66.0%$5.0B
Decorative Architectural Products
34.0%$2.6B
ALLEAllegion plc
FY 2025
Product
93.2%$3.8B
Non Mechanical Product Revenues [Domain]
6.8%$278M
TREXTrex Company, Inc.

Segment breakdown not available.

NVRNVR, Inc.
FY 2025
Home Building Segment
97.8%$10.1B
Mortgage Banking Segment
2.2%$230M
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

MAS vs ALLE vs TREX vs NVR vs DHI — Financial Metrics

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

BEST OVERALLMASLAGGINGALLE

Income & Cash Flow (Last 12 Months)

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

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

MetricMAS logoMASMasco CorporationALLE logoALLEAllegion plcTREX logoTREXTrex Company, Inc.NVR logoNVRNVR, Inc.DHI logoDHID.R. Horton, Inc.
RevenueTrailing 12 months$7.7B$4.2B$1.2B$10.2B$33.3B
EBITDAEarnings before interest/tax$1.4B$959M$309M$1.7B$4.0B
Net IncomeAfter-tax profit$837M$634M$191M$1.3B$3.2B
Free Cash FlowCash after capex$943M$704M$263M$1.1B$3.5B
Gross MarginGross profit ÷ Revenue+35.4%+45.0%+39.2%+22.8%+22.8%
Operating MarginEBIT ÷ Revenue+16.8%+20.6%+22.1%+16.5%+11.8%
Net MarginNet income ÷ Revenue+10.9%+15.2%+16.3%+13.2%+9.5%
FCF MarginFCF ÷ Revenue+12.3%+16.9%+22.3%+10.8%+10.5%
Rev. Growth (YoY)Latest quarter vs prior year+6.5%+9.7%+1.0%-4.9%-2.3%
EPS Growth (YoY)Latest quarter vs prior year+20.7%-7.0%+3.6%-13.1%-13.2%
TREX leads this category, winning 3 of 6 comparable metrics.

Valuation Metrics

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

At 12.6x trailing earnings, DHI trades at a 43% valuation discount to TREX's 22.0x 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.

MetricMAS logoMASMasco CorporationALLE logoALLEAllegion plcTREX logoTREXTrex Company, Inc.NVR logoNVRNVR, Inc.DHI logoDHID.R. Horton, Inc.
Market CapShares × price$14.5B$11.8B$4.1B$16.7B$42.3B
Enterprise ValueMkt cap + debt − cash$17.3B$13.7B$4.3B$15.9B$45.3B
Trailing P/EPrice ÷ TTM EPS18.63x18.39x22.00x13.76x12.62x
Forward P/EPrice ÷ next-FY EPS est.16.85x15.60x23.95x16.67x13.71x
PEG RatioP/E ÷ EPS growth rate3.76x1.08x6.58x1.01x1.01x
EV / EBITDAEnterprise value multiple12.18x13.83x13.53x8.90x10.02x
Price / SalesMarket cap ÷ Revenue1.92x2.89x3.51x1.62x1.23x
Price / BookPrice ÷ Book value/share201.40x5.72x4.05x4.77x1.83x
Price / FCFMarket cap ÷ FCF16.76x17.14x30.60x15.22x12.88x
DHI leads this category, winning 6 of 7 comparable metrics.

Profitability & Efficiency

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

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

MetricMAS logoMASMasco CorporationALLE logoALLEAllegion plcTREX logoTREXTrex Company, Inc.NVR logoNVRNVR, Inc.DHI logoDHID.R. Horton, Inc.
ROE (TTM)Return on equity+8.0%+32.1%+18.8%+34.3%+12.9%
ROA (TTM)Return on assets+15.9%+12.3%+12.3%+22.3%+8.9%
ROICReturn on invested capital+35.4%+18.1%+16.4%+43.8%+12.1%
ROCEReturn on capital employed+35.9%+20.8%+23.2%+32.9%+13.1%
Piotroski ScoreFundamental quality 0–966644
Debt / EquityFinancial leverage45.81x1.10x0.22x0.31x0.24x
Net DebtTotal debt minus cash$2.8B$1.9B$225M-$760M$3.0B
Cash & Equiv.Liquid assets$647M$356M$4M$2.0B$3.0B
Total DebtShort + long-term debt$3.4B$2.3B$229M$1.2B$6.0B
Interest CoverageEBIT ÷ Interest expense12.60x8.61x63.47x44.09x
NVR leads this category, winning 4 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

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

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

MetricMAS logoMASMasco CorporationALLE logoALLEAllegion plcTREX logoTREXTrex Company, Inc.NVR logoNVRNVR, Inc.DHI logoDHID.R. Horton, Inc.
YTD ReturnYear-to-date+12.1%-14.6%+9.3%-17.4%+0.8%
1-Year ReturnPast 12 months+21.1%-1.0%-30.8%-15.3%+20.3%
3-Year ReturnCumulative with dividends+40.1%+32.6%-30.4%+2.7%+38.6%
5-Year ReturnCumulative with dividends+16.1%+3.2%-64.0%+15.3%+46.7%
10-Year ReturnCumulative with dividends+152.1%+127.3%+239.9%+264.9%+424.3%
CAGR (3Y)Annualised 3-year return+11.9%+9.9%-11.4%+0.9%+11.5%
MAS leads this category, winning 4 of 6 comparable metrics.

Risk & Volatility

Evenly matched — MAS and ALLE each lead in 1 of 2 comparable metrics.

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

MetricMAS logoMASMasco CorporationALLE logoALLEAllegion plcTREX logoTREXTrex Company, Inc.NVR logoNVRNVR, Inc.DHI logoDHID.R. Horton, Inc.
Beta (5Y)Sensitivity to S&P 5001.28x0.67x1.47x0.68x0.85x
52-Week HighHighest price in past year$79.19$183.11$68.78$8618.28$184.55
52-Week LowLowest price in past year$58.16$131.25$29.77$5930.00$114.17
% of 52W HighCurrent price vs 52-week peak+90.8%+74.7%+56.9%+69.7%+79.1%
RSI (14)Momentum oscillator 0–10059.638.551.336.649.6
Avg Volume (50D)Average daily shares traded2.7M887K1.7M19K2.6M
Evenly matched — MAS and ALLE each lead in 1 of 2 comparable metrics.

Analyst Outlook

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

Analyst consensus: MAS as "Buy", ALLE as "Hold", TREX as "Hold", NVR as "Buy", DHI as "Hold". Consensus price targets imply 26.1% upside for ALLE (target: $173) vs 12.3% for DHI (target: $164). For income investors, MAS offers the higher dividend yield at 1.73% vs DHI's 1.09%.

MetricMAS logoMASMasco CorporationALLE logoALLEAllegion plcTREX logoTREXTrex Company, Inc.NVR logoNVRNVR, Inc.DHI logoDHID.R. Horton, Inc.
Analyst RatingConsensus buy/hold/sellBuyHoldHoldBuyHold
Price TargetConsensus 12-month target$82.36$172.50$44.50$7465.33$163.86
# AnalystsCovering analysts3823312452
Dividend YieldAnnual dividend ÷ price+1.7%+1.5%+1.1%
Dividend StreakConsecutive years of raises1212211
Dividend / ShareAnnual DPS$1.24$2.03$1.60
Buyback YieldShare repurchases ÷ mkt cap+3.9%+0.7%+1.3%+11.0%+10.1%
MAS leads this category, winning 2 of 2 comparable metrics.
Key Takeaway

MAS leads in 2 of 6 categories (Total Returns, Analyst Outlook). TREX leads in 1 (Income & Cash Flow). 1 tied.

Best OverallMasco Corporation (MAS)Leads 2 of 6 categories
Loading custom metrics...

MAS vs ALLE vs TREX vs NVR vs DHI: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is MAS or ALLE or TREX or NVR or DHI a better buy right now?

For growth investors, Allegion plc (ALLE) is the stronger pick with 7.

8% revenue growth year-over-year, versus -6. 9% for D. R. Horton, Inc. (DHI). 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 Masco Corporation (MAS) 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 — MAS or ALLE or TREX or NVR or DHI?

On trailing P/E, D.

R. Horton, Inc. (DHI) is the cheapest at 12. 6x versus Trex Company, Inc. at 22. 0x. 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: Allegion plc wins at 0. 92x 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 — MAS or ALLE or TREX or NVR or DHI?

Over the past 5 years, D.

R. Horton, Inc. (DHI) delivered a total return of +46. 7%, compared to -64. 0% for Trex Company, Inc. (TREX). Over 10 years, the gap is even starker: DHI returned +424. 3% versus ALLE's +127. 3%. 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 — MAS or ALLE or TREX or NVR or DHI?

By beta (market sensitivity over 5 years), Allegion plc (ALLE) is the lower-risk stock at 0.

67β versus Trex Company, Inc. 's 1. 47β — meaning TREX is approximately 121% more volatile than ALLE relative to the S&P 500. On balance sheet safety, Trex Company, Inc. (TREX) carries a lower debt/equity ratio of 22% versus 46% for Masco Corporation — giving it more financial flexibility in a downturn.

05

Which is growing faster — MAS or ALLE or TREX or NVR or DHI?

By revenue growth (latest reported year), Allegion plc (ALLE) is pulling ahead at 7.

8% versus -6. 9% for D. R. Horton, Inc. (DHI). On earnings-per-share growth, the picture is similar: Allegion plc grew EPS 9. 1% year-over-year, compared to -19. 3% for D. R. Horton, Inc.. Over a 3-year CAGR, ALLE leads at 7. 5% 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 — MAS or ALLE or TREX or NVR or DHI?

Trex Company, Inc.

(TREX) is the more profitable company, earning 16. 2% net margin versus 10. 5% for D. R. Horton, 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 12. 9% for DHI. At the gross margin level — before operating expenses — ALLE leads at 45. 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 MAS or ALLE or TREX or NVR 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, Allegion plc (ALLE) is the more undervalued stock at a PEG of 0. 92x 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 ALLE: 26. 1% to $172. 50.

08

Which pays a better dividend — MAS or ALLE or TREX or NVR or DHI?

In this comparison, MAS (1.

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

09

Is MAS or ALLE or TREX or NVR 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 MAS and ALLE and TREX and NVR and DHI?

These companies operate in different sectors (MAS (Industrials) and ALLE (Industrials) and TREX (Industrials) and NVR (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: MAS is a mid-cap quality compounder stock; ALLE is a mid-cap quality compounder stock; TREX is a small-cap quality compounder stock; NVR is a mid-cap deep-value stock; DHI is a mid-cap deep-value stock. MAS, ALLE, DHI pay a dividend while TREX, NVR 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

MAS

Income & Dividend Stock

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

ALLE

Stable Dividend Mega-Cap

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

TREX

Quality Business

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

NVR

Quality Business

  • Sector: Consumer Cyclical
  • Market Cap > $100B
  • Net Margin > 7%
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 MAS and ALLE and TREX and NVR and DHI on the metrics below

Revenue Growth>
%
(MAS: 6.5% · ALLE: 9.7%)
Net Margin>
%
(MAS: 10.9% · ALLE: 15.2%)
P/E Ratio<
x
(MAS: 18.6x · ALLE: 18.4x)

You Might Also Compare

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