XML 12 R1.htm IDEA: XBRL DOCUMENT v3.19.2
Document And Entity Information - shares
6 Months Ended
Jun. 30, 2019
Jul. 31, 2019
Document And Entity Information [Abstract]    
Entity Registrant Name CAI International, Inc.  
Entity Filer Category Accelerated Filer  
Entity Central Index Key 0001388430  
Amendment Flag false  
Document Type 10-Q  
Document Fiscal Period Focus Q2  
Trading Symbol cai  
Document Period End Date Jun. 30, 2019  
Document Fiscal Year Focus 2019  
Current Fiscal Year End Date --12-31  
Entity Common Stock, Shares Outstanding   17,419,585
Entity Emerging Growth Company false  
Entity Small Business false  
Entity File Number 001-33388  
Entity Address, Address Line One Steuart Tower, 1 Market Plaza, Suite 900  
Entity Address, City or Town San Francisco  
Entity Address, Postal Zip Code 94105  
Entity Address, State or Province CA  
City Area Code 415  
Local Phone Number 788-0100