XML 12 R1.htm IDEA: XBRL DOCUMENT v3.7.0.1
Document and Entity Information - shares
9 Months Ended
Apr. 30, 2017
May 24, 2017
Document and Entity Information [Abstract]    
Entity Registrant Name COPART INC  
Entity Central Index Key 0000900075  
Current Fiscal Year End Date --07-31  
Entity Filer Category Large Accelerated Filer  
Document Type 10-Q  
Document Period End Date Apr. 30, 2017  
Document Fiscal Year Focus 2017  
Document Fiscal Period Focus (i.e. Q1,Q2,Q3,FY) Q3  
Amendment Flag false  
Entity Common Stock, Shares Outstanding   230,331,226