XML 101 R89.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Derivatives Financial Instruments - Derivative Income Statement Location (Details) - USD ($) $ in Millions | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2017 | Jun. 30, 2016 | Jun. 30, 2017 | Jun. 30, 2016
Derivative [Line Items] |  |  |  |
Total gain (loss) | $ 1 | $ (16) | $ 14 | $ (20)
Product Sales [Member] |  |  |  |
Derivative [Line Items] |  |  |  |
Realized gain (loss) | 0 | (1) | (1) | 6
Unrealized gain (loss) | 2 | (6) | 9 | (14)
Total gain (loss) | 2 | (7) | 8 | (8)
Purchased product costs [Member] |  |  |  |
Derivative [Line Items] |  |  |  |
Realized gain (loss) | (2) | (2) | (4) | (3)
Unrealized gain (loss) | 1 | (8) | 10 | (9)
Total gain (loss) | (1) | (10) | 6 | (12)
Cost of Sales [Member] |  |  |  |
Derivative [Line Items] |  |  |  |
Realized gain (loss) | 0 | (1) | 0 | (2)
Unrealized gain (loss) | 0 | 2 | 0 | 2
Total gain (loss) | $ 0 | $ 1 | $ 0 | $ 0

X
- Definition Amount of realized gain (loss) of derivative instruments not designated or qualifying as hedging instruments. + References No definition available. + Details
Name: | mpc_DerivativeInstrumentsNotDesignatedasHedgingInstrumentsRealizedGainLossNet
Namespace Prefix: | mpc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments. + References No definition available. + Details
Name: | mpc_DerivativeInstrumentsNotDesignatedasHedgingInstrumentsUnrealizedGainLossNet
Namespace Prefix: | mpc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of realized and unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=84234895&loc=SL5624171-113959 + Details
Name: | us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_DerivativeLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=mpc_ProductSalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=mpc_PurchasedproductcostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_CostOfSalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |