XML 12 R1.htm IDEA: XBRL DOCUMENT v3.22.2
Document and Entity Information - shares
6 Months Ended
Jun. 30, 2022
Jul. 31, 2022
Document and Entity Information [Abstract]    
Document Type 10-Q  
Document Quarterly Report true  
Current Fiscal Year End Date --12-31  
Document Period End Date Jun. 30, 2022  
Document Transition Report false  
Entity File Number 000-00255  
Entity Registrant Name GRAYBAR ELECTRIC COMPANY, INC.  
Entity Incorporation, State or Country Code NY  
Entity Tax Identification Number 13-0794380  
Entity Address, Address Line One 34 North Meramec Avenue  
Entity Address, City or Town St. Louis  
Entity Address, State or Province MO  
Entity Address, Postal Zip Code 63105  
City Area Code 314  
Local Phone Number 573 - 9200  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Non-accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding   23,098,344
Document Fiscal Year Focus 2022  
Document Fiscal Period Focus Q2  
Amendment Flag false  
Entity Central Index Key 0000205402