EC vs. XOM
EC (Ecopetrol S.A.) and XOM (Exxon Mobil Corporation) are both stocks. Both operate in the Oil & Gas Integrated industry within the Energy sector. Over the past 10 years, EC returned 17.04%/yr vs 9.11%/yr for XOM. A 0.54 correlation means they provide meaningful diversification when combined.
Performance
EC vs. XOM - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, EC achieves a 70.23% return, which is significantly higher than XOM's 16.62% return. Over the past 10 years, EC has outperformed XOM with an annualized return of 17.04%, while XOM has yielded a comparatively lower 9.11% annualized return.
EC
- 1D
- -1.99%
- 1M
- 17.33%
- YTD
- 70.23%
- 6M
- 83.41%
- 1Y
- 83.58%
- 3Y*
- 40.10%
- 5Y*
- 21.63%
- 10Y*
- 17.04%
XOM
- 1D
- 0.48%
- 1M
- -10.62%
- YTD
- 16.62%
- 6M
- 18.78%
- 1Y
- 24.57%
- 3Y*
- 14.34%
- 5Y*
- 20.96%
- 10Y*
- 9.11%
EC vs. XOM - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
EC Ecopetrol S.A. | 70.23% | 58.65% | -24.25% | 41.83% | -5.04% | 0.57% | -29.31% | 38.58% | 11.95% | 64.34% |
XOM Exxon Mobil Corporation | 16.62% | 15.98% | 11.26% | -6.26% | 87.41% | 57.58% | -36.21% | 7.23% | -15.09% | -3.81% |
Correlation
The correlation between EC and XOM is 0.50, 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.50 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.51 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.59 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.59 |
Correlation (All Time) Calculated using the full available price history since Sep 18, 2008 | 0.54 |
The correlation between EC and XOM has been stable across timeframes, ranging from 0.50 to 0.59 - a consistent structural relationship.
Fundamentals
EC:
$33.41B
XOM:
$579.22B
EC:
COP 4.26K
XOM:
$5.93
EC:
13.14
XOM:
23.36
EC:
0.99
XOM:
1.81
EC:
1.44
XOM:
2.28
EC:
COP 116.38T
XOM:
$326.01B
EC:
COP 37.91T
XOM:
$83.11B
EC:
COP 42.24T
XOM:
$60.44B
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
EC vs. XOM — Risk / Return Rank
EC
XOM
EC vs. XOM - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Ecopetrol S.A. (EC) and Exxon Mobil Corporation (XOM). 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.
| EC | XOM | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | +1.21 | ||
| Sortino ratioReturn per unit of downside risk | +1.49 | ||
| Omega ratioGain probability vs. loss probability | 1.35 | 1.18 | +0.17 |
| Calmar ratioReturn relative to maximum drawdown | 6.37 | 1.29 | +5.07 |
| Martin ratioReturn relative to average drawdown | 14.74 | 3.90 | +10.84 |
Loading charts...
Drawdowns
EC vs. XOM - Drawdown Comparison
The maximum EC drawdown since its inception was -90.16%, which is greater than XOM's maximum drawdown of -62.40%. Use the drawdown chart below to compare losses from any high point for EC and XOM.
Loading charts...
Drawdown Indicators
| EC | XOM | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -90.16% | -62.40% | -27.76% |
Max Drawdown (1Y)Largest decline over 1 year | -13.20% | -19.08% | +5.88% |
Max Drawdown (3Y)Largest decline over 3 years | -38.00% | -19.08% | -18.92% |
Max Drawdown (5Y)Largest decline over 5 years | -48.60% | -20.51% | -28.09% |
Max Drawdown (10Y)Largest decline over 10 years | -73.36% | -61.34% | -12.02% |
Current DrawdownCurrent decline from peak | -17.68% | -18.70% | +1.02% |
Average DrawdownAverage peak-to-trough decline | -51.13% | -10.21% | -40.92% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 5.75% | 6.36% | -0.61% |
Volatility
EC vs. XOM - Volatility Comparison
Ecopetrol S.A. (EC) has a higher volatility of 16.55% compared to Exxon Mobil Corporation (XOM) at 7.89%. This indicates that EC's price experiences larger fluctuations and is considered to be riskier than XOM based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| EC | XOM | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 16.55% | 7.89% | +8.66% |
Volatility (6M)Calculated over the trailing 6-month period | 31.56% | 20.78% | +10.78% |
Volatility (1Y)Calculated over the trailing 1-year period | 38.23% | 24.89% | +13.34% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 37.86% | 26.70% | +11.16% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 40.87% | 28.25% | +12.62% |
Dividends
EC vs. XOM - Dividend Comparison
EC's dividend yield for the trailing twelve months is around 7.27%, more than XOM's 2.95% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
EC Ecopetrol S.A. | 7.27% | 20.77% | 20.47% | 22.02% | 22.47% | 0.72% | 6.92% | 9.87% | 4.01% | 1.06% | 0.00% | 14.83% |
XOM Exxon Mobil Corporation | 2.95% | 3.32% | 3.57% | 3.68% | 3.22% | 5.70% | 8.44% | 4.92% | 4.74% | 3.66% | 3.30% | 3.69% |
Financials
EC vs. XOM - Financials Comparison
This section allows you to compare key financial metrics between Ecopetrol S.A. and Exxon Mobil Corporation. 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
EC vs. XOM - Profitability Comparison
EC - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Ecopetrol S.A. reported a gross profit of 11.03T and revenue of 28.41T. Therefore, the gross margin over that period was 38.8%.
XOM - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Exxon Mobil Corporation reported a gross profit of 31.36B and revenue of 83.16B. Therefore, the gross margin over that period was 37.7%.
EC - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Ecopetrol S.A. reported an operating income of 8.50T and revenue of 28.41T, resulting in an operating margin of 29.9%.
XOM - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Exxon Mobil Corporation reported an operating income of 5.29B and revenue of 83.16B, resulting in an operating margin of 6.4%.
EC - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Ecopetrol S.A. reported a net income of 2.87T and revenue of 28.41T, resulting in a net margin of 10.1%.
XOM - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Exxon Mobil Corporation reported a net income of 4.18B and revenue of 83.16B, resulting in a net margin of 5.0%.
Frequently Asked Questions
EC and XOM have a correlation of 0.50, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
EC has higher volatility (16.55%) compared to XOM (7.89%). In terms of maximum drawdown, EC dropped -90.16% vs XOM's -62.40%.
EC currently has the higher Sharpe Ratio (2.20 vs 0.99), 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 EC and XOM
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