Compare Stocks

5 / 10
Try these comparisons:

Stock Comparison

NX vs CSL vs AWI vs IBP vs TREX

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

Live fundamentals10-year financials5-year price chart
NX
Quanex Building Products Corporation

Construction

IndustrialsNYSE • US
Market Cap$925M
5Y Perf.+63.3%
CSL
Carlisle Companies Incorporated

Construction

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

Construction

IndustrialsNYSE • US
Market Cap$6.90B
5Y Perf.+114.6%
IBP
Installed Building Products, Inc.

Residential Construction

Consumer CyclicalNYSE • US
Market Cap$5.93B
5Y Perf.+242.2%
TREX
Trex Company, Inc.

Construction

IndustrialsNYSE • US
Market Cap$4.18B
5Y Perf.-33.1%

NX vs CSL vs AWI vs IBP vs TREX — Key Financials

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

Company Snapshot
NX logoNX
CSL logoCSL
AWI logoAWI
IBP logoIBP
TREX logoTREX
IndustryConstructionConstructionConstructionResidential ConstructionConstruction
Market Cap$925M$14.73B$6.90B$5.93B$4.18B
Revenue (TTM)$1.85B$4.98B$1.65B$2.95B$1.18B
Net Income (TTM)$-240M$725M$306M$255M$191M
Gross Margin26.1%35.6%40.3%33.9%39.2%
Operating Margin-10.0%20.1%27.5%12.7%22.1%
Forward P/E10.1x17.2x19.5x19.9x24.2x
Total Debt$854M$2.88B$532M$1.05B$229M
Cash & Equiv.$76M$1.11B$113M$322M$4M

NX vs CSL vs AWI vs IBP vs TREXLong-Term Stock Performance

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

NX
CSL
AWI
IBP
TREX
StockMay 20May 26Return
Quanex Building Pro… (NX)100163.3+63.3%
Carlisle Companies … (CSL)100300.7+200.7%
Armstrong World Ind… (AWI)100214.6+114.6%
Installed Building … (IBP)100342.2+242.2%
Trex Company, Inc. (TREX)10066.9-33.1%

Price return only. Dividends and distributions are not included.

Quick Verdict: NX vs CSL vs AWI vs IBP vs TREX

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

Bottom line: NX and AWI are tied at the top with 3 categories each (5-stock set) — the right choice depends on your priorities. Armstrong World Industries, Inc. is the stronger pick specifically for profitability and margin quality and capital preservation and lower volatility. IBP also leads in specific categories worth noting. This set spans 2 sectors — these stocks serve different portfolio roles, not just different price points.
NX
Quanex Building Products Corporation
The Growth Leader

NX carries the broadest edge in this set and is the clearest fit for growth and value.

  • 43.8% revenue growth vs CSL's 0.3%
  • Lower P/E (10.1x vs 24.2x)
  • 1.6% yield, vs CSL's 1.2%, (1 stock pays no dividend)
Best for: growth and value
CSL
Carlisle Companies Incorporated
The Income Pick

CSL is the clearest fit if your priority is income & stability and valuation efficiency.

  • Dividend streak 37 yrs, beta 1.18, yield 1.2%
  • PEG 0.71 vs TREX's 7.25
  • Beta 1.18, yield 1.2%, current ratio 3.09x
Best for: income & stability and valuation efficiency
AWI
Armstrong World Industries, Inc.
The Growth Play

AWI is the #2 pick in this set and the best alternative if growth exposure and sleep-well-at-night is your priority.

  • Rev growth 12.1%, EPS growth 17.6%, 3Y rev CAGR 9.5%
  • Lower volatility, beta 0.81, Low D/E 59.0%, current ratio 1.46x
  • 18.6% margin vs NX's -13.0%
  • Beta 0.81 vs NX's 1.83, lower leverage
Best for: growth exposure and sleep-well-at-night
IBP
Installed Building Products, Inc.
The Long-Run Compounder

