2.4.0.81087 - Disclosure - Derivatives - Classification of Gross Fair Values of Derivative Instruments, Excluding Cash Collateral (Detail)truefalseIn Millions, unless otherwise specifiedfalse1false USDfalsefalse$eol_PE846338--1310-Q0005_STD_0_20130630_0_929665x926155_930023x929901http://www.sec.gov/CIK0001510295instant2013-06-30T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$eol_PE846338--1310-Q0005_STD_0_20121231_0_929665x926155_930023x929901http://www.sec.gov/CIK0001510295instant2012-12-31T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse1false USDtruefalse$eol_PE846338--1310-Q0005_STD_0_20130630_0_929665x926155_930023x929901http://www.sec.gov/CIK0001510295instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCommodity Derivatives [Member]us-gaap_DerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommodityContractMemberus-gaap_DerivativeInstrumentRiskAxisexplicitMemberfalsefalseOther Current Assets [Member]us-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherCurrentAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse02true 3us-gaap_DerivativesFairValueLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse03false 4us-gaap_DerivativeFairValueOfDerivativeAssetus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse5800000058USD$falsetruefalse2truefalsefalse4900000049USD$falsetruefalsexbrli:monetaryItemTypemonetaryFair value before effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=28370219&loc=SL20226000-175313 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (a),(c) -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624163-113959 false24false 4us-gaap_DerivativeAssetFairValueGrossLiabilityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3000000030USD$falsetruefalse2truefalsefalse8800000088USD$falsetruefalsexbrli:monetaryItemTypemonetaryFair value of liability associated with financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=28370219&loc=SL20226003-175313 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (a),(c) -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624163-113959 false2falseDerivatives - Classification of Gross Fair Values of Derivative Instruments, Excluding Cash Collateral (Detail) (Commodity Derivatives [Member], Other Current Assets [Member], USD $)MillionsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.marathonpetroleum.com/taxonomy/role/DisclosureDerivativesClassificationOfGrossFairValuesOfDerivativeInstrumentsExcludingCashCollateral24