MDB vs. ESTC
MDB (MongoDB, Inc.) and ESTC (Elastic N.V.) are both stocks. Both are in the Technology sector — MDB in Software - Infrastructure, ESTC in Software - Application. Over the past 5 years, MDB returned -3.79%/yr vs -16.76%/yr for ESTC. A 0.68 correlation means they provide meaningful diversification when combined.
Performance
MDB vs. ESTC - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, MDB achieves a -23.95% return, which is significantly lower than ESTC's -22.15% return.
MDB
- 1D
- -4.08%
- 1M
- -2.14%
- YTD
- -23.95%
- 6M
- -27.41%
- 1Y
- 58.39%
- 3Y*
- -6.46%
- 5Y*
- -3.79%
- 10Y*
- —
ESTC
- 1D
- -0.41%
- 1M
- 7.15%
- YTD
- -22.15%
- 6M
- -25.12%
- 1Y
- -28.38%
- 3Y*
- -1.95%
- 5Y*
- -16.76%
- 10Y*
- —
MDB vs. ESTC - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | |
|---|---|---|---|---|---|---|---|---|---|
MDB MongoDB, Inc. | -23.95% | 80.27% | -43.06% | 107.71% | -62.81% | 47.43% | 172.81% | 57.17% | 13.24% |
ESTC Elastic N.V. | -22.15% | -23.86% | -12.09% | 118.83% | -58.16% | -15.77% | 127.26% | -10.04% | 2.11% |
Correlation
The correlation between MDB and ESTC is 0.65, which is moderate. They share some common price drivers but move independently often enough to provide real diversification benefit when combined.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | 0.65 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.65 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.71 |
Correlation (All Time) Calculated using the full available price history since Oct 5, 2018 | 0.68 |
The correlation between MDB and ESTC has been stable across timeframes, ranging from 0.65 to 0.71 - a consistent structural relationship.
Fundamentals
MDB:
$26.04B
ESTC:
$6.18B
MDB:
-$0.35
ESTC:
$3.48
MDB:
10.13
ESTC:
3.57
MDB:
8.87
ESTC:
4.85
MDB:
$2.60B
ESTC:
$1.74B
MDB:
$1.87B
ESTC:
$1.32B
MDB:
-$19.89M
ESTC:
$56.03M
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. ESTC — Risk / Return Rank
MDB
ESTC
MDB vs. ESTC - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for MongoDB, Inc. (MDB) and Elastic N.V. (ESTC). 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.
| MDB | ESTC | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | +1.36 | ||
| Sortino ratioReturn per unit of downside risk | +2.23 | ||
| Omega ratioGain probability vs. loss probability | 1.23 | 0.93 | +0.29 |
| Calmar ratioReturn relative to maximum drawdown | 1.20 | -0.53 | +1.73 |
| Martin ratioReturn relative to average drawdown | 2.72 | -0.99 | +3.71 |
Loading charts...
Drawdowns
MDB vs. ESTC - Drawdown Comparison
The maximum MDB drawdown since its inception was -76.52%, roughly equal to the maximum ESTC drawdown of -76.82%. Use the drawdown chart below to compare losses from any high point for MDB and ESTC.
Loading charts...
Drawdown Indicators
| MDB | ESTC | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -76.52% | -76.82% | +0.30% |
Max Drawdown (1Y)Largest decline over 1 year | -48.72% | -54.17% | +5.45% |
Max Drawdown (3Y)Largest decline over 3 years | -70.88% | -67.64% | -3.24% |
Max Drawdown (5Y)Largest decline over 5 years | -76.52% | -76.82% | +0.30% |
Current DrawdownCurrent decline from peak | -45.45% | -68.56% | +23.11% |
Average DrawdownAverage peak-to-trough decline | -30.87% | -40.07% | +9.20% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 21.54% | 28.72% | -7.18% |
Volatility
MDB vs. ESTC - Volatility Comparison
MongoDB, Inc. (MDB) has a higher volatility of 27.99% compared to Elastic N.V. (ESTC) at 17.95%. This indicates that MDB's price experiences larger fluctuations and is considered to be riskier than ESTC based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| MDB | ESTC | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 27.99% | 17.95% | +10.04% |
Volatility (6M)Calculated over the trailing 6-month period | 52.55% | 40.81% | +11.74% |
Volatility (1Y)Calculated over the trailing 1-year period | 73.34% | 50.70% | +22.64% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 70.29% | 58.95% | +11.34% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 65.94% | 57.83% | +8.11% |
Dividends
MDB vs. ESTC - Dividend Comparison
Neither MDB nor ESTC has paid dividends to shareholders.
Financials
MDB vs. ESTC - Financials Comparison
This section allows you to compare key financial metrics between MongoDB, Inc. and Elastic N.V.. 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
MDB vs. ESTC - Profitability Comparison
MDB - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, MongoDB, Inc. reported a gross profit of 496.18M and revenue of 687.62M. Therefore, the gross margin over that period was 72.2%.
ESTC - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Elastic N.V. reported a gross profit of 339.62M and revenue of 450.68M. Therefore, the gross margin over that period was 75.4%.
MDB - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, MongoDB, Inc. reported an operating income of -24.80M and revenue of 687.62M, resulting in an operating margin of -3.6%.
ESTC - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Elastic N.V. reported an operating income of -16.41M and revenue of 450.68M, resulting in an operating margin of -3.6%.
MDB - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, MongoDB, Inc. reported a net income of 4.43M and revenue of 687.62M, resulting in a net margin of 0.6%.
ESTC - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Elastic N.V. reported a net income of 435.90M and revenue of 450.68M, resulting in a net margin of 96.7%.
Frequently Asked Questions
MDB and ESTC have a correlation of 0.65, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
MDB has higher volatility (27.99%) compared to ESTC (17.95%). In terms of maximum drawdown, MDB dropped -76.52% vs ESTC's -76.82%.
MDB currently has the higher Sharpe Ratio (0.80 vs -0.56), 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 MDB and ESTC
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