IBP ranks third and is worth considering specifically for long-term compounding.

  • 6.6% 10Y total return vs CSL's 277.3%
  • +37.3% vs TREX's -31.0%
Best for: long-term compounding
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
See the full category breakdown
CategoryWinnerWhy
GrowthNX logoNX43.8% revenue growth vs CSL's 0.3%
ValueNX logoNXLower P/E (10.1x vs 24.2x)
Quality / MarginsAWI logoAWI18.6% margin vs NX's -13.0%
Stability / SafetyAWI logoAWIBeta 0.81 vs NX's 1.83, lower leverage
DividendsNX logoNX1.6% yield, vs CSL's 1.2%, (1 stock pays no dividend)
Momentum (1Y)IBP logoIBP+37.3% vs TREX's -31.0%
Efficiency (ROA)AWI logoAWI16.0% ROA vs NX's -11.7%, ROIC 24.9% vs -8.8%

NX vs CSL vs AWI vs IBP vs TREX — Revenue Breakdown by Segment

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

NXQuanex Building Products Corporation
FY 2024
NA Engineered Components
60.2%$650M
EU Engineered Components
21.4%$231M
NA Cabinet Components
18.4%$198M
CSLCarlisle Companies Incorporated
FY 2025
Reportable Segments
50.0%$5.0B
Construction Materials
37.1%$3.7B
Carlisle Weatherproofing Technologies
12.9%$1.3B
AWIArmstrong World Industries, Inc.
FY 2025
Mineral Fiber
63.6%$1.0B
Architectural Specialties
36.4%$590M
IBPInstalled Building Products, Inc.
FY 2025
Product Installation
50.0%$2.8B
Insulation
30.9%$1.7B
Shower Doors Shelving And Mirrors
4.0%$219M
Other Building Products
3.3%$184M
Garage Doors
3.1%$173M
Waterproofing
2.9%$161M
Rain Gutters
2.3%$125M
Other (2)
3.5%$193M
TREXTrex Company, Inc.

Segment breakdown not available.

NX vs CSL vs AWI vs IBP vs TREX — Financial Metrics

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

BEST OVERALLAWILAGGINGTREX

Income & Cash Flow (Last 12 Months)

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

CSL is the larger business by revenue, generating $5.0B annually — 4.2x TREX's $1.2B. AWI is the more profitable business, keeping 18.6% of every revenue dollar as net income compared to NX's -13.0%. On growth, AWI holds the edge at +7.1% YoY revenue growth, suggesting stronger near-term business momentum.

MetricNX logoNXQuanex Building P…CSL logoCSLCarlisle Companie…AWI logoAWIArmstrong World I…IBP logoIBPInstalled Buildin…TREX logoTREXTrex Company, Inc.
RevenueTrailing 12 months$1.8B$5.0B$1.6B$2.9B$1.2B
EBITDAEarnings before interest/tax-$81M$1.1B$603M$656M$309M
Net IncomeAfter-tax profit-$240M$725M$306M$255M$191M
Free Cash FlowCash after capex$95M$925M$247M$63M$239M
Gross MarginGross profit ÷ Revenue+26.1%+35.6%+40.3%+33.9%+39.2%
Operating MarginEBIT ÷ Revenue-10.0%+20.1%+27.5%+12.7%+22.1%
Net MarginNet income ÷ Revenue-13.0%+14.6%+18.6%+8.6%+16.3%
FCF MarginFCF ÷ Revenue+5.1%+18.6%+15.0%+2.1%+20.3%
Rev. Growth (YoY)Latest quarter vs prior year+2.3%-4.0%+7.1%-3.5%+1.0%
EPS Growth (YoY)Latest quarter vs prior year+71.9%-3.1%-1.9%-21.3%+3.6%
AWI leads this category, winning 4 of 6 comparable metrics.

Valuation Metrics

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

At 21.1x trailing earnings, CSL trades at a 8% valuation discount to AWI's 22.8x P/E. Adjusting for growth (PEG ratio), CSL offers better value at 0.87x vs TREX's 6.75x — a lower PEG means you pay less per unit of expected earnings growth.

