DG vs OKTA: Correlation
How closely do Dollar General (DG) and Okta, Inc. (OKTA) trade together? Their weekly returns over three years give a correlation of 0.32, which is moderate.
Data as of 2026-08-27 · refreshed every trading day · weekly returns · methodology
How correlated are DG and OKTA?
Over the past 3 years, DG and OKTA moved with a correlation of 0.32, which is moderate. The relationship has been stable: the 1-year correlation (0.30) sits close to the 3-year figure. Over 5 years the correlation is 0.25, and the annualized covariance of weekly returns is 664.0 %².
Among the 32 assets we track against DG, OKTA ranks #7 by 3-year correlation. Their recent paths diverged sharply: over the last 12 months OKTA outperformed by 70.4 percentage points (+15.5% for DG against +85.9% for OKTA).
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.
DG vs OKTA: side by side
| DG (Dollar General) | OKTA (Okta, Inc.) | |
|---|---|---|
| 1-year return | +15.5% | +85.9% |
| 5-year return | -39.3% | -34.7% |
| Volatility (ann.) | 38.5% | 54.5% |
| Beta vs S&P 500 | 0.11 | 1.24 |
| Max drawdown (3Y) | -56.6% | -50.6% |
| Market cap | $27.8B | $30.2B |
| P/E (trailing) | 17.4 | 97.1 |
| Dividend yield | 0.00% | 0.00% |
| Sector / category | Consumer Staples | US Listed |
Year-by-year returns
| Year | DG | OKTA |
|---|---|---|
| 2022 | +5.6% | -69.5% |
| 2023 | -44.1% | +32.5% |
| 2024 | -43.1% | -13.0% |
| 2025 | +79.6% | +9.7% |
| 2026 | -3.8% | +100.0% |
Calendar-year price returns; the current year is year-to-date as of the data date above.
Are DG and OKTA good diversifiers for each other?
Yes, to a useful degree: a correlation of 0.32 leaves real independence between the two, which historically damped combined volatility.
FAQ
What is the correlation between DG and OKTA?
The DG/OKTA correlation stands at 0.32 on a 3-year window (1 year: 0.30, 5 years: 0.25), computed from weekly returns as of 2026-08-27.
Is OKTA a good diversifier for DG?
Yes, to a useful degree: a correlation of 0.32 leaves real independence between the two, which historically damped combined volatility.
What does a correlation of 0.32 mean?
A reading of 0.32 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/dg-vs-okta.json
Embed this badge (it refreshes with the data), with attribution:
[](https://www.pairbook.io/pair/dg-vs-okta/)
The core API is free. Terms and every endpoint in the API documentation.
Related comparisons
Hubs: DG correlations · OKTA correlations