Compare Stocks

5 / 10
Try these comparisons:

Stock Comparison

XYL vs GFF vs PNR vs ALLE vs MAS

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

Live fundamentals10-year financials5-year price chart
XYL
Xylem Inc.

Industrial - Machinery

IndustrialsNYSE • US
Market Cap$27.04B
5Y Perf.+71.5%
GFF
Griffon Corporation

Conglomerates

IndustrialsNYSE • US
Market Cap$4.10B
5Y Perf.+463.9%
PNR
Pentair plc

Industrial - Machinery

IndustrialsNYSE • GB
Market Cap$12.41B
5Y Perf.+96.3%
ALLE
Allegion plc

Security & Protection Services

IndustrialsNYSE • IE
Market Cap$11.55B
5Y Perf.+34.8%
MAS
Masco Corporation

Construction

IndustrialsNYSE • US
Market Cap$14.47B
5Y Perf.+53.8%

XYL vs GFF vs PNR vs ALLE vs MAS — Key Financials

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

Company Snapshot
XYL logoXYL
GFF logoGFF
PNR logoPNR
ALLE logoALLE
MAS logoMAS
IndustryIndustrial - MachineryConglomeratesIndustrial - MachinerySecurity & Protection ServicesConstruction
Market Cap$27.04B$4.10B$12.41B$11.55B$14.47B
Revenue (TTM)$9.09B$2.35B$4.20B$4.16B$7.68B
Net Income (TTM)$973M$35M$671M$634M$837M
Gross Margin38.6%42.6%40.9%45.0%35.4%
Operating Margin13.6%8.3%20.6%20.6%16.8%
Forward P/E20.6x16.8x14.4x15.3x16.8x
Total Debt$1.94B$1.59B$1.64B$2.28B$3.44B
Cash & Equiv.$1.48B$99M$102M$356M$647M

XYL vs GFF vs PNR vs ALLE vs MASLong-Term Stock Performance

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

XYL
GFF
PNR
ALLE
MAS
StockMay 20May 26Return
Xylem Inc. (XYL)100171.5+71.5%
Griffon Corporation (GFF)100563.9+463.9%
Pentair plc (PNR)100196.3+96.3%
Allegion plc (ALLE)100134.8+34.8%
Masco Corporation (MAS)100153.8+53.8%

Price return only. Dividends and distributions are not included.

Quick Verdict: XYL vs GFF vs PNR vs ALLE vs MAS

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 operational efficiency and capital deployment. XYL, GFF, and PNR also each lead in at least one category. As sector peers, any of these can serve as alternatives in the same allocation.
XYL
Xylem Inc.
The Value Pick

XYL ranks third and is worth considering specifically for valuation efficiency.

  • PEG 0.90 vs MAS's 3.38
  • PEG 0.90 vs 3.38
Best for: valuation efficiency
GFF
Griffon Corporation
The Long-Run Compounder

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

  • 5.4% 10Y total return vs XYL's 200.2%
  • +25.2% vs PNR's -16.8%
Best for: long-term compounding
PNR
Pentair plc
The Quality Compounder

PNR is the clearest fit if your priority is quality.

  • 16.0% margin vs GFF's 1.5%
Best for: quality
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.66, yield 1.5%
  • Rev growth 7.8%, EPS growth 9.1%, 3Y rev CAGR 7.5%
  • Lower volatility, beta 0.66, current ratio 1.84x
  • Beta 0.66, yield 1.5%, current ratio 1.84x
Best for: income & stability and growth exposure
MAS
Masco Corporation
The Income Pick

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

  • 1.7% yield, 12-year raise streak, vs XYL's 1.4%
  • 15.9% ROA vs GFF's 1.7%, ROIC 35.4% vs 9.1%
Best for: dividends and efficiency
See the full category breakdown
CategoryWinnerWhy
GrowthALLE logoALLE7.8% revenue growth vs GFF's -3.9%
ValueXYL logoXYLPEG 0.90 vs 3.38
Quality / MarginsPNR logoPNR16.0% margin vs GFF's 1.5%
Stability / SafetyALLE logoALLEBeta 0.66 vs GFF's 1.35, lower leverage
DividendsMAS logoMAS1.7% yield, 12-year raise streak, vs XYL's 1.4%
Momentum (1Y)GFF logoGFF+25.2% vs PNR's -16.8%
Efficiency (ROA)MAS logoMAS15.9% ROA vs GFF's 1.7%, ROIC 35.4% vs 9.1%