MetricNX logoNXQuanex Building P…CSL logoCSLCarlisle Companie…AWI logoAWIArmstrong World I…IBP logoIBPInstalled Buildin…TREX logoTREXTrex Company, Inc.
Market CapShares × price$925M$14.7B$6.9B$5.9B$4.2B
Enterprise ValueMkt cap + debt − cash$1.7B$16.5B$7.3B$6.7B$4.4B
Trailing P/EPrice ÷ TTM EPS-3.73x21.05x22.85x22.66x22.58x
Forward P/EPrice ÷ next-FY EPS est.10.09x17.17x19.47x19.88x24.24x
PEG RatioP/E ÷ EPS growth rate0.87x0.93x6.75x
EV / EBITDAEnterprise value multiple13.79x16.90x13.58x13.72x
Price / SalesMarket cap ÷ Revenue0.50x2.93x4.26x1.99x3.56x
Price / BookPrice ÷ Book value/share1.29x8.67x7.83x8.38x4.16x
Price / FCFMarket cap ÷ FCF9.05x15.18x28.05x19.70x31.05x
NX leads this category, winning 5 of 7 comparable metrics.

Profitability & Efficiency

AWI leads this category, winning 5 of 9 comparable metrics.

IBP delivers a 37.5% return on equity — every $100 of shareholder capital generates $37 in annual profit, vs $-30 for NX. TREX carries lower financial leverage with a 0.22x debt-to-equity ratio, signaling a more conservative balance sheet compared to CSL's 1.60x. On the Piotroski fundamental quality scale (0–9), AWI scores 9/9 vs NX's 4/9, reflecting strong financial health.

MetricNX logoNXQuanex Building P…CSL logoCSLCarlisle Companie…AWI logoAWIArmstrong World I…IBP logoIBPInstalled Buildin…TREX logoTREXTrex Company, Inc.
ROE (TTM)Return on equity-30.2%+34.5%+34.8%+37.5%+18.8%
ROA (TTM)Return on assets-11.7%+12.0%+16.0%+12.2%+12.3%
ROICReturn on invested capital-8.8%+20.6%+24.9%+20.7%+16.4%
ROCEReturn on capital employed-10.4%+18.7%+26.5%+22.6%+23.2%
Piotroski ScoreFundamental quality 0–945986
Debt / EquityFinancial leverage1.18x1.60x0.59x1.48x0.22x
Net DebtTotal debt minus cash$778M$1.8B$419M$731M$225M
Cash & Equiv.Liquid assets$76M$1.1B$113M$322M$4M
Total DebtShort + long-term debt$854M$2.9B$532M$1.1B$229M
Interest CoverageEBIT ÷ Interest expense-3.30x11.06x13.31x9.47x
AWI leads this category, winning 5 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

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

A $10,000 investment in CSL five years ago would be worth $19,383 today (with dividends reinvested), compared to $3,728 for TREX. Over the past 12 months, IBP leads with a +37.3% total return vs TREX's -31.0%. The 3-year compound annual growth rate (CAGR) favors AWI at 35.1% vs TREX's -10.6% — a key indicator of consistent wealth creation.

MetricNX logoNXQuanex Building P…CSL logoCSLCarlisle Companie…AWI logoAWIArmstrong World I…IBP logoIBPInstalled Buildin…TREX logoTREXTrex Company, Inc.
YTD ReturnYear-to-date+32.3%+10.1%-17.7%-16.9%+12.2%
1-Year ReturnPast 12 months+18.6%-6.8%+7.6%+37.3%-31.0%
3-Year ReturnCumulative with dividends+6.9%+75.5%+146.8%+101.1%-28.6%
5-Year ReturnCumulative with dividends-23.4%+93.8%+57.4%+81.7%-62.7%
10-Year ReturnCumulative with dividends+24.7%+277.3%+322.1%+660.5%+248.9%
CAGR (3Y)Annualised 3-year return+2.3%+20.6%+35.1%+26.2%-10.6%
Evenly matched — AWI and IBP each lead in 2 of 6 comparable metrics.

