2.2.0.7trueEarnings (Loss) Per Common Share (Details) (USD $)0609 - Disclosure - Earnings (Loss) Per Common Share (Details)truefalseIn Millions, except Per Share datafalsefalse1USDfalsefalseUSDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0$false2USDfalsefalseUSDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0$false3USDfalsefalseUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0$false4USDfalsefalseUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0$22vlo_EarningsLossPerCommonShareFromContinuingOperationsAbstractvlofalsenadurationEarnings (loss) per common share from continuing operations.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringEarnings (loss) per common share from continuing operations.false32us-gaap_IncomeLossFromContinuingOperationsus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1truetruefalsefalse292000000292falsefalsefalse2truetruefalsefalse-343000000-343falsefalsefalse3truetruefalsefalse721000000721falsefalsefalse4truetruefalsefalse-170000000-170falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the income or loss from continuing operations attributable to the reporting entity which may also be defined as revenue less expenses and taxes from ongoing operations before extraordinary items and cumulative effects of changes in accounting principles, but after deduction of those portions of income or loss from continuing operations that are allocable to noncontrolling interests, if any.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 29
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 28
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph b(1)
false72us-gaap_WeightedAverageNumberOfSharesOutstandingBasicus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse564000000564falsefalsefalse2falsetruefalsefalse561000000561falsefalsefalse3falsetruefalsefalse563000000563falsefalsefalse4falsetruefalsefalse534000000534falsefalsefalsexbrli:sharesItemTypesharesNumber of [basic] shares, after adjustment for contingently issuable shares and other shares not deemed outstanding, determined by relating the portion of time within a reporting period that common shares have been outstanding to the total time in that period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 171
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 40
-Subparagraph a
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 8
false82us-gaap_EarningsPerShareBasicAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false92us-gaap_CommonStockDividendsPerShareCashPaidus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabeltrue1truetruefalsefalse0.050.05falsefalsefalse2truetruefalsefalse0.150.15falsefalsefalse3truetruefalsefalse0.150.15falsefalsefalse4truetruefalsefalse0.450.45falsefalsefalseus-types:perShareItemTypedecimalAggregate dividends paid during the period for each share of common stock outstanding.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
false112us-gaap_IncomeLossFromContinuingOperationsPerBasicShareus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabeltrue1truetruefalsefalse0.520.52falsefalsefalse2truetruefalsefalse-0.61-0.61falsefalsefalse3truetruefalsefalse1.271.27falsefalsefalse4truetruefalsefalse-0.32-0.32falsefalsefalseus-types:perShareItemTypedecimalThe amount of income (loss) from continuing operations per each share of common stock outstanding during the reporting period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 21
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 36, 37, 38
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 20
-Article 5
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 18
-Article 7
false122us-gaap_IncomeLossFromContinuingOperationsus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse292000000292falsefalsefalse2falsetruefalsefalse-343000000-343falsefalsefalse3falsetruefalsefalse721000000721falsefalsefalse4falsetruefalsefalse-170000000-170falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the income or loss from continuing operations attributable to the reporting entity which may also be defined as revenue less expenses and taxes from ongoing operations before extraordinary items and cumulative effects of changes in accounting principles, but after deduction of those portions of income or loss from continuing operations that are allocable to noncontrolling interests, if any.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 29
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 28
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph b(1)
false132us-gaap_WeightedAverageNumberOfSharesOutstandingBasicus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse564000000564falsefalsefalse2falsetruefalsefalse561000000561falsefalsefalse3falsetruefalsefalse563000000563falsefalsefalse4falsetruefalsefalse534000000534falsefalsefalsexbrli:sharesItemTypesharesNumber of [basic] shares, after adjustment for contingently issuable shares and other shares not deemed outstanding, determined by relating the portion of time within a reporting period that common shares have been outstanding to the total time in that period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 171
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 40
-Subparagraph a
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 8
false142us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false172us-gaap_WeightedAverageNumberOfDilutedSharesOutstandingus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse568000000568falsefalsefalse2falsetruefalsefalse561000000561falsefalsefalse3falsetruefalsefalse567000000567falsefalsefalse4falsetruefalsefalse534000000534falsefalsefalsexbrli:sharesItemTypesharesThe average number of shares issued and outstanding that are used in calculating diluted EPS, determined based on the timing of issuance of shares in the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 40
-Subparagraph a
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 8
false182us-gaap_IncomeLossFromContinuingOperationsPerDilutedShareus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabeltrue1truetruefalsefalse0.510.51falsefalsefalse2truetruefalsefalse-0.61-0.61falsefalsefalse3truetruefalsefalse1.271.27falsefalsefalse4truetruefalsefalse-0.32-0.32falsefalsefalseus-types:perShareItemTypedecimalThe amount of income (loss) from continuing operations available to each share of common stock outstanding during the reporting period and each share that would have been outstanding assuming the issuance of common shares for all dilutive potential common shares outstanding during the reporting period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 21
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 11, 12, 36, 37, 38
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 40
-Subparagraph a
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 20
-Article 5
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 18
-Article 7
false210natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://valero.com/role/earningslosspercommonsharedetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalsefalse5truefalsefalsefalseCommon Stock [Member]us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommonStockMemberus-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0false6truefalsefalsefalseCommon Stock [Member]us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommonStockMemberus-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0naNo definition available.No authoritative reference available.false392us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false402us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmountus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse40000004falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsetruefalsefalse40000004falsefalsefalsexbrli:sharesItemTypesharesSecurities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 13, 14
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 171
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 40
-Subparagraph c
false410natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://valero.com/role/earningslosspercommonsharedetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalsefalse7truefalsefalsefalseStock Options [Member]us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_StockOptionsMemberus-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0false8truefalsefalsefalseStock Options [Member]us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_StockOptionsMemberus-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0false9truefalsefalsefalseStock Options [Member]us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_StockOptionsMemberus-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0false10truefalsefalsefalseStock Options [Member]us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_StockOptionsMemberus-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0naNo definition available.No authoritative reference available.false592us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false602us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmountus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse1700000017falsefalsefalse2falsetruefalsefalse1000000010falsefalsefalse3falsetruefalsefalse1400000014falsefalsefalse4falsetruefalsefalse1000000010falsefalsefalsexbrli:sharesItemTypesharesSecurities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 13, 14
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 171
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 40
-Subparagraph c
false610natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://valero.com/role/earningslosspercommonsharedetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalsefalse11USDtruefalsefalsefalseRestricted Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RestrictedStockMemberus-gaap_StatementClassOfStockAxisexplicitMemberUSDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0$false12USDtruefalsefalsefalseRestricted Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RestrictedStockMemberus-gaap_StatementClassOfStockAxisexplicitMemberUSDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0$false13USDtruefalsefalsefalseRestricted Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RestrictedStockMemberus-gaap_StatementClassOfStockAxisexplicitMemberUSDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0$false14USDtruefalsefalsefalseRestricted Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RestrictedStockMemberus-gaap_StatementClassOfStockAxisexplicitMemberUSDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0$naNo definition available.No authoritative reference available.false622vlo_EarningsLossPerCommonShareFromContinuingOperationsAbstractvlofalsenadurationEarnings (loss) per common share from continuing operations.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringEarnings (loss) per common share from continuing operations.false672us-gaap_WeightedAverageNumberOfSharesOutstandingBasicus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse30000003falsefalsefalse2falsetruefalsefalse20000002falsefalsefalse3falsetruefalsefalse30000003falsefalsefalse4falsetruefalsefalse20000002falsefalsefalsexbrli:sharesItemTypesharesNumber of [basic] shares, after adjustment for contingently issuable shares and other shares not deemed outstanding, determined by relating the portion of time within a reporting period that common shares have been outstanding to the total time in that period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 171
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 40
-Subparagraph a
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 8
false682us-gaap_EarningsPerShareBasicAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false692us-gaap_CommonStockDividendsPerShareCashPaidus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabeltrue1truetruefalsefalse0.050.05falsefalsefalse2truetruefalsefalse0.150.15falsefalsefalse3truetruefalsefalse0.150.15falsefalsefalse4truetruefalsefalse0.440.44falsefalsefalseus-types:perShareItemTypedecimalAggregate dividends paid during the period for each share of common stock outstanding.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
false702vlo_UndistributedEarningsLossPerCommonSharevlofalsenadurationUndistributed earnings (loss) per common share.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabeltrue1truetruefalsefalse0.470.47falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3truetruefalsefalse1.121.12falsefalsefalse4falsefalsefalsefalse00 falsefalsefalseus-types:perShareItemTypedecimalUndistributed earnings (loss) per common share.No authoritative reference available.true712us-gaap_IncomeLossFromContinuingOperationsPerBasicShareus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabeltrue1truetruefalsefalse0.520.52falsefalsefalse2truetruefalsefalse0.150.15falsefalsefalse3truetruefalsefalse1.271.27falsefalsefalse4truetruefalsefalse0.440.44falsefalsefalseus-types:perShareItemTypedecimalThe amount of income (loss) from continuing operations per each share of common stock outstanding during the reporting period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 21
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 36, 37, 38
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 20
-Article 5
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 18
-Article 7
false732us-gaap_WeightedAverageNumberOfSharesOutstandingBasicus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse30000003falsefalsefalse2falsetruefalsefalse20000002falsefalsefalse3falsetruefalsefalse30000003falsefalsefalse4falsetruefalsefalse20000002falsefalsefalsexbrli:sharesItemTypesharesNumber of [basic] shares, after adjustment for contingently issuable shares and other shares not deemed outstanding, determined by relating the portion of time within a reporting period that common shares have been outstanding to the total time in that period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 171
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 40
-Subparagraph a
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 8
false810natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://valero.com/role/earningslosspercommonsharedetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalsefalse15USDtruefalsefalsefalseCommon Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommonStockMemberus-gaap_StatementClassOfStockAxisexplicitMemberUSDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0$false16USDtruefalsefalsefalseCommon Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommonStockMemberus-gaap_StatementClassOfStockAxisexplicitMemberUSDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0$false17USDtruefalsefalsefalseCommon Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommonStockMemberus-gaap_StatementClassOfStockAxisexplicitMemberUSDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0$false18USDtruefalsefalsefalseCommon Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommonStockMemberus-gaap_StatementClassOfStockAxisexplicitMemberUSDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0$naNo definition available.No authoritative reference available.false822vlo_EarningsLossPerCommonShareFromContinuingOperationsAbstractvlofalsenadurationEarnings (loss) per common share from continuing operations.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringEarnings (loss) per common share from continuing operations.false832us-gaap_IncomeLossFromContinuingOperationsus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse292000000292falsefalsefalse2falsetruefalsefalse-343000000-343falsefalsefalse3falsetruefalsefalse721000000721falsefalsefalse4falsetruefalsefalse-170000000-170falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the income or loss from continuing operations attributable to the reporting entity which may also be defined as revenue less expenses and taxes from ongoing operations before extraordinary items and cumulative effects of changes in accounting principles, but after deduction of those portions of income or loss from continuing operations that are allocable to noncontrolling interests, if any.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 29
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 28
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph b(1)
false842us-gaap_DividendsCommonStockCashus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse2800000028falsefalsefalse2falsetruefalsefalse8400000084falsefalsefalse3falsetruefalsefalse8500000085falsefalsefalse4falsetruefalsefalse238000000238falsefalsefalsexbrli:monetaryItemTypemonetaryCommon stock cash dividend declared by an entity during the period. This element includes paid and unpaid dividends declared during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
false852vlo_DividendNonvestedRestrictedStockvlofalsedebitdurationCommon stock cash dividend declared by an entity during the period related to nonvested restricted stock.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsefalsefalsefalse00 falsefalsefalse2falsefalsefalsefalse00 falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsetruefalsefalse10000001falsefalsefalsexbrli:monetaryItemTypemonetaryCommon stock cash dividend declared by an entity during the period related to nonvested restricted stock.No authoritative reference available.true862vlo_UndistributedEarningsLossvlofalsedebitdurationThe remaining earnings allocable to common stock and participating securities to the extent each security may share in...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse264000000264falsefalsefalse2falsetruefalsefalse-427000000-427falsefalsefalse3falsetruefalsefalse636000000636falsefalsefalse4falsetruefalsefalse-409000000-409falsefalsefalsexbrli:monetaryItemTypemonetaryThe remaining earnings allocable to common stock and participating securities to the extent each security may share in earnings as if all of the earnings for the perod had been distributed (260-10-45-60B).No authoritative reference available.true872us-gaap_WeightedAverageNumberOfSharesOutstandingBasicus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse564000000564falsefalsefalse2falsetruefalsefalse561000000561falsefalsefalse3falsetruefalsefalse563000000563falsefalsefalse4falsetruefalsefalse534000000534falsefalsefalsexbrli:sharesItemTypesharesNumber of [basic] shares, after adjustment for contingently issuable shares and other shares not deemed outstanding, determined by relating the portion of time within a reporting period that common shares have been outstanding to the total time in that period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 171
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 40
-Subparagraph a
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 8
false882us-gaap_EarningsPerShareBasicAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false892us-gaap_CommonStockDividendsPerShareCashPaidus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabeltrue1truetruefalsefalse0.050.05falsefalsefalse2truetruefalsefalse0.150.15falsefalsefalse3truetruefalsefalse0.150.15falsefalsefalse4truetruefalsefalse0.450.45falsefalsefalseus-types:perShareItemTypedecimalAggregate dividends paid during the period for each share of common stock outstanding.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
false902vlo_UndistributedEarningsLossPerCommonSharevlofalsenadurationUndistributed earnings (loss) per common share.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabeltrue1truetruefalsefalse0.470.47falsefalsefalse2truetruefalsefalse-0.76-0.76falsefalsefalse3truetruefalsefalse1.121.12falsefalsefalse4truetruefalsefalse-0.77-0.77falsefalsefalseus-types:perShareItemTypedecimalUndistributed earnings (loss) per common share.No authoritative reference available.true912us-gaap_IncomeLossFromContinuingOperationsPerBasicShareus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabeltrue1truetruefalsefalse0.520.52falsefalsefalse2truetruefalsefalse-0.61-0.61falsefalsefalse3truetruefalsefalse1.271.27falsefalsefalse4truetruefalsefalse-0.32-0.32falsefalsefalseus-types:perShareItemTypedecimalThe amount of income (loss) from continuing operations per each share of common stock outstanding during the reporting period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 21
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 36, 37, 38
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 20
-Article 5
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 18
-Article 7
false922us-gaap_IncomeLossFromContinuingOperationsus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1truetruefalsefalse292000000292falsefalsefalse2truetruefalsefalse-343000000-343falsefalsefalse3truetruefalsefalse721000000721falsefalsefalse4truetruefalsefalse-170000000-170falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the income or loss from continuing operations attributable to the reporting entity which may also be defined as revenue less expenses and taxes from ongoing operations before extraordinary items and cumulative effects of changes in accounting principles, but after deduction of those portions of income or loss from continuing operations that are allocable to noncontrolling interests, if any.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 29
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 28
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 51
-Paragraph 38
-Subparagraph b(1)
false932us-gaap_WeightedAverageNumberOfSharesOutstandingBasicus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse564000000564falsefalsefalse2falsetruefalsefalse561000000561falsefalsefalse3falsetruefalsefalse563000000563falsefalsefalse4falsetruefalsefalse534000000534falsefalsefalsexbrli:sharesItemTypesharesNumber of [basic] shares, after adjustment for contingently issuable shares and other shares not deemed outstanding, determined by relating the portion of time within a reporting period that common shares have been outstanding to the total time in that period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 171
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 40
-Subparagraph a
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 8
false942us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsefalsefalsefalse00falsefalsefalse4falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false952us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangementsus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse30000003falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse30000003falsefalsefalse4falsefalsefalsefalse00 falsefalsefalsexbrli:sharesItemTypesharesAggregate awards of share options and nonvested shares to be issued to an employee under a share-based compensation arrangement are considered options for purposes of computing diluted earnings per share. Such share-based awards shall be considered to be outstanding as of the grant date for purposes of computing diluted earnings per share even though their exercise may be contingent upon vesting. Those share-based awards are included in the diluted Earnings Per Share (EPS) computation even if the employee may not receive (or be able to sell) the stock until some future date. Accordingly, all shares to be issued shall be included in computing diluted EPS if the effect is dilutive. The dilutive effect of share-based compensation arrangements shall be computed using the treasury stock method. If the equity share options or other equity instruments are outstanding for only part of a period, the shares issuable shall be weighted to reflect the portion of the period during which the equity instruments were outstanding.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 20
false962vlo_IncrementalCommonSharesAttributableToPerformanceAwardsAndUnvestedRestrictedStockvlofalsenadurationIncremental Common Shares Attributable To Performance Awards And Unvested Restricted Stock.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse10000001falsefalsefalse2falsefalsefalsefalse00falsefalsefalse3falsetruefalsefalse10000001falsefalsefalse4falsefalsefalsefalse00 falsefalsefalsexbrli:sharesItemTypesharesIncremental Common Shares Attributable To Performance Awards And Unvested Restricted Stock.No authoritative reference available.true972us-gaap_WeightedAverageNumberOfDilutedSharesOutstandingus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse568000000568falsefalsefalse2falsetruefalsefalse561000000561falsefalsefalse3falsetruefalsefalse567000000567falsefalsefalse4falsetruefalsefalse534000000534falsefalsefalsexbrli:sharesItemTypesharesThe average number of shares issued and outstanding that are used in calculating diluted EPS, determined based on the timing of issuance of shares in the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 40
-Subparagraph a
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 8
false982us-gaap_IncomeLossFromContinuingOperationsPerDilutedShareus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabeltrue1truetruefalsefalse0.510.51falsefalsefalse2truetruefalsefalse-0.61-0.61falsefalsefalse3truetruefalsefalse1.271.27falsefalsefalse4truetruefalsefalse-0.32-0.32falsefalsefalseus-types:perShareItemTypedecimalThe amount of income (loss) from continuing operations available to each share of common stock outstanding during the reporting period and each share that would have been outstanding assuming the issuance of common shares for all dilutive potential common shares outstanding during the reporting period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 21
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 11, 12, 36, 37, 38
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 40
-Subparagraph a
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 20
-Article 5
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 18
-Article 7
false443falseMillionsMillionsNoRoundingfalsetrue