XYL vs GFF vs PNR vs ALLE vs MAS — Revenue Breakdown by Segment

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

XYLXylem Inc.
FY 2025
Water Infrastructure
40.1%$2.6B
Measurement and Control Solutions
31.7%$2.1B
Applied Water
28.1%$1.8B
GFFGriffon Corporation
FY 2025
Home and Building Products (HBP)
62.9%$1.6B
Consumer And Professional Products
37.1%$936M
PNRPentair plc
FY 2025
Pool
37.3%$1.6B
Industrial & Flow Technologies
37.2%$1.6B
Water Unit
25.4%$1.1B
ALLEAllegion plc
FY 2025
Product
93.2%$3.8B
Non Mechanical Product Revenues [Domain]
6.8%$278M
MASMasco Corporation
FY 2025
Plumbing Products
66.0%$5.0B
Decorative Architectural Products
34.0%$2.6B

XYL vs GFF vs PNR vs ALLE vs MAS — Financial Metrics

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

BEST OVERALLGFFLAGGINGPNR

Income & Cash Flow (Last 12 Months)

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

XYL is the larger business by revenue, generating $9.1B annually — 3.9x GFF's $2.3B. PNR is the more profitable business, keeping 16.0% of every revenue dollar as net income compared to GFF's 1.5%. On growth, ALLE holds the edge at +9.7% YoY revenue growth, suggesting stronger near-term business momentum.

MetricXYL logoXYLXylem Inc.GFF logoGFFGriffon Corporati…PNR logoPNRPentair plcALLE logoALLEAllegion plcMAS logoMASMasco Corporation
RevenueTrailing 12 months$9.1B$2.3B$4.2B$4.2B$7.7B
EBITDAEarnings before interest/tax$1.8B$243M$983M$959M$1.4B
Net IncomeAfter-tax profit$973M$35M$671M$634M$837M
Free Cash FlowCash after capex$966M$287M$716M$704M$943M
Gross MarginGross profit ÷ Revenue+38.6%+42.6%+40.9%+45.0%+35.4%
Operating MarginEBIT ÷ Revenue+13.6%+8.3%+20.6%+20.6%+16.8%
Net MarginNet income ÷ Revenue+10.7%+1.5%+16.0%+15.2%+10.9%
FCF MarginFCF ÷ Revenue+10.6%+12.2%+17.0%+16.9%+12.3%
Rev. Growth (YoY)Latest quarter vs prior year+2.7%-31.0%+2.6%+9.7%+6.5%
EPS Growth (YoY)Latest quarter vs prior year+14.5%-65.3%+12.9%-7.0%+20.7%
ALLE leads this category, winning 3 of 6 comparable metrics.

Valuation Metrics

Evenly matched — GFF and ALLE each lead in 2 of 7 comparable metrics.

At 18.1x trailing earnings, ALLE trades at a 78% valuation discount to GFF's 80.8x P/E. Adjusting for growth (PEG ratio), ALLE offers better value at 1.06x vs GFF's 4.53x — a lower PEG means you pay less per unit of expected earnings growth.

MetricXYL logoXYLXylem Inc.GFF logoGFFGriffon Corporati…PNR logoPNRPentair plcALLE logoALLEAllegion plcMAS logoMASMasco Corporation
Market CapShares × price$27.0B$4.1B$12.4B$11.5B$14.5B
Enterprise ValueMkt cap + debt − cash$27.5B$5.6B$14.0B$13.5B$17.3B
Trailing P/EPrice ÷ TTM EPS29.02x80.75x19.40x18.06x18.59x
Forward P/EPrice ÷ next-FY EPS est.20.56x16.79x14.35x15.33x16.79x
PEG RatioP/E ÷ EPS growth rate1.27x4.53x1.48x1.06x3.75x
EV / EBITDAEnterprise value multiple15.29x20.77x14.31x13.62x12.16x
Price / SalesMarket cap ÷ Revenue2.99x1.63x2.97x2.84x1.91x
Price / BookPrice ÷ Book value/share2.36x55.55x3.29x5.62x200.89x
Price / FCFMarket cap ÷ FCF29.71x13.51x16.64x16.84x16.71x
Evenly matched — GFF and ALLE each lead in 2 of 7 comparable metrics.

Profitability & Efficiency

MAS 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 $9 for XYL. XYL carries lower financial leverage with a 0.17x debt-to-equity ratio, signaling a more conservative balance sheet compared to MAS's 45.81x. On the Piotroski fundamental quality scale (0–9), PNR scores 8/9 vs MAS's 6/9, reflecting strong financial health.

