DGX vs. OKTA
DGX (Quest Diagnostics Incorporated) and OKTA (Okta, Inc.) are both stocks. DGX operates in Diagnostics & Research (Healthcare), while OKTA operates in Software - Infrastructure (Technology). Over the past 5 years, DGX returned 11.27%/yr vs -11.66%/yr for OKTA. At a 0.13 correlation, their price movements are largely independent.
Performance
DGX vs. OKTA - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, DGX achieves a 14.66% return, which is significantly lower than OKTA's 35.13% return.
DGX
- 1D
- -1.54%
- 1M
- 5.24%
- YTD
- 14.66%
- 6M
- 9.44%
- 1Y
- 15.16%
- 3Y*
- 15.88%
- 5Y*
- 11.27%
- 10Y*
- 12.00%
OKTA
- 1D
- -1.58%
- 1M
- 39.27%
- YTD
- 35.13%
- 6M
- 33.86%
- 1Y
- 11.20%
- 3Y*
- 17.84%
- 5Y*
- -11.66%
- 10Y*
- —
DGX vs. OKTA - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
DGX Quest Diagnostics Incorporated | 14.66% | 17.20% | 11.77% | -10.05% | -7.80% | 47.86% | 14.11% | 31.13% | -13.84% | 1.55% |
OKTA Okta, Inc. | 35.13% | 9.73% | -12.96% | 32.49% | -69.52% | -11.83% | 120.39% | 80.83% | 149.12% | 8.93% |
Correlation
The correlation between DGX and OKTA is -0.03, meaning there is essentially no relationship between their price movements. Each responds to its own set of market drivers, making them strong candidates for combining in a diversified portfolio.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | -0.03 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.04 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.11 |
Correlation (All Time) Calculated using the full available price history since Apr 10, 2017 | 0.13 |
The correlation between DGX and OKTA shifts across timeframes, from -0.03 (1 year) to 0.13 (all time), reflecting how their relationship changes across market environments.
Fundamentals
DGX:
$22.09B
OKTA:
$20.76B
DGX:
$9.10
OKTA:
$0.96
DGX:
21.67
OKTA:
121.27
DGX:
1.97
OKTA:
9.40
DGX:
3.00
OKTA:
3.01K
DGX:
$11.28B
OKTA:
$2.23B
DGX:
$3.75B
OKTA:
$1.73B
DGX:
$1.98B
OKTA:
$235.06M
Compare stocks, funds, or ETFs
Search for stocks, ETFs, and funds for a quick comparison or use the comparison tool for more options.
Return for Risk
DGX vs. OKTA — Risk / Return Rank
DGX
OKTA
DGX vs. OKTA - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Quest Diagnostics Incorporated (DGX) and Okta, Inc. (OKTA). Risk-adjusted metrics are performance indicators that assess an investment's returns in relation to its risk, enabling a more accurate comparison of different investment options.
| DGX | OKTA | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | +0.46 | ||
| Sortino ratioReturn per unit of downside risk | +0.40 | ||
| Omega ratioGain probability vs. loss probability | 1.14 | 1.10 | +0.04 |
| Calmar ratioReturn relative to maximum drawdown | 1.32 | 0.30 | +1.02 |
| Martin ratioReturn relative to average drawdown | 2.74 | 0.71 | +2.03 |
Data is calculated on a 1-year rolling basis and updated daily. The trend shows the change in the indicator over the past month. | |||
Loading charts...
Sharpe Ratios by Period
| DGX | OKTA | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | 0.67 | 0.21 | +0.46 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | 0.52 | -0.20 | +0.72 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.51 | — | — |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.53 | 0.36 | +0.18 |
Drawdowns
DGX vs. OKTA - Drawdown Comparison
The maximum DGX drawdown since its inception was -49.46%, smaller than the maximum OKTA drawdown of -84.57%. Use the drawdown chart below to compare losses from any high point for DGX and OKTA.
Loading charts...
Drawdown Indicators
| DGX | OKTA | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -49.46% | -84.57% | +35.11% |
Max Drawdown (1Y)Largest decline over 1 year | -11.55% | -37.82% | +26.27% |
Max Drawdown (3Y)Largest decline over 3 years | -16.57% | -50.57% | +34.00% |
Max Drawdown (5Y)Largest decline over 5 years | -28.62% | -83.43% | +54.81% |
Max Drawdown (10Y)Largest decline over 10 years | -36.60% | — | — |
Current DrawdownCurrent decline from peak | -6.53% | -59.95% | +53.42% |
Average DrawdownAverage peak-to-trough decline | -11.90% | -38.25% | +26.35% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 5.54% | 18.44% | -12.90% |
Volatility
DGX vs. OKTA - Volatility Comparison
The current volatility for Quest Diagnostics Incorporated (DGX) is 5.45%, while Okta, Inc. (OKTA) has a volatility of 33.10%. This indicates that DGX experiences smaller price fluctuations and is considered to be less risky than OKTA based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| DGX | OKTA | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 5.45% | 33.10% | -27.65% |
Volatility (6M)Calculated over the trailing 6-month period | 16.64% | 47.85% | -31.21% |
Volatility (1Y)Calculated over the trailing 1-year period | 22.79% | 54.61% | -31.82% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 21.76% | 57.49% | -35.73% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 23.78% | 54.01% | -30.23% |
Dividends
DGX vs. OKTA - Dividend Comparison
DGX's dividend yield for the trailing twelve months is around 1.65%, while OKTA has not paid dividends to shareholders.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
DGX Quest Diagnostics Incorporated | 1.65% | 1.82% | 1.96% | 2.02% | 1.66% | 1.40% | 1.85% | 1.99% | 2.34% | 1.83% | 1.72% | 2.07% |
OKTA Okta, Inc. | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% |
Financials
DGX vs. OKTA - Financials Comparison
This section allows you to compare key financial metrics between Quest Diagnostics Incorporated and Okta, Inc.. You can select fields from income statements, balance sheets, and cash flow statements to easily visualize and compare the financial health of both companies.
Total Revenue: Total amount of money received from sales and other business activities
DGX vs. OKTA - Profitability Comparison
DGX - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Quest Diagnostics Incorporated reported a gross profit of 942.00M and revenue of 2.90B. Therefore, the gross margin over that period was 32.5%.
OKTA - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Okta, Inc. reported a gross profit of 595.00K and revenue of 765.00K. Therefore, the gross margin over that period was 77.8%.
DGX - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Quest Diagnostics Incorporated reported an operating income of 399.00M and revenue of 2.90B, resulting in an operating margin of 13.8%.
OKTA - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Okta, Inc. reported an operating income of 56.00K and revenue of 765.00K, resulting in an operating margin of 7.3%.
DGX - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Quest Diagnostics Incorporated reported a net income of 252.00M and revenue of 2.90B, resulting in a net margin of 8.7%.
OKTA - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Okta, Inc. reported a net income of 74.00K and revenue of 765.00K, resulting in a net margin of 9.7%.
Frequently Asked Questions
DGX and OKTA have a correlation of -0.03, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
OKTA has higher volatility (33.10%) compared to DGX (5.45%). In terms of maximum drawdown, DGX dropped -49.46% vs OKTA's -84.57%.
DGX currently has the higher Sharpe Ratio (0.67 vs 0.21), meaning it's delivered slightly more return per unit of risk over the trailing 12 months. However, this ranking shifts over time - use the Risk/Return Score above for a more comprehensive view that combines Sharpe, Sortino, and other measures used by quantitative funds.
Find the right allocation for DGX and OKTA
Add both to a portfolio and optimize allocations for your target — whether that's maximizing returns, minimizing drawdowns, or balancing risk across holdings.
Open Portfolio Optimizer