APA vs. MDB
APA (Apache Corporation) and MDB (MongoDB, Inc.) are both stocks. APA operates in Oil & Gas E&P (Energy), while MDB operates in Software - Infrastructure (Technology). Over the past 5 years, APA returned 12.56%/yr vs -3.79%/yr for MDB. At a 0.09 correlation, their price movements are largely independent.
Performance
APA vs. MDB - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, APA achieves a 42.09% return, which is significantly higher than MDB's -23.95% return.
APA
- 1D
- 3.54%
- 1M
- -11.86%
- YTD
- 42.09%
- 6M
- 42.39%
- 1Y
- 78.39%
- 3Y*
- 5.56%
- 5Y*
- 12.56%
- 10Y*
- -2.18%
MDB
- 1D
- -4.08%
- 1M
- -2.14%
- YTD
- -23.95%
- 6M
- -27.41%
- 1Y
- 58.39%
- 3Y*
- -6.46%
- 5Y*
- -3.79%
- 10Y*
- —
APA vs. MDB - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
APA Apache Corporation | 42.09% | 11.54% | -33.44% | -21.24% | 76.44% | 90.76% | -43.71% | 1.12% | -36.39% | -0.42% |
MDB MongoDB, Inc. | -23.95% | 80.27% | -43.06% | 107.71% | -62.81% | 47.43% | 172.81% | 57.17% | 182.14% | -10.06% |
Correlation
The correlation between APA and MDB is 0.02, meaning there is essentially no relationship between their price movements. Each responds to its own set of market drivers, making them strong candidates for combining in a diversified portfolio.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | 0.02 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.09 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.13 |
Correlation (All Time) Calculated using the full available price history since Oct 19, 2017 | 0.09 |
The correlation between APA and MDB shifts across timeframes, from 0.02 (1 year) to 0.13 (5 years), reflecting how their relationship changes across market environments.
Fundamentals
APA:
$12.11B
MDB:
$26.04B
APA:
$4.28
MDB:
-$0.35
APA:
1.42
MDB:
10.13
APA:
1.88
MDB:
8.87
APA:
$8.61B
MDB:
$2.60B
APA:
$4.64B
MDB:
$1.87B
APA:
$5.63B
MDB:
-$19.89M
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
APA vs. MDB — Risk / Return Rank
APA
MDB
APA vs. MDB - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Apache Corporation (APA) 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.
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.
| APA | MDB | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | +0.89 | ||
| Sortino ratioReturn per unit of downside risk | +0.55 | ||
| Omega ratioGain probability vs. loss probability | 1.27 | 1.23 | +0.05 |
| Calmar ratioReturn relative to maximum drawdown | 3.14 | 1.20 | +1.94 |
| Martin ratioReturn relative to average drawdown | 9.42 | 2.72 | +6.71 |
Loading charts...
Drawdowns
APA vs. MDB - Drawdown Comparison
The maximum APA drawdown since its inception was -96.73%, which is greater than MDB's maximum drawdown of -76.52%. Use the drawdown chart below to compare losses from any high point for APA and MDB.
Loading charts...
Drawdown Indicators
| APA | MDB | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -96.73% | -76.52% | -20.21% |
Max Drawdown (1Y)Largest decline over 1 year | -25.09% | -48.72% | +23.63% |
Max Drawdown (3Y)Largest decline over 3 years | -67.45% | -70.88% | +3.43% |
Max Drawdown (5Y)Largest decline over 5 years | -70.47% | -76.52% | +6.05% |
Max Drawdown (10Y)Largest decline over 10 years | -93.49% | — | — |
Current DrawdownCurrent decline from peak | -67.52% | -45.45% | -22.07% |
Average DrawdownAverage peak-to-trough decline | -40.36% | -30.87% | -9.49% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 8.46% | 21.54% | -13.08% |
Volatility
APA vs. MDB - Volatility Comparison
The current volatility for Apache Corporation (APA) is 12.69%, while MongoDB, Inc. (MDB) has a volatility of 27.99%. This indicates that APA experiences smaller price fluctuations and is considered to be less risky than MDB based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| APA | MDB | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 12.69% | 27.99% | -15.30% |
Volatility (6M)Calculated over the trailing 6-month period | 33.87% | 52.55% | -18.68% |
Volatility (1Y)Calculated over the trailing 1-year period | 46.69% | 73.34% | -26.65% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 48.52% | 70.29% | -21.77% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 58.45% | 65.94% | -7.49% |
Dividends
APA vs. MDB - Dividend Comparison
APA's dividend yield for the trailing twelve months is around 2.92%, while MDB has not paid dividends to shareholders.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
APA Apache Corporation | 2.92% | 4.09% | 4.33% | 2.79% | 1.34% | 0.51% | 2.29% | 3.91% | 3.81% | 2.37% | 1.58% | 2.25% |
MDB MongoDB, 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% |
Financials
APA vs. MDB - Financials Comparison
This section allows you to compare key financial metrics between Apache Corporation 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.
Total Revenue: Total amount of money received from sales and other business activities
APA vs. MDB - Profitability Comparison
APA - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Apache Corporation reported a gross profit of 2.25B and revenue of 2.33B. Therefore, the gross margin over that period was 96.8%.
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%.
APA - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Apache Corporation reported an operating income of 999.00M and revenue of 2.33B, resulting in an operating margin of 42.9%.
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%.
APA - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Apache Corporation reported a net income of 446.00M and revenue of 2.33B, resulting in a net margin of 19.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%.
Frequently Asked Questions
APA and MDB have a correlation of 0.02, 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 APA (12.69%). In terms of maximum drawdown, APA dropped -96.73% vs MDB's -76.52%.
APA currently has the higher Sharpe Ratio (1.69 vs 0.80), 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 APA and MDB
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