PairBook
HomeNX › NX vs ROCK

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

Correlation (3Y)
0.60
strong
Correlation (1Y)
0.72
last 12 months
Correlation (5Y)
0.59
long-run
Ann. covariance
1152.7
%² · weekly, annualized

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 5001.111.19
Max drawdown (3Y)-70.4%-61.2%
Market cap$0.9B$1.4B
P/E (trailing)22.9
Dividend yield1.61%0.00%
Sector / categoryUS ListedUS Listed
Higher yield: NX 1.61% vs 0.00%Smaller drawdown: ROCK -61.2% vs -70.4%Higher 5y return: NX -10.0% vs -39.2%
-43%0%+25%2025-09-052026-08-27
Both assets over the last year, indexed to 100 at the starting week. NX · ROCK

Year-by-year returns

YearNXROCK
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

JSON API · no key required
$ curl https://www.pairbook.io/api/v1/pairs/nx-vs-rock.json

NX vs ROCK: 3-year weekly correlation 0.60NX vs ROCK0.60

Markdown for the live badge, attribution link included:

[![NX vs ROCK correlation](https://www.pairbook.io/api/v1/badge/nx-vs-rock.svg)](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