Risk & Volatility

Evenly matched — NX and AWI each lead in 1 of 2 comparable metrics.

AWI is the less volatile stock with a 0.81 beta — it tends to amplify market swings less than NX's 1.83 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. NX currently trades 88.1% from its 52-week high vs TREX's 58.4% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricNX logoNXQuanex Building P…CSL logoCSLCarlisle Companie…AWI logoAWIArmstrong World I…IBP logoIBPInstalled Buildin…TREX logoTREXTrex Company, Inc.
Beta (5Y)Sensitivity to S&P 5001.83x1.18x0.81x1.31x1.52x
52-Week HighHighest price in past year$22.98$435.92$206.08$349.00$68.78
52-Week LowLowest price in past year$11.04$293.43$149.06$150.83$29.77
% of 52W HighCurrent price vs 52-week peak+88.1%+82.7%+78.5%+63.0%+58.4%
RSI (14)Momentum oscillator 0–10054.253.039.828.948.4
Avg Volume (50D)Average daily shares traded454K388K482K345K1.7M
Evenly matched — NX and AWI each lead in 1 of 2 comparable metrics.

Analyst Outlook

Evenly matched — NX and CSL each lead in 1 of 2 comparable metrics.

Analyst consensus: NX as "Hold", CSL as "Buy", AWI as "Buy", IBP as "Hold", TREX as "Hold". Consensus price targets imply 22.1% upside for AWI (target: $198) vs 13.4% for CSL (target: $409). For income investors, NX offers the higher dividend yield at 1.59% vs AWI's 0.78%.

MetricNX logoNXQuanex Building P…CSL logoCSLCarlisle Companie…AWI logoAWIArmstrong World I…IBP logoIBPInstalled Buildin…TREX logoTREXTrex Company, Inc.
Analyst RatingConsensus buy/hold/sellHoldBuyBuyHoldHold
Price TargetConsensus 12-month target$408.75$197.50$251.33$47.44
# AnalystsCovering analysts1026262731
Dividend YieldAnnual dividend ÷ price+1.6%+1.2%+0.8%+1.5%
Dividend StreakConsecutive years of raises037852
Dividend / ShareAnnual DPS$0.32$4.19$1.27$3.24
Buyback YieldShare repurchases ÷ mkt cap+3.5%+8.8%+1.9%+2.9%+1.3%
Evenly matched — NX and CSL each lead in 1 of 2 comparable metrics.
Key Takeaway

AWI leads in 2 of 6 categories (Income & Cash Flow, Profitability & Efficiency). NX leads in 1 (Valuation Metrics). 3 tied.

Best OverallArmstrong World Industries,… (AWI)Leads 2 of 6 categories
Loading custom metrics...

NX vs CSL vs AWI vs IBP vs TREX: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is NX or CSL or AWI or IBP or TREX a better buy right now?

For growth investors, Quanex Building Products Corporation (NX) is the stronger pick with 43.

8% revenue growth year-over-year, versus 0. 3% for Carlisle Companies Incorporated (CSL). Carlisle Companies Incorporated (CSL) offers the better valuation at 21. 1x trailing P/E (17. 2x forward), making it the more compelling value choice. Analysts rate Carlisle Companies Incorporated (CSL) a "Buy" — based on 26 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 — NX or CSL or AWI or IBP or TREX?

On trailing P/E, Carlisle Companies Incorporated (CSL) is the cheapest at 21.

1x versus Armstrong World Industries, Inc. at 22. 8x. On forward P/E, Quanex Building Products Corporation is actually cheaper at 10. 1x — 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: Carlisle Companies Incorporated wins at 0. 71x versus Trex Company, Inc. 's 7. 25x — a PEG below 1. 0 traditionally signals the market is underpricing earnings growth.

03

