XML 114 R93.htm IDEA: XBRL DOCUMENT
v3.22.2

Revenue (Details) $ in Millions | Jun. 30, 2022 USD ($)
--- | ---
Revenue from Contract with Customer [Abstract] |
Matching buy/sell receivables | $ 7,810

X
- Definition Carrying amounts due as of the balance sheet date of the amounts receivable from matching buy/sell transactions. + References No definition available. + Details
Name: | mpc_MatchingBuySellReceivables
Namespace Prefix: | mpc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_RevenueFromContractWithCustomerAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration