XML 195 R151.htm IDEA: XBRL DOCUMENT v3.24.1.u1
Equity - Earnings per share (Details) - COP ($)
$ / shares in Units, $ in Millions
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Equity      
Profit attributable to Ecopetrol's shareholders $ 21,060,798 $ 31,604,781 $ 15,649,143
Weighted average number of outstanding shares 41,116,694,690 41,116,694,690 41,116,694,690
Net basic earnings per share (Colombian pesos) $ 512.2 $ 768.7 $ 380.6