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

Performance

OKTA vs. MDB - Performance Comparison

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

Loading graphics...

OKTA vs. MDB - Yearly Performance Comparison


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

Fundamentals

Market Cap

OKTA:

$14.28B

MDB:

$21.56B

EPS

OKTA:

$0.95

MDB:

-$0.86

PS Ratio

OKTA:

4.90K

MDB:

8.35

PB Ratio

OKTA:

2.04K

MDB:

7.30

Total Revenue (TTM)

OKTA:

$2.92M

MDB:

$2.46B

Gross Profit (TTM)

OKTA:

$2.26M

MDB:

$1.77B

EBITDA (TTM)

OKTA:

$260.05M

MDB:

-$44.12M

Returns By Period

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


OKTA

1D
0.55%
1M
7.00%
YTD
-8.47%
6M
-13.68%
1Y
-24.40%
3Y*
-2.82%
5Y*
-19.19%
10Y*

MDB

1D
1.88%
1M
-23.28%
YTD
-40.58%
6M
-22.45%
1Y
41.19%
3Y*
2.27%
5Y*
-3.00%
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

OKTA vs. MDB — Risk / Return Rank

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

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

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
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.

OKTA vs. MDB - Risk-Adjusted Trends Comparison

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


OKTAMDBDifference

Sharpe ratio

Return per unit of total volatility

-0.56

0.58

-1.14

Sortino ratio

Return per unit of downside risk

-0.55

1.44

-1.98

Omega ratio

Gain probability vs. loss probability

0.93

1.20

-0.27

Calmar ratio

Return relative to maximum drawdown

-0.55

0.90

-1.45

Martin ratio

Return relative to average drawdown

-0.88

2.77

-3.66

OKTA vs. MDB - Sharpe Ratio Comparison

The current OKTA Sharpe Ratio is -0.56, which is lower than the MDB Sharpe Ratio of 0.58. The chart below compares the historical Sharpe Ratios of OKTA and MDB, 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


OKTAMDBDifference

Sharpe Ratio (1Y)

Calculated over the trailing 1-year period

-0.56

0.58

-1.14

Sharpe Ratio (5Y)

Calculated over the trailing 5-year period

-0.35

-0.04

-0.31

Sharpe Ratio (All Time)

Calculated using the full available price history

0.28

0.42

-0.14

Correlation

The correlation between OKTA and MDB 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

OKTA vs. MDB - Dividend Comparison

Neither OKTA nor MDB has paid dividends to shareholders.


Tickers have no history of dividend payments

Drawdowns

OKTA vs. MDB - Drawdown Comparison

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


Loading graphics...

Drawdown Indicators


OKTAMDBDifference

Max Drawdown

Largest peak-to-trough decline

-84.57%

-76.52%

-8.05%

Max Drawdown (1Y)

Largest decline over 1 year

-45.40%

-46.62%

+1.22%

Max Drawdown (5Y)

Largest decline over 5 years

-84.22%

-76.52%

-7.70%

Current Drawdown

Current decline from peak

-72.88%

-57.38%

-15.50%

Average Drawdown

Average peak-to-trough decline

-37.59%

-30.31%

-7.28%

Ulcer Index

Depth and duration of drawdowns from previous peaks

28.01%

15.21%

+12.80%

Volatility

OKTA vs. MDB - Volatility Comparison

Okta, Inc. (OKTA) has a higher volatility of 17.29% compared to MongoDB, Inc. (MDB) at 14.47%. This indicates that OKTA's price experiences larger fluctuations and is considered to be riskier than MDB based on this measure. The chart below showcases a comparison of their rolling one-month volatility.


Loading graphics...

Volatility by Period


OKTAMDBDifference

Volatility (1M)

Calculated over the trailing 1-month period

17.29%

14.47%

+2.82%

Volatility (6M)

Calculated over the trailing 6-month period

31.10%

47.28%

-16.18%

Volatility (1Y)

Calculated over the trailing 1-year period

44.04%

70.82%

-26.78%

Volatility (5Y)

Calculated over the trailing 5-year period, annualized

55.19%

69.46%

-14.27%

Volatility (10Y)

Calculated over the trailing 10-year period, annualized

52.79%

65.69%

-12.90%

Financials

OKTA vs. MDB - Financials Comparison

This section allows you to compare key financial metrics between Okta, Inc. and MongoDB, 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
-2.16B
695.07M
(OKTA) Total Revenue
(MDB) Total Revenue
Values in USD except per share items

OKTA vs. MDB - Profitability Comparison

The chart below illustrates the profitability comparison between Okta, Inc. and MongoDB, 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
77.2%
73.0%
Portfolio components
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 - 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 - 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 - 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 - 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%.

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%.