XML 13 R1.htm IDEA: XBRL DOCUMENT v3.7.0.1
Document and Entity Information Document - shares
6 Months Ended
Jun. 30, 2017
Jul. 15, 2017
Document and Entity Information [Abstract]    
Entity Registrant Name GRAYBAR ELECTRIC CO INC  
Entity Central Index Key 0000205402  
Current Fiscal Year End Date --12-31  
Entity Filer Category Non-accelerated Filer  
Document Type 10-Q  
Document Period End Date Jun. 30, 2017  
Document Fiscal Year Focus 2017  
Document Fiscal Period Focus Q2  
Amendment Flag false  
Entity Common Stock, Shares Outstanding   17,679,874