Compare Stocks

2 / 10
Try these comparisons:

Stock Comparison

ALLE vs TREX

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%

ALLE vs TREX — Key Financials

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

Company Snapshot
ALLE logoALLE
TREX logoTREX
IndustrySecurity & Protection ServicesConstruction
Market Cap$11.76B$4.12B
Revenue (TTM)$4.16B$1.18B
Net Income (TTM)$634M$191M
Gross Margin45.0%39.2%
Operating Margin20.6%22.1%
Forward P/E15.6x24.0x
Total Debt$2.28B$229M
Cash & Equiv.$356M$4M

ALLE vs TREXLong-Term Stock Performance

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

ALLE
TREX
StockMay 20May 26Return
Allegion plc (ALLE)100137.2+37.2%
Trex Company, Inc. (TREX)10065.2-34.8%

Price return only. Dividends and distributions are not included.

Quick Verdict: ALLE vs TREX

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

Bottom line: ALLE leads in 5 of 7 categories, making it the strongest pick for growth and revenue expansion and valuation and capital efficiency. Trex Company, Inc. is the stronger pick specifically for profitability and margin quality and operational efficiency and capital deployment. As sector peers, any of these can serve as alternatives in the same allocation.
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
Best for: income & stability and growth exposure
TREX
Trex Company, Inc.
The Long-Run Compounder

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

  • 239.9% 10Y total return vs ALLE's 127.3%
  • 16.3% margin vs ALLE's 15.2%
  • 12.3% ROA vs ALLE's 12.3%, ROIC 16.4% vs 18.1%
Best for: long-term compounding
See the full category breakdown
CategoryWinnerWhy
GrowthALLE logoALLE7.8% revenue growth vs TREX's 2.0%
ValueALLE logoALLELower P/E (15.6x vs 24.0x), PEG 0.92 vs 7.16
Quality / MarginsTREX logoTREX16.3% margin vs ALLE's 15.2%
Stability / SafetyALLE logoALLEBeta 0.67 vs TREX's 1.47
DividendsALLE logoALLE1.5% yield; 12-year raise streak; the other pay no meaningful dividend
Momentum (1Y)ALLE logoALLE-1.0% vs TREX's -30.8%
Efficiency (ROA)TREX logoTREX12.3% ROA vs ALLE's 12.3%, ROIC 16.4% vs 18.1%

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

ALLE vs TREX — Financial Metrics

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

BEST OVERALLALLELAGGINGTREX

Income & Cash Flow (Last 12 Months)

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

ALLE is the larger business by revenue, generating $4.2B annually — 3.5x TREX's $1.2B. Profitability is closely matched — net margins range from 16.3% (TREX) to 15.2% (ALLE). On growth, ALLE holds the edge at +9.7% YoY revenue growth, suggesting stronger near-term business momentum.

MetricALLE logoALLEAllegion plcTREX logoTREXTrex Company, Inc.
RevenueTrailing 12 months$4.2B$1.2B
EBITDAEarnings before interest/tax$959M$309M
Net IncomeAfter-tax profit$634M$191M
Free Cash FlowCash after capex$704M$263M
Gross MarginGross profit ÷ Revenue+45.0%+39.2%
Operating MarginEBIT ÷ Revenue+20.6%+22.1%
Net MarginNet income ÷ Revenue+15.2%+16.3%
FCF MarginFCF ÷ Revenue+16.9%+22.3%
Rev. Growth (YoY)Latest quarter vs prior year+9.7%+1.0%
EPS Growth (YoY)Latest quarter vs prior year-7.0%+3.6%
TREX leads this category, winning 4 of 6 comparable metrics.

Valuation Metrics

ALLE leads this category, winning 5 of 7 comparable metrics.

At 18.4x trailing earnings, ALLE trades at a 16% valuation discount to TREX's 22.0x P/E. Adjusting for growth (PEG ratio), ALLE offers better value at 1.08x vs TREX's 6.58x — a lower PEG means you pay less per unit of expected earnings growth.

MetricALLE logoALLEAllegion plcTREX logoTREXTrex Company, Inc.
Market CapShares × price$11.8B$4.1B
Enterprise ValueMkt cap + debt − cash$13.7B$4.3B
Trailing P/EPrice ÷ TTM EPS18.39x22.00x
Forward P/EPrice ÷ next-FY EPS est.15.60x23.95x
PEG RatioP/E ÷ EPS growth rate1.08x6.58x
EV / EBITDAEnterprise value multiple13.83x13.53x
Price / SalesMarket cap ÷ Revenue2.89x3.51x
Price / BookPrice ÷ Book value/share5.72x4.05x
Price / FCFMarket cap ÷ FCF17.14x30.60x
ALLE leads this category, winning 5 of 7 comparable metrics.

Profitability & Efficiency

TREX leads this category, winning 5 of 7 comparable metrics.

