CGNX vs GNRC: Correlation
How closely do Cognex Corporation (CGNX) and Generac (GNRC) trade together? Their weekly returns over three years give a correlation of 0.59, which is moderate.
Data as of 2026-08-27 · refreshed every trading day · weekly returns · methodology
How correlated are CGNX and GNRC?
Over the past 3 years, CGNX and GNRC moved with a correlation of 0.59, which is moderate. The relationship has been stable: the 1-year correlation (0.64) sits close to the 3-year figure. Over 5 years the correlation is 0.53, and the annualized covariance of weekly returns is 1247.0 %².
GNRC is one of the assets that tracks CGNX most closely: it ranks #2 out of the 16 assets we track against CGNX. Their recent paths diverged sharply: over the last 12 months CGNX outperformed by 37.7 percentage points (+43.2% for CGNX against +5.5% for GNRC).
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.
CGNX vs GNRC: side by side
| CGNX (Cognex Corporation) | GNRC (Generac) | |
|---|---|---|
| 1-year return | +43.2% | +5.5% |
| 5-year return | -27.4% | -55.4% |
| Volatility (ann.) | 45.5% | 46.1% |
| Beta vs S&P 500 | 1.27 | 1.35 |
| Max drawdown (3Y) | -55.7% | -47.8% |
| Market cap | $10.6B | $11.6B |
| P/E (trailing) | 59.4 | 47.4 |
| Dividend yield | 0.54% | 0.00% |
| Sector / category | US Listed | Industrials |
Year-by-year returns
| Year | CGNX | GNRC |
|---|---|---|
| 2022 | -39.1% | -71.4% |
| 2023 | -10.8% | +28.4% |
| 2024 | -13.4% | +20.0% |
| 2025 | +1.2% | -12.0% |
| 2026 | +75.8% | +44.7% |
Calendar-year price returns; the current year is year-to-date as of the data date above.
Are CGNX and GNRC good diversifiers for each other?
Somewhat, no more. With 0.59 correlation, most large moves hit both names, and the diversification benefit stays modest.
FAQ
What is the correlation between CGNX and GNRC?
Using weekly returns as of 2026-08-27: 0.59 over 3 years, with 0.64 over the last year and 0.53 over 5 years.
Is GNRC a good diversifier for CGNX?
Somewhat, no more. With 0.59 correlation, most large moves hit both names, and the diversification benefit stays modest.
What does a correlation of 0.59 mean?
Correlation ranges from −1 to +1. Values near +1 mean two assets move together, near 0 that they move independently, and negative values that they tend to move in opposite directions. It measures co-movement, not performance.
Use this data
$ curl https://www.pairbook.io/api/v1/pairs/cgnx-vs-gnrc.json
Embed this badge (it refreshes with the data), with attribution:
[](https://www.pairbook.io/pair/cgnx-vs-gnrc/)
The core API is free. Terms and every endpoint in the API documentation.
Related comparisons
Hubs: CGNX correlations · GNRC correlations