Which is the better long-term investment — NX or CSL or AWI or IBP or TREX?

Over the past 5 years, Carlisle Companies Incorporated (CSL) delivered a total return of +93.

8%, compared to -62. 7% for Trex Company, Inc. (TREX). Over 10 years, the gap is even starker: IBP returned +660. 5% versus NX's +24. 7%. 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 — NX or CSL or AWI or IBP or TREX?

By beta (market sensitivity over 5 years), Armstrong World Industries, Inc.

(AWI) is the lower-risk stock at 0. 81β versus Quanex Building Products Corporation's 1. 83β — meaning NX is approximately 126% more volatile than AWI relative to the S&P 500. On balance sheet safety, Trex Company, Inc. (TREX) carries a lower debt/equity ratio of 22% versus 160% for Carlisle Companies Incorporated — giving it more financial flexibility in a downturn.

05

Which is growing faster — NX or CSL or AWI or IBP or TREX?

By revenue growth (latest reported year), Quanex Building Products Corporation (NX) is pulling ahead at 43.

8% versus 0. 3% for Carlisle Companies Incorporated (CSL). On earnings-per-share growth, the picture is similar: Armstrong World Industries, Inc. grew EPS 17. 6% year-over-year, compared to -703. 3% for Quanex Building Products Corporation. Over a 3-year CAGR, NX leads at 14. 6% 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 — NX or CSL or AWI or IBP or TREX?

Armstrong World Industries, Inc.

(AWI) is the more profitable company, earning 19. 0% net margin versus -13. 6% for Quanex Building Products 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 -10. 6% for NX. At the gross margin level — before operating expenses — AWI leads at 40. 6%, 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 NX or CSL or AWI or IBP 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, Carlisle Companies Incorporated (CSL) is the more undervalued stock at a PEG of 0. 71x versus Trex Company, Inc. 's 7. 25x. A PEG below 1. 0 is traditionally considered the threshold for growth-adjusted undervaluation. On forward earnings alone, Quanex Building Products Corporation (NX) trades at 10. 1x forward P/E versus 24. 2x for Trex Company, Inc. — 14. 2x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for AWI: 22. 1% to $197. 50.

08

Which pays a better dividend — NX or CSL or AWI or IBP or TREX?

In this comparison, NX (1.

6% yield), IBP (1. 5% yield), CSL (1. 2% yield), AWI (0. 8% yield) pay a dividend. TREX does not pay a meaningful dividend and should not be held primarily for income.

09

Is NX or CSL or AWI or IBP or TREX 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. 81), 0. 8% yield, +322. 1% 10Y return). Trex Company, Inc. (TREX) carries a higher beta of 1. 52 — meaning larger drawdowns in market downturns, which matters significantly when you cannot wait years for a recovery. Both have compounded well over 10 years (AWI: +322. 1%, TREX: +248. 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 NX and CSL and AWI and IBP and TREX?

These companies operate in different sectors (NX (Industrials) and CSL (Industrials) and AWI (Industrials) and IBP (Consumer Cyclical) and TREX (Industrials)), which means they face different economic cycles, regulatory environments, and macro sensitivities — making direct comparison nuanced.

In terms of investment character: NX is a small-cap high-growth stock; CSL is a mid-cap quality compounder stock; AWI is a small-cap quality compounder stock; IBP is a small-cap quality compounder stock; TREX is a small-cap quality compounder stock. NX, CSL, AWI, IBP pay 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 all of them.

Stocks Like

NX

Income & Dividend Stock

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

CSL

Stable Dividend Mega-Cap

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

AWI

Stable Dividend Mega-Cap

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

IBP

Stable Dividend Mega-Cap

  • Sector: Consumer Cyclical
  • Market Cap > $100B
  • Net Margin > 5%
  • Dividend Yield > 0.5%
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 NX and CSL and AWI and IBP and TREX on the metrics below

Revenue Growth>
%
(NX: 2.3% · CSL: -4.0%)

You Might Also Compare

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