XML 87 R66.htm IDEA: XBRL DOCUMENT
v3.22.2

Equity (Details) - USD ($) $ in Millions | Jun. 30, 2022 | Feb. 02, 2022
--- | --- | ---
Equity, Class of Treasury Stock [Line Items] |  |
Stock repurchase program, remaining authorized repurchase amount | $ 4,170 |
Share Repurchase Authorization February 2022 |  |
Equity, Class of Treasury Stock [Line Items] |  |
Stock repurchase program, authorized amount |  | $ 5,000

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_EquityClassOfTreasuryStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount remaining of a stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=mpc_ShareRepurchaseAuthorizationFebruary2022Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |