XML 11 R1.htm IDEA: XBRL DOCUMENT v3.8.0.1
DOCUMENT AND ENTITY INFORMATION - shares
9 Months Ended
Feb. 28, 2018
Mar. 15, 2018
Document And Entity Information [Abstract]    
Document Type 10-Q  
Amendment Flag false  
Document Period End Date Feb. 28, 2018  
Document Fiscal Period Focus Q3  
Document Fiscal Year Focus 2018  
Trading Symbol ORCL  
Entity Registrant Name Oracle Corporation  
Entity Central Index Key 0001341439  
Current Fiscal Year End Date --05-31  
Entity Filer Category Large Accelerated Filer  
Entity Common Stock, Shares Outstanding (in shares)   4,082,313,000