XML 67 R84.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Net Loss Per Share Narrative (Details) - $ / shares | Jan. 31, 2020 | Feb. 28, 2018
--- | --- | ---
Convertible Senior Notes Due 2023 |  |
Debt Instrument [Line Items] |  |
Class of warrant or right, exercise price of warrants or rights |  | $ 68.06
Convertible Senior Notes Due 2023 | Senior Notes |  |
Debt Instrument [Line Items] |  |
Conversion price (in dollars per share) |  | $ 48.36
Convertible Senior Notes Due 2025 | Senior Notes |  |
Debt Instrument [Line Items] |  |
Conversion price (in dollars per share) | $ 188.71 |

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)(4)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The price per share of the conversion feature embedded in the debt instrument. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109500613&loc=SL6031898-161870 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionPrice1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
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_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=okta_ConvertibleSeniorNotesDue2023Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=okta_ConvertibleSeniorNotesDue2025Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |