Compare Stocks

5 / 10
Try these comparisons:

Stock Comparison

ALLE vs ASGN vs MAS vs TREX vs NVR

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

Information Technology Services

TechnologyNYSE • US
Market Cap$895M
5Y Perf.-37.1%
MAS
Masco Corporation

Construction

IndustrialsNYSE • US
Market Cap$14.51B
5Y Perf.+54.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%

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

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

Company Snapshot
ALLE logoALLE
ASGN logoASGN
MAS logoMAS
TREX logoTREX
NVR logoNVR
IndustrySecurity & Protection ServicesInformation Technology ServicesConstructionConstructionResidential Construction
Market Cap$11.76B$895M$14.51B$4.12B$16.69B
Revenue (TTM)$4.16B$3.98B$7.68B$1.18B$10.17B
Net Income (TTM)$634M$114M$837M$191M$1.34B
Gross Margin45.0%28.4%35.4%39.2%22.8%
Operating Margin20.6%6.1%16.8%22.1%16.5%
Forward P/E15.6x5.8x16.9x24.0x16.7x
Total Debt$2.28B$1.17B$3.44B$229M$1.20B
Cash & Equiv.$356M$102M$647M$4M$1.96B

ALLE vs ASGN vs MAS vs TREX vs NVRLong-Term Stock Performance

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

ALLE
ASGN
MAS
TREX
NVR
StockMay 20May 26Return
Allegion plc (ALLE)100137.2+37.2%
ASGN Incorporated (ASGN)10062.9-37.1%
Masco Corporation (MAS)100154.2+54.2%
Trex Company, Inc. (TREX)10065.2-34.8%
NVR, Inc. (NVR)100186.5+86.5%

Price return only. Dividends and distributions are not included.

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

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

Bottom line: ALLE and MAS are tied at the top with 2 categories each (5-stock set) — the right choice depends on your priorities. Masco Corporation is the stronger pick specifically for dividend income and shareholder returns and recent price momentum and sentiment. ASGN, TREX, and NVR also each lead in at least one category. This set spans 3 sectors — these stocks serve different portfolio roles, not just different price points.
ALLE
Allegion plc
The Income Pick

ALLE has the current edge in this matchup, primarily because of its strength in 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%
  • PEG 0.92 vs TREX's 7.16
  • Beta 0.67, yield 1.5%, current ratio 1.84x
Best for: income & stability and growth exposure
ASGN
ASGN Incorporated
The Value Play

ASGN ranks third and is worth considering specifically for value.

  • Lower P/E (5.8x vs 16.7x)
Best for: value
MAS
Masco Corporation
The Income Pick

MAS is the #2 pick in this set and the best alternative if dividends and momentum is your priority.

  • 1.7% yield, 12-year raise streak, vs ALLE's 1.5%, (3 stocks pay no dividend)
  • +21.1% vs ASGN's -61.5%
Best for: dividends and momentum
TREX
Trex Company, Inc.
The Quality Compounder

TREX is the clearest fit if your priority is quality.

  • 16.3% margin vs ASGN's 2.9%
Best for: quality
NVR
NVR, Inc.
The Long-Run Compounder

NVR is the clearest fit if your priority is long-term compounding and sleep-well-at-night.

  • 264.9% 10Y total return vs MAS's 152.1%
  • Lower volatility, beta 0.68, Low D/E 31.0%, current ratio 3.95x
  • 22.3% ROA vs ASGN's 3.1%, ROIC 43.8% vs 6.9%
Best for: long-term compounding and sleep-well-at-night
See the full category breakdown
CategoryWinnerWhy
GrowthALLE logoALLE7.8% revenue growth vs MAS's -3.4%
ValueASGN logoASGNLower P/E (5.8x vs 16.7x)
Quality / MarginsTREX logoTREX16.3% margin vs ASGN's 2.9%
Stability / SafetyALLE logoALLEBeta 0.67 vs TREX's 1.47
DividendsMAS logoMAS1.7% yield, 12-year raise streak, vs ALLE's 1.5%, (3 stocks pay no dividend)
Momentum (1Y)MAS logoMAS+21.1% vs ASGN's -61.5%
Efficiency (ROA)NVR logoNVR22.3% ROA vs ASGN's 3.1%, ROIC 43.8% vs 6.9%

ALLE vs ASGN vs MAS vs TREX vs NVR — 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
ASGNASGN Incorporated
FY 2025
Commercial Business
70.1%$2.8B
Federal Government Business
29.9%$1.2B
MASMasco Corporation
FY 2025
Plumbing Products
66.0%$5.0B
Decorative Architectural Products
34.0%$2.6B
TREXTrex Company, Inc.

Segment breakdown not available.

