XML 54 R45.htm IDEA: XBRL DOCUMENT
v3.23.2

Net Loss Per Share - Schedule of Potentially Dilutive Securities Excluded from Computation of Diluted Per Share (Details) - shares shares in Thousands | 6 Months Ended
--- | ---
Jul. 31, 2023 | Jul. 31, 2022
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 25,405 | 29,106
Issued and outstanding stock options |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 5,668 | 7,264
Unvested RSUs issued and outstanding |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 11,340 | 8,648
Unvested market-based RSUs issued and outstanding |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 475 | 116
Unvested RSAs issued and outstanding |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 422 | 859
Shares committed under the ESPP |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 415 | 626
Shares related to convertible senior notes | 2023 convertible senior notes |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 0 | 108
Shares related to convertible senior notes | 2025 Notes |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 2,925 | 5,617
Shares related to convertible senior notes | 2026 Notes |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 3,806 | 4,820
Shares subject to warrants related to the issuance of the 2023 Notes |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 354 | 1,048

X
- Definition Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482662/260-10-50-1 + Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

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_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_EmployeeStockOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_RestrictedStockUnitsRSUMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=okta_MarketBasedRSUsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_RestrictedStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_ConvertibleDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=okta_ConvertibleSeniorNotesDue2023Member
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: |

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

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_WarrantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |