Equity - Earnings per share (Details) - COP ($) $ / shares in Units, $ in Billions |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2025 |
Dec. 31, 2024 |
Dec. 31, 2023 |
|
| Equity | |||
| Profit attributable to Ecopetrol's ordinary shareholders | $ 10,488 | $ 13,841 | $ 21,061 |
| Weighted average number of outstanding ordinary shares | 41,116,694,690 | 41,116,694,690 | 41,116,694,690 |
| Basic ordinary shares earnings per share (Colombian pesos) | $ 255.1 | $ 336.6 | $ 512.2 |
| Diluted ordinary shares earnings per share (Colombian pesos) | $ 255.1 | $ 336.6 | $ 512.2 |
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition The amount of profit (loss) attributable to ordinary equity holders of the parent entity (the numerator) divided by the weighted average number of ordinary shares outstanding during the period (the denominator). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The amount of profit (loss) attributable to ordinary equity holders of the parent entity (the numerator), divided by the weighted average number of ordinary shares outstanding during the period (the denominator), both adjusted for the effects of all dilutive potential ordinary shares. [Refer: Ordinary shares [member]; Weighted average [member]] Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The number of shares that have been authorised and issued, reduced by treasury shares held. [Refer: Treasury shares] Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The profit (loss) from continuing and discontinued operations attributable to owners of the parent. [Refer: Profit (loss)] Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|