XML 64 R50.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Employee Incentive Plans - Schedule of Common Stock Reserved for Future Issuance (Details) | Jul. 31, 2018 shares
--- | ---
Class of Stock [Line Items] |
Common stock reserved for future issuance and options and unvested RSUs outstanding (in shares) | 41,289,127
Stock Options And Restricted Stock Units |
Class of Stock [Line Items] |
Stock options and unvested RSUs outstanding (in shares) | 25,789,276
Common stock, reserved for future issuance (in shares) | 12,464,154
ESPP |
Class of Stock [Line Items] |
Common stock, reserved for future issuance (in shares) | 3,035,697

X
- Definition Common Stock, Capital Shares Reserved For Future Issuance And Share-Based Compensation Arrangement By Share-Based Payment Award, Outstanding, Number + References No definition available. + Details
Name: | okta_CommonStockCapitalSharesReservedForFutureIssuanceAndShareBasedCompensationArrangementByShareBasedPaymentAwardOutstandingNumber
Namespace Prefix: | okta_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share-Based Compensation Arrangement By Share-Based Payment Award, Equity Instruments, Outstanding, Number + References No definition available. + Details
Name: | okta_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOutstandingNumber
Namespace Prefix: | okta_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ClassOfStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Aggregate number of common shares reserved for future issuance. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.29) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockCapitalSharesReservedForFutureIssuance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_AwardTypeAxis=okta_StockOptionsAndRestrictedStockUnitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |