Manufacturing - Metal Fabrication
Compare Stocks
4 / 10Stock Comparison
NWPX vs NX vs APOG vs TREX
Revenue, margins, valuation, and 5-year total return — side by side.
Construction
Construction
Construction
NWPX vs NX vs APOG vs TREX — Key Financials
Market cap, revenue, margins, and valuation side-by-side.
| Company Snapshot | ||||
|---|---|---|---|---|
| Industry | Manufacturing - Metal Fabrication | Construction | Construction | Construction |
| Market Cap | $1.06B | $916M | $787M | $4.12B |
| Revenue (TTM) | $548M | $1.85B | $1.40B | $1.18B |
| Net Income (TTM) | $42M | $-240M | $54M | $191M |
| Gross Margin | 20.2% | 26.1% | 22.7% | 39.2% |
| Operating Margin | 10.6% | -10.0% | 6.7% | 22.1% |
| Forward P/E | 25.9x | 10.0x | 10.6x | 24.0x |
| Total Debt | $103M | $854M | $286M | $229M |
| Cash & Equiv. | $2M | $76M | $40M | $4M |
NWPX vs NX vs APOG vs TREX — Long-Term Stock Performance
Price return indexed to 100 at period start. Dividends excluded.
| Stock | May 20 | May 26 | Return |
|---|---|---|---|
| NWPX Infrastructure… (NWPX) | 100 | 436.3 | +336.3% |
| Quanex Building Pro… (NX) | 100 | 161.8 | +61.8% |
| Apogee Enterprises,… (APOG) | 100 | 177.1 | +77.1% |
| Trex Company, Inc. (TREX) | 100 | 65.2 | -34.8% |
Price return only. Dividends and distributions are not included.
Quick Verdict: NWPX vs NX vs APOG vs TREX
Each card shows where this stock fits in a portfolio — not just who wins on paper.
NWPX is the clearest fit if your priority is growth exposure and long-term compounding.
- Rev growth 6.8%, EPS growth 4.7%, 3Y rev CAGR 4.8%
- 10.4% 10Y total return vs TREX's 239.9%
- Lower volatility, beta 1.29, Low D/E 26.0%, current ratio 3.78x
- +194.1% vs TREX's -30.8%
NX is the clearest fit if your priority is growth.
- 43.8% revenue growth vs TREX's 2.0%
APOG carries the broadest edge in this set and is the clearest fit for income & stability and valuation efficiency.
- Dividend streak 14 yrs, beta 1.25, yield 2.8%
- PEG 0.32 vs TREX's 7.16
- Beta 1.25, yield 2.8%, current ratio 1.65x
- Lower P/E (10.6x vs 24.0x), PEG 0.32 vs 7.16
TREX is the #2 pick in this set and the best alternative if quality and efficiency is your priority.
- 16.3% margin vs NX's -13.0%
- 12.3% ROA vs NX's -11.7%, ROIC 16.4% vs -8.8%
See the full category breakdown
| Category | Winner | Why |
|---|---|---|
| Growth | 43.8% revenue growth vs TREX's 2.0% | |
| Value | Lower P/E (10.6x vs 24.0x), PEG 0.32 vs 7.16 | |
| Quality / Margins | 16.3% margin vs NX's -13.0% | |
| Stability / Safety | Beta 1.25 vs NX's 1.89, lower leverage | |
| Dividends | 2.8% yield, 14-year raise streak, vs NX's 1.6%, (2 stocks pay no dividend) | |
| Momentum (1Y) | +194.1% vs TREX's -30.8% | |
| Efficiency (ROA) | 12.3% ROA vs NX's -11.7%, ROIC 16.4% vs -8.8% |
NWPX vs NX vs APOG vs TREX — Revenue Breakdown by Segment
How each company's revenue is distributed across its business units
Segment breakdown not available.
NWPX vs NX vs APOG vs TREX — Financial Metrics
Side-by-side numbers across 4 stocks — who leads on profitability, valuation, growth, and risk.
Who Leads Where
TREX leads in 2 of 6 categories
NX leads 1 • NWPX leads 1 • APOG leads 1 • 1 tied
Explore the data ↓Income & Cash Flow (Last 12 Months)
TREX leads this category, winning 4 of 6 comparable metrics.
Income & Cash Flow (Last 12 Months)
NX is the larger business by revenue, generating $1.8B annually — 3.4x NWPX's $548M. TREX is the more profitable business, keeping 16.3% of every revenue dollar as net income compared to NX's -13.0%. On growth, NWPX holds the edge at +19.1% YoY revenue growth, suggesting stronger near-term business momentum.
| Metric | ||||
|---|---|---|---|---|
| RevenueTrailing 12 months | $548M | $1.8B | $1.4B | $1.2B |
| EBITDAEarnings before interest/tax | $78M | -$81M | $57M | $309M |
| Net IncomeAfter-tax profit | $42M | -$240M | $54M | $191M |
| Free Cash FlowCash after capex | $72M | $95M | $95M | $263M |
| Gross MarginGross profit ÷ Revenue | +20.2% | +26.1% | +22.7% | +39.2% |
| Operating MarginEBIT ÷ Revenue | +10.6% | -10.0% | +6.7% | +22.1% |
| Net MarginNet income ÷ Revenue | +7.7% | -13.0% | +3.9% | +16.3% |
| FCF MarginFCF ÷ Revenue | +13.1% | +5.1% | +6.8% | +22.3% |
| Rev. Growth (YoY)Latest quarter vs prior year | +19.1% | +2.3% | +1.6% | +1.0% |
| EPS Growth (YoY)Latest quarter vs prior year | +176.9% | +71.9% | +6.1% | +3.6% |
Valuation Metrics
NX leads this category, winning 4 of 7 comparable metrics.
Valuation Metrics
At 14.5x trailing earnings, APOG trades at a 53% valuation discount to NWPX's 30.8x P/E. Adjusting for growth (PEG ratio), APOG offers better value at 0.43x vs TREX's 6.58x — a lower PEG means you pay less per unit of expected earnings growth.
| Metric | ||||
|---|---|---|---|---|
| Market CapShares × price | $1.1B | $916M | $787M | $4.1B |
| Enterprise ValueMkt cap + debt − cash | $1.2B | $1.7B | $1.0B | $4.3B |
| Trailing P/EPrice ÷ TTM EPS | 30.75x | -3.70x | 14.52x | 22.00x |
| Forward P/EPrice ÷ next-FY EPS est. | 25.85x | 9.99x | 10.64x | 23.95x |
| PEG RatioP/E ÷ EPS growth rate | 2.36x | — | 0.43x | 6.58x |
| EV / EBITDAEnterprise value multiple | 16.40x | — | 21.95x | 13.53x |
| Price / SalesMarket cap ÷ Revenue | 2.01x | 0.50x | 0.56x | 3.51x |
| Price / BookPrice ÷ Book value/share | 2.76x | 1.28x | 1.53x | 4.05x |
| Price / FCFMarket cap ÷ FCF | 22.40x | 8.96x | 8.27x | 30.60x |
Profitability & Efficiency
TREX leads this category, winning 5 of 9 comparable metrics.
Profitability & Efficiency
TREX delivers a 18.8% return on equity — every $100 of shareholder capital generates $19 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 NX's 1.18x. On the Piotroski fundamental quality scale (0–9), NWPX scores 9/9 vs NX's 4/9, reflecting strong financial health.
| Metric | ||||
|---|---|---|---|---|
| ROE (TTM)Return on equity | +10.7% | -30.2% | +10.8% | +18.8% |
| ROA (TTM)Return on assets | +7.0% | -11.7% | +4.8% | +12.3% |
| ROICReturn on invested capital | +7.6% | -8.8% | +8.1% | +16.4% |
| ROCEReturn on capital employed | +9.9% | -10.4% | +9.7% | +23.2% |
| Piotroski ScoreFundamental quality 0–9 | 9 | 4 | 7 | 6 |
| Debt / EquityFinancial leverage | 0.26x | 1.18x | 0.56x | 0.22x |
| Net DebtTotal debt minus cash | $101M | $778M | $247M | $225M |
| Cash & Equiv.Liquid assets | $2M | $76M | $40M | $4M |
| Total DebtShort + long-term debt | $103M | $854M | $286M | $229M |
| Interest CoverageEBIT ÷ Interest expense | 24.96x | -3.30x | 5.97x | — |
Total Returns (Dividends Reinvested)
NWPX leads this category, winning 6 of 6 comparable metrics.
Total Returns (Dividends Reinvested)
A $10,000 investment in NWPX five years ago would be worth $33,801 today (with dividends reinvested), compared to $3,599 for TREX. Over the past 12 months, NWPX leads with a +194.1% total return vs TREX's -30.8%. The 3-year compound annual growth rate (CAGR) favors NWPX at 60.3% vs TREX's -11.4% — a key indicator of consistent wealth creation.
| Metric | ||||
|---|---|---|---|---|
| YTD ReturnYear-to-date | +73.7% | +31.1% | -1.3% | +9.3% |
| 1-Year ReturnPast 12 months | +194.1% | +23.2% | -2.8% | -30.8% |
| 3-Year ReturnCumulative with dividends | +312.2% | +6.0% | -0.1% | -30.4% |
| 5-Year ReturnCumulative with dividends | +238.0% | -22.0% | +12.9% | -64.0% |
| 10-Year ReturnCumulative with dividends | +1040.4% | +23.7% | +10.5% | +239.9% |
| CAGR (3Y)Annualised 3-year return | +60.3% | +2.0% | -0.0% | -11.4% |
Risk & Volatility
Evenly matched — NWPX and APOG each lead in 1 of 2 comparable metrics.
Risk & Volatility
APOG is the less volatile stock with a 1.25 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. NWPX currently trades 95.8% 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 | 1.29x | 1.89x | 1.25x | 1.47x |
| 52-Week HighHighest price in past year | $114.27 | $22.98 | $49.99 | $68.78 |
| 52-Week LowLowest price in past year | $36.97 | $11.04 | $30.75 | $29.77 |
| % of 52W HighCurrent price vs 52-week peak | +95.8% | +87.3% | +73.2% | +56.9% |
| RSI (14)Momentum oscillator 0–100 | 82.1 | 54.6 | 53.6 | 51.3 |
| Avg Volume (50D)Average daily shares traded | 135K | 458K | 253K | 1.7M |
Analyst Outlook
APOG leads this category, winning 2 of 2 comparable metrics.
Analyst Outlook
Analyst consensus: NWPX as "Hold", NX as "Hold", APOG as "Hold", TREX as "Hold". Consensus price targets imply 92.7% upside for APOG (target: $71) vs -45.2% for NWPX (target: $60). For income investors, APOG offers the higher dividend yield at 2.83% vs NX's 1.61%.
| Metric | ||||
|---|---|---|---|---|
| Analyst RatingConsensus buy/hold/sell | Hold | Hold | Hold | Hold |
| Price TargetConsensus 12-month target | $60.00 | — | $70.50 | $44.50 |
| # AnalystsCovering analysts | 6 | 10 | 6 | 31 |
| Dividend YieldAnnual dividend ÷ price | — | +1.6% | +2.8% | — |
| Dividend StreakConsecutive years of raises | — | 0 | 14 | 2 |
| Dividend / ShareAnnual DPS | — | $0.32 | $1.04 | — |
| Buyback YieldShare repurchases ÷ mkt cap | +1.7% | +3.5% | +1.9% | +1.3% |
TREX leads in 2 of 6 categories (Income & Cash Flow, Profitability & Efficiency). NX leads in 1 (Valuation Metrics). 1 tied.
NWPX vs NX vs APOG vs TREX: Key Questions Answered
10 questions · data-driven answers · updated daily
01Is NWPX or NX or APOG 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 2. 0% for Trex Company, Inc. (TREX). Apogee Enterprises, Inc. (APOG) offers the better valuation at 14. 5x trailing P/E (10. 6x forward), making it the more compelling value choice. Analysts rate NWPX Infrastructure, Inc. (NWPX) a "Hold" — based on 6 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 — NWPX or NX or APOG or TREX?
On trailing P/E, Apogee Enterprises, Inc.
(APOG) is the cheapest at 14. 5x versus NWPX Infrastructure, Inc. at 30. 8x. 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: Apogee Enterprises, Inc. wins at 0. 32x 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 — NWPX or NX or APOG or TREX?
Over the past 5 years, NWPX Infrastructure, Inc.
(NWPX) delivered a total return of +238. 0%, compared to -64. 0% for Trex Company, Inc. (TREX). Over 10 years, the gap is even starker: NWPX returned +1040% versus APOG's +10. 5%. 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 — NWPX or NX or APOG or TREX?
By beta (market sensitivity over 5 years), Apogee Enterprises, Inc.
(APOG) is the lower-risk stock at 1. 25β versus Quanex Building Products Corporation's 1. 89β — meaning NX is approximately 51% more volatile than APOG relative to the S&P 500. On balance sheet safety, Trex Company, Inc. (TREX) carries a lower debt/equity ratio of 22% versus 118% for Quanex Building Products Corporation — giving it more financial flexibility in a downturn.
05Which is growing faster — NWPX or NX or APOG or TREX?
By revenue growth (latest reported year), Quanex Building Products Corporation (NX) is pulling ahead at 43.
8% versus 2. 0% for Trex Company, Inc. (TREX). On earnings-per-share growth, the picture is similar: NWPX Infrastructure, Inc. grew EPS 4. 7% 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 — NWPX or NX or APOG or TREX?
Trex Company, Inc.
(TREX) is the more profitable company, earning 16. 2% net margin versus -13. 6% for Quanex Building Products Corporation — 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 -10. 6% for NX. At the gross margin level — before operating expenses — TREX leads at 39. 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 NWPX or NX or APOG 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, Apogee Enterprises, Inc. (APOG) is the more undervalued stock at a PEG of 0. 32x 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, Quanex Building Products Corporation (NX) trades at 10. 0x forward P/E versus 25. 9x for NWPX Infrastructure, Inc. — 15. 9x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for APOG: 92. 7% to $70. 50.
08Which pays a better dividend — NWPX or NX or APOG or TREX?
In this comparison, APOG (2.
8% yield), NX (1. 6% yield) pay a dividend. NWPX, TREX do not pay a meaningful dividend and should not be held primarily for income.
09Is NWPX or NX or APOG or TREX better for a retirement portfolio?
For long-horizon retirement investors, NWPX Infrastructure, Inc.
(NWPX) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 1. 29), +1040% 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 (NWPX: +1040%, 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 NWPX and NX and APOG 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.
In terms of investment character: NWPX is a small-cap quality compounder stock; NX is a small-cap high-growth stock; APOG is a small-cap deep-value stock; TREX is a small-cap quality compounder stock. NX, APOG pay a dividend while NWPX, 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.
You Might Also Compare
Based on how these companies actually compete and overlap — not just which sector they're filed under.