Compare Stocks

4 / 10
Try these comparisons:

Stock Comparison

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
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%

ALLE vs TREX vs NVR vs DHI — Key Financials

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

Company Snapshot
ALLE logoALLE
TREX logoTREX
NVR logoNVR
DHI logoDHI
IndustrySecurity & Protection ServicesConstructionResidential ConstructionResidential Construction
Market Cap$11.76B$4.12B$16.69B$42.29B
Revenue (TTM)$4.16B$1.18B$10.17B$33.35B
Net Income (TTM)$634M$191M$1.34B$3.17B
Gross Margin45.0%39.2%22.8%22.8%
Operating Margin20.6%22.1%16.5%11.8%
Forward P/E15.6x24.0x16.7x13.7x
Total Debt$2.28B$229M$1.20B$6.03B
Cash & Equiv.$356M$4M$1.96B$2.99B

ALLE vs TREX vs NVR vs DHILong-Term Stock Performance

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

ALLE
TREX
NVR
DHI
StockMay 20May 26Return
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: 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: ALLE leads in 3 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 and NVR also each lead in at least one category. This set spans 2 sectors — these stocks serve different portfolio roles, not just different price points.
ALLE
Allegion plc
The Income Pick

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

  • Dividend streak 12 yrs, beta 0.67, yield 1.5%
  • 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
Best for: income & stability and growth exposure
TREX
Trex Company, Inc.
The Quality Compounder

TREX is the clearest fit if your priority is 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 #2 pick in this set and the best alternative if long-term compounding is your priority.

  • 424.3% 10Y total return vs NVR's 264.9%
  • Lower P/E (13.7x vs 16.7x), PEG 1.09 vs 1.22
  • +20.3% vs TREX's -30.8%
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
DividendsALLE logoALLE1.5% yield, 12-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)NVR logoNVR22.3% ROA vs DHI's 8.9%, ROIC 43.8% vs 12.1%

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

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

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

ALLE vs TREX vs NVR vs DHI — Financial Metrics

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

BEST OVERALLDHILAGGINGNVR

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 — 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.

MetricALLE logoALLEAllegion plcTREX logoTREXTrex Company, Inc.NVR logoNVRNVR, Inc.DHI logoDHID.R. Horton, Inc.
RevenueTrailing 12 months$4.2B$1.2B$10.2B$33.3B
EBITDAEarnings before interest/tax$959M$309M$1.7B$4.0B
Net IncomeAfter-tax profit$634M$191M$1.3B$3.2B
Free Cash FlowCash after capex$704M$263M$1.1B$3.5B
Gross MarginGross profit ÷ Revenue+45.0%+39.2%+22.8%+22.8%
Operating MarginEBIT ÷ Revenue+20.6%+22.1%+16.5%+11.8%
Net MarginNet income ÷ Revenue+15.2%+16.3%+13.2%+9.5%
FCF MarginFCF ÷ Revenue+16.9%+22.3%+10.8%+10.5%
Rev. Growth (YoY)Latest quarter vs prior year+9.7%+1.0%-4.9%-2.3%
EPS Growth (YoY)Latest quarter vs prior year-7.0%+3.6%-13.1%-13.2%
TREX leads this category, winning 4 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.

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

Profitability & Efficiency

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

NVR delivers a 34.3% return on equity — every $100 of shareholder capital generates $34 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 ALLE's 1.10x. On the Piotroski fundamental quality scale (0–9), ALLE scores 6/9 vs DHI's 4/9, reflecting solid financial health.

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

Total Returns (Dividends Reinvested)

DHI leads this category, winning 5 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, 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.

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

Risk & Volatility

Evenly matched — ALLE and DHI 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. DHI currently trades 79.1% from its 52-week high vs TREX's 56.9% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

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

Analyst Outlook

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

Analyst consensus: 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, ALLE offers the higher dividend yield at 1.48% vs DHI's 1.09%.

MetricALLE logoALLEAllegion plcTREX logoTREXTrex Company, Inc.NVR logoNVRNVR, Inc.DHI logoDHID.R. Horton, Inc.
Analyst RatingConsensus buy/hold/sellHoldHoldBuyHold
Price TargetConsensus 12-month target$172.50$44.50$7465.33$163.86
# AnalystsCovering analysts23312452
Dividend YieldAnnual dividend ÷ price+1.5%+1.1%
Dividend StreakConsecutive years of raises12211
Dividend / ShareAnnual DPS$2.03$1.60
Buyback YieldShare repurchases ÷ mkt cap+0.7%+1.3%+11.0%+10.1%
ALLE 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). 1 tied.

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

ALLE vs TREX vs NVR vs DHI: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is 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 NVR, Inc. (NVR) a "Buy" — based on 24 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 — 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 — 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 — 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 110% for Allegion plc — giving it more financial flexibility in a downturn.

05

Which is growing faster — 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 — 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 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 — ALLE or TREX or NVR or DHI?

In this comparison, 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 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 ALLE and TREX and NVR and DHI?

These companies operate in different sectors (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: 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. 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

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 ALLE and TREX and NVR and DHI on the metrics below

Revenue Growth>
%
(ALLE: 9.7% · TREX: 1.0%)
Net Margin>
%
(ALLE: 15.2% · TREX: 16.3%)
P/E Ratio<
x
(ALLE: 18.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.