XML 102 R73.htm IDEA: XBRL DOCUMENT
v3.26.1

Equity (Share Repurchases) (Details) - USD ($) $ / shares in Units, shares in Millions, $ in Millions | 3 Months Ended
--- | ---
Mar. 31, 2026 | Mar. 31, 2025
Equity [Abstract] |  |  |
Number of shares repurchased |  | 4 | 7
Payments for repurchase of common stock excluding excise taxes on share repurchases |  | $ 750 | $ 1,057
Average cost per share | [1] | $ 213.45 | $ 147.87
[1] | 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 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