2.4.0.81061 - Disclosure - Acquisitions - Schedule of Acquisition Related Pro Forma Financial Information (Detail)truefalseIn Millions, except Per Share data, unless otherwise specifiedfalse1falseUSDfalsefalse$eol_PE846338--1310-Q0005_STD_91_20120630_0_928576x1003439http://www.sec.gov/CIK0001510295duration2012-04-01T00:00:002012-06-30T00:00:00iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$eol_PE846338--1310-Q0005_STD_181_20130630_0_928576x1003439http://www.sec.gov/CIK0001510295duration2013-01-01T00:00:002013-06-30T00:00:00iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falseUSDfalsefalse$eol_PE846338--1310-Q0005_STD_182_20120630_0_928576x1003439http://www.sec.gov/CIK0001510295duration2012-01-01T00:00:002012-06-30T00:00:00iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse1falseUSDtruefalse$eol_PE846338--1310-Q0005_STD_91_20120630_0_928576x1003439http://www.sec.gov/CIK0001510295duration2012-04-01T00:00:002012-06-30T00:00:00falsefalseGalveston Bay Refinery and Related Assets [Member]us-gaap_BusinessAcquisitionAxisxbrldihttp://xbrl.org/2006/xbrldimpc_GalvestonBayRefineryAndRelatedAssetsMemberus-gaap_BusinessAcquisitionAxisexplicitMemberiso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse02true3us-gaap_BusinessAcquisitionLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse03false4us-gaap_BusinessAcquisitionsProFormaRevenueus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2550800000025508USD$falsetruefalse2truefalsefalse5097100000050971USD$falsetruefalse3truefalsefalse5082600000050826USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe pro forma revenue for a period as if the business combination or combinations had been completed at the beginning of the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 805
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (h)(2)-(3)
-URI http://asc.fasb.org/extlink&oid=25497992&loc=d3e1392-128463
false24false4us-gaap_BusinessAcquisitionsProFormaNetIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse804000000804USD$falsetruefalse2truefalsefalse13730000001373USD$falsetruefalse3truefalsefalse12680000001268USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe pro forma net Income or Loss for the period as if the business combination or combinations had been completed at the beginning of a period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 805
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (h)(2)-(3)
-URI http://asc.fasb.org/extlink&oid=25497992&loc=d3e1392-128463
false25false4us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasicus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2.362.36USD$falsetruefalse2truefalsefalse4.214.21USD$falsetruefalse3truefalsefalse3.693.69USD$falsetruefalsenum:perShareItemTypedecimalThe pro forma basic net income per share for a period as if the business combination or combinations had been completed at the beginning of a period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 805
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (h)(2)-(3)
-URI http://asc.fasb.org/extlink&oid=25497992&loc=d3e1392-128463
false36false4us-gaap_BusinessAcquisitionProFormaEarningsPerShareDilutedus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2.362.36USD$falsetruefalse2truefalsefalse4.194.19USD$falsetruefalse3truefalsefalse3.663.66USD$falsetruefalsenum:perShareItemTypedecimalThe pro forma diluted net income per share for a period as if the business combination or combinations had been completed at the beginning of a period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 805
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (h)(2)-(3)
-URI http://asc.fasb.org/extlink&oid=25497992&loc=d3e1392-128463
false3falseAcquisitions - Schedule of Acquisition Related Pro Forma Financial Information (Detail) (Galveston Bay Refinery and Related Assets [Member], USD $)MillionsUnKnownNoRoundingUnKnowntruefalsefalseSheethttp://www.marathonpetroleum.com/taxonomy/role/DisclosureAcquisitionsScheduleOfAcquisitionRelatedProFormaFinancialInformation36