v3.26.1
Earnings Per Share (Summary of Earnings Per Share) (Details) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Basic earnings per share:        
Net income attributable to MPC $ 5,138 $ 1,216 $ 5,649 $ 1,142
Income allocated to participating securities, basic (5) (1) (5) (1)
Income available to common stockholders - basic $ 5,133 $ 1,215 $ 5,644 $ 1,141
Weighted average common shares outstanding - basic (in shares) 289 307 291 309
Basic earnings per share $ 17.76 $ 3.96 $ 19.34 $ 3.69
Diluted earnings per share:        
Net income attributable to MPC $ 5,138 $ 1,216 $ 5,649 $ 1,142
Income allocated to participating securities, diluted (5) (1) (5) (1)
Income available to common stockholders - diluted $ 5,133 $ 1,215 $ 5,644 $ 1,141
Weighted average common shares outstanding - basic (in shares) 289 307 291 309
Effect of dilutive securities (in shares) 1 0 1 1
Weighted average shares outstanding - diluted (in shares) 290 307 292 310
Diluted earnings per share $ 17.73 $ 3.96 $ 19.30 $ 3.68