NVRNVR, Inc.
FY 2025
Home Building Segment
97.8%$10.1B
Mortgage Banking Segment
2.2%$230M

ALLE vs ASGN vs MAS vs TREX vs NVR — 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.

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

MetricALLE logoALLEAllegion plcASGN logoASGNASGN IncorporatedMAS logoMASMasco CorporationTREX logoTREXTrex Company, Inc.NVR logoNVRNVR, Inc.
RevenueTrailing 12 months$4.2B$4.0B$7.7B$1.2B$10.2B
EBITDAEarnings before interest/tax$959M$360M$1.4B$309M$1.7B
Net IncomeAfter-tax profit$634M$114M$837M$191M$1.3B
Free Cash FlowCash after capex$704M$288M$943M$263M$1.1B
Gross MarginGross profit ÷ Revenue+45.0%+28.4%+35.4%+39.2%+22.8%
Operating MarginEBIT ÷ Revenue+20.6%+6.1%+16.8%+22.1%+16.5%
Net MarginNet income ÷ Revenue+15.2%+2.9%+10.9%+16.3%+13.2%
FCF MarginFCF ÷ Revenue+16.9%+7.2%+12.3%+22.3%+10.8%
Rev. Growth (YoY)Latest quarter vs prior year+9.7%-0.5%+6.5%+1.0%-4.9%
EPS Growth (YoY)Latest quarter vs prior year-7.0%-37.9%+20.7%+3.6%-13.1%
TREX leads this category, winning 3 of 6 comparable metrics.

Valuation Metrics

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

At 8.1x trailing earnings, ASGN trades at a 63% valuation discount to TREX's 22.0x P/E. Adjusting for growth (PEG ratio), NVR 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 plcASGN logoASGNASGN IncorporatedMAS logoMASMasco CorporationTREX logoTREXTrex Company, Inc.NVR logoNVRNVR, Inc.
Market CapShares × price$11.8B$895M$14.5B$4.1B$16.7B
Enterprise ValueMkt cap + debt − cash$13.7B$2.0B$17.3B$4.3B$15.9B
Trailing P/EPrice ÷ TTM EPS18.39x8.06x18.63x22.00x13.76x
Forward P/EPrice ÷ next-FY EPS est.15.60x5.80x16.85x23.95x16.67x
PEG RatioP/E ÷ EPS growth rate1.08x3.76x6.58x1.01x
EV / EBITDAEnterprise value multiple13.83x5.30x12.18x13.53x8.90x
Price / SalesMarket cap ÷ Revenue2.89x0.22x1.92x3.51x1.62x
Price / BookPrice ÷ Book value/share5.72x0.51x201.40x4.05x4.77x
Price / FCFMarket cap ÷ FCF17.14x3.11x16.76x30.60x15.22x
ASGN 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 $6 for ASGN. 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), ALLE scores 6/9 vs NVR's 4/9, reflecting solid financial health.

MetricALLE logoALLEAllegion plcASGN logoASGNASGN IncorporatedMAS logoMASMasco CorporationTREX logoTREXTrex Company, Inc.NVR logoNVRNVR, Inc.
ROE (TTM)Return on equity+32.1%+6.3%+8.0%+18.8%+34.3%
ROA (TTM)Return on assets+12.3%+3.1%+15.9%+12.3%+22.3%
ROICReturn on invested capital+18.1%+6.9%+35.4%+16.4%+43.8%
ROCEReturn on capital employed+20.8%+7.2%+35.9%+23.2%+32.9%
Piotroski ScoreFundamental quality 0–965664
Debt / EquityFinancial leverage1.10x0.65x45.81x0.22x0.31x
Net DebtTotal debt minus cash$1.9B$1.1B$2.8B$225M-$760M
Cash & Equiv.Liquid assets$356M$102M$647M$4M$2.0B
Total DebtShort + long-term debt$2.3B$1.2B$3.4B$229M$1.2B
Interest CoverageEBIT ÷ Interest expense8.61x1.96x12.60x63.47x
NVR leads this category, winning 4 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

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

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

MetricALLE logoALLEAllegion plcASGN logoASGNASGN IncorporatedMAS logoMASMasco CorporationTREX logoTREXTrex Company, Inc.NVR logoNVRNVR, Inc.
YTD ReturnYear-to-date-14.6%-55.1%+12.1%+9.3%-17.4%
1-Year ReturnPast 12 months-1.0%-61.5%+21.1%-30.8%-15.3%
3-Year ReturnCumulative with dividends+32.6%-68.2%+40.1%-30.4%+2.7%
5-Year ReturnCumulative with dividends+3.2%-80.4%+16.1%-64.0%+15.3%
10-Year ReturnCumulative with dividends+127.3%-41.9%+152.1%+239.9%+264.9%
CAGR (3Y)Annualised 3-year return+9.9%-31.7%+11.9%-11.4%+0.9%
MAS leads this category, winning 5 of 6 comparable metrics.

Risk & Volatility

Evenly matched — ALLE and MAS 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 ASGN's 34.5% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricALLE logoALLEAllegion plcASGN logoASGNASGN IncorporatedMAS logoMASMasco CorporationTREX logoTREXTrex Company, Inc.NVR logoNVRNVR, Inc.
Beta (5Y)Sensitivity to S&P 5000.67x1.34x1.28x1.47x0.68x
52-Week HighHighest price in past year$183.11$60.75$79.19$68.78$8618.28
52-Week LowLowest price in past year$131.25$19.31$58.16$29.77$5930.00
% of 52W HighCurrent price vs 52-week peak+74.7%+34.5%+90.8%+56.9%+69.7%
RSI (14)Momentum oscillator 0–10038.518.459.651.336.6
Avg Volume (50D)Average daily shares traded887K947K2.7M1.7M19K
Evenly matched — ALLE and MAS each lead in 1 of 2 comparable metrics.

Analyst Outlook

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

Analyst consensus: ALLE as "Hold", ASGN as "Hold", MAS as "Buy", TREX as "Hold", NVR as "Buy". Consensus price targets imply 79.4% upside for ASGN (target: $38) vs 13.6% for TREX (target: $45). For income investors, MAS offers the higher dividend yield at 1.73% vs ALLE's 1.48%.

MetricALLE logoALLEAllegion plcASGN logoASGNASGN IncorporatedMAS logoMASMasco CorporationTREX logoTREXTrex Company, Inc.NVR logoNVRNVR, Inc.
Analyst RatingConsensus buy/hold/sellHoldHoldBuyHoldBuy
Price TargetConsensus 12-month target$172.50$37.60$82.36$44.50$7465.33
# AnalystsCovering analysts2313383124
Dividend YieldAnnual dividend ÷ price+1.5%+1.7%
Dividend StreakConsecutive years of raises12122
Dividend / ShareAnnual DPS$2.03$1.24
Buyback YieldShare repurchases ÷ mkt cap+0.7%+19.0%+3.9%+1.3%+11.0%
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...

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

10 questions · data-driven answers · updated daily

01

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

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

8% revenue growth year-over-year, versus -3. 4% for Masco Corporation (MAS). ASGN Incorporated (ASGN) offers the better valuation at 8. 1x trailing P/E (5. 8x 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 — ALLE or ASGN or MAS or TREX or NVR?

On trailing P/E, ASGN Incorporated (ASGN) is the cheapest at 8.

1x versus Trex Company, Inc. at 22. 0x. On forward P/E, ASGN Incorporated is actually cheaper at 5. 8x. 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 ASGN or MAS or TREX or NVR?

Over the past 5 years, Masco Corporation (MAS) delivered a total return of +16.

1%, compared to -80. 4% for ASGN Incorporated (ASGN). Over 10 years, the gap is even starker: NVR returned +264. 9% versus ASGN's -41. 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 — ALLE or ASGN or MAS or TREX or NVR?

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 — ALLE or ASGN or MAS or TREX or NVR?

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

8% versus -3. 4% for Masco Corporation (MAS). On earnings-per-share growth, the picture is similar: Allegion plc grew EPS 9. 1% year-over-year, compared to -32. 1% for ASGN Incorporated. 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 ASGN or MAS or TREX or NVR?

Trex Company, Inc.

(TREX) is the more profitable company, earning 16. 2% net margin versus 2. 9% for ASGN Incorporated — 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 6. 5% for ASGN. 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 ASGN or MAS or TREX or NVR 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, ASGN Incorporated (ASGN) trades at 5. 8x forward P/E versus 24. 0x for Trex Company, Inc. — 18. 2x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for ASGN: 79. 4% to $37. 60.

08

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

In this comparison, MAS (1.

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

09

Is ALLE or ASGN or MAS or TREX or NVR better for a retirement portfolio?

For long-horizon retirement investors, Allegion plc (ALLE) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0.

67), 1. 5% yield, +127. 3% 10Y return). Both have compounded well over 10 years (ALLE: +127. 3%, ASGN: -41. 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 ASGN and MAS and TREX and NVR?

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

ASGN

Quality Business

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

MAS

Income & Dividend Stock

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

Beat Both

Find stocks that outperform ALLE and ASGN and MAS and TREX and NVR on the metrics below

Revenue Growth>
%
(ALLE: 9.7% · ASGN: -0.5%)
Net Margin>
%
(ALLE: 15.2% · ASGN: 2.9%)
P/E Ratio<
x
(ALLE: 18.4x · ASGN: 8.1x)

You Might Also Compare

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