XML 125 R96.htm IDEA: XBRL DOCUMENT
v3.24.3

Revenue (Details) $ in Millions | Sep. 30, 2024 USD ($)
--- | ---
Revenue from Contract with Customer [Abstract] |
Matching buy/sell receivables | $ 4,050

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