XML 17 R1.htm IDEA: XBRL DOCUMENT v3.20.2
Document And Entity Information - shares
9 Months Ended
Sep. 30, 2020
Nov. 02, 2020
Document And Entity Information    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Sep. 30, 2020  
Document Transition Report false  
Entity File Number 001-32834  
Entity Registrant Name United States Oil Fund, LP  
Entity Incorporation, State or Country Code DE  
Entity Tax Identification Number 20-2830691  
Entity Address, Address Line One 1850 Mt. Diablo Boulevard, Suite 640  
Entity Address, City or Town Walnut Creek  
Entity Address, State or Province CA  
Entity Address, Postal Zip Code 94596  
City Area Code 510  
Local Phone Number 522-9600  
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  
Title of 12(b) Security Shares of United States Oil Fund, LP  
Security Exchange Name NYSEArca  
Trading Symbol USO  
Entity Common Stock, Shares Outstanding   131,523,603
Entity Central Index Key 0001327068  
Current Fiscal Year End Date --12-31  
Document Fiscal Year Focus 2020  
Document Fiscal Period Focus Q3  
Amendment Flag false