XML 11 R1.htm IDEA: XBRL DOCUMENT v3.22.2
Document and Entity Information - shares
6 Months Ended
Jun. 30, 2022
Jul. 22, 2022
Cover [Abstract]    
Document type 10-Q  
Document quarterly report true  
Document period end date Jun. 30, 2022  
Document transition report false  
Entity file number 001-13175  
Entity registrant name VALERO ENERGY CORP/TX  
Entity incorporation, state or country code DE  
Entity tax identification number 74-1828067  
Entity address, address line one One Valero Way  
Entity address, city or town San Antonio  
Entity address, state or province TX  
Entity address, postal zip code 78249  
City area code 210  
Local phone number 345-2000  
Title of 12(b) security Common stock  
Trading symbol VLO  
Security exchange name NYSE  
Entity current reporting status Yes  
Entity interactive data current Yes  
Entity filer category Large Accelerated Filer  
Entity small business false  
Entity emerging growth company false  
Entity shell company false  
Entity common stock, shares outstanding   393,970,342
Entity central index key 0001035002  
Amendment flag false  
Document fiscal year focus 2022  
Document fiscal period focus Q2  
Current fiscal year end date --12-31