Construction
Compare Stocks
5 / 10Stock Comparison
NX vs TREX vs AWI vs BLDR vs HD
Revenue, margins, valuation, and 5-year total return — side by side.
Construction
Construction
Construction
Home Improvement
NX vs TREX vs AWI vs BLDR vs HD — Key Financials
Market cap, revenue, margins, and valuation side-by-side.
| Company Snapshot | |||||
|---|---|---|---|---|---|
| Industry | Construction | Construction | Construction | Construction | Home Improvement |
| Market Cap | $916M | $4.12B | $7.05B | $8.79B | $320.71B |
| Revenue (TTM) | $1.85B | $1.18B | $1.65B | $14.82B | $164.68B |
| Net Income (TTM) | $-240M | $191M | $306M | $292M | $14.16B |
| Gross Margin | 26.1% | 39.2% | 40.3% | 29.9% | 33.3% |
| Operating Margin | -10.0% | 22.1% | 27.5% | 4.2% | 12.7% |
| Forward P/E | 10.0x | 24.0x | 19.9x | 14.1x | 21.5x |
| Total Debt | $854M | $229M | $532M | $5.65B | $19.01B |
| Cash & Equiv. | $76M | $4M | $113M | $182M | $1.39B |
NX vs TREX vs AWI vs BLDR vs HD — Long-Term Stock Performance
Price return indexed to 100 at period start. Dividends excluded.
| Stock | May 20 | May 26 | Return |
|---|---|---|---|
| Quanex Building Pro… (NX) | 100 | 161.8 | +61.8% |
| Trex Company, Inc. (TREX) | 100 | 65.2 | -34.8% |
| Armstrong World Ind… (AWI) | 100 | 219.0 | +119.0% |
| Builders FirstSourc… (BLDR) | 100 | 381.9 | +281.9% |
| The Home Depot, Inc. (HD) | 100 | 129.8 | +29.8% |
Price return only. Dividends and distributions are not included.
Quick Verdict: NX vs TREX vs AWI vs BLDR vs HD
Each card shows where this stock fits in a portfolio — not just who wins on paper.
NX carries the broadest edge in this set and is the clearest fit for growth and value.
- 43.8% revenue growth vs BLDR's -7.4%
- Lower P/E (10.0x vs 21.5x)
- +23.2% vs TREX's -30.8%
TREX lags the leaders in this set but could rank higher in a more targeted comparison.
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.82, Low D/E 59.0%, current ratio 1.46x
- 18.6% margin vs NX's -13.0%
- Beta 0.82 vs NX's 1.89, lower leverage
BLDR is the clearest fit if your priority is long-term compounding and valuation efficiency.
- 6.1% 10Y total return vs AWI's 330.4%
- PEG 1.78 vs TREX's 7.16
HD ranks third and is worth considering specifically for income & stability and defensive.
- Dividend streak 16 yrs, beta 0.84, yield 2.8%
- Beta 0.84, yield 2.8%, current ratio 1.06x
- 2.8% yield, 16-year raise streak, vs AWI's 0.8%, (2 stocks pay no dividend)
See the full category breakdown
| Category | Winner | Why |
|---|---|---|
| Growth | 43.8% revenue growth vs BLDR's -7.4% | |
| Value | Lower P/E (10.0x vs 21.5x) | |
| Quality / Margins | 18.6% margin vs NX's -13.0% | |
| Stability / Safety | Beta 0.82 vs NX's 1.89, lower leverage | |
| Dividends | 2.8% yield, 16-year raise streak, vs AWI's 0.8%, (2 stocks pay no dividend) | |
| Momentum (1Y) | +23.2% vs TREX's -30.8% | |
| Efficiency (ROA) | 16.0% ROA vs NX's -11.7%, ROIC 24.9% vs -8.8% |
NX vs TREX vs AWI vs BLDR vs HD — Revenue Breakdown by Segment
How each company's revenue is distributed across its business units
Segment breakdown not available.
NX vs TREX vs AWI vs BLDR vs HD — Financial Metrics
Side-by-side numbers across 5 stocks — who leads on profitability, valuation, growth, and risk.
Who Leads Where
AWI leads in 2 of 6 categories
NX leads 1 • HD leads 1 • TREX leads 0 • BLDR leads 0 • 2 tied
Explore the data ↓Income & Cash Flow (Last 12 Months)
AWI leads this category, winning 4 of 6 comparable metrics.
Income & Cash Flow (Last 12 Months)
HD is the larger business by revenue, generating $164.7B annually — 139.8x 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.
| Metric | |||||
|---|---|---|---|---|---|
| RevenueTrailing 12 months | $1.8B | $1.2B | $1.6B | $14.8B | $164.7B |
| EBITDAEarnings before interest/tax | -$81M | $309M | $603M | $1.2B | $24.2B |
| Net IncomeAfter-tax profit | -$240M | $191M | $306M | $292M | $14.2B |
| Free Cash FlowCash after capex | $95M | $263M | $247M | $862M | $12.6B |
| Gross MarginGross profit ÷ Revenue | +26.1% | +39.2% | +40.3% | +29.9% | +33.3% |
| Operating MarginEBIT ÷ Revenue | -10.0% | +22.1% | +27.5% | +4.2% | +12.7% |
| Net MarginNet income ÷ Revenue | -13.0% | +16.3% | +18.6% | +2.0% | +8.6% |
| FCF MarginFCF ÷ Revenue | +5.1% | +22.3% | +15.0% | +5.8% | +7.7% |
| Rev. Growth (YoY)Latest quarter vs prior year | +2.3% | +1.0% | +7.1% | -10.1% | -3.8% |
| EPS Growth (YoY)Latest quarter vs prior year | +71.9% | +3.6% | -1.9% | -151.2% | -14.6% |
Valuation Metrics
NX leads this category, winning 5 of 7 comparable metrics.
Valuation Metrics
At 20.4x trailing earnings, BLDR trades at a 12% valuation discount to AWI's 23.3x P/E. Adjusting for growth (PEG ratio), BLDR offers better value at 2.59x vs TREX's 6.58x — a lower PEG means you pay less per unit of expected earnings growth.
| Metric | |||||
|---|---|---|---|---|---|
| Market CapShares × price | $916M | $4.1B | $7.0B | $8.8B | $320.7B |
| Enterprise ValueMkt cap + debt − cash | $1.7B | $4.3B | $7.5B | $14.3B | $338.3B |
| Trailing P/EPrice ÷ TTM EPS | -3.70x | 22.00x | 23.32x | 20.43x | 22.67x |
| Forward P/EPrice ÷ next-FY EPS est. | 9.99x | 23.95x | 19.87x | 14.07x | 21.47x |
| PEG RatioP/E ÷ EPS growth rate | — | 6.58x | — | 2.59x | 6.35x |
| EV / EBITDAEnterprise value multiple | — | 13.53x | 17.23x | 10.35x | 14.00x |
| Price / SalesMarket cap ÷ Revenue | 0.50x | 3.51x | 4.35x | 0.58x | 1.95x |
| Price / BookPrice ÷ Book value/share | 1.28x | 4.05x | 7.99x | 2.04x | 25.11x |
| Price / FCFMarket cap ÷ FCF | 8.96x | 30.60x | 28.63x | 10.30x | 25.36x |
Profitability & Efficiency
Evenly matched — TREX and AWI and HD each lead in 3 of 9 comparable metrics.
Profitability & Efficiency
HD delivers a 110.5% return on equity — every $100 of shareholder capital generates $110 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 HD's 1.48x. On the Piotroski fundamental quality scale (0–9), AWI scores 9/9 vs HD's 4/9, reflecting strong financial health.
| Metric | |||||
|---|---|---|---|---|---|
| ROE (TTM)Return on equity | -30.2% | +18.8% | +34.8% | +6.9% | +110.5% |
| ROA (TTM)Return on assets | -11.7% | +12.3% | +16.0% | +2.6% | +13.5% |
| ROICReturn on invested capital | -8.8% | +16.4% | +24.9% | +6.4% | +32.1% |
| ROCEReturn on capital employed | -10.4% | +23.2% | +26.5% | +8.5% | +29.8% |
| Piotroski ScoreFundamental quality 0–9 | 4 | 6 | 9 | 5 | 4 |
| Debt / EquityFinancial leverage | 1.18x | 0.22x | 0.59x | 1.30x | 1.48x |
| Net DebtTotal debt minus cash | $778M | $225M | $419M | $5.5B | $17.6B |
| Cash & Equiv.Liquid assets | $76M | $4M | $113M | $182M | $1.4B |
| Total DebtShort + long-term debt | $854M | $229M | $532M | $5.6B | $19.0B |
| Interest CoverageEBIT ÷ Interest expense | -3.30x | — | 13.31x | 2.19x | 8.71x |
Total Returns (Dividends Reinvested)
AWI leads this category, winning 3 of 6 comparable metrics.
Total Returns (Dividends Reinvested)
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, NX leads with a +23.2% 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.
| Metric | |||||
|---|---|---|---|---|---|
| YTD ReturnYear-to-date | +31.1% | +9.3% | -16.0% | -24.0% | -6.0% |
| 1-Year ReturnPast 12 months | +23.2% | -30.8% | +11.5% | -25.0% | -8.5% |
| 3-Year ReturnCumulative with dividends | +6.0% | -30.4% | +151.8% | -30.1% | +21.4% |
| 5-Year ReturnCumulative with dividends | -22.0% | -64.0% | +63.0% | +51.8% | +7.3% |
| 10-Year ReturnCumulative with dividends | +23.7% | +239.9% | +330.4% | +614.8% | +184.0% |
| CAGR (3Y)Annualised 3-year return | +2.0% | -11.4% | +36.0% | -11.2% | +6.7% |
Risk & Volatility
Evenly matched — NX and AWI each lead in 1 of 2 comparable metrics.
Risk & Volatility
AWI is the less volatile stock with a 0.82 beta — it tends to amplify market swings less than NX's 1.89 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. NX currently trades 87.3% from its 52-week high vs BLDR's 52.6% drawdown — a narrower gap to the peak suggests stronger recent price momentum.
| Metric | |||||
|---|---|---|---|---|---|
| Beta (5Y)Sensitivity to S&P 500 | 1.89x | 1.47x | 0.82x | 1.65x | 0.84x |
| 52-Week HighHighest price in past year | $22.98 | $68.78 | $206.08 | $151.03 | $426.75 |
| 52-Week LowLowest price in past year | $11.04 | $29.77 | $148.25 | $73.40 | $310.42 |
| % of 52W HighCurrent price vs 52-week peak | +87.3% | +56.9% | +80.1% | +52.6% | +75.6% |
| RSI (14)Momentum oscillator 0–100 | 54.6 | 51.3 | 41.3 | 42.8 | 43.1 |
| Avg Volume (50D)Average daily shares traded | 458K | 1.7M | 494K | 2.4M | 3.6M |
Analyst Outlook
HD leads this category, winning 2 of 2 comparable metrics.
Analyst Outlook
Analyst consensus: NX as "Hold", TREX as "Hold", AWI as "Buy", BLDR as "Buy", HD as "Buy". Consensus price targets imply 38.3% upside for BLDR (target: $110) vs 13.6% for TREX (target: $45). For income investors, HD offers the higher dividend yield at 2.84% vs AWI's 0.77%.
| Metric | |||||
|---|---|---|---|---|---|
| Analyst RatingConsensus buy/hold/sell | Hold | Hold | Buy | Buy | Buy |
| Price TargetConsensus 12-month target | — | $44.50 | $197.50 | $109.92 | $408.08 |
| # AnalystsCovering analysts | 10 | 31 | 26 | 43 | 62 |
| Dividend YieldAnnual dividend ÷ price | +1.6% | — | +0.8% | — | +2.8% |
| Dividend StreakConsecutive years of raises | 0 | 2 | 8 | 2 | 16 |
| Dividend / ShareAnnual DPS | $0.32 | — | $1.27 | — | $9.18 |
| Buyback YieldShare repurchases ÷ mkt cap | +3.5% | +1.3% | +1.8% | +4.7% | 0.0% |
AWI leads in 2 of 6 categories (Income & Cash Flow, Total Returns). NX leads in 1 (Valuation Metrics). 2 tied.
NX vs TREX vs AWI vs BLDR vs HD: Key Questions Answered
10 questions · data-driven answers · updated daily
01Is NX or TREX or AWI or BLDR or HD 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 -7. 4% for Builders FirstSource, Inc. (BLDR). Builders FirstSource, Inc. (BLDR) offers the better valuation at 20. 4x trailing P/E (14. 1x forward), making it the more compelling value choice. Analysts rate Armstrong World Industries, Inc. (AWI) 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.
02Which has the better valuation — NX or TREX or AWI or BLDR or HD?
On trailing P/E, Builders FirstSource, Inc.
(BLDR) is the cheapest at 20. 4x versus Armstrong World Industries, Inc. at 23. 3x. On forward P/E, Quanex Building Products Corporation is actually cheaper at 10. 0x — 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: Builders FirstSource, Inc. wins at 1. 78x versus Trex Company, Inc. 's 7. 16x — a reasonable growth-adjusted valuation.
03Which is the better long-term investment — NX or TREX or AWI or BLDR or HD?
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: BLDR returned +614. 8% versus NX's +23. 7%. 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 — NX or TREX or AWI or BLDR or HD?
By beta (market sensitivity over 5 years), Armstrong World Industries, Inc.
(AWI) is the lower-risk stock at 0. 82β versus Quanex Building Products Corporation's 1. 89β — meaning NX is approximately 131% 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 148% for The Home Depot, Inc. — giving it more financial flexibility in a downturn.
05Which is growing faster — NX or TREX or AWI or BLDR or HD?
By revenue growth (latest reported year), Quanex Building Products Corporation (NX) is pulling ahead at 43.
8% versus -7. 4% for Builders FirstSource, Inc. (BLDR). 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.
06Which has better profit margins — NX or TREX or AWI or BLDR or HD?
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.
07Is NX or TREX or AWI or BLDR or HD 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, Builders FirstSource, Inc. (BLDR) is the more undervalued stock at a PEG of 1. 78x versus Trex Company, Inc. 's 7. 16x. Both stocks trade at elevated growth-adjusted valuations, so expected growth needs to materialise. On forward earnings alone, Quanex Building Products Corporation (NX) trades at 10. 0x forward P/E versus 24. 0x for Trex Company, Inc. — 14. 0x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for BLDR: 38. 3% to $109. 92.
08Which pays a better dividend — NX or TREX or AWI or BLDR or HD?
In this comparison, HD (2.
8% yield), NX (1. 6% yield), AWI (0. 8% yield) pay a dividend. TREX, BLDR do not pay a meaningful dividend and should not be held primarily for income.
09Is NX or TREX or AWI or BLDR or HD 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). Quanex Building Products Corporation (NX) carries a higher beta of 1. 89 — 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: +330. 4%, NX: +23. 7%), 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 NX and TREX and AWI and BLDR and HD?
These companies operate in different sectors (NX (Industrials) and TREX (Industrials) and AWI (Industrials) and BLDR (Industrials) and HD (Consumer Cyclical)), 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; TREX is a small-cap quality compounder stock; AWI is a small-cap quality compounder stock; BLDR is a small-cap quality compounder stock; HD is a large-cap quality compounder stock. NX, AWI, HD pay a dividend while TREX, BLDR 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.
You Might Also Compare
Based on how these companies actually compete and overlap — not just which sector they're filed under.