Security & Protection Services
Compare Stocks
2 / 10Stock Comparison
ALLE vs TREX
Revenue, margins, valuation, and 5-year total return — side by side.
Construction
ALLE vs TREX — Key Financials
Market cap, revenue, margins, and valuation side-by-side.
| Company Snapshot | ||
|---|---|---|
| Industry | Security & Protection Services | Construction |
| Market Cap | $11.76B | $4.12B |
| Revenue (TTM) | $4.16B | $1.18B |
| Net Income (TTM) | $634M | $191M |
| Gross Margin | 45.0% | 39.2% |
| Operating Margin | 20.6% | 22.1% |
| Forward P/E | 15.6x | 24.0x |
| Total Debt | $2.28B | $229M |
| Cash & Equiv. | $356M | $4M |
ALLE vs TREX — Long-Term Stock Performance
Price return indexed to 100 at period start. Dividends excluded.
| Stock | May 20 | May 26 | Return |
|---|---|---|---|
| Allegion plc (ALLE) | 100 | 137.2 | +37.2% |
| Trex Company, Inc. (TREX) | 100 | 65.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.
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
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%
See the full category breakdown
| Category | Winner | Why |
|---|---|---|
| Growth | 7.8% revenue growth vs TREX's 2.0% | |
| Value | Lower P/E (15.6x vs 24.0x), PEG 0.92 vs 7.16 | |
| Quality / Margins | 16.3% margin vs ALLE's 15.2% | |
| Stability / Safety | Beta 0.67 vs TREX's 1.47 | |
| Dividends | 1.5% yield; 12-year raise streak; the other pay no meaningful dividend | |
| Momentum (1Y) | -1.0% vs TREX's -30.8% | |
| Efficiency (ROA) | 12.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
Segment breakdown not available.
ALLE vs TREX — Financial Metrics
Side-by-side numbers across 2 stocks — who leads on profitability, valuation, growth, and risk.
Income & Cash Flow (Last 12 Months)
TREX leads this category, winning 4 of 6 comparable metrics.
Income & Cash Flow (Last 12 Months)
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.
| Metric | ||
|---|---|---|
| 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% |
Valuation Metrics
ALLE leads this category, winning 5 of 7 comparable metrics.
Valuation 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.
| Metric | ||
|---|---|---|
| Market CapShares × price | $11.8B | $4.1B |
| Enterprise ValueMkt cap + debt − cash | $13.7B | $4.3B |
| Trailing P/EPrice ÷ TTM EPS | 18.39x | 22.00x |
| Forward P/EPrice ÷ next-FY EPS est. | 15.60x | 23.95x |
| PEG RatioP/E ÷ EPS growth rate | 1.08x | 6.58x |
| EV / EBITDAEnterprise value multiple | 13.83x | 13.53x |
| Price / SalesMarket cap ÷ Revenue | 2.89x | 3.51x |
| Price / BookPrice ÷ Book value/share | 5.72x | 4.05x |
| Price / FCFMarket cap ÷ FCF | 17.14x | 30.60x |
Profitability & Efficiency
TREX leads this category, winning 5 of 7 comparable metrics.
Profitability & Efficiency
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.
| Metric | ||
|---|---|---|
| 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–9 | 6 | 6 |
| Debt / EquityFinancial leverage | 1.10x | 0.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 expense | 8.61x | — |
Total Returns (Dividends Reinvested)
ALLE leads this category, winning 4 of 6 comparable metrics.
Total Returns (Dividends Reinvested)
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.
| Metric | ||
|---|---|---|
| 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% |
Risk & Volatility
ALLE leads this category, winning 2 of 2 comparable metrics.
Risk & Volatility
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.
| Metric | ||
|---|---|---|
| Beta (5Y)Sensitivity to S&P 500 | 0.67x | 1.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–100 | 38.5 | 51.3 |
| Avg Volume (50D)Average daily shares traded | 887K | 1.7M |
Analyst Outlook
ALLE leads this category, winning 1 of 1 comparable metric.
Analyst Outlook
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.
| Metric | ||
|---|---|---|
| Analyst RatingConsensus buy/hold/sell | Hold | Hold |
| Price TargetConsensus 12-month target | $172.50 | $44.50 |
| # AnalystsCovering analysts | 23 | 31 |
| Dividend YieldAnnual dividend ÷ price | +1.5% | — |
| Dividend StreakConsecutive years of raises | 12 | 2 |
| Dividend / ShareAnnual DPS | $2.03 | — |
| Buyback YieldShare repurchases ÷ mkt cap | +0.7% | +1.3% |
ALLE leads in 4 of 6 categories (Valuation Metrics, Total Returns). TREX leads in 2 (Income & Cash Flow, Profitability & Efficiency).
ALLE vs TREX: Frequently Asked Questions
10 questions · data-driven answers · updated daily
01Is 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.
02Which 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.
03Which 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.
04Which 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.
05Which 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.
06Which 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.
07Is 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.
08Which 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.
09Is 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.
10What 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.
You Might Also Compare
Based on how these companies actually compete and overlap — not just which sector they're filed under.