XML 42 R28.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Accounting Standards and Significant Accounting Policies - Narrative (Details) - USD ($) | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | ---
Jul. 31, 2018 | Jul. 31, 2017 | Jul. 31, 2018 | Jul. 31, 2017 | Jan. 31, 2018
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |  |  |  |
Capitalized contract cost, amortization period |  |  | 5 years |  |
Sales commissions capitalized as contract costs | $ 8,500,000 | $ 5,300,000 | $ 14,200,000 | $ 9,500,000 |
Amortization of capitalized contract costs | 5,000,000 | 3,700,000 | 9,600,000 | 7,000,000 |
Capitalized contract cost, impairment loss | $ 0 | $ 0 | $ 0 | $ 0 |
Minimum |  |  |  |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |  |  |  |
Contract duration |  |  | 1 year |  |
Maximum |  |  |  |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |  |  |  |
Contract duration |  |  | 5 years |  |
Calculated under Revenue Guidance in Effect before Topic 606 | Minimum |  |  |  |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |  |  |  |
Capitalized contract cost, amortization period |  |  |  |  | 1 year
Calculated under Revenue Guidance in Effect before Topic 606 | Maximum |  |  |  |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |  |  |  |
Capitalized contract cost, amortization period |  |  |  |  | 3 years

X
- Definition Capitalized Contract Cost, Amortization Period + References No definition available. + Details
Name: | okta_CapitalizedContractCostAmortizationPeriod
Namespace Prefix: | okta_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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 Revenue From Contract With Customer, Contract Duration + References No definition available. + Details
Name: | okta_RevenueFromContractWithCustomerContractDuration
Namespace Prefix: | okta_
Data Type: | xbrli:durationItemType
Balance Type: | na
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/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 340 -SubTopic 40 -Section 50 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=68051541&loc=SL49131252-203054 + Details
Name: | us-gaap_CapitalizedContractCostAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of impairment loss for asset recognized from cost incurred to obtain or fulfill contract with customer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 340 -SubTopic 40 -Section 50 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=68051541&loc=SL49131252-203054 + Details
Name: | us-gaap_CapitalizedContractCostImpairmentLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis=us-gaap_CalculatedUnderRevenueGuidanceInEffectBeforeTopic606Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |