Compare Stocks

5 / 10
Try these comparisons:

Stock Comparison

HAYW vs SHW vs TREX vs MAS vs AWI

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

Live fundamentals10-year financials5-year price chart
HAYW
Hayward Holdings, Inc.

Electrical Equipment & Parts

IndustrialsNYSE • US
Market Cap$3.20B
5Y Perf.-12.5%
SHW
The Sherwin-Williams Company

Chemicals - Specialty

Basic MaterialsNYSE • US
Market Cap$78.98B
5Y Perf.+30.2%
TREX
Trex Company, Inc.

Construction

IndustrialsNYSE • US
Market Cap$4.12B
5Y Perf.-57.2%
MAS
Masco Corporation

Construction

IndustrialsNYSE • US
Market Cap$14.51B
5Y Perf.+20.1%
AWI
Armstrong World Industries, Inc.

Construction

IndustrialsNYSE • US
Market Cap$7.05B
5Y Perf.+83.2%

HAYW vs SHW vs TREX vs MAS vs AWI — Key Financials

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

Company Snapshot
HAYW logoHAYW
SHW logoSHW
TREX logoTREX
MAS logoMAS
AWI logoAWI
IndustryElectrical Equipment & PartsChemicals - SpecialtyConstructionConstructionConstruction
Market Cap$3.20B$78.98B$4.12B$14.51B$7.05B
Revenue (TTM)$1.15B$23.94B$1.18B$7.68B$1.65B
Net Income (TTM)$161M$2.60B$191M$837M$306M
Gross Margin45.0%49.1%39.2%35.4%40.3%
Operating Margin21.3%16.1%22.1%16.8%27.5%
Forward P/E17.2x27.3x24.0x16.9x19.9x
Total Debt$13M$14.53B$229M$3.44B$532M
Cash & Equiv.$330M$207M$4M$647M$113M

HAYW vs SHW vs TREX vs MAS vs AWILong-Term Stock Performance

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

HAYW
SHW
TREX
MAS
AWI
StockMar 21May 26Return
Hayward Holdings, I… (HAYW)10087.5-12.5%
The Sherwin-William… (SHW)100130.2+30.2%
Trex Company, Inc. (TREX)10042.8-57.2%
Masco Corporation (MAS)100120.1+20.1%
Armstrong World Ind… (AWI)100183.2+83.2%

Price return only. Dividends and distributions are not included.

Quick Verdict: HAYW vs SHW vs TREX vs MAS vs AWI

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

Bottom line: AWI leads in 3 of 7 categories (5-stock set), making it the strongest pick for growth and revenue expansion and profitability and margin quality. Masco Corporation is the stronger pick specifically for dividend income and shareholder returns and recent price momentum and sentiment. HAYW and SHW also each lead in at least one category. This set spans 2 sectors — these stocks serve different portfolio roles, not just different price points.
HAYW
Hayward Holdings, Inc.
The Defensive Pick

HAYW ranks third and is worth considering specifically for sleep-well-at-night and valuation efficiency.

  • Lower volatility, beta 1.14, Low D/E 0.8%, current ratio 2.94x
  • PEG 0.12 vs TREX's 7.16
  • Lower P/E (17.2x vs 19.9x)
Best for: sleep-well-at-night and valuation efficiency
SHW
The Sherwin-Williams Company
The Income Pick

SHW is the clearest fit if your priority is income & stability.

  • Dividend streak 37 yrs, beta 0.79, yield 1.0%
  • Beta 0.79 vs TREX's 1.47
Best for: income & stability
TREX
Trex Company, Inc.
The Industrials Pick

Among these 5 stocks, TREX doesn't own a clear edge in any measured category.

Best for: industrials exposure
MAS
Masco Corporation
The Defensive Pick

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

  • Beta 1.28, yield 1.7%, current ratio 1.81x
  • 1.7% yield, 12-year raise streak, vs SHW's 1.0%, (2 stocks pay no dividend)
  • +21.1% vs TREX's -30.8%
Best for: defensive
AWI
Armstrong World Industries, Inc.
The Growth Play

AWI carries the broadest edge in this set and is the clearest fit for growth exposure and long-term compounding.

  • Rev growth 12.1%, EPS growth 17.6%, 3Y rev CAGR 9.5%
  • 330.4% 10Y total return vs SHW's 250.0%
  • 12.1% revenue growth vs MAS's -3.4%
  • 18.6% margin vs SHW's 10.9%
Best for: growth exposure and long-term compounding
See the full category breakdown
CategoryWinnerWhy
GrowthAWI logoAWI12.1% revenue growth vs MAS's -3.4%
ValueHAYW logoHAYWLower P/E (17.2x vs 19.9x)
Quality / MarginsAWI logoAWI18.6% margin vs SHW's 10.9%
Stability / SafetySHW logoSHWBeta 0.79 vs TREX's 1.47
DividendsMAS logoMAS1.7% yield, 12-year raise streak, vs SHW's 1.0%, (2 stocks pay no dividend)
Momentum (1Y)MAS logoMAS+21.1% vs TREX's -30.8%
Efficiency (ROA)AWI logoAWI16.0% ROA vs HAYW's 5.2%, ROIC 24.9% vs 10.2%

HAYW vs SHW vs TREX vs MAS vs AWI — Revenue Breakdown by Segment

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

HAYWHayward Holdings, Inc.
FY 2025
Residential Pool
90.0%$1.0B
Commercial Pool
5.8%$65M
Flow Control
4.2%$47M
SHWThe Sherwin-Williams Company
FY 2025
Paint Stores Group
57.7%$13.6B
Consumer Group
36.3%$8.6B
Global Finishes Group
28.9%$6.8B
Corporate And Eliminations
-22.9%$-5,408,000,000
TREXTrex Company, Inc.

Segment breakdown not available.

MASMasco Corporation
FY 2025
Plumbing Products
66.0%$5.0B
Decorative Architectural Products
34.0%$2.6B
AWIArmstrong World Industries, Inc.
FY 2025
Mineral Fiber
63.6%$1.0B
Architectural Specialties
36.4%$590M

HAYW vs SHW vs TREX vs MAS vs AWI — Financial Metrics

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

BEST OVERALLHAYWLAGGINGMAS

Income & Cash Flow (Last 12 Months)

Evenly matched — HAYW and AWI each lead in 2 of 6 comparable metrics.

SHW is the larger business by revenue, generating $23.9B annually — 20.8x HAYW's $1.1B. AWI is the more profitable business, keeping 18.6% of every revenue dollar as net income compared to SHW's 10.9%. On growth, HAYW holds the edge at +11.5% YoY revenue growth, suggesting stronger near-term business momentum.

MetricHAYW logoHAYWHayward Holdings,…SHW logoSHWThe Sherwin-Willi…TREX logoTREXTrex Company, Inc.MAS logoMASMasco CorporationAWI logoAWIArmstrong World I…
RevenueTrailing 12 months$1.1B$23.9B$1.2B$7.7B$1.6B
EBITDAEarnings before interest/tax$301M$4.5B$309M$1.4B$603M
Net IncomeAfter-tax profit$161M$2.6B$191M$837M$306M
Free Cash FlowCash after capex$80M$2.9B$263M$943M$247M
Gross MarginGross profit ÷ Revenue+45.0%+49.1%+39.2%+35.4%+40.3%
Operating MarginEBIT ÷ Revenue+21.3%+16.1%+22.1%+16.8%+27.5%
Net MarginNet income ÷ Revenue+14.0%+10.9%+16.3%+10.9%+18.6%
FCF MarginFCF ÷ Revenue+7.0%+12.1%+22.3%+12.3%+15.0%
Rev. Growth (YoY)Latest quarter vs prior year+11.5%+6.8%+1.0%+6.5%+7.1%
EPS Growth (YoY)Latest quarter vs prior year+70.3%+7.5%+3.6%+20.7%-1.9%
Evenly matched — HAYW and AWI each lead in 2 of 6 comparable metrics.

Valuation Metrics

HAYW leads this category, winning 4 of 7 comparable metrics.

At 18.6x trailing earnings, MAS trades at a 40% valuation discount to SHW's 31.2x P/E. Adjusting for growth (PEG ratio), HAYW offers better value at 0.16x vs TREX's 6.58x — a lower PEG means you pay less per unit of expected earnings growth.

MetricHAYW logoHAYWHayward Holdings,…SHW logoSHWThe Sherwin-Willi…TREX logoTREXTrex Company, Inc.MAS logoMASMasco CorporationAWI logoAWIArmstrong World I…
Market CapShares × price$3.2B$79.0B$4.1B$14.5B$7.0B
Enterprise ValueMkt cap + debt − cash$2.9B$93.3B$4.3B$17.3B$7.5B
Trailing P/EPrice ÷ TTM EPS21.71x31.18x22.00x18.63x23.32x
Forward P/EPrice ÷ next-FY EPS est.17.19x27.27x23.95x16.85x19.87x
PEG RatioP/E ÷ EPS growth rate0.16x4.51x6.58x3.76x
EV / EBITDAEnterprise value multiple9.81x21.24x13.53x12.18x17.23x
Price / SalesMarket cap ÷ Revenue2.85x3.35x3.51x1.92x4.35x
Price / BookPrice ÷ Book value/share2.06x17.33x4.05x201.40x7.99x
Price / FCFMarket cap ÷ FCF14.19x29.76x30.60x16.76x28.63x
HAYW leads this category, winning 4 of 7 comparable metrics.

Profitability & Efficiency

Evenly matched — HAYW and MAS and AWI each lead in 3 of 9 comparable metrics.

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

MetricHAYW logoHAYWHayward Holdings,…SHW logoSHWThe Sherwin-Willi…TREX logoTREXTrex Company, Inc.MAS logoMASMasco CorporationAWI logoAWIArmstrong World I…
ROE (TTM)Return on equity+10.3%+58.2%+18.8%+8.0%+34.8%
ROA (TTM)Return on assets+5.2%+10.0%+12.3%+15.9%+16.0%
ROICReturn on invested capital+10.2%+16.5%+16.4%+35.4%+24.9%
ROCEReturn on capital employed+8.6%+21.3%+23.2%+35.9%+26.5%
Piotroski ScoreFundamental quality 0–976669
Debt / EquityFinancial leverage0.01x3.16x0.22x45.81x0.59x
Net DebtTotal debt minus cash-$316M$14.3B$225M$2.8B$419M
Cash & Equiv.Liquid assets$330M$207M$4M$647M$113M
Total DebtShort + long-term debt$13M$14.5B$229M$3.4B$532M
Interest CoverageEBIT ÷ Interest expense4.07x7.83x12.60x13.31x
Evenly matched — HAYW and MAS and AWI each lead in 3 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

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

A $10,000 investment in AWI five years ago would be worth $16,301 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 AWI at 36.0% vs TREX's -11.4% — a key indicator of consistent wealth creation.

MetricHAYW logoHAYWHayward Holdings,…SHW logoSHWThe Sherwin-Willi…TREX logoTREXTrex Company, Inc.MAS logoMASMasco CorporationAWI logoAWIArmstrong World I…
YTD ReturnYear-to-date-6.4%-2.1%+9.3%+12.1%-16.0%
1-Year ReturnPast 12 months+7.3%-8.0%-30.8%+21.1%+11.5%
3-Year ReturnCumulative with dividends+27.3%+42.4%-30.4%+40.1%+151.8%
5-Year ReturnCumulative with dividends-37.0%+16.1%-64.0%+16.1%+63.0%
10-Year ReturnCumulative with dividends-13.1%+250.0%+239.9%+152.1%+330.4%
CAGR (3Y)Annualised 3-year return+8.4%+12.5%-11.4%+11.9%+36.0%
AWI leads this category, winning 4 of 6 comparable metrics.

Risk & Volatility

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

SHW is the less volatile stock with a 0.79 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.

MetricHAYW logoHAYWHayward Holdings,…SHW logoSHWThe Sherwin-Willi…TREX logoTREXTrex Company, Inc.MAS logoMASMasco CorporationAWI logoAWIArmstrong World I…
Beta (5Y)Sensitivity to S&P 5001.14x0.79x1.47x1.28x0.82x
52-Week HighHighest price in past year$17.73$379.65$68.78$79.19$206.08
52-Week LowLowest price in past year$13.04$301.58$29.77$58.16$148.25
% of 52W HighCurrent price vs 52-week peak+83.3%+84.3%+56.9%+90.8%+80.1%
RSI (14)Momentum oscillator 0–10051.547.651.359.641.3
Avg Volume (50D)Average daily shares traded2.2M1.6M1.7M2.7M494K
Evenly matched — SHW and MAS each lead in 1 of 2 comparable metrics.

Analyst Outlook

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

Analyst consensus: HAYW as "Hold", SHW as "Buy", TREX as "Hold", MAS as "Buy", AWI as "Buy". Consensus price targets imply 21.6% upside for SHW (target: $389) vs 6.7% for HAYW (target: $16). For income investors, MAS offers the higher dividend yield at 1.73% vs AWI's 0.77%.

MetricHAYW logoHAYWHayward Holdings,…SHW logoSHWThe Sherwin-Willi…TREX logoTREXTrex Company, Inc.MAS logoMASMasco CorporationAWI logoAWIArmstrong World I…
Analyst RatingConsensus buy/hold/sellHoldBuyHoldBuyBuy
Price TargetConsensus 12-month target$15.75$389.43$44.50$82.36$197.50
# AnalystsCovering analysts1038313826
Dividend YieldAnnual dividend ÷ price+1.0%+1.7%+0.8%
Dividend StreakConsecutive years of raises0372128
Dividend / ShareAnnual DPS$3.17$1.24$1.27
Buyback YieldShare repurchases ÷ mkt cap+0.2%0.0%+1.3%+3.9%+1.8%
Evenly matched — SHW and MAS each lead in 1 of 2 comparable metrics.
Key Takeaway

