In memory of Warren Buffett, 1930–2026.
New: our quarterly report on the S&P 500, read from 500 companies’ own filings and calls. Read the Q3 2026 report

Quanex Building Products Corporation (NX) vs Gibraltar Industries, Inc. (ROCK)

Quanex Building Products Corporation and Gibraltar Industries, Inc. are both Building Products & Equipment companies. Quanex Building Products Corporation and Gibraltar Industries, Inc. are of similar size ($920.0M and $846.4M). Gibraltar Industries, Inc. has negative trailing earnings, so its P/E is not meaningful; Quanex Building Products Corporation trades at 18.7×. Gibraltar Industries, Inc. grew revenue faster over the last twelve months: 54.2% against 1.26%. Quanex Building Products Corporation has the higher net margin (2.43% vs −3.10%) and the higher return on invested capital (5.16% vs 3.54%). Across the 18 metrics below, Quanex Building Products Corporation leads on 14 and Gibraltar Industries, Inc. on 4.

Valuation

Metric NX ROCK Building Products & Equipment median
P/E 18.66 n/m 28.07
P/S 0.45 0.57 2.18
P/B 1.14 1.02 2.95
Price to free cash flow 9.29 n/m 20.59
EV/EBITDA 6.89 11.69 14.14
EV/Sales 0.78 1.32 2.28
Earnings yield 5.36% (5.39%) 2.14%
Free cash flow yield 10.77% (2.42%) 3.58%

Profitability

Metric NX ROCK Building Products & Equipment median
Gross margin 26.59% 24.21% 29.81%
Operating margin 5.96% 7.39% 7.18%
Net margin 2.43% (3.10%) 3.85%
Free cash flow margin 4.89% (1.38%) 7.39%
Return on equity 6.20% (5.39%) 6.20%
Return on assets 2.30% (2.43%) 2.57%
Return on invested capital 5.16% 3.54% 7.14%

Growth

Metric NX ROCK Building Products & Equipment median
Revenue growth (TTM) 1.26% 54.18% 3.96%
EPS growth (last fiscal year) (703.33%) (133.18%) (22.45%)
Revenue growth, 5-year CAGR 16.63% 1.92% 5.37%
Net income growth, 5-year CAGR — — 9.27%

Health

Metric NX ROCK Building Products & Equipment median
Debt to equity 0.89 1.37 0.51
Current ratio 2.23 1.75 1.83
Net debt to EBITDA n/m (0.76) 1.43

Dividend

Metric NX ROCK Building Products & Equipment median
Dividend yield 1.73% — 1.29%
Payout ratio 0.32 — 0.28

Size

Metric NX ROCK Building Products & Equipment median
Market cap 846.41m 920.01m 1.51b

Compare with another peer

Any metric, up to five companies and an Excel export Powerpack