PairBook
HomeDG › DG vs OKTA

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

Correlation (3Y)
0.32
moderate
Correlation (1Y)
0.30
last 12 months
Correlation (5Y)
0.25
long-run
Ann. covariance
664.0
%² · weekly, annualized

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 5000.111.24
Max drawdown (3Y)-56.6%-50.6%
Market cap$27.8B$30.2B
P/E (trailing)17.497.1
Dividend yield0.00%0.00%
Sector / categoryConsumer StaplesUS Listed
Lower P/E: DG 17.4 vs 97.1Smaller drawdown: OKTA -50.6% vs -56.6%Higher 5y return: OKTA -34.7% vs -39.3%
-31%0%+89%2025-09-052026-08-27
Twelve months of weekly closes, each series rebased to 100. DG · OKTA

Year-by-year returns

YearDGOKTA
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

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

DG vs OKTA: 3-year weekly correlation 0.32DG vs OKTA0.32

Embed this badge (it refreshes with the data), with attribution:

[![DG vs OKTA correlation](https://www.pairbook.io/api/v1/badge/dg-vs-okta.svg)](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