XML 111 R90.htm IDEA: XBRL DOCUMENT v3.22.2
Debt (MPC Bank Revolving Credit Facility) (Details) - USD ($)
$ in Millions
Jul. 07, 2022
Jun. 30, 2022
MPC revolving credit facility due October 2023    
Line of Credit Facility [Line Items]    
Maximum borrowing capacity   $ 5,000
MPC bank revolving credit facility due July 2027 | Subsequent Event    
Line of Credit Facility [Line Items]    
Maximum borrowing capacity $ 5,000  
Marathon Petroleum Corporation: | MPC bank revolving credit facility due July 2027 | Subsequent Event    
Line of Credit Facility [Line Items]    
Description of variable rate basis at either the Adjusted Term SOFR or the Alternate Base Rate, both as defined in the New MPC Credit Agreement, plus an applicable margin