MetaCap

Ecopetrol S.A. (EC) vs ONEOK (OKE)

Head-to-head comparison of performance, valuation, growth, profitability and dividends. Prices delayed 15 minutes; data as of Oct 7, 2026.

Summary

Ecopetrol S.A. (EC) has outperformed ONEOK (OKE) over the past year, gaining 84.0% versus a gain of 21.5%. Over five years, OKE leads with a +35.2% price change compared with +6.0% for EC. ONEOK is the larger company by market cap ($55.51 billion vs $34.19 billion), about 1.6 times the size.

On valuation, Ecopetrol S.A. trades at a lower forward P/E (8.8x vs 14.1x for ONEOK). ONEOK pays a dividend yielding 4.82%, while Ecopetrol S.A. does not currently pay one.

Summary generated from market data by MetaCap's automated system. Methodology

Relative performance

EC+83.96%OKE+21.53%
+108%+45%-17%
Oct 7, 20251 yearOct 7, 2026
EC+7.36%OKE+42.87%
+97%+19%-60%
Oct 4, 20215 yearsOct 5, 2026

Percent change in share price from the first common trading day shown; excludes dividends.

Head-to-head

EC versus OKE key metrics
MetricECOKE
Share price$16.63$88.05
Market cap$34.19B$55.51B
1-day change-1.95%-1.32%
YTD return+65.97%+19.80%
1-year return+83.96%+21.53%
5-year return+5.99%+35.21%
P/E ratio (TTM)9.0415.21
Forward P/E8.8214.11
EPS (TTM)$1.84$5.79
Dividend yield3.83%4.82%
Annual dividend$0.00$4.24
Revenue (latest FY)—$33.63B
Revenue growth (YoY)—+54.99%
Net income (latest FY)—$3.39B
Gross margin—30.50%
Operating margin—17.07%
Net margin—10.09%
52-week high$18.38$99.85
52-week low$8.57$64.02
Distance from 52-week high-9.52%-11.82%
Analyst consensusunderperformbuy
Avg. price target upside-14.01%+14.93%
Average volume1.88M3.64M
Shares outstanding2.06B630.41M
Employees—6,326
SectorEnergyUtilities
IndustryOil & Gas ProductionOil & Gas Production

Highlighted cells mark the higher value for growth, returns, margins and yield, and the lower value for P/E ratios. Highlighting is a mechanical comparison, not a recommendation.

Key differences

  • EC has outperformed OKE by 62.4 percentage points over the past year.
  • ONEOK trades at a higher earnings multiple (15.2x vs 9.0x trailing P/E).
  • The two companies sit in different sectors: Ecopetrol S.A. in Energy and ONEOK in Utilities.

About Ecopetrol S.A.

EC stock →

Ecopetrol S.A. operates as an integrated energy company.

Energy · Oil & Gas Production

About ONEOK

OKE stock →

ONEOK, Inc. operates as a midstream service provider of gathering, processing, fractionation, transportation, storage, and marine export services in the United States.

Utilities · Oil & Gas Production · 6,326 employees

EC vs OKE FAQ

Which is bigger, Ecopetrol S.A. or ONEOK?

ONEOK (OKE) is larger, with a market capitalization of $55.51B compared with $34.19B for Ecopetrol S.A. (EC).

Which stock has performed better over the past year, EC or OKE?

EC returned +83.96% over the past 12 months, compared with +21.53% for OKE (price return, excluding dividends). Past performance does not predict future results.

Which has the lower P/E ratio, EC or OKE?

EC has the lower trailing P/E at 9.0, versus 15.2 for OKE. A lower P/E is not by itself a sign of a better investment; it can reflect slower expected growth or higher risk.

Which pays a higher dividend, Ecopetrol S.A. or ONEOK?

ONEOK has the higher yield at 4.82%, compared with 3.83% for Ecopetrol S.A..

Are Ecopetrol S.A. and ONEOK in the same industry?

Yes. Both are classified in the Oil & Gas Production industry within the Energy sector.

More comparisons