XML 78 R65.htm IDEA: XBRL DOCUMENT
v3.22.4

Common Stock and Stockholders' Equity - Narrative (Details) $ in Millions | 12 Months Ended
--- | ---
Jan. 31, 2023 USD ($) vote shares | Jan. 31, 2022 USD ($) shares | Jan. 31, 2021 USD ($) shares
Class of Stock [Line Items] |  |  |
Non-cash charitable contributions | $ | $ 4 | $ 7 | $ 9
Class A Common Stock |  |  |
Class of Stock [Line Items] |  |  |
Number of votes per share | vote | 1 |  |
Number of shares issued upon conversion | 1 |  |
Class A Common Stock | Contribution of nonmonetary assets to charitable organization |  |  |
Class of Stock [Line Items] |  |  |
Issuance of common stock pursuant to charitable donation (in shares) | shares | 41,250 | 30,000 | 42,500
Non-cash charitable contributions | $ | $ 4 | $ 7 | $ 9
Class B Common Stock |  |  |
Class of Stock [Line Items] |  |  |
Number of votes per share | vote | 10 |  |

X
- Definition Common Stock, Shares Issued upon Conversion + References No definition available. + Details
Name: | okta_CommonStockSharesIssuedUponConversion
Namespace Prefix: | okta_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Common Stock, Voting Rights, Number Of Votes Equivalent + References No definition available. + Details
Name: | okta_CommonStockVotingRightsNumberOfVotesEquivalent
Namespace Prefix: | okta_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Stock Issued During Period, Shares, New Issues, Charitable Contribution + References No definition available. + Details
Name: | okta_StockIssuedDuringPeriodSharesNewIssuesCharitableContribution
Namespace Prefix: | okta_
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_ClassOfStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Noncash charitable contributions made by the entity during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_NoncashContributionExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Details
Name: | us-gaap_NonmonetaryTransactionTypeAxis=us-gaap_ContributionOfNonmonetaryAssetsToCharitableOrganizationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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