OKTA vs. CPB
OKTA (Okta, Inc.) and CPB (Campbell Soup Company) are both stocks. OKTA operates in Software - Infrastructure (Technology), while CPB operates in Packaged Foods (Consumer Defensive). Over the past 5 years, OKTA returned -12.47%/yr vs -9.79%/yr for CPB. At a 0.00 correlation, their price movements are largely independent.
Performance
OKTA vs. CPB - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, OKTA achieves a 34.49% return, which is significantly higher than CPB's -15.45% return.
OKTA
- 1D
- -1.03%
- 1M
- 48.71%
- YTD
- 34.49%
- 6M
- 28.95%
- 1Y
- 16.08%
- 3Y*
- 15.20%
- 5Y*
- -12.47%
- 10Y*
- —
CPB
- 1D
- 0.35%
- 1M
- 12.09%
- YTD
- -15.45%
- 6M
- -18.01%
- 1Y
- -27.52%
- 3Y*
- -17.59%
- 5Y*
- -9.79%
- 10Y*
- -6.46%
OKTA vs. CPB - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
OKTA Okta, Inc. | 34.49% | 9.73% | -12.96% | 32.49% | -69.52% | -11.83% | 120.39% | 80.83% | 149.12% | 7.83% |
CPB Campbell Soup Company | -15.45% | -30.47% | 0.09% | -21.45% | 34.84% | -7.19% | 0.72% | 55.19% | -29.12% | -13.20% |
Correlation
The correlation between OKTA and CPB is 0.07, 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.07 |
Correlation (3Y) Calculated over the trailing 3-year period | -0.00 |
Correlation (5Y) Calculated over the trailing 5-year period | -0.05 |
Correlation (All Time) Calculated using the full available price history since Apr 7, 2017 | 0.00 |
The correlation between OKTA and CPB shifts across timeframes, from -0.05 (5 years) to 0.07 (1 year), reflecting how their relationship changes across market environments.
Fundamentals
OKTA:
$20.66B
CPB:
$6.82B
OKTA:
$0.96
CPB:
$2.03
OKTA:
120.69
CPB:
11.22
OKTA:
9.36
CPB:
0.69
OKTA:
3.00K
CPB:
1.69
OKTA:
$2.23B
CPB:
$9.93B
OKTA:
$1.73B
CPB:
$2.86B
OKTA:
$235.06M
CPB:
$1.42B
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
OKTA vs. CPB — Risk / Return Rank
OKTA
CPB
OKTA vs. CPB - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Okta, Inc. (OKTA) and Campbell Soup Company (CPB). 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.
Values are calculated on a 1-year rolling basis and updated daily. Risk-adjusted metrics are more stable over longer periods — use the period switch above to explore them.
| OKTA | CPB | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | +1.24 | ||
| Sortino ratioReturn per unit of downside risk | +2.19 | ||
| Omega ratioGain probability vs. loss probability | 1.11 | 0.85 | +0.26 |
| Calmar ratioReturn relative to maximum drawdown | 0.43 | -0.72 | +1.14 |
| Martin ratioReturn relative to average drawdown | 1.02 | -1.33 | +2.35 |
Loading charts...
Drawdowns
OKTA vs. CPB - Drawdown Comparison
The maximum OKTA drawdown since its inception was -84.57%, which is greater than CPB's maximum drawdown of -64.65%. Use the drawdown chart below to compare losses from any high point for OKTA and CPB.
Loading charts...
Drawdown Indicators
| OKTA | CPB | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -84.57% | -64.65% | -19.92% |
Max Drawdown (1Y)Largest decline over 1 year | -37.75% | -38.53% | +0.78% |
Max Drawdown (3Y)Largest decline over 3 years | -50.57% | -58.07% | +7.50% |
Max Drawdown (5Y)Largest decline over 5 years | -83.43% | -60.04% | -23.39% |
Max Drawdown (10Y)Largest decline over 10 years | — | -60.04% | — |
Current DrawdownCurrent decline from peak | -60.14% | -54.42% | -5.72% |
Average DrawdownAverage peak-to-trough decline | -38.27% | -22.19% | -16.08% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 15.82% | 20.81% | -4.99% |
Volatility
OKTA vs. CPB - Volatility Comparison
Okta, Inc. (OKTA) has a higher volatility of 32.92% compared to Campbell Soup Company (CPB) at 7.06%. This indicates that OKTA's price experiences larger fluctuations and is considered to be riskier than CPB based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| OKTA | CPB | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 32.92% | 7.06% | +25.86% |
Volatility (6M)Calculated over the trailing 6-month period | 48.12% | 21.72% | +26.40% |
Volatility (1Y)Calculated over the trailing 1-year period | 54.65% | 29.25% | +25.40% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 57.50% | 24.00% | +33.50% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 53.99% | 25.56% | +28.43% |
Dividends
OKTA vs. CPB - Dividend Comparison
OKTA has not paid dividends to shareholders, while CPB's dividend yield for the trailing twelve months is around 6.84%.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
CPB Campbell Soup Company | 6.84% | 5.60% | 3.53% | 3.42% | 2.61% | 3.41% | 2.90% | 2.83% | 4.24% | 2.91% | 2.13% | 2.37% |
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
OKTA vs. CPB - Financials Comparison
This section allows you to compare key financial metrics between Okta, Inc. and Campbell Soup Company. 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
OKTA vs. CPB - Profitability Comparison
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%.
CPB - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Campbell Soup Company reported a gross profit of 650.00M and revenue of 2.37B. Therefore, the gross margin over that period was 27.5%.
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%.
CPB - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Campbell Soup Company reported an operating income of 239.00M and revenue of 2.37B, resulting in an operating margin of 10.1%.
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%.
CPB - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Campbell Soup Company reported a net income of 124.00M and revenue of 2.37B, resulting in a net margin of 5.2%.
Frequently Asked Questions
OKTA and CPB have a correlation of 0.07, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
OKTA has higher volatility (32.92%) compared to CPB (7.06%). In terms of maximum drawdown, OKTA dropped -84.57% vs CPB's -64.65%.
OKTA currently has the higher Sharpe Ratio (0.30 vs -0.94), 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 OKTA and CPB
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