MDB vs. PLTR
MDB (MongoDB, Inc.) and PLTR (Palantir Technologies Inc.) are both stocks. Both operate in the Software - Infrastructure industry within the Technology sector. Over the past 5 years, MDB returned 1.31%/yr vs 41.37%/yr for PLTR. A 0.54 correlation means they provide meaningful diversification when combined.
Performance
MDB vs. PLTR - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, MDB achieves a -16.00% return, which is significantly higher than PLTR's -23.22% return.
MDB
- 1D
- 0.52%
- 1M
- 17.73%
- YTD
- -16.00%
- 6M
- -15.80%
- 1Y
- 60.15%
- 3Y*
- -1.99%
- 5Y*
- 1.31%
- 10Y*
- —
PLTR
- 1D
- 0.69%
- 1M
- -0.97%
- YTD
- -23.22%
- 6M
- -24.81%
- 1Y
- 6.85%
- 3Y*
- 108.67%
- 5Y*
- 41.37%
- 10Y*
- —
MDB vs. PLTR - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | |
|---|---|---|---|---|---|---|---|
MDB MongoDB, Inc. | -16.00% | 80.27% | -43.06% | 107.71% | -62.81% | 47.43% | 55.09% |
PLTR Palantir Technologies Inc. | -23.22% | 135.03% | 340.48% | 167.45% | -64.74% | -22.68% | 147.89% |
Correlation
The correlation between MDB and PLTR is 0.46, which is low. Their price movements are largely independent, making them effective diversification partners.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | 0.46 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.47 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.57 |
Correlation (All Time) Calculated using the full available price history since Oct 1, 2020 | 0.54 |
The correlation between MDB and PLTR shifts across timeframes, from 0.46 (1 year) to 0.57 (5 years), reflecting how their relationship changes across market environments.
Fundamentals
MDB:
$28.76B
PLTR:
$350.85B
MDB:
-$0.35
PLTR:
$0.89
MDB:
11.19
PLTR:
67.07
MDB:
9.80
PLTR:
41.52
MDB:
$2.60B
PLTR:
$5.22B
MDB:
$1.87B
PLTR:
$4.39B
MDB:
-$19.89M
PLTR:
$2.01B
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. PLTR — Risk / Return Rank
MDB
PLTR
MDB vs. PLTR - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for MongoDB, Inc. (MDB) and Palantir Technologies Inc. (PLTR). 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.
| MDB | PLTR | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | +0.70 | ||
| Sortino ratioReturn per unit of downside risk | +1.21 | ||
| Omega ratioGain probability vs. loss probability | 1.23 | 1.07 | +0.16 |
| Calmar ratioReturn relative to maximum drawdown | 1.24 | 0.18 | +1.06 |
| Martin ratioReturn relative to average drawdown | 2.85 | 0.33 | +2.52 |
Data is calculated on a 1-year rolling basis and updated daily. The trend shows the change in the indicator over the past month. | |||
Loading charts...
Sharpe Ratios by Period
| MDB | PLTR | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | 0.83 | 0.14 | +0.70 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | 0.02 | 0.64 | -0.62 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.49 | 0.86 | -0.37 |
Drawdowns
MDB vs. PLTR - Drawdown Comparison
The maximum MDB drawdown since its inception was -76.52%, smaller than the maximum PLTR drawdown of -84.62%. Use the drawdown chart below to compare losses from any high point for MDB and PLTR.
Loading charts...
Drawdown Indicators
| MDB | PLTR | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -76.52% | -84.62% | +8.10% |
Max Drawdown (1Y)Largest decline over 1 year | -48.72% | -38.19% | -10.53% |
Max Drawdown (3Y)Largest decline over 3 years | -70.88% | -40.61% | -30.27% |
Max Drawdown (5Y)Largest decline over 5 years | -76.52% | -79.14% | +2.62% |
Current DrawdownCurrent decline from peak | -39.74% | -34.13% | -5.61% |
Average DrawdownAverage peak-to-trough decline | -30.74% | -40.29% | +9.55% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 21.18% | 20.71% | +0.47% |
Volatility
MDB vs. PLTR - Volatility Comparison
MongoDB, Inc. (MDB) has a higher volatility of 27.63% compared to Palantir Technologies Inc. (PLTR) at 17.24%. This indicates that MDB's price experiences larger fluctuations and is considered to be riskier than PLTR based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| MDB | PLTR | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 27.63% | 17.24% | +10.39% |
Volatility (6M)Calculated over the trailing 6-month period | 52.17% | 38.35% | +13.82% |
Volatility (1Y)Calculated over the trailing 1-year period | 72.93% | 50.93% | +22.00% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 70.24% | 65.44% | +4.80% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 66.01% | 69.81% | -3.80% |
Dividends
MDB vs. PLTR - Dividend Comparison
Neither MDB nor PLTR has paid dividends to shareholders.
Financials
MDB vs. PLTR - Financials Comparison
This section allows you to compare key financial metrics between MongoDB, Inc. and Palantir Technologies 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
MDB vs. PLTR - 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%.
PLTR - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Palantir Technologies Inc. reported a gross profit of 1.42B and revenue of 1.63B. Therefore, the gross margin over that period was 86.8%.
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%.
PLTR - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Palantir Technologies Inc. reported an operating income of 754.00M and revenue of 1.63B, resulting in an operating margin of 46.2%.
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%.
PLTR - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Palantir Technologies Inc. reported a net income of 870.53M and revenue of 1.63B, resulting in a net margin of 53.3%.
Frequently Asked Questions
MDB and PLTR have a correlation of 0.46, 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.63%) compared to PLTR (17.24%). In terms of maximum drawdown, MDB dropped -76.52% vs PLTR's -84.62%.
MDB currently has the higher Sharpe Ratio (0.83 vs 0.14), 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 PLTR
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