XML 18 R1.htm IDEA: XBRL DOCUMENT v3.20.4
Document And Entity Information - USD ($)
12 Months Ended
Dec. 31, 2020
Feb. 10, 2021
Jun. 30, 2020
Document And Entity Information      
Document Type 10-K    
Document Annual Report true    
Document Period End Date Dec. 31, 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 Well-known Seasoned Issuer No    
Entity Voluntary Filers No    
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    
Entity Public Float     $ 4,678,264,300
Title of 12(b) Security Shares of United States Oil Fund, LP    
Security Exchange Name NYSEArca    
Trading Symbol USO    
Entity Common Stock, Shares Outstanding   88,423,603  
Entity Central Index Key 0001327068    
Current Fiscal Year End Date --12-31    
Document Fiscal Year Focus 2020    
Document Fiscal Period Focus FY    
Amendment Flag false    
ICFR Auditor Attestation Flag true