MetricXYL logoXYLXylem Inc.GFF logoGFFGriffon Corporati…PNR logoPNRPentair plcALLE logoALLEAllegion plcMAS logoMASMasco Corporation
ROE (TTM)Return on equity+8.5%+40.8%+17.7%+32.1%+8.0%
ROA (TTM)Return on assets+5.6%+1.7%+9.9%+12.3%+15.9%
ROICReturn on invested capital+7.6%+9.1%+12.1%+18.1%+35.4%
ROCEReturn on capital employed+8.5%+11.0%+15.0%+20.8%+35.9%
Piotroski ScoreFundamental quality 0–966866
Debt / EquityFinancial leverage0.17x21.52x0.42x1.10x45.81x
Net DebtTotal debt minus cash$463M$1.5B$1.5B$1.9B$2.8B
Cash & Equiv.Liquid assets$1.5B$99M$102M$356M$647M
Total DebtShort + long-term debt$1.9B$1.6B$1.6B$2.3B$3.4B
Interest CoverageEBIT ÷ Interest expense49.32x4.02x11.94x8.61x12.60x
MAS leads this category, winning 4 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

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

A $10,000 investment in GFF five years ago would be worth $36,095 today (with dividends reinvested), compared to $10,060 for ALLE. Over the past 12 months, GFF leads with a +25.2% total return vs PNR's -16.8%. The 3-year compound annual growth rate (CAGR) favors GFF at 45.3% vs XYL's 3.3% — a key indicator of consistent wealth creation.

MetricXYL logoXYLXylem Inc.GFF logoGFFGriffon Corporati…PNR logoPNRPentair plcALLE logoALLEAllegion plcMAS logoMASMasco Corporation
YTD ReturnYear-to-date-16.7%+17.6%-26.7%-16.2%+11.8%
1-Year ReturnPast 12 months-6.4%+25.2%-16.8%-3.2%+18.3%
3-Year ReturnCumulative with dividends+10.1%+207.0%+36.1%+30.3%+39.7%
5-Year ReturnCumulative with dividends+0.6%+261.0%+17.9%+0.6%+15.4%
10-Year ReturnCumulative with dividends+200.2%+540.7%+121.3%+123.6%+151.5%
CAGR (3Y)Annualised 3-year return+3.3%+45.3%+10.8%+9.2%+11.8%
GFF leads this category, winning 6 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.66 beta — it tends to amplify market swings less than GFF's 1.35 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. MAS currently trades 90.6% from its 52-week high vs PNR's 67.4% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricXYL logoXYLXylem Inc.GFF logoGFFGriffon Corporati…PNR logoPNRPentair plcALLE logoALLEAllegion plcMAS logoMASMasco Corporation
Beta (5Y)Sensitivity to S&P 5000.90x1.35x1.21x0.66x1.28x
52-Week HighHighest price in past year$154.27$97.58$113.95$183.11$79.19
52-Week LowLowest price in past year$113.46$65.01$76.69$131.25$58.16
% of 52W HighCurrent price vs 52-week peak+73.7%+90.2%+67.4%+73.4%+90.6%
RSI (14)Momentum oscillator 0–10040.458.633.741.559.5
Avg Volume (50D)Average daily shares traded2.1M348K1.6M886K2.7M
Evenly matched — ALLE and MAS each lead in 1 of 2 comparable metrics.

Analyst Outlook

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

Analyst consensus: XYL as "Hold", GFF as "Buy", PNR as "Hold", ALLE as "Hold", MAS as "Buy". Consensus price targets imply 47.8% upside for PNR (target: $114) vs 15.1% for MAS (target: $83). For income investors, MAS offers the higher dividend yield at 1.73% vs GFF's 0.97%.

MetricXYL logoXYLXylem Inc.GFF logoGFFGriffon Corporati…PNR logoPNRPentair plcALLE logoALLEAllegion plcMAS logoMASMasco Corporation
Analyst RatingConsensus buy/hold/sellHoldBuyHoldHoldBuy
Price TargetConsensus 12-month target$151.57$115.00$113.56$172.50$82.60
# AnalystsCovering analysts407412338
Dividend YieldAnnual dividend ÷ price+1.4%+1.0%+1.3%+1.5%+1.7%
Dividend StreakConsecutive years of raises15161212
Dividend / ShareAnnual DPS$1.60$0.85$0.99$2.03$1.24
Buyback YieldShare repurchases ÷ mkt cap+0.1%+4.5%+1.8%+0.7%+3.9%
Evenly matched — XYL and MAS each lead in 1 of 2 comparable metrics.
Key Takeaway

ALLE leads in 1 of 6 categories (Income & Cash Flow). MAS leads in 1 (Profitability & Efficiency). 3 tied.

Best OverallGriffon Corporation (GFF)Leads 1 of 6 categories
Loading custom metrics...

XYL vs GFF vs PNR vs ALLE vs MAS: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is XYL or GFF or PNR or ALLE or MAS 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. 9% for Griffon Corporation (GFF). Allegion plc (ALLE) offers the better valuation at 18. 1x trailing P/E (15. 3x forward), making it the more compelling value choice. Analysts rate Griffon Corporation (GFF) a "Buy" — based on 7 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 — XYL or GFF or PNR or ALLE or MAS?

On trailing P/E, Allegion plc (ALLE) is the cheapest at 18.

1x versus Griffon Corporation at 80. 8x. On forward P/E, Pentair plc is actually cheaper at 14. 4x — 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: Xylem Inc. wins at 0. 90x versus Masco Corporation's 3. 38x — a PEG below 1. 0 traditionally signals the market is underpricing earnings growth.

03

Which is the better long-term investment — XYL or GFF or PNR or ALLE or MAS?

Over the past 5 years, Griffon Corporation (GFF) delivered a total return of +261.

0%, compared to +0. 6% for Allegion plc (ALLE). Over 10 years, the gap is even starker: GFF returned +540. 7% versus PNR's +121. 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 — XYL or GFF or PNR or ALLE or MAS?

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

66β versus Griffon Corporation's 1. 35β — meaning GFF is approximately 104% more volatile than ALLE relative to the S&P 500. On balance sheet safety, Xylem Inc. (XYL) carries a lower debt/equity ratio of 17% versus 46% for Masco Corporation — giving it more financial flexibility in a downturn.

05

Which is growing faster — XYL or GFF or PNR or ALLE or MAS?

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

8% versus -3. 9% for Griffon Corporation (GFF). On earnings-per-share growth, the picture is similar: Allegion plc grew EPS 9. 1% year-over-year, compared to -74. 2% for Griffon Corporation. Over a 3-year CAGR, XYL leads at 17. 8% 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 — XYL or GFF or PNR or ALLE or MAS?

Allegion plc (ALLE) is the more profitable company, earning 15.

8% net margin versus 2. 0% for Griffon Corporation — meaning it keeps 15. 8% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: ALLE leads at 21. 1% versus 8. 2% for GFF. 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 XYL or GFF or PNR or ALLE or MAS 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, Xylem Inc. (XYL) is the more undervalued stock at a PEG of 0. 90x versus Masco Corporation's 3. 38x. A PEG below 1. 0 is traditionally considered the threshold for growth-adjusted undervaluation. On forward earnings alone, Pentair plc (PNR) trades at 14. 4x forward P/E versus 20. 6x for Xylem Inc. — 6. 2x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for PNR: 47. 8% to $113. 56.

08

Which pays a better dividend — XYL or GFF or PNR or ALLE or MAS?

All stocks in this comparison pay dividends.

Masco Corporation (MAS) offers the highest yield at 1. 7%, versus 1. 0% for Griffon Corporation (GFF).

09

Is XYL or GFF or PNR or ALLE or MAS 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.

66), 1. 5% yield, +123. 6% 10Y return). Both have compounded well over 10 years (ALLE: +123. 6%, MAS: +151. 5%), 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 XYL and GFF and PNR and ALLE and MAS?

Both stocks operate in the Industrials sector, making this a peer-level intra-sector comparison — the same macro tailwinds and headwinds will affect both.

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

XYL

Stable Dividend Mega-Cap

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

GFF

Stable Dividend Mega-Cap

  • Sector: Industrials
  • Market Cap > $100B
  • Gross Margin > 25%
  • Dividend Yield > 0.5%
Run This Screen
Stocks Like

PNR

Stable Dividend Mega-Cap

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

ALLE

Income & Dividend Stock

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

MAS

Income & Dividend Stock

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

Beat Both

Find stocks that outperform XYL and GFF and PNR and ALLE and MAS on the metrics below

Revenue Growth>
%
(XYL: 2.7% · GFF: -31.0%)
P/E Ratio<
x
(XYL: 29.0x · GFF: 80.8x)

You Might Also Compare

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