ALLE delivers a 32.1% return on equity — every $100 of shareholder capital generates $32 in annual profit, vs $19 for TREX. 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.

MetricALLE logoALLEAllegion plcTREX logoTREXTrex Company, Inc.
ROE (TTM)Return on equity+32.1%+18.8%
ROA (TTM)Return on assets+12.3%+12.3%
ROICReturn on invested capital+18.1%+16.4%
ROCEReturn on capital employed+20.8%+23.2%
Piotroski ScoreFundamental quality 0–966
Debt / EquityFinancial leverage1.10x0.22x
Net DebtTotal debt minus cash$1.9B$225M
Cash & Equiv.Liquid assets$356M$4M
Total DebtShort + long-term debt$2.3B$229M
Interest CoverageEBIT ÷ Interest expense8.61x
TREX leads this category, winning 5 of 7 comparable metrics.

Total Returns (Dividends Reinvested)

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

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

MetricALLE logoALLEAllegion plcTREX logoTREXTrex Company, Inc.
YTD ReturnYear-to-date-14.6%+9.3%
1-Year ReturnPast 12 months-1.0%-30.8%
3-Year ReturnCumulative with dividends+32.6%-30.4%
5-Year ReturnCumulative with dividends+3.2%-64.0%
10-Year ReturnCumulative with dividends+127.3%+239.9%
CAGR (3Y)Annualised 3-year return+9.9%-11.4%
ALLE leads this category, winning 4 of 6 comparable metrics.

Risk & Volatility

ALLE leads this category, winning 2 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. ALLE currently trades 74.7% 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.
Beta (5Y)Sensitivity to S&P 5000.67x1.47x
52-Week HighHighest price in past year$183.11$68.78
52-Week LowLowest price in past year$131.25$29.77
% of 52W HighCurrent price vs 52-week peak+74.7%+56.9%
RSI (14)Momentum oscillator 0–10038.551.3
Avg Volume (50D)Average daily shares traded887K1.7M
ALLE leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

ALLE leads this category, winning 1 of 1 comparable metric.

Wall Street rates ALLE as "Hold" and TREX as "Hold". Consensus price targets imply 26.1% upside for ALLE (target: $173) vs 13.6% for TREX (target: $45). ALLE is the only dividend payer here at 1.48% yield — a key consideration for income-focused portfolios.

MetricALLE logoALLEAllegion plcTREX logoTREXTrex Company, Inc.
Analyst RatingConsensus buy/hold/sellHoldHold
Price TargetConsensus 12-month target$172.50$44.50
# AnalystsCovering analysts2331
Dividend YieldAnnual dividend ÷ price+1.5%
Dividend StreakConsecutive years of raises122
Dividend / ShareAnnual DPS$2.03
Buyback YieldShare repurchases ÷ mkt cap+0.7%+1.3%
ALLE leads this category, winning 1 of 1 comparable metric.
Key Takeaway

ALLE leads in 4 of 6 categories (Valuation Metrics, Total Returns). TREX leads in 2 (Income & Cash Flow, Profitability & Efficiency).

Best OverallAllegion plc (ALLE)Leads 4 of 6 categories
Loading custom metrics...

ALLE vs TREX: Frequently Asked Questions

10 questions · data-driven answers · updated daily

01

Is ALLE or TREX a better buy right now?

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

8% revenue growth year-over-year, versus 2. 0% for Trex Company, Inc. (TREX). Allegion plc (ALLE) offers the better valuation at 18. 4x trailing P/E (15. 6x forward), making it the more compelling value choice. Analysts rate Allegion plc (ALLE) a "Hold" — based on 23 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?

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

4x versus Trex Company, Inc. at 22. 0x. On forward P/E, Allegion plc is actually cheaper at 15. 6x. 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?

Over the past 5 years, Allegion plc (ALLE) delivered a total return of +3.

2%, compared to -64. 0% for Trex Company, Inc. (TREX). Over 10 years, the gap is even starker: TREX returned +239. 9% 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?

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?

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

8% versus 2. 0% for Trex Company, Inc. (TREX). On earnings-per-share growth, the picture is similar: Allegion plc grew EPS 9. 1% year-over-year, compared to -14. 8% for Trex Company, 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?

Trex Company, Inc.

(TREX) is the more profitable company, earning 16. 2% net margin versus 15. 8% for Allegion plc — 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 21. 1% for ALLE. 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 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, Allegion plc (ALLE) trades at 15. 6x forward P/E versus 24. 0x for Trex Company, Inc. — 8. 3x 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?

In this comparison, ALLE (1.

5% yield) pays a dividend. TREX does not pay a meaningful dividend and should not be held primarily for income.

09

Is ALLE or TREX 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%, 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?

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

ALLE pays a dividend while TREX does 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 both.

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
Custom Screen

Beat Both

Find stocks that outperform ALLE and TREX 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.