NX vs ROCK: Correlation
How closely do Quanex Building Products Corporation (NX) and Gibraltar Industries, Inc. (ROCK) trade together? Their weekly returns over three years give a correlation of 0.60, which is strong.
Data as of 2026-08-27 · refreshed every trading day · weekly returns · methodology
How correlated are NX and ROCK?
Over the past 3 years, NX and ROCK moved with a correlation of 0.60, which is strong. Lately the two have moved closer together, with the 1-year correlation at 0.72 versus 0.60 over 3 years. Over 5 years the correlation is 0.59, and the annualized covariance of weekly returns is 1152.7 %².
Among the 13 assets we track against NX, ROCK ranks #4 by 3-year correlation. The last year tells two different stories: NX led by 20.6 percentage points, -8.4% for NX against -29.0% for ROCK.
How is this computed?
Pearson correlation on weekly returns: ρ(A,B) = cov(rA, rB) / (σA · σB), over windows of 52, 156 and 260 weeks. Covariance is annualized (×52) and expressed in %². Full definitions on the methodology page.
NX vs ROCK: side by side
| NX (Quanex Building Products Corporation) | ROCK (Gibraltar Industries, Inc.) | |
|---|---|---|
| 1-year return | -8.4% | -29.0% |
| 5-year return | -10.0% | -39.2% |
| Volatility (ann.) | 49.4% | 39.2% |
| Beta vs S&P 500 | 1.11 | 1.19 |
| Max drawdown (3Y) | -70.4% | -61.2% |
| Market cap | $0.9B | $1.4B |
| P/E (trailing) | – | 22.9 |
| Dividend yield | 1.61% | 0.00% |
| Sector / category | US Listed | US Listed |
Year-by-year returns
| Year | NX | ROCK |
|---|---|---|
| 2022 | -3.1% | -31.2% |
| 2023 | +30.7% | +72.1% |
| 2024 | -19.9% | -25.4% |
| 2025 | -35.4% | -16.1% |
| 2026 | +29.2% | -7.3% |
Calendar-year price returns; the current year is year-to-date as of the data date above.
Are NX and ROCK good diversifiers for each other?
Only partially. A correlation of 0.60 means NX and ROCK share most of their swings. Pairing them dampens volatility somewhat, but it will not protect against a common drawdown.
FAQ
What is the correlation between NX and ROCK?
Using weekly returns as of 2026-08-27: 0.60 over 3 years, with 0.72 over the last year and 0.59 over 5 years.
Is ROCK a good diversifier for NX?
Only partially. A correlation of 0.60 means NX and ROCK share most of their swings. Pairing them dampens volatility somewhat, but it will not protect against a common drawdown.
What does a correlation of 0.60 mean?
A reading of 0.60 sits on a scale from −1 (opposite moves) through 0 (unrelated) to +1 (identical moves). Correlation captures direction, not magnitude or performance.
Use this data
$ curl https://www.pairbook.io/api/v1/pairs/nx-vs-rock.json
Markdown for the live badge, attribution link included:
[](https://www.pairbook.io/pair/nx-vs-rock/)
Free with attribution; caching and terms are described in the API documentation.
Related comparisons
Hubs: NX correlations · ROCK correlations