XML 101 R80.htm IDEA: XBRL DOCUMENT
v3.22.2

Fair Value Measurements (Level 3) (Details) | 6 Months Ended
--- | ---
Jun. 30, 2022 USD ($) $ / gal
Level 3 |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |
Average forward price | $ / gal | 0.98
Embedded derivatives in commodity contracts |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |
Term of contract | 5 years
Embedded derivatives in commodity contracts | Level 3 |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |
Probability of renewal second term | 100.00%
Minimum | Commodity derivatives | Level 3 |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |
Forward commodity price | 0.72
Maximum | Commodity derivatives | Level 3 |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |
Forward commodity price | 1.98

X
- Definition Represents the percentage of likelihood of renewal of the commodity contract with embedded derivative for the second term of the contract. + References No definition available. + Details
Name: | mpc_FairValueInputsProbabilityofRenewalSecondTerm
Namespace Prefix: | mpc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The average forward price on the group of price risk forward or futures contracts, such as gas futures contracts. + References No definition available. + Details
Name: | us-gaap_DerivativeAverageForwardPrice
Namespace Prefix: | us-gaap_
Data Type: | srt-types:perUnitItemType
Balance Type: | na
Period Type: | instant

X
- Definition The forward price on the price risk forward or futures contract, such as a gas futures contract. + References No definition available. + Details
Name: | us-gaap_DerivativeForwardPrice
Namespace Prefix: | us-gaap_
Data Type: | srt-types:perUnitItemType
Balance Type: | na
Period Type: | instant

X
- Definition Period the derivative contract is outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DerivativeTermOfContract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_EmbeddedDerivativeFinancialInstrumentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CommodityContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |