XML 41 R1.htm IDEA: XBRL DOCUMENT v3.25.0.1
Cover Page - USD ($)
$ in Billions
12 Months Ended
Dec. 31, 2024
Feb. 21, 2025
Jun. 30, 2024
Cover [Abstract]      
Entity Central Index Key 0001510295    
Current Fiscal Year End Date --12-31    
Document Fiscal Year Focus 2024    
Document Fiscal Period Focus (Q1,Q2,Q3,FY) FY    
Amendment Flag false    
Document Type 10-K    
Document Annual Report true    
Document Period End Date Dec. 31, 2024    
Document Transition Report false    
Entity File Number 001-35054    
Entity Registrant Name Marathon Petroleum Corporation    
Entity Incorporation, State or Country Code DE    
Entity Tax Identification Number 27-1284632    
Entity Address, Address Line One 539 South Main Street    
Entity Address, City or Town Findlay    
Entity Address, State or Province OH    
Entity Address, Postal Zip Code 45840-3229    
City Area Code 419    
Local Phone Number 422-2121    
Title of 12(b) Security Common Stock, par value $.01    
Trading Symbol MPC    
Security Exchange Name NYSE    
Entity Well-known Seasoned Issuer Yes    
Entity Voluntary Filers No    
Entity Current Reporting Status Yes    
Entity Interactive Data Current Yes    
Entity Filer Category Large Accelerated Filer    
Entity Small Business false    
Entity Emerging Growth Company false    
ICFR Auditor Attestation Flag true    
Document Financial Statement Error Correction [Flag] false    
Entity Shell Company false    
Entity Public Float     $ 59.0
Entity Common Stock, Shares Outstanding   312,575,833