HAYW leads in 1 of 6 categories (Valuation Metrics). AWI leads in 1 (Total Returns). 4 tied.

Best OverallHayward Holdings, Inc. (HAYW)Leads 1 of 6 categories
Loading custom metrics...

HAYW vs SHW vs TREX vs MAS vs AWI: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is HAYW or SHW or TREX or MAS or AWI a better buy right now?

For growth investors, Armstrong World Industries, Inc.

(AWI) is the stronger pick with 12. 1% revenue growth year-over-year, versus -3. 4% for Masco Corporation (MAS). Masco Corporation (MAS) offers the better valuation at 18. 6x trailing P/E (16. 9x forward), making it the more compelling value choice. Analysts rate The Sherwin-Williams Company (SHW) 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 — HAYW or SHW or TREX or MAS or AWI?

On trailing P/E, Masco Corporation (MAS) is the cheapest at 18.

6x versus The Sherwin-Williams Company at 31. 2x. On forward P/E, Masco Corporation is actually cheaper at 16. 9x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Hayward Holdings, Inc. wins at 0. 12x 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 — HAYW or SHW or TREX or MAS or AWI?

Over the past 5 years, Armstrong World Industries, Inc.

(AWI) delivered a total return of +63. 0%, compared to -64. 0% for Trex Company, Inc. (TREX). Over 10 years, the gap is even starker: AWI returned +330. 4% versus HAYW's -13. 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 — HAYW or SHW or TREX or MAS or AWI?

By beta (market sensitivity over 5 years), The Sherwin-Williams Company (SHW) is the lower-risk stock at 0.

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

05

Which is growing faster — HAYW or SHW or TREX or MAS or AWI?

By revenue growth (latest reported year), Armstrong World Industries, Inc.

(AWI) is pulling ahead at 12. 1% versus -3. 4% for Masco Corporation (MAS). On earnings-per-share growth, the picture is similar: Hayward Holdings, Inc. grew EPS 25. 9% year-over-year, compared to -14. 8% for Trex Company, Inc.. Over a 3-year CAGR, AWI leads at 9. 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 — HAYW or SHW or TREX or MAS or AWI?

Armstrong World Industries, Inc.

(AWI) is the more profitable company, earning 19. 0% net margin versus 10. 7% for Masco Corporation — meaning it keeps 19. 0% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: AWI leads at 26. 6% versus 16. 1% for SHW. At the gross margin level — before operating expenses — SHW leads at 48. 9%, 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 HAYW or SHW or TREX or MAS or AWI 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, Hayward Holdings, Inc. (HAYW) is the more undervalued stock at a PEG of 0. 12x 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, Masco Corporation (MAS) trades at 16. 9x forward P/E versus 27. 3x for The Sherwin-Williams Company — 10. 4x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for SHW: 21. 6% to $389. 43.

08

Which pays a better dividend — HAYW or SHW or TREX or MAS or AWI?

In this comparison, MAS (1.

7% yield), SHW (1. 0% yield), AWI (0. 8% yield) pay a dividend. HAYW, TREX do not pay a meaningful dividend and should not be held primarily for income.

09

Is HAYW or SHW or TREX or MAS or AWI better for a retirement portfolio?

For long-horizon retirement investors, Armstrong World Industries, Inc.

(AWI) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0. 82), 0. 8% yield, +330. 4% 10Y return). Both have compounded well over 10 years (AWI: +330. 4%, 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 HAYW and SHW and TREX and MAS and AWI?

These companies operate in different sectors (HAYW (Industrials) and SHW (Basic Materials) and TREX (Industrials) and MAS (Industrials) and AWI (Industrials)), which means they face different economic cycles, regulatory environments, and macro sensitivities — making direct comparison nuanced.

SHW, MAS, AWI pay a dividend while HAYW, TREX 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

HAYW

Steady Growth Compounder

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

SHW

Stable Dividend Mega-Cap

  • Sector: Basic Materials
  • 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

MAS

Income & Dividend Stock

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

AWI

Stable Dividend Mega-Cap

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

Beat Both

Find stocks that outperform HAYW and SHW and TREX and MAS and AWI on the metrics below

Revenue Growth>
%
(HAYW: 11.5% · SHW: 6.8%)
Net Margin>
%
(HAYW: 14.0% · SHW: 10.9%)
P/E Ratio<
x
(HAYW: 21.7x · SHW: 31.2x)

You Might Also Compare

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