2.4.0.81091 - Disclosure - Derivatives - Effect of Commodity Derivative Instruments in Statements of Income (Detail)truefalseIn Millions, unless otherwise specifiedfalse1false USDfalsefalse$eol_PE846338--1310-Q0005_STD_91_20130630_0_929665x926155http://www.sec.gov/CIK0001510295duration2013-04-01T00:00:002013-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$eol_PE846338--1310-Q0005_STD_91_20120630_0_929665x926155http://www.sec.gov/CIK0001510295duration2012-04-01T00:00:002012-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false USDfalsefalse$eol_PE846338--1310-Q0005_STD_181_20130630_0_929665x926155http://www.sec.gov/CIK0001510295duration2013-01-01T00:00:002013-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4false USDfalsefalse$eol_PE846338--1310-Q0005_STD_182_20120630_0_929665x926155http://www.sec.gov/CIK0001510295duration2012-01-01T00:00:002012-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 3us-gaap_DerivativeInstrumentsGainLossLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-gaap_DerivativeGainLossOnDerivativeNetus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse5400000054USD$falsetruefalse2truefalsefalse400000000400USD$falsetruefalse3truefalsefalse-5000000-5USD$falsetruefalse4truefalsefalse347000000347USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount of increase (decrease) in the fair value of derivatives recognized in the income statement.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5618551-113959 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (a),(c),(d),(e) -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624171-113959 false23false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5false USDtruefalse$eol_PE846338--1310-Q0005_STD_91_20130630_0_927015x926597_929665x926155http://www.sec.gov/CIK0001510295duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseCommodity Derivatives [Member]us-gaap_DerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommodityContractMemberus-gaap_DerivativeInstrumentRiskAxisexplicitMemberfalsefalseSales And Other Operating Revenues [Member]us-gaap_IncomeStatementLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SalesMemberus-gaap_IncomeStatementLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse04true 3us-gaap_DerivativeInstrumentsGainLossLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse05false 4us-gaap_DerivativeGainLossOnDerivativeNetus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse30000003USD$falsefalsefalse2truefalsefalse4400000044USD$falsefalsefalse3truefalsefalse40000004USD$falsefalsefalse4truefalsefalse3800000038USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of increase (decrease) in the fair value of derivatives recognized in the income statement.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5618551-113959 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (a),(c),(d),(e) -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624171-113959 false26false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse9false USDtruefalse$eol_PE846338--1310-Q0005_STD_91_20130630_0_927015x928619_929665x926155http://www.sec.gov/CIK0001510295duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseCommodity Derivatives [Member]us-gaap_DerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommodityContractMemberus-gaap_DerivativeInstrumentRiskAxisexplicitMemberfalsefalseCost Of Revenues [Member]us-gaap_IncomeStatementLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CostOfSalesMemberus-gaap_IncomeStatementLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse07true 3us-gaap_DerivativeInstrumentsGainLossLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse08false 4us-gaap_DerivativeGainLossOnDerivativeNetus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse5100000051USD$falsetruefalse2truefalsefalse356000000356USD$falsetruefalse3truefalsefalse-9000000-9USD$falsetruefalse4truefalsefalse309000000309USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount of increase (decrease) in the fair value of derivatives recognized in the income statement.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5618551-113959 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (a),(c),(d),(e) -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624171-113959 false2falseDerivatives - Effect of Commodity Derivative Instruments in Statements of Income (Detail) (Commodity Derivatives [Member], USD $)MillionsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.marathonpetroleum.com/taxonomy/role/DisclosureDerivativesEffectOfCommodityDerivativeInstrumentsInStatementsOfIncome48