Oil & Gas Integrated
Compare Stocks
2 / 10Stock Comparison
YPF vs EC
Revenue, margins, valuation, and 5-year total return — side by side.
Oil & Gas Integrated
YPF vs EC — Key Financials
Market cap, revenue, margins, and valuation side-by-side.
| Company Snapshot | ||
|---|---|---|
| Industry | Oil & Gas Integrated | Oil & Gas Integrated |
| Market Cap | $16.94B | $27.47B |
| Revenue (TTM) | $23.50T | $119.34T |
| Net Income (TTM) | $-1.20T | $8.99T |
| Gross Margin | 27.7% | 31.4% |
| Operating Margin | 8.9% | 22.3% |
| Forward P/E | 0.0x | 0.0x |
| Total Debt | $16.18T | $109.08T |
| Cash & Equiv. | $1.35T | $10.68T |
YPF vs EC — Long-Term Stock Performance
Price return indexed to 100 at period start. Dividends excluded.
| Stock | May 20 | May 26 | Return |
|---|---|---|---|
| YPF Sociedad Anónima (YPF) | 100 | 858.3 | +758.3% |
| Ecopetrol S.A. (EC) | 100 | 128.3 | +28.3% |
Price return only. Dividends and distributions are not included.
Quick Verdict: YPF vs EC
Each card shows where this stock fits in a portfolio — not just who wins on paper.
YPF is the clearest fit if your priority is income & stability and growth exposure.
- Dividend streak 1 yrs, beta 0.51
- Rev growth 48.3%, EPS growth -149.6%, 3Y rev CAGR 119.0%
- 48.3% revenue growth vs EC's -16.4%
EC carries the broadest edge in this set and is the clearest fit for long-term compounding and sleep-well-at-night.
- 175.3% 10Y total return vs YPF's 117.6%
- Lower volatility, beta 0.03, Low D/E 100.0%, current ratio 1.55x
- Beta 0.03, yield 10.8%, current ratio 1.55x
See the full category breakdown
| Category | Winner | Why |
|---|---|---|
| Growth | 48.3% revenue growth vs EC's -16.4% | |
| Value | Lower P/E (0.0x vs 0.0x) | |
| Quality / Margins | 7.5% margin vs YPF's -5.1% | |
| Stability / Safety | Beta 0.03 vs YPF's 0.51, lower leverage | |
| Dividends | 10.8% yield; the other pay no meaningful dividend | |
| Momentum (1Y) | +84.5% vs YPF's +43.3% | |
| Efficiency (ROA) | 3.1% ROA vs YPF's -3.1%, ROIC 8.8% vs 6.8% |
YPF vs EC — Revenue Breakdown by Segment
How each company's revenue is distributed across its business units
YPF vs EC — Financial Metrics
Side-by-side numbers across 2 stocks — who leads on profitability, valuation, growth, and risk.
Income & Cash Flow (Last 12 Months)
EC leads this category, winning 5 of 6 comparable metrics.
Income & Cash Flow (Last 12 Months)
EC is the larger business by revenue, generating $119.34T annually — 5.1x YPF's $23.50T. EC is the more profitable business, keeping 7.5% of every revenue dollar as net income compared to YPF's -5.1%. On growth, YPF holds the edge at +36.1% YoY revenue growth, suggesting stronger near-term business momentum.
| Metric | ||
|---|---|---|
| RevenueTrailing 12 months | $23.50T | $119.34T |
| EBITDAEarnings before interest/tax | $6.01T | $38.59T |
| Net IncomeAfter-tax profit | -$1.20T | $8.99T |
| Free Cash FlowCash after capex | $16.3B | $16.05T |
| Gross MarginGross profit ÷ Revenue | +27.7% | +31.4% |
| Operating MarginEBIT ÷ Revenue | +8.9% | +22.3% |
| Net MarginNet income ÷ Revenue | -5.1% | +7.5% |
| FCF MarginFCF ÷ Revenue | +0.1% | +13.5% |
| Rev. Growth (YoY)Latest quarter vs prior year | +36.1% | -18.2% |
| EPS Growth (YoY)Latest quarter vs prior year | -2.2% | -62.2% |
Valuation Metrics
EC leads this category, winning 3 of 5 comparable metrics.
Valuation Metrics
On an enterprise value basis, EC's 5.1x EV/EBITDA is more attractive than YPF's 5.5x.
| Metric | ||
|---|---|---|
| Market CapShares × price | $16.9B | $27.5B |
| Enterprise ValueMkt cap + debt − cash | $27.6B | $54.1B |
| Trailing P/EPrice ÷ TTM EPS | -19.69x | 12.12x |
| Forward P/EPrice ÷ next-FY EPS est. | 0.01x | 0.00x |
| PEG RatioP/E ÷ EPS growth rate | — | 0.32x |
| EV / EBITDAEnterprise value multiple | 5.48x | 5.09x |
| Price / SalesMarket cap ÷ Revenue | 0.89x | 0.91x |
| Price / BookPrice ÷ Book value/share | 1.47x | 0.93x |
| Price / FCFMarket cap ÷ FCF | — | 6.27x |
Profitability & Efficiency
EC leads this category, winning 7 of 9 comparable metrics.
Profitability & Efficiency
EC delivers a 8.5% return on equity — every $100 of shareholder capital generates $8 in annual profit, vs $-8 for YPF. EC carries lower financial leverage with a 1.00x debt-to-equity ratio, signaling a more conservative balance sheet compared to YPF's 1.01x. On the Piotroski fundamental quality scale (0–9), EC scores 6/9 vs YPF's 5/9, reflecting solid financial health.
| Metric | ||
|---|---|---|
| ROE (TTM)Return on equity | -8.0% | +8.5% |
| ROA (TTM)Return on assets | -3.1% | +3.1% |
| ROICReturn on invested capital | +6.8% | +8.8% |
| ROCEReturn on capital employed | +8.9% | +9.7% |
| Piotroski ScoreFundamental quality 0–9 | 5 | 6 |
| Debt / EquityFinancial leverage | 1.01x | 1.00x |
| Net DebtTotal debt minus cash | $14.83T | $98.40T |
| Cash & Equiv.Liquid assets | $1.35T | $10.68T |
| Total DebtShort + long-term debt | $16.18T | $109.08T |
| Interest CoverageEBIT ÷ Interest expense | 2.48x | 4.07x |
Total Returns (Dividends Reinvested)
Evenly matched — YPF and EC each lead in 3 of 6 comparable metrics.
Total Returns (Dividends Reinvested)
A $10,000 investment in YPF five years ago would be worth $114,748 today (with dividends reinvested), compared to $18,175 for EC. Over the past 12 months, EC leads with a +84.5% total return vs YPF's +43.3%. The 3-year compound annual growth rate (CAGR) favors YPF at 55.4% vs EC's 27.4% — a key indicator of consistent wealth creation.
| Metric | ||
|---|---|---|
| YTD ReturnYear-to-date | +19.2% | +37.2% |
| 1-Year ReturnPast 12 months | +43.3% | +84.5% |
| 3-Year ReturnCumulative with dividends | +275.5% | +106.8% |
| 5-Year ReturnCumulative with dividends | +1047.5% | +81.8% |
| 10-Year ReturnCumulative with dividends | +117.6% | +175.3% |
| CAGR (3Y)Annualised 3-year return | +55.4% | +27.4% |
Risk & Volatility
Evenly matched — YPF and EC each lead in 1 of 2 comparable metrics.
Risk & Volatility
EC is the less volatile stock with a 0.03 beta — it tends to amplify market swings less than YPF's 0.51 beta. A beta below 1.0 means the stock typically moves less than the S&P 500.
| Metric | ||
|---|---|---|
| Beta (5Y)Sensitivity to S&P 500 | 0.51x | 0.03x |
| 52-Week HighHighest price in past year | $48.95 | $15.62 |
| 52-Week LowLowest price in past year | $22.82 | $7.80 |
| % of 52W HighCurrent price vs 52-week peak | +88.4% | +85.5% |
| RSI (14)Momentum oscillator 0–100 | 55.3 | 53.1 |
| Avg Volume (50D)Average daily shares traded | 2.5M | 3.3M |
Analyst Outlook
YPF leads this category, winning 1 of 1 comparable metric.
Analyst Outlook
Wall Street rates YPF as "Buy" and EC as "Hold". Consensus price targets imply 8.6% upside for YPF (target: $47) vs -22.5% for EC (target: $10). EC is the only dividend payer here at 10.76% yield — a key consideration for income-focused portfolios.
| Metric | ||
|---|---|---|
| Analyst RatingConsensus buy/hold/sell | Buy | Hold |
| Price TargetConsensus 12-month target | $47.00 | $10.35 |
| # AnalystsCovering analysts | 15 | 11 |
| Dividend YieldAnnual dividend ÷ price | — | +10.8% |
| Dividend StreakConsecutive years of raises | 1 | 0 |
| Dividend / ShareAnnual DPS | — | $5317.20 |
| Buyback YieldShare repurchases ÷ mkt cap | +0.1% | +0.0% |
EC leads in 3 of 6 categories (Income & Cash Flow, Valuation Metrics). YPF leads in 1 (Analyst Outlook). 2 tied.
YPF vs EC: Frequently Asked Questions
10 questions · data-driven answers · updated daily
01Is YPF or EC a better buy right now?
For growth investors, YPF Sociedad Anónima (YPF) is the stronger pick with 48.
3% revenue growth year-over-year, versus -16. 4% for Ecopetrol S. A. (EC). Ecopetrol S. A. (EC) offers the better valuation at 12. 1x trailing P/E (0. 0x forward), making it the more compelling value choice. Analysts rate YPF Sociedad Anónima (YPF) a "Buy" — based on 15 analyst ratings — the highest consensus in this comparison. The "better buy" depends entirely on your goals: growth investors should weight revenue trajectory, value investors should weight P/E and PEG, and income investors should weight dividend yield and streak.
02Which has the better valuation — YPF or EC?
On forward P/E, Ecopetrol S.
A. is actually cheaper at 0. 0x.
03Which is the better long-term investment — YPF or EC?
Over the past 5 years, YPF Sociedad Anónima (YPF) delivered a total return of +1047%, compared to +81.
8% for Ecopetrol S. A. (EC). Over 10 years, the gap is even starker: EC returned +175. 3% versus YPF's +117. 6%. Past returns do not guarantee future results, and the stock with the higher historical return may already have its best growth priced in.
04Which is safer — YPF or EC?
By beta (market sensitivity over 5 years), Ecopetrol S.
A. (EC) is the lower-risk stock at 0. 03β versus YPF Sociedad Anónima's 0. 51β — meaning YPF is approximately 1854% more volatile than EC relative to the S&P 500. On balance sheet safety, Ecopetrol S. A. (EC) carries a lower debt/equity ratio of 100% versus 101% for YPF Sociedad Anónima — giving it more financial flexibility in a downturn.
05Which is growing faster — YPF or EC?
By revenue growth (latest reported year), YPF Sociedad Anónima (YPF) is pulling ahead at 48.
3% versus -16. 4% for Ecopetrol S. A. (EC). On earnings-per-share growth, the picture is similar: Ecopetrol S. A. grew EPS -39. 5% year-over-year, compared to -149. 6% for YPF Sociedad Anónima. Over a 3-year CAGR, YPF leads at 119. 0% annualised revenue growth. Higher growth typically commands a higher valuation multiple — check whether the premium P/E or P/S is justified by the growth rate using the PEG ratio.
06Which has better profit margins — YPF or EC?
Ecopetrol S.
A. (EC) is the more profitable company, earning 7. 5% net margin versus -4. 5% for YPF Sociedad Anónima — meaning it keeps 7. 5% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: EC leads at 22. 3% versus 8. 9% for YPF. At the gross margin level — before operating expenses — EC leads at 31. 4%, reflecting greater pricing power or product mix advantage. Stronger margins indicate durable pricing power, lower cost of revenue, or higher mix of software/services. They are one of the clearest signs of business quality.
07Is YPF or EC more undervalued right now?
On forward earnings alone, Ecopetrol S.
A. (EC) trades at 0. 0x forward P/E versus 0. 0x for YPF Sociedad Anónima — 0. 0x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for YPF: 8. 6% to $47. 00.
08Which pays a better dividend — YPF or EC?
In this comparison, EC (10.
8% yield) pays a dividend. YPF does not pay a meaningful dividend and should not be held primarily for income.
09Is YPF or EC better for a retirement portfolio?
For long-horizon retirement investors, Ecopetrol S.
A. (EC) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0. 03), 10. 8% yield, +175. 3% 10Y return). Both have compounded well over 10 years (EC: +175. 3%, YPF: +117. 6%), confirming both are viable long-term holds — but the lower-volatility option typically results in less emotional selling during corrections. Retirement portfolios generally favour predictability over maximum returns. Consult a financial advisor before making allocation decisions.
10What are the main differences between YPF and EC?
Both stocks operate in the Energy sector, making this a peer-level intra-sector comparison — the same macro tailwinds and headwinds will affect both.
In terms of investment character: YPF is a mid-cap high-growth stock; EC is a mid-cap deep-value stock. EC pays a dividend while YPF does not, making them suitable for different income and tax situations. These fundamental differences mean investors should not choose between them on a single metric — the "better stock" depends entirely on which of these characteristics aligns with your investment strategy.
Find Stocks Like These
Explore pre-built screens for each stock's profile, or build a custom screen to find stocks that outperform both.
You Might Also Compare
Based on how these companies actually compete and overlap — not just which sector they're filed under.