XML 94 R67.htm IDEA: XBRL DOCUMENT
v3.25.2

Equity (Share Repurchases) (Details) - USD ($) $ / shares in Units, shares in Millions, $ in Millions | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2025 | Jun. 30, 2024 | Jun. 30, 2025 | Jun. 30, 2024
Equity [Abstract] |  |  |  |  |  |  |
Number of shares repurchased |  | 5 |  | 15 | 12 |  | 28
Payments for repurchase of common stock excluding excise taxes on share repurchases |  | $ 692 | [1] | $ 2,896 | $ 1,749 | [1] | $ 5,114
Average cost per share | [2] | $ 146.43 |  | $ 185.34 | $ 147.29 |  | $ 177.54
Share repurchase program, excise tax |  |  |  |  | $ (88) |  |
[1] | 2025 excludes $88 million paid in 2025 for excise tax on 2024 share repurchases.
[2] | The average cost per share includes excise tax on share repurchases resulting from the Inflation Reduction Act of 2022, but the excise tax does not reduce the remaining share repurchase authorization.

X
- Definition Payments For Repurchase Of Common Stock Excluding Excise Taxes On Share Repurchases + References No definition available. + Details
Name: | mpc_PaymentsForRepurchaseOfCommonStockExcludingExciseTaxesOnShareRepurchases
Namespace Prefix: | mpc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition Amount of excise tax on share purchased under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 505 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481549/505-30-45-1 + Details
Name: | us-gaap_ShareRepurchaseProgramExciseTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Total cost of shares repurchased divided by the total number of shares repurchased. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481549/505-30-45-1 + Details
Name: | us-gaap_TreasuryStockAcquiredAverageCostPerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares that have been repurchased during the period and are being held in treasury. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_TreasuryStockSharesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration