PortfoliosLab logoPortfoliosLab logo
MDB vs. OKTA
Performance
Return for Risk
Dividends
Drawdowns
Volatility
Financials

Performance

MDB vs. OKTA - Performance Comparison

The chart below illustrates the hypothetical performance of a $10,000 investment in MongoDB, Inc. (MDB) and Okta, Inc. (OKTA). The values are adjusted to include any dividend payments, if applicable.

Loading graphics...

MDB vs. OKTA - Yearly Performance Comparison


2026 (YTD)202520242023202220212020201920182017
MDB
MongoDB, Inc.
-40.58%80.27%-43.06%107.71%-62.81%47.43%172.81%57.17%182.14%-7.45%
OKTA
Okta, Inc.
-8.47%9.73%-12.96%32.49%-69.52%-11.83%120.39%80.83%149.12%-8.60%

Fundamentals

Market Cap

MDB:

$21.56B

OKTA:

$14.28B

EPS

MDB:

-$0.86

OKTA:

$0.95

PS Ratio

MDB:

8.35

OKTA:

4.90K

PB Ratio

MDB:

7.30

OKTA:

2.04K

Total Revenue (TTM)

MDB:

$2.46B

OKTA:

$2.92M

Gross Profit (TTM)

MDB:

$1.77B

OKTA:

$2.26M

EBITDA (TTM)

MDB:

-$44.12M

OKTA:

$260.05M

Returns By Period

In the year-to-date period, MDB achieves a -40.58% return, which is significantly lower than OKTA's -8.47% return.


MDB

1D
1.88%
1M
-23.28%
YTD
-40.58%
6M
-22.45%
1Y
41.19%
3Y*
2.27%
5Y*
-3.00%
10Y*

OKTA

1D
0.55%
1M
7.00%
YTD
-8.47%
6M
-13.68%
1Y
-24.40%
3Y*
-2.82%
5Y*
-19.19%
10Y*
*Multi-year figures are annualized to reflect compound growth (CAGR)

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

MDB vs. OKTA — Risk / Return Rank

Compare risk-adjusted metric ranks to identify better-performing investments over the past 12 months.

MDB
MDB Risk / Return Rank: 6464
Overall Rank
MDB Sharpe Ratio Rank: 6161
Sharpe Ratio Rank
MDB Sortino Ratio Rank: 6666
Sortino Ratio Rank
MDB Omega Ratio Rank: 6666
Omega Ratio Rank
MDB Calmar Ratio Rank: 6060
Calmar Ratio Rank
MDB Martin Ratio Rank: 6565
Martin Ratio Rank

OKTA
OKTA Risk / Return Rank: 2020
Overall Rank
OKTA Sharpe Ratio Rank: 1616
Sharpe Ratio Rank
OKTA Sortino Ratio Rank: 1818
Sortino Ratio Rank
OKTA Omega Ratio Rank: 1818
Omega Ratio Rank
OKTA Calmar Ratio Rank: 2323
Calmar Ratio Rank
OKTA Martin Ratio Rank: 2626
Martin Ratio Rank
The rank (0–100) shows how this investment's returns compare to the risk taken. Higher = better. Based on the past 12 months of data, combining Sharpe, Sortino, and other metrics used by quantitative funds and institutional investors.

MDB vs. OKTA - Risk-Adjusted Trends Comparison

This table presents a comparison of risk-adjusted performance metrics for MongoDB, Inc. (MDB) 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.


MDBOKTADifference

Sharpe ratio

Return per unit of total volatility

0.58

-0.56

+1.14

Sortino ratio

Return per unit of downside risk

1.44

-0.55

+1.98

Omega ratio

Gain probability vs. loss probability

1.20

0.93

+0.27

Calmar ratio

Return relative to maximum drawdown

0.90

-0.55

+1.45

Martin ratio

Return relative to average drawdown

2.77

-0.88

+3.66

MDB vs. OKTA - Sharpe Ratio Comparison

The current MDB Sharpe Ratio is 0.58, which is higher than the OKTA Sharpe Ratio of -0.56. The chart below compares the historical Sharpe Ratios of MDB and OKTA, offering insights into how both investments have performed under varying market conditions. These values are calculated using daily returns over the previous 12 months.


Loading graphics...

Sharpe Ratios by Period


MDBOKTADifference

Sharpe Ratio (1Y)

Calculated over the trailing 1-year period

