2.4.0.81063 - Disclosure - Income Per Common Share - Additional Information (Detail)truefalseIn Millions, unless otherwise specifiedfalse1false falsefalseeol_PE846338--1310-Q0005_STD_91_20130630_0_928305x962840http://www.sec.gov/CIK0001510295duration2013-04-01T00:00:002013-06-30T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares02false falsefalseeol_PE846338--1310-Q0005_STD_91_20120630_0_928305x962840http://www.sec.gov/CIK0001510295duration2012-04-01T00:00:002012-06-30T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares03false falsefalseeol_PE846338--1310-Q0005_STD_181_20130630_0_928305x962840http://www.sec.gov/CIK0001510295duration2013-01-01T00:00:002013-06-30T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares04false falsefalseeol_PE846338--1310-Q0005_STD_182_20120630_0_928305x962840http://www.sec.gov/CIK0001510295duration2012-01-01T00:00:002012-06-30T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares01false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse1false truefalseeol_PE846338--1310-Q0005_STD_91_20130630_0_928305x962840http://www.sec.gov/CIK0001510295duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseStock Based Compensation Award [Member]us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldimpc_StockBasedCompensationExpenseMemberus-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instanceshares0nanafalse02true 3us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse03false 4us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmountus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse10000001falsefalsefalse2truefalsefalse50000005falsefalsefalse3truefalsefalse10000001falsefalsefalse4truefalsefalse40000004falsefalsefalsexbrli:sharesItemTypesharesSecurities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Antidilution -URI http://asc.fasb.org/extlink&oid=6505113 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Diluted Earnings Per Share -URI http://asc.fasb.org/extlink&oid=6510752 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Contingent Stock Agreement -URI http://asc.fasb.org/extlink&oid=6508534 false1falseIncome Per Common Share - Additional Information (Detail) (Stock Based Compensation Award [Member])UnKnownMillionsUnKnownUnKnowntruefalsefalseSheethttp://www.marathonpetroleum.com/taxonomy/role/DisclosureIncomePerCommonShareAdditionalInformation43