XML 43 R34.htm IDEA: XBRL DOCUMENT
v3.23.2

Deferred Commissions (Details) - USD ($) $ in Millions | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jul. 31, 2023 | Jul. 31, 2022 | Jul. 31, 2023 | Jul. 31, 2022
Revenue from Contract with Customer [Abstract] |  |  |  |
Sales commissions capitalized as contract costs | $ 40 | $ 28 | $ 65 | $ 49
Amortization of contract costs | $ 26 | $ 21 | $ 49 | $ 40

X
- Definition Capitalized Contract Costs, Additions + References No definition available. + Details
Name: | okta_CapitalizedContractCostsAdditions
Namespace Prefix: | okta_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of amortization expense for asset recognized from cost incurred to obtain or fulfill contract with customer. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 340 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479483/340-40-50-3 + Details
Name: | us-gaap_CapitalizedContractCostAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_RevenueFromContractWithCustomerAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration