XML 71 R58.htm IDEA: XBRL DOCUMENT
v3.22.4

Convertible Senior Notes, Net - Narrative (Details) $ / shares in Units, shares in Thousands, $ in Millions | 12 Months Ended |  |
--- | --- | --- | ---
Jan. 31, 2023 USD ($) tradingDay $ / shares shares | Jan. 31, 2022 shares | Jan. 31, 2021 shares | Mar. 01, 2020 | Feb. 28, 2018
Debt Instrument [Line Items] |  |  |  |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 28,819 | 27,573 | 25,156 |  |
Convertible debt securities |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 0 | 356 | 832 |  |
2023 Notes |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Number of shares available for purchase | 100 |  |  |  |
Limitation on sale of common stock, sale price threshold, number of trading days | tradingDay | 80 |  |  |  |
Per share value, shares issuable under warrants granted (in dollars per share) | $ / shares | $ 68.06 |  |  |  |
Number of warrants outstanding (in shares) | 1,000 |  |  |  |
2025 Notes |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Initial cap price (in dollars per share) | $ / shares | $ 255.88 |  |  |  |
2025 Notes | Convertible debt securities |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 6,000 |  |  |  |
2026 Notes |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Redemption price percentage | 130.00% |  |  |  |
Initial cap price (in dollars per share) | $ / shares | $ 360.14 |  |  |  |
2026 Notes | Convertible debt securities |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Antidilutive securities excluded from computation of earnings per share (in shares) | 5,000 |  |  |  |
Senior Notes | 2023 Notes |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Fixed interest rate |  |  |  |  | 0.25%
Initial conversion rate of common stock | 0.0206795 |  |  |  |
Conversion price (in dollars per share) | $ / shares | $ 48.36 |  |  |  |
Debt conversion, original debt amount | $ | $ 17 |  |  |  |
Effective interest rate | 0.85% | 5.68% | 5.68% |  |
Hedge exercised, underlying debt instrument amount | $ | $ 12 |  |  |  |
Senior Notes | 2025 Notes |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Fixed interest rate |  |  |  | 0.125% |
Initial conversion rate of common stock | 0.0052991 |  |  |  |
Conversion price (in dollars per share) | $ / shares | $ 188.71 |  |  |  |
Effective interest rate | 0.43% | 4.10% | 4.10% |  |
Limit within threshold of consecutive trading days | tradingDay | 20 |  |  |  |
Limitation on sale of common stock, sale price threshold, trading period | tradingDay | 30 |  |  |  |
Sales price as a percentage of conversion price | 130.00% |  |  |  |
Number of consecutive business days | tradingDay | 5 |  |  |  |
Percentage of closing sale price in excess of convertible notes | 98.00% |  |  |  |
Redemption price percentage | 100.00% |  |  |  |
Senior Notes | 2026 Notes |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Fixed interest rate | 0.375% |  |  |  |
Initial conversion rate of common stock | 0.0041912 |  |  |  |
Conversion price (in dollars per share) | $ / shares | $ 238.60 |  |  |  |
Effective interest rate | 0.60% | 5.75% | 5.75% |  |
Limit within threshold of consecutive trading days | tradingDay | 20 |  |  |  |
Limitation on sale of common stock, sale price threshold, trading period | tradingDay | 30 |  |  |  |
Sales price as a percentage of conversion price | 130.00% |  |  |  |
Number of consecutive business days | tradingDay | 5 |  |  |  |
Percentage of closing sale price in excess of convertible notes | 98.00% |  |  |  |
Redemption price percentage | 100.00% |  |  |  |
Class A Common Stock | Senior Notes | 2023 Notes |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Shares issued to settle debt | 400 |  |  |  |
Hedge exercised, number of shares received | 100 |  |  |  |

X
- Definition Debt Instrument, Convertible, Limit Within Threshold Of Consecutive Trading Days + References No definition available. + Details
Name: | okta_DebtInstrumentConvertibleLimitWithinThresholdOfConsecutiveTradingDays
Namespace Prefix: | okta_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Convertible, Period After Consecutive Trading Days + References No definition available. + Details
Name: | okta_DebtInstrumentConvertiblePeriodAfterConsecutiveTradingDays
Namespace Prefix: | okta_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Redemption, Sales Price as a Percentage of Conversion Price + References No definition available. + Details
Name: | okta_DebtInstrumentRedemptionSalesPriceasaPercentageofConversionPrice
Namespace Prefix: | okta_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Derivative Instrument, Hedge Exercised, Shares Received on Transaction + References No definition available. + Details
Name: | okta_DerivativeInstrumentHedgeExercisedSharesReceivedOnTransaction
Namespace Prefix: | okta_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Derivative Instrument, Hedge Exercised, Underlying Debt Instrument Amount + References No definition available. + Details
Name: | okta_DerivativeInstrumentHedgeExercisedUnderlyingDebtInstrumentAmount
Namespace Prefix: | okta_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Derivative Instrument, Number Of Shares Available For Purchase + References No definition available. + Details
Name: | okta_DerivativeInstrumentNumberOfSharesAvailableForPurchase
Namespace Prefix: | okta_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Initial Cap Price per Share, Capped Calls + References No definition available. + Details
Name: | okta_InitialCapPriceperShareCappedCalls
Namespace Prefix: | okta_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage Of Closing Sale Price In Excess Of Convertible Notes + References No definition available. + Details
Name: | okta_PercentageOfClosingSalePriceInExcessOfConvertibleNotes
Namespace Prefix: | okta_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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 -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257 + Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of warrants or rights outstanding. + References No definition available. + Details
Name: | us-gaap_ClassOfWarrantOrRightOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of shares issued in exchange for the original debt being converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or payments in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586 + Details
Name: | us-gaap_DebtConversionConvertedInstrumentSharesIssued1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of the original debt being converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586 + Details
Name: | us-gaap_DebtConversionOriginalDebtAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 https://asc.fasb.org/extlink&oid=123466204&loc=SL6031898-161870 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionPrice1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Ratio applied to the conversion of debt instrument into equity with equity shares divided by debt principal amount. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21521-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21506-112644 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(5)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionRatio1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Threshold period of specified consecutive trading days within which common stock price to conversion price of convertible debt instrument must exceed threshold percentage for specified number of trading days to trigger conversion feature. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Threshold number of specified trading days that common stock price to conversion price of convertible debt instruments must exceed threshold percentage within a specified consecutive trading period to trigger conversion feature. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentConvertibleThresholdTradingDays
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 6 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466204&loc=SL6036836-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateEffectivePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
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
- Definition Percentage price of original principal amount of debt at which debt can be redeemed by the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph e -URI https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentRedemptionPricePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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_LongtermDebtTypeAxis=us-gaap_SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |