XML 119 R92.htm IDEA: XBRL DOCUMENT
v3.25.2

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

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