0.58

-0.56

+1.14

Sharpe Ratio (5Y)

Calculated over the trailing 5-year period

-0.04

-0.35

+0.31

Sharpe Ratio (All Time)

Calculated using the full available price history

0.42

0.28

+0.14

Correlation

The correlation between MDB and OKTA is 0.67, which is considered to be moderate. This suggests that the two assets have some degree of positive relationship in their price movements. Moderate correlation can be acceptable for portfolio diversification, offering a balance between risk and potential returns.


Dividends

MDB vs. OKTA - Dividend Comparison

Neither MDB nor OKTA has paid dividends to shareholders.


Tickers have no history of dividend payments

Drawdowns

MDB vs. OKTA - Drawdown Comparison

The maximum MDB drawdown since its inception was -76.52%, smaller than the maximum OKTA drawdown of -84.57%. Use the drawdown chart below to compare losses from any high point for MDB and OKTA.


Loading graphics...

Drawdown Indicators


MDBOKTADifference

Max Drawdown

Largest peak-to-trough decline

-76.52%

-84.57%

+8.05%

Max Drawdown (1Y)

Largest decline over 1 year

-46.62%

-45.40%

-1.22%

Max Drawdown (5Y)

Largest decline over 5 years

-76.52%

-84.22%

+7.70%

Current Drawdown

Current decline from peak

-57.38%

-72.88%

+15.50%

Average Drawdown

Average peak-to-trough decline

-30.31%

-37.59%

+7.28%

Ulcer Index

Depth and duration of drawdowns from previous peaks

15.21%

28.01%

-12.80%

Volatility

MDB vs. OKTA - Volatility Comparison

The current volatility for MongoDB, Inc. (MDB) is 14.47%, while Okta, Inc. (OKTA) has a volatility of 17.29%. This indicates that MDB 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 graphics...

Volatility by Period


MDBOKTADifference

Volatility (1M)

Calculated over the trailing 1-month period

14.47%

17.29%

-2.82%

Volatility (6M)

Calculated over the trailing 6-month period

47.28%

31.10%

+16.18%

Volatility (1Y)

Calculated over the trailing 1-year period

70.82%

44.04%

+26.78%

Volatility (5Y)

Calculated over the trailing 5-year period, annualized

69.46%

55.19%

+14.27%

Volatility (10Y)

Calculated over the trailing 10-year period, annualized

65.69%

52.79%

+12.90%

Financials

MDB vs. OKTA - Financials Comparison

This section allows you to compare key financial metrics between MongoDB, Inc. 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.


Quarterly
Annual

Total Revenue: Total amount of money received from sales and other business activities


-2.00B-1.50B-1.00B-500.00M0.00500.00M20222023202420252026
695.07M
-2.16B
(MDB) Total Revenue
(OKTA) Total Revenue
Values in USD except per share items

MDB vs. OKTA - Profitability Comparison

The chart below illustrates the profitability comparison between MongoDB, Inc. and Okta, Inc. over time, highlighting three key metrics: Gross Profit Margin, Operating Margin, and Net Profit Margin.

Gross Margin
Operating Margin
Net Margin
Quarterly
Annual

68.0%70.0%72.0%74.0%76.0%78.0%20222023202420252026
73.0%
77.2%
Portfolio components
MDB - Gross Margin

Gross margin is calculated as gross profit divided by revenue. For the three months ending on Apr 2026, MongoDB, Inc. reported a gross profit of 507.66M and revenue of 695.07M. Therefore, the gross margin over that period was 73.0%.

OKTA - Gross Margin

Gross margin is calculated as gross profit divided by revenue. For the three months ending on Apr 2026, Okta, Inc. reported a gross profit of -1.66B and revenue of -2.16B. Therefore, the gross margin over that period was 77.2%.

MDB - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on Apr 2026, MongoDB, Inc. reported an operating income of 50.00K and revenue of 695.07M, resulting in an operating margin of 0.0%.

OKTA - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on Apr 2026, Okta, Inc. reported an operating income of -102.85M and revenue of -2.16B, resulting in an operating margin of 4.8%.

MDB - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on Apr 2026, MongoDB, Inc. reported a net income of 15.53M and revenue of 695.07M, resulting in a net margin of 2.2%.

OKTA - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on Apr 2026, Okta, Inc. reported a net income of 63.00K and revenue of -2.16B, resulting in a net margin of 0.0%.