XML 25 R1.htm IDEA: XBRL DOCUMENT v3.23.1
Document and Entity Information - shares
3 Months Ended
Mar. 31, 2023
Apr. 26, 2023
Cover [Abstract]    
Entity Central Index Key 0001510295  
Current Fiscal Year End Date --12-31  
Document Fiscal Year Focus 2023  
Document Fiscal Period Focus (Q1,Q2,Q3,FY) Q1  
Amendment Flag false  
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Mar. 31, 2023  
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 Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Large Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding   424,282,812