v3.19.1
Document and Entity Information
3 Months Ended
Apr. 30, 2019
shares
Entity Information [Line Items]  
Document Type 10-Q
Document Period End Date Apr. 30, 2019
Amendment Flag false
Entity Registrant Name Okta, Inc.
Entity Central Index Key 0001660134
Current Fiscal Year End Date --01-31
Entity Filer Category Large Accelerated Filer
Document Fiscal Year Focus 2020
Document Period Focus Q1
Smaller Reporting Company false
Emerging Growth Company false
Class A Common Stock  
Entity Information [Line Items]  
Entity Common Stock, Shares Outstanding 103,939,987
Class B Common Stock  
Entity Information [Line Items]  
Entity Common Stock, Shares Outstanding 10,199,085