OKTA vs. PEP
OKTA (Okta, Inc.) and PEP (PepsiCo, Inc.) are both stocks. OKTA operates in Software - Infrastructure (Technology), while PEP operates in Beverages - Non-Alcoholic (Consumer Defensive). Over the past 5 years, OKTA returned -12.47%/yr vs 2.73%/yr for PEP. At a 0.08 correlation, their price movements are largely independent.
Performance
OKTA vs. PEP - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, OKTA achieves a 34.49% return, which is significantly higher than PEP's 2.49% return.
OKTA
- 1D
- -1.03%
- 1M
- 48.71%
- YTD
- 34.49%
- 6M
- 28.95%
- 1Y
- 16.08%
- 3Y*
- 15.20%
- 5Y*
- -12.47%
- 10Y*
- —
PEP
- 1D
- 0.38%
- 1M
- -2.33%
- YTD
- 2.49%
- 6M
- -2.36%
- 1Y
- 13.36%
- 3Y*
- -4.09%
- 5Y*
- 2.73%
- 10Y*
- 6.62%
OKTA vs. PEP - 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% |
PEP PepsiCo, Inc. | 2.49% | -1.85% | -7.60% | -3.29% | 6.78% | 20.56% | 11.67% | 27.38% | -4.81% | 9.73% |
Correlation
The correlation between OKTA and PEP is -0.14, meaning they tend to move in opposite directions. This is especially valuable for risk management - when one declines, the other has historically tended to hold steady or rise.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | -0.14 |
Correlation (3Y) Calculated over the trailing 3-year period | -0.04 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.01 |
Correlation (All Time) Calculated using the full available price history since Apr 7, 2017 | 0.08 |
The correlation between OKTA and PEP shifts across timeframes, from -0.14 (1 year) to 0.08 (all time), reflecting how their relationship changes across market environments.
Fundamentals
OKTA:
$20.66B
PEP:
$197.79B
OKTA:
$0.96
PEP:
$6.37
OKTA:
120.69
PEP:
22.64
OKTA:
0.18
PEP:
7.83
OKTA:
9.36
PEP:
2.07
OKTA:
3.00K
PEP:
9.25
OKTA:
$2.23B
PEP:
$95.45B
OKTA:
$1.73B
PEP:
$51.60B
OKTA:
$235.06M
PEP:
$15.08B
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. PEP — Risk / Return Rank
OKTA
PEP
OKTA vs. PEP - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Okta, Inc. (OKTA) and PepsiCo, Inc. (PEP). 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 | PEP | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -0.32 | ||
| Sortino ratioReturn per unit of downside risk | -0.21 | ||
| Omega ratioGain probability vs. loss probability | 1.11 | 1.12 | -0.01 |
| Calmar ratioReturn relative to maximum drawdown | 0.43 | 0.83 | -0.40 |
| Martin ratioReturn relative to average drawdown | 1.02 | 2.11 | -1.09 |
Loading charts...
Drawdowns
OKTA vs. PEP - Drawdown Comparison
The maximum OKTA drawdown since its inception was -84.57%, which is greater than PEP's maximum drawdown of -73.92%. Use the drawdown chart below to compare losses from any high point for OKTA and PEP.
Loading charts...
Drawdown Indicators
| OKTA | PEP | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -84.57% | -73.92% | -10.65% |
Max Drawdown (1Y)Largest decline over 1 year | -37.75% | -16.25% | -21.50% |
Max Drawdown (3Y)Largest decline over 3 years | -50.57% | -29.17% | -21.40% |
Max Drawdown (5Y)Largest decline over 5 years | -83.43% | -30.32% | -53.11% |
Max Drawdown (10Y)Largest decline over 10 years | — | -30.32% | — |
Current DrawdownCurrent decline from peak | -60.14% | -17.75% | -42.39% |
Average DrawdownAverage peak-to-trough decline | -38.27% | -13.65% | -24.62% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 15.82% | 6.37% | +9.45% |
Volatility
OKTA vs. PEP - Volatility Comparison
Okta, Inc. (OKTA) has a higher volatility of 32.92% compared to PepsiCo, Inc. (PEP) at 5.39%. This indicates that OKTA's price experiences larger fluctuations and is considered to be riskier than PEP based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| OKTA | PEP | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 32.92% | 5.39% | +27.53% |
Volatility (6M)Calculated over the trailing 6-month period | 48.12% | 14.62% | +33.50% |
Volatility (1Y)Calculated over the trailing 1-year period | 54.65% | 21.71% | +32.94% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 57.50% | 18.39% | +39.11% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 53.99% | 19.67% | +34.32% |
Dividends
OKTA vs. PEP - Dividend Comparison
OKTA has not paid dividends to shareholders, while PEP's dividend yield for the trailing twelve months is around 3.98%.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
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% |
PEP PepsiCo, Inc. | 3.98% | 3.92% | 3.51% | 2.91% | 2.50% | 2.45% | 2.71% | 2.77% | 3.25% | 2.64% | 2.83% | 2.76% |
Financials
OKTA vs. PEP - Financials Comparison
This section allows you to compare key financial metrics between Okta, Inc. and PepsiCo, 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
OKTA vs. PEP - 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%.
PEP - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, PepsiCo, Inc. reported a gross profit of 10.73B and revenue of 19.44B. Therefore, the gross margin over that period was 55.2%.
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%.
PEP - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, PepsiCo, Inc. reported an operating income of 3.21B and revenue of 19.44B, resulting in an operating margin of 16.5%.
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%.
PEP - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, PepsiCo, Inc. reported a net income of 2.34B and revenue of 19.44B, resulting in a net margin of 12.0%.
Frequently Asked Questions
OKTA and PEP have a correlation of -0.14, 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 PEP (5.39%). In terms of maximum drawdown, OKTA dropped -84.57% vs PEP's -73.92%.
PEP currently has the higher Sharpe Ratio (0.62 vs 0.30), 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 PEP
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