OKTA


Line plots across dimensions of each concept
Line plots across concepts
Tables

Table of contents


us-gaap:StatementClassOfStock
us-gaap:CommonStockValue
us-gaap:StatementClassOfStock
us-gaap:CommonStockSharesIssued
us-gaap:StatementClassOfStock
us-gaap:CommonStockSharesAuthorized
us-gaap:StatementClassOfStock
us-gaap:CommonStockSharesOutstanding

us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding
us-gaap:StatementClassOfStock

us-gaap:WeightedAverageNumberOfSharesOutstandingBasic
us-gaap:StatementClassOfStock

us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted
us-gaap:StatementClassOfStock

us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecurities
us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecurities, us-gaap:DebtInstrument

us-gaap:EarningsPerShareBasic
us-gaap:StatementClassOfStock

us-gaap:EarningsPerShareDiluted
us-gaap:StatementClassOfStock

us-gaap:EarningsPerShareBasicAndDiluted
us-gaap:StatementClassOfStock

us-gaap:AllocatedShareBasedCompensationExpense
us-gaap:IncomeStatementLocation

us-gaap:ComprehensiveIncomeNetOfTax

us-gaap:CostOfGoodsAndServicesSold
us-gaap:ProductOrService

us-gaap:GainsLossesOnExtinguishmentOfDebt
us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:GeneralAndAdministrativeExpense

us-gaap:GrossProfit

us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest

us-gaap:IncomeTaxExpenseBenefit

us-gaap:IncomeTaxesPaid

us-gaap:InterestExpense
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:InterestExpenseDebt

us-gaap:InterestPaidNet

us-gaap:NetIncomeLoss
us-gaap:StatementClassOfStock
us-gaap:StatementEquityComponents

us-gaap:OperatingExpenses

us-gaap:OperatingIncomeLoss

us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax

us-gaap:OtherComprehensiveIncomeLossNetOfTax

us-gaap:OtherNonoperatingIncomeExpense

us-gaap:ResearchAndDevelopmentExpense

us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax
us-gaap:ProductOrService

us-gaap:SellingAndMarketingExpense

us-gaap:Assets

us-gaap:Liabilities

us-gaap:LiabilitiesAndStockholdersEquity

us-gaap:StockholdersEquity
us-gaap:StatementClassOfStock, us-gaap:StatementEquityComponents
us-gaap:StatementEquityComponents

us-gaap:AssetsCurrent

us-gaap:CashAndCashEquivalentsAtCarryingValue

us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents

us-gaap:ShortTermInvestments

us-gaap:AccountsReceivableNetCurrent

us-gaap:PrepaidExpenseAndOtherAssetsCurrent

us-gaap:PropertyPlantAndEquipmentGross
us-gaap:PropertyPlantAndEquipmentByType

us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment

us-gaap:AmortizationOfIntangibleAssets

us-gaap:PropertyPlantAndEquipmentNet

us-gaap:Goodwill
us-gaap:BusinessAcquisition

us-gaap:IntangibleAssetsNetExcludingGoodwill

us-gaap:FiniteLivedIntangibleAssetsNet
us-gaap:BusinessAcquisition
us-gaap:FiniteLivedIntangibleAssetsByMajorClass

us-gaap:DeferredTaxAssetsLiabilitiesNet

us-gaap:OperatingLeaseRightOfUseAsset

us-gaap:OtherAssetsNoncurrent

us-gaap:AccountsPayableCurrent

us-gaap:AccruedIncomeTaxesCurrent

us-gaap:AccruedLiabilitiesCurrent

us-gaap:ContractWithCustomerLiabilityCurrent

us-gaap:LiabilitiesCurrent

us-gaap:OperatingLeaseLiabilityCurrent

us-gaap:OtherLiabilitiesCurrent
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:LongTermDebt

us-gaap:DeferredIncomeTaxLiabilitiesNet

us-gaap:OtherLiabilitiesNoncurrent

us-gaap:OperatingLeaseLiabilityNoncurrent

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueYearTwo

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueYearThree

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueYearFour

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueYearFive

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive

us-gaap:OperatingLeaseLiability

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDue

us-gaap:LesseeOperatingLeaseLiabilityUndiscountedExcessAmount

us-gaap:StockholdersEquity
us-gaap:StatementClassOfStock, us-gaap:StatementEquityComponents
us-gaap:StatementEquityComponents
us-gaap:StatementClassOfStock
us-gaap:CommonStockValue

us-gaap:AdditionalPaidInCapital

us-gaap:RetainedEarningsAccumulatedDeficit

us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax
us-gaap:StatementEquityComponents
us-gaap:AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue

us-gaap:NetCashProvidedByUsedInOperatingActivities

us-gaap:NetCashProvidedByUsedInInvestingActivities

us-gaap:NetCashProvidedByUsedInFinancingActivities

us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:AmortizationOfFinancingCosts

us-gaap:IncreaseDecreaseInAccountsPayable

us-gaap:IncreaseDecreaseInAccountsReceivable

us-gaap:NetCashProvidedByUsedInOperatingActivities

us-gaap:NetIncomeLoss
us-gaap:StatementClassOfStock
us-gaap:StatementEquityComponents

us-gaap:ShareBasedCompensation

us-gaap:NetCashProvidedByUsedInInvestingActivities

us-gaap:PaymentsToAcquirePropertyPlantAndEquipment

us-gaap:NetCashProvidedByUsedInFinancingActivities
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:DebtInstrumentInterestRateStatedPercentage

us-gaap:EffectiveIncomeTaxRateContinuingOperations

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
us-gaap:PlanName, us-gaap:StatementClassOfStock

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice
us-gaap:AwardType, us-gaap:BusinessAcquisition
us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod

us-gaap:DeferredTaxAssetsNet

us-gaap:UnrecognizedTaxBenefits

us-gaap:DeferredTaxAssetsValuationAllowance
us-gaap:StatementEquityComponents
okta:AdjustmentsToAdditionalPaidInCapitalPurchaseOfConvertibleNoteWarrants
us-gaap:StatementEquityComponents
okta:AdjustmentstoAdditionalPaidinCapitalPurchaseofCappedCallsforConvertibleNoteHedges
us-gaap:BusinessAcquisition
okta:BusinessAcquisitionEquityInterestIssuedOrIssuableHeldBackNumberOfShares
us-gaap:BusinessAcquisition
okta:BusinessCombinationConsiderationTransferredLiabilitiesIncurredCashHeldBack
us-gaap:BusinessAcquisition
okta:BusinessCombinationConsiderationTransferredLiabilitiesIncurredEquityInterestsIssuedAndIssuableHeldBack
us-gaap:AwardType, us-gaap:BusinessAcquisition
okta:BusinessCombinationReplacementEquityAwardsTotalIssuedFairValue

okta:CapitalizedContractCostsAdditions
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
okta:DebtInstrumentConvertiblePeriodAfterConsecutiveTradingDays

okta:DepreciationAmortizationandAccretionExcludingAmortizationofDeferredSalesCommissions
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
okta:DerivativeInstrumentHedgeExercisedConsiderationReceivedOnTransaction
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
okta:DerivativeInstrumentHedgeExercisedSharesReceivedOnTransaction

okta:IncreaseDecreaseInOperatingLeaseLiability

okta:IncreaseDecreaseInOperatingLeaseRightOfUseAssets
us-gaap:DebtInstrument
okta:InitialCapPriceperShareCappedCalls

okta:InterestExpenseandOtherNonoperatingIncomeExpense

okta:PaymentforCappedCallConvertibleDebt
us-gaap:DebtInstrument
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
okta:PercentageOfClosingSalePriceInExcessOfConvertibleNotes
us-gaap:StatementEquityComponents
okta:ProceedsfromTerminationofNoteHedges

okta:PropertyAndEquipmentAcquiredThroughTenantImprovementAllowances

okta:StockIssuedDuringPeriodValueNewIssuesCharitableContribution

okta:StockIssuedEarlyVestingOfExercisedOptions

okta:StockIssuedExecutiveBonusSettlement

okta:StockIssuedRepurchaseofConvertibleDebt

okta:StockRedeemedValueExerciseOfHedgesRelatedToConvertibleSeniorNotes
us-gaap:StatementEquityComponents
us-gaap:AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebt
us-gaap:StatementEquityComponents
us-gaap:AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:AmortizationOfDebtDiscountPremium

us-gaap:AmortizationOfDeferredSalesCommissions

us-gaap:AmortizationOfFinancingCostsAndDiscounts
us-gaap:BusinessAcquisition
us-gaap:BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued
us-gaap:BusinessAcquisition, us-gaap:SubsequentEventType
us-gaap:BusinessAcquisition
us-gaap:BusinessAcquisitionsProFormaNetIncomeLoss
us-gaap:BusinessAcquisition
us-gaap:BusinessAcquisitionsProFormaRevenue
us-gaap:BusinessAcquisition
us-gaap:BusinessCombinationAcquisitionRelatedCosts
us-gaap:BusinessAcquisition
us-gaap:BusinessCombinationConsiderationTransferred1
us-gaap:BusinessAcquisition, us-gaap:SubsequentEventType
us-gaap:AwardType, us-gaap:BusinessAcquisition
us-gaap:BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable
us-gaap:BusinessAcquisition, us-gaap:EquityInterestIssuedOrIssuableByType
us-gaap:BusinessAcquisition, us-gaap:SubsequentEventType
us-gaap:BusinessAcquisition
us-gaap:BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual
us-gaap:BusinessAcquisition
us-gaap:BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual

us-gaap:CapitalizedComputerSoftwareAdditions

us-gaap:CapitalizedContractCostAmortization

us-gaap:ContractWithCustomerLiabilityRevenueRecognized
us-gaap:DebtInstrument, us-gaap:LongtermDebtType, us-gaap:StatementClassOfStock
us-gaap:DebtConversionConvertedInstrumentSharesIssued1
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:DebtConversionOriginalDebtAmount1
us-gaap:DebtInstrument, us-gaap:LongtermDebtType, us-gaap:SubsequentEventType
us-gaap:StatementScenario, us-gaap:DebtInstrument, us-gaap:LongtermDebtType, us-gaap:SubsequentEventType
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:DebtInstrumentConvertibleConversionRatio1
us-gaap:DebtInstrument
us-gaap:DebtInstrumentConvertibleThresholdConsecutiveTradingDays1
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger
us-gaap:DebtInstrument
us-gaap:DebtInstrumentRedemptionPricePercentage
us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:DeferredIncomeTaxesAndTaxCredits

us-gaap:EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents

us-gaap:EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount
us-gaap:BusinessAcquisition
us-gaap:FinitelivedIntangibleAssetsAcquired1
us-gaap:BusinessAcquisition, us-gaap:FiniteLivedIntangibleAssetsByMajorClass
us-gaap:BusinessAcquisition
us-gaap:GoodwillAcquiredDuringPeriod

us-gaap:IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities

us-gaap:IncreaseDecreaseInContractWithCustomerLiability

us-gaap:IncreaseDecreaseInDeferredCompensation

us-gaap:IncreaseDecreaseInEmployeeRelatedLiabilities

us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:InterestExpenseDebtExcludingAmortization

us-gaap:NoncashContributionExpense

us-gaap:OperatingLeaseCost

us-gaap:OperatingLeaseImpairmentLoss

us-gaap:OperatingLeasePayments

us-gaap:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax
us-gaap:StatementEquityComponents
us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent

us-gaap:OtherNoncashIncomeExpense
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:PaymentsForHedgeFinancingActivities

us-gaap:PaymentsForRepurchaseOfWarrants

us-gaap:PaymentsForSoftware

us-gaap:PaymentsToAcquireAvailableForSaleSecuritiesDebt
us-gaap:BusinessAcquisition
us-gaap:PaymentsToAcquireBusinessesGross
us-gaap:BusinessAcquisition, us-gaap:SubsequentEventType

us-gaap:PaymentsToAcquireBusinessesNetOfCashAcquired

us-gaap:PaymentsToAcquireIntangibleAssets

us-gaap:ProceedsFromConvertibleDebt

us-gaap:ProceedsFromHedgeFinancingActivities
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:ProceedsFromIssuanceOfDebt

us-gaap:ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans
us-gaap:DebtInstrument
us-gaap:ProceedsFromIssuanceOfWarrants

us-gaap:ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities

us-gaap:ProceedsFromPaymentsForOtherFinancingActivities

us-gaap:ProceedsFromSaleOfAvailableForSaleSecuritiesDebt

us-gaap:ProceedsFromStockOptionsExercised

us-gaap:RepaymentsOfConvertibleDebt
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:RepaymentsOfDebt

us-gaap:RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability
us-gaap:AwardType
us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue
us-gaap:AwardType
us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
us-gaap:AwardType, us-gaap:BusinessAcquisition
us-gaap:AwardType
us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue
us-gaap:Range, us-gaap:AwardType
us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate
us-gaap:AwardType
us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum
us-gaap:AwardType
us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum
us-gaap:Range, us-gaap:AwardType
us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate
us-gaap:AwardType
us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum
us-gaap:AwardType
us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum
us-gaap:AwardType
us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod

us-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice

us-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice

us-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice
us-gaap:StatementEquityComponents
us-gaap:StockIssuedDuringPeriodValueAcquisitions
us-gaap:AwardType
us-gaap:StockIssuedDuringPeriodValueEmployeeStockPurchasePlan
us-gaap:StatementEquityComponents
us-gaap:StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures
us-gaap:StatementEquityComponents
us-gaap:StockIssuedDuringPeriodValueStockOptionsExercised
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:WriteOffOfDeferredDebtIssuanceCost
us-gaap:StatementClassOfStock
dei:EntityCommonStockSharesOutstanding

dei:EntityPublicFloat
us-gaap:BusinessAcquisition
okta:BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedOperatingLeaseLiabilityNoncurrent
us-gaap:BusinessAcquisition
okta:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedCompensation
us-gaap:BusinessAcquisition
okta:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAsset

okta:CommonStockCapitalSharesReservedForFutureIssuanceAndShareBasedCompensationArrangementByShareBasedPaymentAwardOutstandingNumber
us-gaap:BalanceSheetLocation, us-gaap:DebtInstrument, us-gaap:LongtermDebtType
okta:DebtInstrumentConvertibleCarryingAmountofEquityComponentNet
us-gaap:BalanceSheetLocation, us-gaap:DebtInstrument, us-gaap:LongtermDebtType
okta:DebtInstrumentConvertibleEquityComponentUnamortizedDiscountIssuanceCosts

okta:DeferredTaxAssetsDisallowedInterest

okta:DeferredTaxAssetsOperatingLeaseLiabilities

okta:DeferredTaxLiabilityConvertibleDebt

okta:DeferredTaxLiabilityOperatingLeaseRightOfUseAssets
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
okta:DerivativeInstrumentHedgeExercisedUnderlyingDebtInstrumentAmount
us-gaap:DebtInstrument
okta:DerivativeInstrumentNumberOfSharesAvailableForPurchase
us-gaap:BusinessAcquisition
okta:FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour

okta:LesseeOperatingLeaseLiabilityToBePaidDueAfterYearFour
us-gaap:AwardType
okta:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOutstandingNumber

okta:ShortTermInvestmentMaturitiesNotYetSettled

okta:ShortTermInvestmentPurchasesNotYetSettled

okta:UnrecognizedstockbasedcompensationexpensesrelatedtounvestedRSUs

us-gaap:AllowanceForDoubtfulAccountsReceivableCurrent
us-gaap:FairValueByFairValueHierarchyLevel, us-gaap:FairValueByMeasurementFrequency
us-gaap:AssetsFairValueDisclosure
us-gaap:FairValueByMeasurementFrequency

us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
us-gaap:BalanceSheetLocation
us-gaap:BalanceSheetLocation, us-gaap:FinancialInstrument
us-gaap:FinancialInstrument

us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
us-gaap:BalanceSheetLocation
us-gaap:BalanceSheetLocation, us-gaap:FinancialInstrument
us-gaap:FinancialInstrument

us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis
us-gaap:BalanceSheetLocation
us-gaap:BalanceSheetLocation, us-gaap:FinancialInstrument
us-gaap:FinancialInstrument
us-gaap:BalanceSheetLocation
us-gaap:AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost
us-gaap:BalanceSheetLocation
us-gaap:AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue
us-gaap:BalanceSheetLocation
us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost
us-gaap:BalanceSheetLocation
us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue

us-gaap:AvailableForSaleSecuritiesDebtSecurities
us-gaap:BalanceSheetLocation
us-gaap:BalanceSheetLocation, us-gaap:FinancialInstrument
us-gaap:FinancialInstrument
us-gaap:BusinessAcquisition, us-gaap:SubsequentEventType
us-gaap:BusinessAcquisitionSharePrice
us-gaap:BusinessAcquisition, us-gaap:SubsequentEventType
us-gaap:BusinessCombinationContingentConsiderationLiability
us-gaap:BusinessAcquisition
us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents
us-gaap:BusinessAcquisition
us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets
us-gaap:BusinessAcquisition
us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables
us-gaap:BusinessAcquisition
us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable
us-gaap:BusinessAcquisition
us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue
us-gaap:BusinessAcquisition
us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther
us-gaap:BusinessAcquisition
us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities
us-gaap:BusinessAcquisition
us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill
us-gaap:BusinessAcquisition
us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet
us-gaap:BusinessAcquisition
us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets
us-gaap:BusinessAcquisition
us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment
us-gaap:BusinessAcquisition, us-gaap:SubsequentEventType
us-gaap:BusinessCombinationSeparatelyRecognizedTransactionsLiabilitiesRecognized

us-gaap:CapitalizedContractCostNetCurrent

us-gaap:CapitalizedContractCostNetNoncurrent
us-gaap:CashAndCashEquivalents, us-gaap:FairValueByFairValueHierarchyLevel, us-gaap:FairValueByMeasurementFrequency
us-gaap:CashAndCashEquivalentsFairValueDisclosure
us-gaap:CashAndCashEquivalents, us-gaap:FairValueByMeasurementFrequency
us-gaap:FairValueByFairValueHierarchyLevel, us-gaap:FairValueByMeasurementFrequency
us-gaap:FairValueByMeasurementFrequency
us-gaap:DebtInstrument
us-gaap:ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
us-gaap:DebtInstrument
us-gaap:ClassOfWarrantOrRightOutstanding
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:AwardType
us-gaap:CommonStockCapitalSharesReservedForFutureIssuance

us-gaap:ContractWithCustomerLiabilityNoncurrent

us-gaap:ConvertibleDebtCurrent

us-gaap:ConvertibleDebtNoncurrent
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:DebtInstrumentCarryingAmount
us-gaap:BalanceSheetLocation, us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:DebtInstrumentConvertibleCarryingAmountOfTheEquityComponent
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:DebtInstrumentInterestRateEffectivePercentage
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:DebtInstrumentRepurchasedFaceAmount
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet

us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions
us-gaap:BusinessAcquisition
us-gaap:DeferredCompensationLiabilityClassifiedNoncurrent
us-gaap:BusinessAcquisition
us-gaap:DeferredCompensationLiabilityCurrentAndNoncurrent
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:DeferredFinanceCostsGross

us-gaap:DeferredIncomeTaxLiabilities

us-gaap:DeferredTaxAssetsDeferredIncome

us-gaap:DeferredTaxAssetsGross

us-gaap:DeferredTaxAssetsOperatingLossCarryforwards

us-gaap:DeferredTaxAssetsTaxCreditCarryforwards

us-gaap:DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost

us-gaap:DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals

us-gaap:DeferredTaxLiabilitiesDeferredExpenseCapitalizedSoftware

us-gaap:DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill

us-gaap:DeferredTaxLiabilitiesPropertyPlantAndEquipment

us-gaap:DeferredTaxLiabilitiesTaxDeferredIncome

us-gaap:EmployeeRelatedLiabilitiesCurrent
us-gaap:AwardType
us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions
us-gaap:AwardType, us-gaap:BusinessAcquisition

us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions

us-gaap:EquitySecuritiesWithoutReadilyDeterminableFairValueAmount

us-gaap:FiniteLivedIntangibleAssetsAccumulatedAmortization
us-gaap:FiniteLivedIntangibleAssetsByMajorClass

us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths
us-gaap:BusinessAcquisition
us-gaap:BusinessAcquisition
us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear

us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearFour
us-gaap:BusinessAcquisition

us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearThree
us-gaap:BusinessAcquisition

us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo
us-gaap:BusinessAcquisition

us-gaap:FiniteLivedIntangibleAssetsGross
us-gaap:FiniteLivedIntangibleAssetsByMajorClass

us-gaap:InterestReceivableCurrent
us-gaap:FairValueByFairValueHierarchyLevel, us-gaap:FairValueByMeasurementFrequency
us-gaap:InvestmentsFairValueDisclosure
us-gaap:FairValueByFairValueHierarchyLevel, us-gaap:FairValueByMeasurementFrequency, us-gaap:FinancialInstrument
us-gaap:FairValueByMeasurementFrequency
us-gaap:FairValueByMeasurementFrequency, us-gaap:FinancialInstrument

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths

us-gaap:LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear
us-gaap:CreditFacility
us-gaap:LettersOfCreditOutstandingAmount
us-gaap:DebtInstrument, us-gaap:FairValueByMeasurementBasis, us-gaap:LongtermDebtType
us-gaap:LongTermDebtFairValue

us-gaap:OperatingLeaseWeightedAverageDiscountRatePercent
us-gaap:IncomeTaxAuthority
us-gaap:OperatingLossCarryforwards
us-gaap:StatementGeographical

us-gaap:OtherSundryLiabilitiesCurrent

us-gaap:OtherSundryLiabilitiesNoncurrent

us-gaap:PurchaseObligation

us-gaap:PurchaseObligationDueInFifthYear

us-gaap:PurchaseObligationDueInFourthYear

us-gaap:PurchaseObligationDueInNextTwelveMonths

us-gaap:PurchaseObligationDueInSecondYear

us-gaap:PurchaseObligationDueInThirdYear

us-gaap:RestrictedCashAndCashEquivalentsAtCarryingValue

us-gaap:RestrictedCashAndCashEquivalentsNoncurrent

us-gaap:RestrictedCashNoncurrent

us-gaap:RevenueRemainingPerformanceObligation

us-gaap:RevenueRemainingPerformanceObligationPercentage
us-gaap:AwardType
us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
us-gaap:AwardType
us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue
us-gaap:AwardType, us-gaap:BusinessAcquisition

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice
us-gaap:AwardType
us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardPerShareWeightedAveragePriceOfSharesPurchased

us-gaap:SharePrice
us-gaap:AwardType, us-gaap:BusinessAcquisition
us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueNonvested
us-gaap:AwardType, us-gaap:BusinessAcquisition
us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding

us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1
us-gaap:IncomeTaxAuthority, us-gaap:TaxCreditCarryforward
us-gaap:TaxCreditCarryforwardAmount
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
us-gaap:UnamortizedDebtIssuanceExpense

Plots across concepts


IncomeStatement
Income Loss From Continuing Operations 
Before Income Taxes Extraordinary Items Noncontrolling Interest
Expenses
Income Tax Expense Benefit
Balance Sheet
Operating Lease Right Of Use Asset
Assets
Property Plant And Equipment Net
Current Assets
Prepaid Expense And Other Assets Current
NonCurrent Assets
Other Assets Noncurrent
PropertyPlantAndEquipmentNet
Accumulated Depreciation Depletion And Amortization Property Plant And Equipment
Liabilities
Operating Lease Liability
Current Liabilities
Accrued Income Taxes Current
Stockholders Equity
Retained Earnings Accumulated Deficit
CashFlow
Net Cash Provided By Used In Investing Activities
NetCashProvidedByUsedInOperatingActivities
Net Income Loss
NetCashProvidedByUsedInInvestingActivities
Net Cash Provided By Used In Investing Activities
Shares
Weighted Average Number Of Share Outstanding Basic And Diluted
OperatingLeaseLiability
Operating Lease Liability Current
LesseeOperatingLeaseLiabilityPaymentsDue
Lessee Operating Lease Liability Payments Remainder Of Fiscal Year
FiniteLivedIntangibleAssets
Finite Lived Intangible Assets Accumulated Amortization
AccountsReceivable
Allowance For Doubtful Accounts Receivable Current

Tables

  2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
 us-gaap:CommonStockValue us-gaap:StatementClassOfStock us-gaap:CommonClassA█▇▇▇▇▇▆▆▆▆▆▆▆▅▄▂▂▁▁0.0150.0130.0120.0120.0120.0120.0110.0110.0110.010.010.010.010.0090.0070.0020.0020.0010.0NANANA
 us-gaap:CommonStockValue us-gaap:StatementClassOfStock us-gaap:CommonClassB▁▁▁▁▁▁▁▁▁▁▁▁▁▂▃███▂0.0010.0010.0010.0010.0010.0010.0010.0010.0010.0010.0010.0010.0010.0020.0030.0080.0080.0080.002NANANA
 us-gaap:CommonStockSharesIssued us-gaap:StatementClassOfStock us-gaap:CommonClassANANANANA119.96116.135113.99112.251106.595103.94101.09332298.51896.6887.25470.61NANANA0.0NANANA
 us-gaap:CommonStockSharesIssued us-gaap:StatementClassOfStock us-gaap:CommonClassBNANANANA8.1288.4748.6488.8810.15310.19911.05918111.82812.31419.23833.361NANANA20.293NANANA
 us-gaap:CommonStockSharesAuthorized us-gaap:StatementClassOfStock us-gaap:CommonClassANANANANA1000.01000.01000.01000.01000.01000.01000.01000.01000.01000.01000.01000.01000.01000.00.0NANANA
 us-gaap:CommonStockSharesOutstanding us-gaap:StatementClassOfStock us-gaap:CommonClassANANANANA119.96116.135113.99112.251106.595103.94101.09398.51896.6887.25470.60989839.29013216.93489912.7823420.0NANANA
 us-gaap:CommonStockSharesOutstanding us-gaap:StatementClassOfStock us-gaap:CommonClassBNANANANA8.1288.4748.6488.8810.15310.19911.05918111.82812.31419.23833.36162.08132678.55288782.44253620.229NANANA
us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding █▁151.357131.777NANA126.319123.494NANANANANANANANANANANANANANANANA
us-gaap:WeightedAverageNumberOfSharesOutstandingBasic █▁151.357131.777NANA126.319123.494NANANANANANANANANANANANANANANANA
us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted NANANA128.813126.319123.494NA118.976115.033112.682NA108.776106.702104.203NA95.47493.57639.783NA19.17418.80218.574
 us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted us-gaap:StatementClassOfStock us-gaap:CommonClassANANANA120.637117.891114.975NA110.105105.049102.407NA97.66592.15679.988NA25.03914.653.291NA0.00.00.0
 us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted us-gaap:StatementClassOfStock us-gaap:CommonClassBNANANA8.1768.4288.519NA8.8719.98410.275NA11.11114.54624.215NA70.43578.92636.492NA19.17418.80218.574
us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount NA25.315NANANA26.909NANANA36.073NANANA28.097NANA38.37536.876NANA90.78683.777
 us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecurities us-gaap:EmployeeStockNA0.131NANANA0.244NANANA0.261NANANA1.062NANA1.0821.04NANA0.00.0
 us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecurities us-gaap:EmployeeStockOptionNA8.109NANANA11.167NANANA16.489NANANA22.675NANA33.3633.939NANA30.50123.396
 us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecurities us-gaap:RestrictedStockUnitsRSUNA5.112NANANA4.89NANANA4.848NANANA3.433NANA2.210.059NANA0.00.0
 us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecurities us-gaap:WarrantNA1.048NANANA2.494NANANA7.134NANANA0.0NANA0.00.0NANA0.1880.188
 us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecurities,us-gaap:DebtInstrument us-gaap:ConvertibleDebtSecurities,okta:ConvertibleSeniorNotesDue2023NA0.478NANANA2.494NANANA7.134NANANANANANANANANANANANA
 us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecurities,us-gaap:DebtInstrument us-gaap:ConvertibleDebtSecurities,okta:ConvertibleSeniorNotesDue2025NA5.6NANANA5.6NANANA0.0NANANANANANANANANANANANA
 us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecurities,us-gaap:DebtInstrument us-gaap:ConvertibleDebtSecurities,okta:ConvertibleSeniorNotesDue2026NA4.8NANANANANANANANANANANANANANANANANANANANA
us-gaap:EarningsPerShareBasic ▁█-1.83-0.83NANA-0.48-0.47NANANANANANANANANANANANANANANANA
us-gaap:EarningsPerShareDiluted ▁█-1.83-0.83NANA-0.48-0.47NANANANANANANANANANANANANANANANA
us-gaap:EarningsPerShareBasicAndDiluted NANA-0.5799999999999998-0.56-0.48-0.47-0.4099999999999999-0.53-0.37-0.46-0.2799999999999999-0.27-0.37-0.25-0.20999999999999996-0.35-0.29-0.73-0.9299999999999997-1.14-1.1-1.22
 us-gaap:EarningsPerShareBasicAndDiluted us-gaap:StatementClassOfStock us-gaap:CommonClassANANA-0.5799999999999998-0.56-0.48-0.47-0.4099999999999999-0.53-0.37-0.46-0.2799999999999999-0.27-0.37-0.25-0.20999999999999996-0.35-0.29-0.730.00.00.00.0
 us-gaap:EarningsPerShareBasicAndDiluted us-gaap:StatementClassOfStock us-gaap:CommonClassBNANA-0.5799999999999998-0.56-0.48-0.47-0.4099999999999999-0.53-0.37-0.46-0.2799999999999999-0.27-0.37-0.25-0.20999999999999996-0.35-0.29-0.73-0.9299999999999997-1.14-1.1-1.22
  2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
 COGS Ratio us-gaap:ProductOrService us-gaap:SubscriptionAndCirculation█▆▆▅▅▄▄▃▃▃▂▂▂▁▁▁303.121240.058225.4206.743190.689173.781158.514144.517132.494117.163108.46297.69887.85476.84170.96361.863NANANANANANA
 COGS Ratio us-gaap:ProductOrService us-gaap:TechnologyService█▇▅▆▅▅▅▄▄▄▃▄▃▃▂▁12.37910.9489.3410.6369.7579.0788.8138.527.9868.067.0097.8786.7326.786.0895.048NANANANANANA
  2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
  2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
us-gaap:AllocatedShareBasedCompensationExpense █▃▃▃▃▂▂▂▂▂▂▂▂▁▁▁▁▁▁▁▁▁187.71464.11256.40753.65248.39437.72836.9335.73531.27422.68522.42121.54218.22214.13514.56814.40811.9788.9065.2584.8363.6643.369
us-gaap:ComprehensiveIncomeNetOfTax ▁▆▇▆▇▇▇▇▇▇██▇█████████-277.917-109.012-72.987-75.714-58.321-54.812-49.715-61.707-44.176-52.104-30.212-29.955-39.509-26.531-24.218-33.917-26.833-28.833-18.204-22.04-20.701-22.674
us-gaap:CostOfGoodsAndServicesSold █▅▅▄▄▃▃▃▃▂▂▂▂▁▁▁101.10666.12361.1456.90851.14748.48644.68340.82438.7835.09531.38629.728.22824.10722.48721.123NANANANANANA
us-gaap:GainsLossesOnExtinguishmentOfDebt ████▁-0.043-0.1360.0-0.089-2.174NA0.0-14.5720.0NA0.00.0NANANANANANANANANANA
 us-gaap:GainsLossesOnExtinguishmentOfDebt us-gaap:DebtInstrument,us-gaap:LongtermDebtType okta:ConvertibleSeniorNotesDue2023,us-gaap:SeniorNotesNANA0.00.0NANA0.0-14.6NANANANANANANANANANANANANANA
us-gaap:GeneralAndAdministrativeExpense █▄▃▃▃▂▂▂▂▂▂▂▂▁▁▁▁▁▁▁▁▁157.07760.1850.70744.48542.49934.03531.35228.88726.88725.76619.23719.84820.95515.0714.6713.54611.94811.6399.097.9226.1426.945
us-gaap:GrossProfit █▇▇▆▆▅▅▄▄▄▃▃▃▂▂▂▂▂▁▁▁▁214.394184.883173.6160.471149.299134.373122.644112.213101.790.12884.08575.87666.35859.51455.26347.11541.31335.54433.13328.1823.65619.408
us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest ▁▆▇▇▇▇▇▇▇▇██▇█████████-284.144-109.222-75.039-72.555-60.533-58.064-49.606-63.146-44.457-53.123-28.945-30.184-40.2-26.2-24.536-34.718-26.773-28.653-18.066-21.84-20.506-22.7
us-gaap:IncomeTaxExpenseBenefit ▁▇▇▇▆▆▇▇▅▆█▆▆▆▇▆▇▇▇▇▇▇-7.4620.010.7670.209-0.433-0.4020.8660.349-1.477-1.21.866-0.7-1.0-0.20.179-0.940.20.20.1580.10.10.081
us-gaap:IncomeTaxesPaid █▄▃▂▁▂▂▂▄▁▁▃1.10.5420.3560.2290.1840.2090.2780.1910.5110.1430.1190.395NANA0.079NANANA-0.09NANANA
us-gaap:InterestExpense ████▆▄▄▃▂▂▂▁▁▁22.87222.7622.59722.36816.93110.76410.6467.8264.3044.2414.1794.1184.0582.717NANANANANANANANA
 us-gaap:InterestExpenseDebt us-gaap:DebtInstrument,us-gaap:LongtermDebtType okta:ConvertibleSeniorNotesDue2023,us-gaap:SeniorNotes▁▁▁▂▂▃▃▅█████▅0.2790.4410.5490.5871.11.5721.552.7164.3034.2414.1794.1184.0582.717NANANANANANANANA
 us-gaap:InterestExpenseDebt us-gaap:DebtInstrument,us-gaap:LongtermDebtType okta:ConvertibleSeniorNotesDue2025,us-gaap:SeniorNotes████▇▇▇▁9.6899.5879.4869.3889.2899.1919.0955.112NANANANANANANANANANANANANANA
 us-gaap:InterestExpenseDebt us-gaap:DebtInstrument,us-gaap:LongtermDebtType okta:ConvertibleSeniorNotesDue2026,us-gaap:SeniorNotes███▇▁12.90412.73212.56312.3936.542NANANANANANANANANANANANANANANANANA
us-gaap:InterestPaidNet █▃█▃▁▄▁▂▁▂▁▂2.1570.7072.1930.7250.0570.7840.00.4310.00.4310.00.403NANANANANANANANANANA
us-gaap:NetIncomeLoss ▁▆▆▇▇▇▇▇▇▇██▇█████████-276.682-109.232-75.806-72.764-60.1-57.662-50.472-63.495-42.98-51.966-30.811-29.517-39.207-25.962-24.719-33.778-27.002-28.901-18.224-21.931-20.601-22.753
 us-gaap:NetIncomeLoss us-gaap:StatementClassOfStock us-gaap:CommonClassA▁█-263.151-102.612NA-68.146-56.09-53.684NA-58.761-39.25-47.227NA-26.502-33.862-19.929NA-8.858-4.227-2.39NA0.00.00.0
 us-gaap:NetIncomeLoss us-gaap:StatementClassOfStock us-gaap:CommonClassB▁█-13.531-6.62NA-4.618-4.01-3.978NA-4.734-3.73-4.739NA-3.015-5.345-6.033NA-24.919-22.775-26.511NA-21.931-20.601-22.753
 us-gaap:NetIncomeLoss us-gaap:StatementEquityComponents us-gaap:RetainedEarnings▁▆▇▇▇▇▇▇█▇████-276.682-109.232-75.806-72.764-60.1-57.662-50.472-63.495-42.98-51.966-30.811-29.517-39.207-25.962NANANANANANANANA
us-gaap:OperatingExpenses █▅▄▄▃▃▃▃▃▃▂▂▂▂▂▂▁▁▁▁▁▁477.834275.564228.196212.447194.687186.572167.347157.943145.317141.91111.82104.355104.78884.49280.60982.34268.46864.17851.150.0744.21842.112
us-gaap:OperatingIncomeLoss ▁▆▇▇▇▇▇▇▇▇██▇█████████-263.44-90.681-54.596-51.976-45.388-52.199-44.703-45.73-43.617-51.782-27.735-28.479-38.43-24.978-25.346-35.227-27.155-28.634-17.967-21.89-20.562-22.704
us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax ▂▅█▂▇▁▄▆▂▃▄▃▃▃▄▃▄▄▃▃▃▃-0.8821.0333.384-0.7242.843-1.7840.1531.561-1.39-0.3330.376-0.442-0.379-0.4440.592-0.0810.1810.0680.024-0.089-0.1020.047
us-gaap:OtherComprehensiveIncomeLossNetOfTax ▃▅█▁▇█▅▇▃▄▅▄▄▄▅▄▅▅▅▄▄▅-1.2350.222.819-2.951.7792.850.7571.788-1.196-0.1380.599-0.438-0.302-0.5690.46-0.1390.1690.0680.02-0.109-0.10.079
us-gaap:OtherNonoperatingIncomeExpense ▃▄▃▃▄▄▄▄▃▃█▁▁▁▂▂▂▂▂▂▂▂2.2114.3552.1541.8783.964.8995.7434.9823.4642.913.862-1.705-1.762-1.2150.810.5090.382-0.019-0.0990.050.0560.032
us-gaap:ResearchAndDevelopmentExpense █▅▄▄▄▃▃▃▃▃▂▂▂▂▂▂▂▁▁▁▁▁122.40768.86362.31658.1553.86648.49443.3641.83240.04534.03230.03127.59624.82919.92919.34919.1916.92315.35910.5329.7069.6558.766
us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax █▆▆▆▅▅▄▄▄▃▃▃▃▂▂▂▂▂▁▁▁▁315.5251.006234.74217.379200.446182.859167.327153.037140.48125.223115.471105.57694.58683.62177.05266.91160.99553.00749.342.28337.43631.787
us-gaap:SellingAndMarketingExpense █▆▅▄▄▄▄▃▃▃▂▂▂▂▂▂▂▁▁▁▁▁198.35146.521115.173109.81298.322104.04392.63587.22478.38582.11262.55256.91159.00449.49346.61749.60639.59737.1831.47832.44228.42126.401
  2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
  2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
us-gaap:Assets █▄▄▃▃▃▂▂▂▂▂▂▂▁▁▁▁▁▁8932.0953430.4473298.7973170.2793115.0152037.0071955.3951870.7771026.81998.542864.335796.709763.917726.904367.4337.157316.227320.23130.635NANANA
us-gaap:Liabilities ██▇▇▇▅▅▄▃▃▂▂▂▂▁▁▁▁▁2889.9052747.6692604.7542489.6312429.8181623.9111550.0511472.383776.085759.098611.958552.206518.772477.287203.8180.702163.358154.311146.286NANANA
us-gaap:LiabilitiesAndStockholdersEquity █▄▄▃▃▃▂▂▂▂▂▂▂▁▁▁▁▁▁8932.0953430.4473298.7973170.2793115.0152037.0071955.3951870.7771026.81998.542864.335796.709763.917726.904367.397337.157316.227320.23130.635NANANA
us-gaap:StockholdersEquity █▂▂▂▂▂▂▂▂▂▂▂▂▂▁▁▁▁▁6042.19682.778694.043680.648685.197413.096405.344398.394250.725239.444252.377244.503245.145249.617163.586156.455152.869165.919-243.605NANANA
  2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
us-gaap:AssetsCurrent ███▇▇▅▅▄▂▂▂▂▂▂▂▁▁▁▁2877.1583012.1392878.5672757.5392706.9351633.5231599.7251526.6697.02676.929709.33658.114633.376636.163315.4294.672274.686279.79992.79NANANA
us-gaap:CashAndCashEquivalentsAtCarryingValue ▂▅▄▄▇▅▄█▂▂▃▂▂▂▂▂▂▂▁▁▁▁225.265659.886434.607409.769957.234619.221520.0481039.626206.753208.106298.394195.898192.882211.756127.949137.575126.464221.72623.28220.13428.83539.714
us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents ▂▅▄▄▇▅▄█▂▂▃▂▂▂▂▂▂▂▁▁▁▁239.962673.436448.63423.702971.144634.293531.9531051.371218.498219.85311.215204.447201.442220.321136.233137.844126.743221.98923.28225.56832.71843.597
us-gaap:ShortTermInvestments █▇██▆▄▄▂▂▂▂▂▂▂▁▁▁▁▁2243.6382030.182121.5842085.3731557.279827.556882.976326.629350.712339.377265.374350.105343.374335.285101.76586.04386.7552.514.39NANANA
us-gaap:AccountsReceivableNetCurrent █▇▇▅▄▄▄▃▃▃▃▂▂▂▂▁▁▁▁238.478218.474194.818139.473110.54111.039130.115101.77887.85183.32891.92670.13659.83950.36852.24846.88235.30432.17134.544NANANA
us-gaap:PrepaidExpenseAndOtherAssetsCurrent █▄▆▆▃▃▃▂▂▂▂▂▂▂▂▁▁▁▁115.25155.77781.60982.01644.07440.91232.9529.02324.64220.54229.45120.2817.43320.20317.010.03812.88410.2717.025NANANA
  2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
us-gaap:PropertyPlantAndEquipmentGross NANA85.052NANANA69.944NANANA62.563NANANA20.655NANANA15.132NANANA
 us-gaap:PropertyPlantAndEquipmentGross us-gaap:PropertyPlantAndEquipmentByType us-gaap:ComputerEquipmentNANA1.242NANANA3.567NANANA3.668NANANA5.384NANANA3.753NANANA
 us-gaap:PropertyPlantAndEquipmentGross us-gaap:PropertyPlantAndEquipmentByType us-gaap:FurnitureAndFixturesNANA13.948NANANA11.014NANANA11.012NANANA7.083NANANA4.204NANANA
 us-gaap:PropertyPlantAndEquipmentGross us-gaap:PropertyPlantAndEquipmentByType us-gaap:LeaseholdImprovementsNANA69.862NANANA55.363NANANA47.883NANANA8.188NANANA7.175NANANA
us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment NANA22.269NANANA16.409NANANA9.642NANANA8.115NANANA4.106NANANA
us-gaap:AmortizationOfIntangibleAssets █▂▂▂▂▂▂▂▂▂▁▂▁▁▁▁▁▁▁▁▁▁21.32.92.9000000000000012.72.82.82.92.63.02.11.71.81.21.20.80.80.70.70.50.50.40.3
us-gaap:PropertyPlantAndEquipmentNet ██████▇▆▆▇▇▅▅▂▁▁▁▁▁61.85862.51562.78362.40563.40661.91453.53551.7351.85852.18952.92144.25140.6719.17612.5413.12213.30213.1811.026NANANA
us-gaap:Goodwill █▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁5338.11648.02348.02348.02348.02348.02348.02347.96447.96447.96418.08918.118.0956.36.2826.36.36.2822.6NANANA
us-gaap:IntangibleAssetsNetExcludingGoodwill █▁▁▁▁▁▁▂▂▁▁▁▁▁▁▁▁▁▁337.78624.1927.00928.95330.03131.03232.52933.82634.71228.02213.89714.98916.00611.86311.76111.45511.0519.8359.155NANANA
us-gaap:FiniteLivedIntangibleAssetsNet █▁▁▁▁▁▁▂▂▁▁▁▁▁▁▁▁▁▁337.78624.1927.00928.95330.03131.03232.52933.82634.71228.02113.89614.98916.00611.86311.76111.45511.0519.8359.155NANANA
us-gaap:DeferredTaxAssetsLiabilitiesNet NANA3.521NANANA2.129NANANA0.562NANANA0.477NANANANANANANA
us-gaap:OperatingLeaseRightOfUseAsset ▆▅▆▇▇█▂▃▁▁▂146.492145.462149.604154.699157.781162.763125.204126.746116.706119.916121.389NANANANANANANANANANANA
us-gaap:OtherAssetsNoncurrent █▆▅▅▅▄▄▄▄▄▃▃▃▃▃▁▁▁▂41.01428.0224.25624.35522.28320.48218.50518.44518.9916.69815.28613.52512.48312.34310.4272.4631.6581.6714.984NANANA
  2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
us-gaap:AccountsPayableCurrent ▄▄▄▂▂▃▁▂▁▁█▅▆▅▄▆▄▇▅9.4149.5428.5575.1144.7268.0213.8374.9243.4924.35217.21212.08512.57711.839.56612.8759.84815.90911.897NANANA
us-gaap:AccruedIncomeTaxesCurrent NANA2.462NANANA1.591NANANA1.195NANANA0.835NANANA0.826NANANA
us-gaap:AccruedLiabilitiesCurrent NANA24.717NANANA22.53NANANA6.392NANANA3.389NANANA4.297NANANA
us-gaap:ContractWithCustomerLiabilityCurrent █▇▅▄▄▄▄▃▃▂▂▂▁▁▁721.808613.167502.738424.765391.246392.121365.236306.743283.724268.033245.622206.146186.427173.548159.816NANANANANANANA
us-gaap:LiabilitiesCurrent ▅▄█▃▃▃▃▃▃▃▃▂▁▁▁▁▁▁▁912.534800.4611545.614573.94533.58570.388546.963478.394620.669601.913564.191244.786218.14202.926190.76170.961152.799143.061135.628NANANA
us-gaap:OperatingLeaseLiabilityCurrent NANA23.403NANANA12.064NANANA10.914NANANANANANANANANANANA
us-gaap:OtherLiabilitiesCurrent ▆█▄▄▄▃▃▃▃▃▁▁▁▁▁▁▁▁▁80.463108.72753.72947.3354.80336.60136.88733.28831.84332.4129.9596.3056.3334.8966.1874.9554.3994.8225.853NANANA
  2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
 us-gaap:LongTermDebt us-gaap:DebtInstrument,us-gaap:LongtermDebtType okta:ConvertibleSeniorNotesDue2023,us-gaap:SeniorNotes▁▁▃▃▃███15.72320.78135.65535.13143.578102.198100.70399.227NANANANANANANANANANANANANANA
 us-gaap:LongTermDebt us-gaap:DebtInstrument,us-gaap:LongtermDebtType okta:ConvertibleSeniorNotesDue2025,us-gaap:SeniorNotes█▇▆▅▄▃▂▁891.643882.285873.029863.874854.818845.862837.002828.237NANANANANANANANANANANANANANA
 us-gaap:LongTermDebt us-gaap:DebtInstrument,us-gaap:LongtermDebtType okta:ConvertibleSeniorNotesDue2026,us-gaap:SeniorNotes█▆▄▃▁880.868869.041857.387845.903834.62NANANANANANANANANANANANANANANANANA
us-gaap:DeferredIncomeTaxLiabilitiesNet NANA3.877NANANA1.558NANANA0.727NANANA0.175NANANA0.132NANANA
us-gaap:OtherLiabilitiesNoncurrent ▄▂▃▃▃▂▁▁▁▁█▇▇▂▂▂▂▂▁18.2310.6711.37512.70512.0186.7025.3614.7794.2413.4738.99934.77831.39910.0957.0176.5536.4516.3234.947NANANA
us-gaap:OperatingLeaseLiabilityNoncurrent ▅▅▆▇▇█▂▂▁▁▁171.141173.467179.518185.86189.208194.889154.511153.96143.706146.044147.046NANANANANANANANANANANA
us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueYearTwo █▄▁▁40.58838.85637.9137.758NANANANANANANANANANANANANANANANANANA
us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueYearThree ▅▁██37.62236.31238.82338.655NANANANANANANANANANANANANANANANANANA
us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueYearFour ▂▁██27.71126.86336.28936.111NANANANANANANANANANANANANANANANANANA
us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueYearFive NANA26.839NANANANANANANANANANANANANANANANANANANA
us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive NANA73.135NANANANANANANANANANANANANANANANANANANA
  2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
us-gaap:StockholdersEquity █▂▂▂▂▂▂▂▂▂▂▂▂▂▁▁▁▁▁6042.19682.778694.043680.648685.197413.096405.344398.394250.725239.444252.377244.503245.145249.617163.586156.455152.869165.919-243.605NANANA
 us-gaap:CommonStockValue us-gaap:StatementClassOfStock us-gaap:CommonClassA█▇▇▇▇▇▆▆▆▆▆▆▆▅▄▂▂▁▁0.0150.0130.0120.0120.0120.0120.0110.0110.0110.010.010.010.010.0090.0070.0020.0020.0010.0NANANA
 us-gaap:CommonStockValue us-gaap:StatementClassOfStock us-gaap:CommonClassB▁▁▁▁▁▁▁▁▁▁▁▁▁▂▃███▂0.0010.0010.0010.0010.0010.0010.0010.0010.0010.0010.0010.0010.0010.0020.0030.0080.0080.0080.002NANANA
us-gaap:AdditionalPaidInCapital █▃▃▂▂▂▂▂▂▂▂▂▂▂▁▁▁▁▁7391.1691753.8421656.0961569.7141498.5491168.1271105.5641048.899839.523784.067744.896706.81677.497642.46565.653534.304496.801483.01944.469NANANA
us-gaap:RetainedEarningsAccumulatedDeficit ▁▃▄▄▅▅▅▆▆▆▇▇▇▇▇▇███-1353.37-1076.688-967.456-891.65-818.886-758.786-701.124-650.652-587.157-544.177-492.211-461.4-431.883-392.676-402.468-377.79-344.012-317.01-287.909NANANA
us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax ▇██▅█▆▃▃▁▂▂▂▂▂▃▃▃▂▂4.3755.615.392.5715.5213.7420.8920.135-1.653-0.457-0.319-0.918-0.48-0.1780.391-0.0690.07-0.099-0.167NANANA
 us-gaap:AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue us-gaap:StatementEquityComponents okta:CommonStockAndAdditionalPaidInCapitalNA64.112NA54.04948.80838.038NA36.1831.49222.846NA21.66718.30814.352NANANANANANANANA
 us-gaap:AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue us-gaap:StatementEquityComponents us-gaap:CommonStockIncludingAdditionalPaidInCapital187.923NANANA48.808NANANANANANANANANANANANANANANANANA
  2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
us-gaap:NetCashProvidedByUsedInOperatingActivities ▂█▆▇▄▆▅▄▂▅▃▃▂▃▂▂▂▂▂▂▁▁-2.60856.07534.90943.42610.9338.69724.83510.64-1.13421.26210.1046.439-5.3433.9720.155-9.471-6.238-9.686-6.702-8.526-11.838-15.035
us-gaap:NetCashProvidedByUsedInInvestingActivities ▃█▆▂▁▇▂▇▇▆▇▇▇▅▇▇▆▇▇▇▇▇-463.466151.905-37.264-595.621-722.86550.604-562.93922.888-22.383-125.60780.896-10.545-28.729-238.942-18.241-1.161-88.5198.2174.3970.7151.0120.841
us-gaap:NetCashProvidedByUsedInFinancingActivities ▁▁▁▁█▁▁▆▁▁▁▁▁▃▁▁▁▂▁▁▁▁33.05416.17925.1415.211047.0814.16718.654798.39923.0713.26215.417.46915.438319.44516.04121.814-0.555200.108-0.0050.7510.048-0.337
us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect ▂▅▄▁▅▄▁█▄▃▄▄▄▄▄▄▃▅▄▄▄▄-433.474224.80624.928-547.442336.851102.34-519.418832.873-1.352-91.365106.7683.005-18.87984.088-1.61111.101-95.246198.707-2.286-7.15-10.879-14.484
  2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
 us-gaap:AmortizationOfFinancingCosts us-gaap:DebtInstrument,us-gaap:LongtermDebtType okta:ConvertibleSeniorNotesDue2023,us-gaap:SeniorNotes▁▁▂▂▃▃▃▅███▇▇▅0.0240.0380.0460.0490.090.1270.1230.2140.3290.3190.3080.2990.2880.19NANANANANANANANA
 us-gaap:AmortizationOfFinancingCosts us-gaap:DebtInstrument,us-gaap:LongtermDebtType okta:ConvertibleSeniorNotesDue2025,us-gaap:SeniorNotes██▇▇▇▇▆▁0.5680.5560.5430.530.5180.5060.4940.275NANANANANANANANANANANANANANA
 us-gaap:AmortizationOfFinancingCosts us-gaap:DebtInstrument,us-gaap:LongtermDebtType okta:ConvertibleSeniorNotesDue2026,us-gaap:SeniorNotes██▇▇▁0.3520.340.330.3180.165NANANANANANANANANANANANANANANANANA
us-gaap:IncreaseDecreaseInAccountsPayable ▁▅▆▄▁▇▄▄▄▅▃▃▄▆▂█▂▇▃▅▂▇-3.6711.6272.7040.567-3.1333.943-0.2730.594-0.2721.64-0.679-1.2030.2182.339-2.755.072-2.5993.782-0.9240.803-2.0313.681
us-gaap:IncreaseDecreaseInAccountsReceivable ▂▅█▅▃▁▅▄▃▂▅▄▄▃▃▄▃▃▄▃▃▂-7.94922.74755.82629.173-0.376-18.2528.12213.8524.838-9.29722.14310.2998.959-1.7195.57911.4313.554-2.2438.3874.2962.4-3.09
us-gaap:NetCashProvidedByUsedInOperatingActivities ▂█▆▇▄▆▅▄▂▅▃▃▂▃▂▂▂▂▂▂▁▁-2.60856.07534.90943.42610.9338.69724.83510.64-1.13421.26210.1046.439-5.3433.9720.155-9.471-6.238-9.686-6.702-8.526-11.838-15.035
us-gaap:NetIncomeLoss ▁▆▆▇▇▇▇▇▇▇██▇█████████-276.682-109.232-75.806-72.764-60.1-57.662-50.472-63.495-42.98-51.966-30.811-29.517-39.207-25.962-24.719-33.778-27.002-28.901-18.224-21.931-20.601-22.753
 us-gaap:NetIncomeLoss us-gaap:StatementClassOfStock us-gaap:CommonClassA▁█-263.151-102.612NA-68.146-56.09-53.684NA-58.761-39.25-47.227NA-26.502-33.862-19.929NA-8.858-4.227-2.39NA0.00.00.0
 us-gaap:NetIncomeLoss us-gaap:StatementClassOfStock us-gaap:CommonClassB▁█-13.531-6.62NA-4.618-4.01-3.978NA-4.734-3.73-4.739NA-3.015-5.345-6.033NA-24.919-22.775-26.511NA-21.931-20.601-22.753
 us-gaap:NetIncomeLoss us-gaap:StatementEquityComponents us-gaap:RetainedEarnings▁▆▇▇▇▇▇▇█▇████-276.682-109.232-75.806-72.764-60.1-57.662-50.472-63.495-42.98-51.966-30.811-29.517-39.207-25.962NANANANANANANANA
us-gaap:ShareBasedCompensation █▃▃▃▃▂▂▂▂▂▂▂▂▁▁▁▁▁▁▁▁▁187.71464.11256.40753.66848.37837.72836.93335.73231.27422.68522.42121.54218.22214.13514.56814.40811.9788.9065.2584.8363.6643.369
  2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
us-gaap:NetCashProvidedByUsedInInvestingActivities ▃█▆▂▁▇▂▇▇▆▇▇▇▅▇▇▆▇▇▇▇▇-463.466151.905-37.264-595.621-722.86550.604-562.93922.888-22.383-125.60780.896-10.545-28.729-238.942-18.241-1.161-88.5198.2174.3970.7151.0120.841
us-gaap:PaymentsToAcquirePropertyPlantAndEquipment ▂▄▃▂▃█▆▁▃█▆▅▆▅▂▁▃▃▂▂▃▂0.7753.2591.7860.6282.7397.935.4620.0632.2077.715.5584.4635.3134.4770.980.4142.7082.4481.6061.6182.1020.927
  2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
us-gaap:NetCashProvidedByUsedInFinancingActivities ▁▁▁▁█▁▁▆▁▁▁▁▁▃▁▁▁▂▁▁▁▁33.05416.17925.1415.211047.0814.16718.654798.39923.0713.26215.417.46915.438319.44516.04121.814-0.555200.108-0.0050.7510.048-0.337
  2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
 us-gaap:DebtInstrumentInterestRateStatedPercentage us-gaap:DebtInstrument,us-gaap:LongtermDebtType okta:ConvertibleSeniorNotesDue2026,us-gaap:SeniorNotesNANANANA3.75e-09NANANANANANANANANANANANANANANANANA

Common Stock Value

us-gaap:CommonStockValue us-gaap:StatementClassOfStock

us-gaap:CommonStockValue

us-gaap:CommonClassA


Common
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value15000.013000.012000.012000.012000.012000.011000.011000.011000.010000.010000.010000.010000.09000.07000.02000.02000.01000.00
Percentage of CommonStockValue100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.00.0
Percentage of Assets0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0
Percentage of Assets us-gaap:CommonClassA0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

us-gaap:CommonClassB


Common
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value1000.01000.01000.01000.01000.01000.01000.01000.01000.01000.01000.01000.01000.02000.03000.08000.08000.08000.02000.0
Percentage of CommonStockValue6.77.78.38.38.38.39.19.19.110.010.010.010.022.242.9400.0400.0800.00.0
Percentage of Assets0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0
Percentage of Assets us-gaap:CommonClassB0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

Common Stock Shares Issued

us-gaap:CommonStockSharesIssued us-gaap:StatementClassOfStock

us-gaap:CommonStockSharesIssued

us-gaap:CommonClassA


Common
Period End2020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-01-31
Value119116113112106103101989687700.0
Percentage of CommonStockSharesIssued100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.00.0

us-gaap:CommonClassB


Common
Period End2020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-01-31
Value8.1288.4748.6488.881010111112193320
Percentage of CommonStockSharesIssued6.87.37.67.99.59.810.912.012.722.047.20.0

Common Stock Shares Authorized

us-gaap:CommonStockSharesAuthorized us-gaap:StatementClassOfStock

us-gaap:CommonStockSharesAuthorized

us-gaap:CommonClassA


Common
Period End2020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value100010001000100010001000100010001000100010001000100010000.0
Percentage of CommonStockSharesAuthorized100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.00.0

Common Stock Shares Outstanding

us-gaap:CommonStockSharesOutstanding us-gaap:StatementClassOfStock

us-gaap:CommonStockSharesOutstanding

us-gaap:CommonClassA


Common
Period End2020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value119116113112106103101989687703916120.0
Percentage of CommonStockSharesOutstanding100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.00.0

us-gaap:CommonClassB


Common
Period End2020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value8.1288.4748.6488.881010111112193362788220
Percentage of CommonStockSharesOutstanding6.87.37.67.99.59.810.912.012.722.047.2158.0463.9645.00.0

Weighted Average Number Of Diluted Shares Outstanding

us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding

us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding


Weighted
Period End2021-07-312021-04-302020-07-312020-04-30
Value151131126123
Percentage of WeightedAverageNumberOfDilutedSharesOutstanding100.0100.0100.0100.0

us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding us-gaap:StatementClassOfStock

us-gaap:CommonClassA


Weighted
Period End2021-07-312021-04-302020-07-312020-04-30
Value143123117114
Percentage of WeightedAverageNumberOfDilutedSharesOutstanding95.193.993.393.1

us-gaap:CommonClassB


Weighted
Period End2021-07-312021-04-302020-07-312020-04-30
Value7.4027.9868.4288.519
Percentage of WeightedAverageNumberOfDilutedSharesOutstanding4.96.16.76.9

Weighted Average Number Of Shares Outstanding Basic

us-gaap:WeightedAverageNumberOfSharesOutstandingBasic

us-gaap:WeightedAverageNumberOfSharesOutstandingBasic


Weighted
Period End2021-07-312021-04-302020-07-312020-04-30
Value151131126123
Percentage of WeightedAverageNumberOfSharesOutstandingBasic100.0100.0100.0100.0

us-gaap:WeightedAverageNumberOfSharesOutstandingBasic us-gaap:StatementClassOfStock

us-gaap:CommonClassA


Weighted
Period End2021-07-312021-04-302020-07-312020-04-30
Value143123117114
Percentage of WeightedAverageNumberOfSharesOutstandingBasic95.193.993.393.1

us-gaap:CommonClassB


Weighted
Period End2021-07-312021-04-302020-07-312020-04-30
Value7.4027.9868.4288.519
Percentage of WeightedAverageNumberOfSharesOutstandingBasic4.96.16.76.9

Weighted Average Number Of Share Outstanding Basic And Diluted

us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted

us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted


Weighted
Period End2020-10-312020-07-312020-04-302019-10-312019-07-312019-04-302018-10-312018-07-312018-04-302017-10-312017-07-312017-04-302016-10-312016-07-312016-04-30
Value128126123118115112108106104959339191818
Percentage of WeightedAverageNumberOfShareOutstandingBasicAndDiluted100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted us-gaap:StatementClassOfStock

us-gaap:CommonClassA


Weighted
Period End2020-10-312020-07-312020-04-302019-10-312019-07-312019-04-302018-10-312018-07-312018-04-302017-10-312017-07-312017-04-302016-10-312016-07-312016-04-30
Value12011711411010510297927925143.2910.00.00.0
Percentage of WeightedAverageNumberOfShareOutstandingBasicAndDiluted93.793.393.192.591.390.989.886.476.826.215.78.30.00.00.0

us-gaap:CommonClassB


Weighted
Period End2020-10-312020-07-312020-04-302019-10-312019-07-312019-04-302018-10-312018-07-312018-04-302017-10-312017-07-312017-04-302016-10-312016-07-312016-04-30
Value8.1768.4288.5198.8719.98410111424707836191818
Percentage of WeightedAverageNumberOfShareOutstandingBasicAndDiluted6.36.76.97.58.79.110.213.623.273.884.391.7100.0100.0100.0

Antidilutive Securities Excluded From Computation Of Earnings Per Share Amount

us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount

us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount


Antidilutive
Period End2021-04-302020-04-302019-04-302018-04-302017-07-312017-04-302016-07-312016-04-30
Value2526362838369083
Percentage of AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecurities

us-gaap:EmployeeStock


Antidilutive
Period End2021-04-302020-04-302019-04-302018-04-302017-07-312017-04-302016-07-312016-04-30
Value0.1310.2440.2611.0621.0821.040.00.0
Percentage of AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount0.50.90.73.82.82.80.00.0

us-gaap:EmployeeStockOption


Antidilutive
Period End2021-04-302020-04-302019-04-302018-04-302017-07-312017-04-302016-07-312016-04-30
Value8.10911162233333023
Percentage of AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount32.041.545.780.786.992.033.627.9

us-gaap:RestrictedStockUnitsRSU


Antidilutive
Period End2021-04-302020-04-302019-04-302018-04-302017-07-312017-04-302016-07-312016-04-30
Value5.1124.894.8483.4332.210.0590.00.0
Percentage of AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount20.218.213.412.25.80.20.00.0

us-gaap:Warrant


Antidilutive
Period End2021-04-302020-04-302019-04-302018-04-302017-07-312017-04-302016-07-312016-04-30
Value1.0482.4947.1340.00.00.00.1880.188
Percentage of AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount4.19.319.80.00.00.00.20.2

us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecurities, us-gaap:DebtInstrument

us-gaap:ConvertibleDebtSecurities, okta:ConvertibleSeniorNotesDue2023


Antidilutive
Period End2021-04-302020-04-302019-04-30
Value0.4782.4947.134
Percentage of AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount1.99.319.8

us-gaap:ConvertibleDebtSecurities, okta:ConvertibleSeniorNotesDue2025


Antidilutive
Period End2021-04-302020-04-302019-04-30
Value5.65.60.0
Percentage of AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount22.120.80.0

us-gaap:ConvertibleDebtSecurities, okta:ConvertibleSeniorNotesDue2026


Antidilutive
Period End2021-04-30
Value4.8
Percentage of AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount19.0

Earnings Per Share Basic

us-gaap:EarningsPerShareBasic

us-gaap:EarningsPerShareBasic


Earnings
Period End2021-07-312021-04-302020-07-312020-04-30
Value-1.83-0.83-0.48-0.47
Percentage of EarningsPerShareBasic100.0100.0100.0100.0

us-gaap:EarningsPerShareBasic us-gaap:StatementClassOfStock

us-gaap:CommonClassA


Earnings
Period End2021-07-312021-04-302020-07-312020-04-30
Value-1.83-0.83-0.48-0.47
Percentage of EarningsPerShareBasic100.0100.0100.0100.0

us-gaap:CommonClassB


Earnings
Period End2021-07-312021-04-302020-07-312020-04-30
Value-1.83-0.83-0.48-0.47
Percentage of EarningsPerShareBasic100.0100.0100.0100.0

Earnings Per Share Diluted

us-gaap:EarningsPerShareDiluted

us-gaap:EarningsPerShareDiluted


Earnings
Period End2021-07-312021-04-302020-07-312020-04-30
Value-1.83-0.83-0.48-0.47
Percentage of EarningsPerShareDiluted100.0100.0100.0100.0

us-gaap:EarningsPerShareDiluted us-gaap:StatementClassOfStock

us-gaap:CommonClassA


Earnings
Period End2021-07-312021-04-302020-07-312020-04-30
Value-1.83-0.83-0.48-0.47
Percentage of EarningsPerShareDiluted100.0100.0100.0100.0

us-gaap:CommonClassB


Earnings
Period End2021-07-312021-04-302020-07-312020-04-30
Value-1.83-0.83-0.48-0.47
Percentage of EarningsPerShareDiluted100.0100.0100.0100.0

Earnings Per Share Basic And Diluted

us-gaap:EarningsPerShareBasicAndDiluted

us-gaap:EarningsPerShareBasicAndDiluted


Earnings
Period End2021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-0.58-0.56-0.48-0.47-0.41-0.53-0.37-0.46-0.28-0.27-0.37-0.25-0.21-0.35-0.29-0.73-0.93-1.14-1.1-1.22
Percentage of EarningsPerShareBasicAndDiluted100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:EarningsPerShareBasicAndDiluted us-gaap:StatementClassOfStock

us-gaap:CommonClassA


Earnings
Period End2021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-0.58-0.56-0.48-0.47-0.41-0.53-0.37-0.46-0.28-0.27-0.37-0.25-0.21-0.35-0.29-0.730000
Percentage of EarningsPerShareBasicAndDiluted100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0-0.0-0.0-0.0-0.0

us-gaap:CommonClassB


Earnings
Period End2021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-0.58-0.56-0.48-0.47-0.41-0.53-0.37-0.46-0.28-0.27-0.37-0.25-0.21-0.35-0.29-0.73-0.93-1.14-1.1-1.22
Percentage of EarningsPerShareBasicAndDiluted100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

Allocated Share Based Compensation Expense

us-gaap:AllocatedShareBasedCompensationExpense

us-gaap:AllocatedShareBasedCompensationExpense


Allocated
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value187645653483736353122222118141414118.9065.2584.8363.6643.369
Percentage of AllocatedShareBasedCompensationExpense100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax59.525.524.024.724.120.622.123.422.318.119.420.419.316.918.921.519.616.810.711.49.810.6

us-gaap:AllocatedShareBasedCompensationExpense us-gaap:IncomeStatementLocation

okta:CostofServicesLicensesandServices


Allocated
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value137.256.6666.095.1643.9753.7863.6043.1112.4222.0242.3831.9011.5291.4371.4211.0560.6860.5620.5780.4460.393
Percentage of AllocatedShareBasedCompensationExpense7.011.311.811.410.710.510.310.19.910.79.011.110.410.89.99.98.87.710.712.012.211.7
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax4.22.92.82.82.62.22.32.42.21.91.82.32.01.81.92.11.71.31.11.41.21.2
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax okta:CostofServicesLicensesandServices0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

okta:TechnologyServicesCosts


Allocated
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value3.1612.3422.1592.1132.01.8111.8721.91.8731.5191.7061.3051.0830.8890.9510.9790.7380.4690.3930.3040.3130.273
Percentage of AllocatedShareBasedCompensationExpense1.73.73.83.94.14.85.15.36.06.77.66.15.96.36.56.86.25.37.56.38.58.1
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax1.00.90.91.01.01.01.11.21.31.21.51.21.11.11.21.51.20.90.80.70.80.9
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax okta:TechnologyServicesCosts0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

us-gaap:GeneralAndAdministrativeExpense


Allocated
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value76131313138.8478.7938.47.9725.6124.7615.3354.4953.3513.0342.942.7252.0751.8291.5270.7570.731
Percentage of AllocatedShareBasedCompensationExpense40.920.824.225.227.123.423.823.525.524.721.224.824.723.720.820.422.823.334.831.620.721.7
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax24.35.35.86.26.54.85.35.55.74.54.15.14.84.03.94.44.53.93.73.62.02.3
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax us-gaap:GeneralAndAdministrativeExpense0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

us-gaap:ResearchAndDevelopmentExpense


Allocated
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value53201817141111109.0826.3466.8666.2915.2724.2135.1945.1744.4383.3010.830.8080.7360.618
Percentage of AllocatedShareBasedCompensationExpense28.431.333.432.730.931.630.830.529.028.030.629.228.929.835.735.937.137.115.816.720.118.3
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax16.98.08.08.17.56.56.87.16.55.15.96.05.65.06.77.77.36.21.71.92.01.9
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax us-gaap:ResearchAndDevelopmentExpense0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

us-gaap:SellingAndMarketingExpense


Allocated
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value41211514131111109.2366.7867.0646.2285.4714.1533.9523.8943.0212.3751.6441.6191.4121.354
Percentage of AllocatedShareBasedCompensationExpense22.032.926.826.827.229.630.130.629.529.931.528.930.029.427.127.025.226.731.333.538.540.2
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax13.18.46.46.66.66.16.67.16.65.46.15.95.85.05.15.85.04.53.33.83.84.3
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax us-gaap:SellingAndMarketingExpense0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

Comprehensive Income Net Of Tax

us-gaap:ComprehensiveIncomeNetOfTax

us-gaap:ComprehensiveIncomeNetOfTax


Comprehensive
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-277920000.0-109010000.0-72987000.0-75714000.0-58321000.0-54812000.0-49715000.0-61707000.0-44176000.0-52104000.0-30212000.0-29955000.0-39509000.0-26531000.0-24218000.0-33917000.0-26833000.0-28833000.0-18204000.0-22040000.0-20701000.0-22674000.0
Percentage of ComprehensiveIncomeNetOfTax100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-88.1-43.4-31.1-34.8-29.1-30.0-29.7-40.3-31.4-41.6-26.2-28.4-41.8-31.7-31.4-50.7-44.0-54.4-36.9-52.1-55.3-71.3

Cost Of Goods And Services Sold

us-gaap:CostOfGoodsAndServicesSold

us-gaap:CostOfGoodsAndServicesSold


Cost
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-31
Value101666156514844403835312928242221
Percentage of CostOfGoodsAndServicesSold100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax32.026.326.026.225.526.526.726.727.628.027.228.129.828.829.231.6

us-gaap:CostOfGoodsAndServicesSold us-gaap:ProductOrService

us-gaap:SubscriptionAndCirculation


Cost
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-31
Value84524844393733302724212019161513
Percentage of CostOfGoodsAndServicesSold83.579.279.678.777.276.675.873.872.069.968.668.268.167.767.164.2
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax26.820.920.720.619.720.320.219.719.919.618.719.220.319.519.620.3
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax us-gaap:SubscriptionAndCirculation27.921.80.021.720.721.40.020.821.120.90.020.721.921.30.021.9

us-gaap:TechnologyService


Cost
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-31
Value161312121111101010109.849.4359.0177.7757.4077.57
Percentage of CostOfGoodsAndServicesSold16.520.820.421.322.823.424.226.228.030.131.431.831.932.332.935.8
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax5.35.55.35.65.86.26.57.07.78.48.58.99.59.39.611.3
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax us-gaap:TechnologyService134.5125.40.0114.2119.4124.80.0125.6136.0131.00.0119.8133.9114.70.0150.0

Gains Losses On Extinguishment Of Debt

us-gaap:GainsLossesOnExtinguishmentOfDebt

us-gaap:GainsLossesOnExtinguishmentOfDebt


Gains
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-01-312019-10-312019-07-312019-01-312018-10-31
Value-43000.0-136000.00-89000.0-2174000.00-14572000.0000
Percentage of GainsLossesOnExtinguishmentOfDebt100.0100.00.0100.0100.00.0100.00.00.00.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-0.0-0.10.0-0.0-1.10.0-9.50.00.00.0

us-gaap:GainsLossesOnExtinguishmentOfDebt us-gaap:DebtInstrument, us-gaap:LongtermDebtType

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Gains
Period End2021-01-312020-10-312020-06-302020-01-312019-09-302019-10-31
Value00-14600000.00-14600000.0-14600000.0
Percentage of GainsLossesOnExtinguishmentOfDebt0.0-0.00.00.0100.20.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax0.00.00.00.00.0-9.5
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax okta:ConvertibleSeniorNotesDue2023 us-gaap:SeniorNotes0.00.00.00.00.00.0

General And Administrative Expense

us-gaap:GeneralAndAdministrativeExpense

us-gaap:GeneralAndAdministrativeExpense


General
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value15760504442343128262519192015141311119.097.9226.1426.945
Percentage of GeneralAndAdministrativeExpense100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax49.824.021.620.521.218.618.718.919.120.616.718.822.218.019.020.219.622.018.418.716.421.8

Gross Profit

us-gaap:GrossProfit

us-gaap:GrossProfit


Gross
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value21418417316014913412211210190847566595547413533282319
Percentage of GrossProfit100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax68.073.774.073.874.573.573.373.372.472.072.871.970.271.271.770.467.767.167.266.663.261.1

Income Loss From Continuing Operations Before Income Taxes Extraordinary Items Noncontrolling Interest

us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest

us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest


Income
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-284140000.0-109220000.0-75039000.0-72555000.0-60533000.0-58064000.0-49606000.0-63146000.0-44457000.0-53123000.0-28945000.0-30184000.0-40200000.0-26200000.0-24536000.0-34718000.0-26773000.0-28653000.0-18066000.0-21840000.0-20506000.0-22700000.0
Percentage of IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-90.1-43.5-32.0-33.4-30.2-31.8-29.6-41.3-31.6-42.4-25.1-28.6-42.5-31.3-31.8-51.9-43.9-54.1-36.6-51.7-54.8-71.4

Income Tax Expense Benefit

us-gaap:IncomeTaxExpenseBenefit

us-gaap:IncomeTaxExpenseBenefit


Income
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-7462000.010000.0767000.0209000.0-433000.0-402000.0866000.0349000.0-1477000.0-1200000.01866000.0-700000.0-1000000.0-200000.0179000.0-940000.0200000.0200000.0158000.0100000.0100000.081000.0
Percentage of IncomeTaxExpenseBenefit100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-2.40.00.30.1-0.2-0.20.50.2-1.1-1.01.6-0.7-1.1-0.20.2-1.40.30.40.30.20.30.3

Income Taxes Paid

us-gaap:IncomeTaxesPaid

us-gaap:IncomeTaxesPaid


Income
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-312017-01-31
Value1100000.0542000.0356000.0229000.0184000.0209000.0278000.0191000.0511000.0143000.0119000.0395000.079000.0-90000.0
Percentage of IncomeTaxesPaid100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax0.30.20.20.10.10.10.20.10.40.10.10.40.1-0.2

Interest Expense

us-gaap:InterestExpense

us-gaap:InterestExpense


Interest
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-30
Value222222221610107.8264.3044.2414.1794.1184.0582.717
Percentage of InterestExpense100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax7.29.19.610.38.45.96.45.13.13.43.63.94.33.2

Interest Expense Debt

us-gaap:InterestExpenseDebt us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:InterestExpenseDebt

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Interest
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-30
Value0.2790.4410.5490.5871.11.5721.552.7164.3034.2414.1794.1184.0582.717
Percentage of InterestExpenseDebt100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax0.10.20.20.30.50.90.91.83.13.43.63.94.33.2
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax okta:ConvertibleSeniorNotesDue2023 us-gaap:SeniorNotes0.00.00.00.00.00.00.00.00.00.00.00.00.00.0

okta:ConvertibleSeniorNotesDue2025, us-gaap:SeniorNotes


Interest
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-31
Value9.6899.5879.4869.3889.2899.1919.0955.112
Percentage of InterestExpenseDebt3472.82173.91727.91599.3844.5584.7586.8188.2
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax3.13.84.04.34.65.05.43.3
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax okta:ConvertibleSeniorNotesDue2025 us-gaap:SeniorNotes0.00.00.00.00.00.00.00.0

okta:ConvertibleSeniorNotesDue2026, us-gaap:SeniorNotes


Interest
Period End2021-07-312021-04-302021-01-312020-10-312020-07-31
Value121212126.542
Percentage of InterestExpenseDebt4625.12887.12288.32111.2594.7
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax4.15.15.45.73.3
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax okta:ConvertibleSeniorNotesDue2026 us-gaap:SeniorNotes0.00.00.00.00.0

Interest Paid Net

us-gaap:InterestPaidNet

us-gaap:InterestPaidNet


Interest
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-31
Value2157000.0707000.02193000.0725000.057000.0784000.00431000.00431000.00403000.0
Percentage of InterestPaidNet100.0100.0100.0100.0100.0100.00.0100.00.0100.00.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax0.70.30.90.30.00.40.00.30.00.30.00.4

Net Income Loss

us-gaap:NetIncomeLoss

us-gaap:NetIncomeLoss


Net
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-276680000.0-109230000.0-75806000.0-72764000.0-60100000.0-57662000.0-50472000.0-63495000.0-42980000.0-51966000.0-30811000.0-29517000.0-39207000.0-25962000.0-24719000.0-33778000.0-27002000.0-28901000.0-18224000.0-21931000.0-20601000.0-22753000.0
Percentage of NetIncomeLoss100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-87.7-43.5-32.3-33.5-30.0-31.5-30.2-41.5-30.6-41.5-26.7-28.0-41.5-31.0-32.1-50.5-44.3-54.5-37.0-51.9-55.0-71.6

us-gaap:NetIncomeLoss us-gaap:StatementClassOfStock

us-gaap:CommonClassA


Net
Period End2021-07-312021-04-302020-10-312020-07-312020-04-302019-10-312019-07-312019-04-302018-10-312018-07-312018-04-302017-10-312017-07-312017-04-302016-10-312016-07-312016-04-30
Value-263150000.0-102610000.0-68146000.0-56090000.0-53684000.0-58761000.0-39250000.0-47227000.0-26502000.0-33862000.0-19929000.0-8858000.0-4227000.0-2390000.0000
Percentage of NetIncomeLoss95.193.993.793.393.192.591.390.989.886.476.826.215.78.3-0.0-0.0-0.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-83.4-40.9-31.3-28.0-29.4-38.4-27.9-37.7-25.1-35.8-23.8-13.2-6.9-4.50.00.00.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax us-gaap:CommonClassA0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

us-gaap:CommonClassB


Net
Period End2021-07-312021-04-302020-10-312020-07-312020-04-302019-10-312019-07-312019-04-302018-10-312018-07-312018-04-302017-10-312017-07-312017-04-302016-10-312016-07-312016-04-30
Value-13531000.0-6620000.0-4618000.0-4010000.0-3978000.0-4734000.0-3730000.0-4739000.0-3015000.0-5345000.0-6033000.0-24919000.0-22775000.0-26511000.0-21931000.0-20601000.0-22753000.0
Percentage of NetIncomeLoss4.96.16.36.76.97.58.79.110.213.623.273.884.391.7100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-4.3-2.6-2.1-2.0-2.2-3.1-2.7-3.8-2.9-5.7-7.2-37.2-37.3-50.0-51.9-55.0-71.6
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax us-gaap:CommonClassB0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

us-gaap:NetIncomeLoss us-gaap:StatementEquityComponents

us-gaap:RetainedEarnings


Net
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-30
Value-276680000.0-109230000.0-75806000.0-72764000.0-60100000.0-57662000.0-50472000.0-63495000.0-42980000.0-51966000.0-30811000.0-29517000.0-39207000.0-25962000.0
Percentage of NetIncomeLoss100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-87.7-43.5-32.3-33.5-30.0-31.5-30.2-41.5-30.6-41.5-26.7-28.0-41.5-31.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax us-gaap:RetainedEarnings0.00.00.00.00.00.00.00.00.00.00.00.00.00.0

Operating Expenses

us-gaap:OperatingExpenses

us-gaap:OperatingExpenses


Operating
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value477275228212194186167157145141111104104848082686451504442
Percentage of OperatingExpenses100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax151.5109.897.297.797.1102.0100.0103.2103.4113.396.898.8110.8101.0104.6123.1112.3121.1103.7118.4118.1132.5

Operating Income Loss

us-gaap:OperatingIncomeLoss

us-gaap:OperatingIncomeLoss


Operating
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-263440000.0-90681000.0-54596000.0-51976000.0-45388000.0-52199000.0-44703000.0-45730000.0-43617000.0-51782000.0-27735000.0-28479000.0-38430000.0-24978000.0-25346000.0-35227000.0-27155000.0-28634000.0-17967000.0-21890000.0-20562000.0-22704000.0
Percentage of OperatingIncomeLoss100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-83.5-36.1-23.3-23.9-22.6-28.5-26.7-29.9-31.0-41.4-24.0-27.0-40.6-29.9-32.9-52.6-44.5-54.0-36.4-51.8-54.9-71.4

Other Comprehensive Income Loss Foreign Currency Transaction And Translation Adjustment Net Of Tax

us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax

us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax


Other
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-882000.01033000.03384000.0-724000.02843000.0-1784000.0153000.01561000.0-1390000.0-333000.0376000.0-442000.0-379000.0-444000.0592000.0-81000.0181000.068000.024000.0-89000.0-102000.047000.0
Percentage of OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-0.30.41.4-0.31.4-1.00.11.0-1.0-0.30.3-0.4-0.4-0.50.8-0.10.30.10.0-0.2-0.30.1

Other Comprehensive Income Loss Net Of Tax

us-gaap:OtherComprehensiveIncomeLossNetOfTax

us-gaap:OtherComprehensiveIncomeLossNetOfTax


Other
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-1235000.0220000.02819000.0-2950000.01779000.02850000.0757000.01788000.0-1196000.0-138000.0599000.0-438000.0-302000.0-569000.0460000.0-139000.0169000.068000.020000.0-109000.0-100000.079000.0
Percentage of OtherComprehensiveIncomeLossNetOfTax100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-0.40.11.2-1.40.91.60.51.2-0.9-0.10.5-0.4-0.3-0.70.6-0.20.30.10.0-0.3-0.30.2

Other Nonoperating Income Expense

us-gaap:OtherNonoperatingIncomeExpense

us-gaap:OtherNonoperatingIncomeExpense


Other
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value2.2114.3552.1541.8783.964.8995.7434.9823.4642.913-1.705-1.762-1.2150.810.5090.382-0.019-0.0990.050.0560.032
Percentage of OtherNonoperatingIncomeExpense100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax0.71.70.90.92.02.73.43.32.52.312.0-1.6-1.9-1.51.10.80.6-0.0-0.20.10.10.1

Research And Development Expense

us-gaap:ResearchAndDevelopmentExpense

us-gaap:ResearchAndDevelopmentExpense


Research
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value1226862585348434140343027241919191615109.7069.6558.766
Percentage of ResearchAndDevelopmentExpense100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax38.827.426.526.826.926.525.927.328.527.226.026.126.323.825.128.727.729.021.423.025.827.6

Revenue From Contract With Customer Excluding Assessed Tax

us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax

us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax


Revenue
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value31525123421720018216715314012511510594837766605349423731
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax us-gaap:ProductOrService

us-gaap:SubscriptionAndCirculation


Revenue
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-31
Value3032402252061901731581441321171089787767061
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax96.195.696.095.195.195.094.794.494.393.693.992.592.991.992.192.5
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax96.195.696.095.195.195.094.794.494.393.693.992.592.991.992.192.5
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax us-gaap:SubscriptionAndCirculation100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:TechnologyService


Revenue
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-31
Value12109.34109.7579.0788.8138.527.9868.067.0097.8786.7326.786.0895.048
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax3.94.44.04.94.95.05.35.65.76.46.17.57.18.17.97.5
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax3.94.44.04.94.95.05.35.65.76.46.17.57.18.17.97.5
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax us-gaap:TechnologyService100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

Selling And Marketing Expense

us-gaap:SellingAndMarketingExpense

us-gaap:SellingAndMarketingExpense


Selling
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value1981461151099810492877882625659494649393731322826
Percentage of SellingAndMarketingExpense100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax62.958.449.150.549.156.955.457.055.865.654.253.962.459.260.574.164.970.163.876.775.983.1

Assets

us-gaap:Assets

us-gaap:Assets


Assets
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value893234303298317031152037195518701026998864796763726367337316320130
Percentage of Assets100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

Liabilities

us-gaap:Liabilities

us-gaap:Liabilities


Liabilities
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value28892747260424892429162315501472776759611552518477203180163154146
Percentage of Liabilities100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets32.480.179.078.578.079.779.378.775.676.070.869.367.965.755.553.651.748.2112.0

Liabilities And Stockholders Equity

us-gaap:LiabilitiesAndStockholdersEquity

us-gaap:LiabilitiesAndStockholdersEquity


Liabilities
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value893234303298317031152037195518701026998864796763726367337316320130
Percentage of LiabilitiesAndStockholdersEquity100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

Stockholders Equity

us-gaap:StockholdersEquity

us-gaap:StockholdersEquity


Stockholders
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-01-312015-01-31
Value6042682694680685413405398250239252244245249163156152165-243.605-181.062-117.198
Percentage of StockholdersEquity100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets67.619.921.021.522.020.320.721.324.424.029.230.732.134.344.546.448.351.8-186.50.00.0

us-gaap:StockholdersEquity us-gaap:StatementClassOfStock, us-gaap:StatementEquityComponents

us-gaap:CommonClassA, us-gaap:CommonStock


Stockholders
Period End2021-01-312020-01-312019-01-312018-01-312017-01-312016-01-312015-01-31
Value0.0120.0110.010.0070.00.00.0
Percentage of StockholdersEquity0.00.00.00.0-0.0-0.0-0.0
Percentage of Assets0.00.00.00.00.00.00.0
Percentage of Assets us-gaap:CommonClassA us-gaap:CommonStock0.00.00.00.00.00.00.0

us-gaap:CommonClassB, us-gaap:CommonStock


Stockholders
Period End2021-01-312020-01-312019-01-312018-01-312017-01-312016-01-312015-01-31
Value0.0010.0010.0010.0030.0020.0020.002
Percentage of StockholdersEquity0.00.00.00.0-0.0-0.0-0.0
Percentage of Assets0.00.00.00.00.00.00.0
Percentage of Assets us-gaap:CommonClassB us-gaap:CommonStock0.00.00.00.00.00.00.0

us-gaap:StockholdersEquity us-gaap:StatementEquityComponents

okta:CommonStockAndAdditionalPaidInCapital


Stockholders
Period End2021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-31
Value1753165615691498116811051048839784744706677642565
Percentage of StockholdersEquity256.9238.6230.6218.7282.8272.8263.3334.8327.5295.2289.1276.4257.4345.8
Percentage of Assets51.150.249.548.157.356.556.181.878.586.288.788.788.4154.0
Percentage of Assets okta:CommonStockAndAdditionalPaidInCapital0.00.00.00.00.00.00.00.00.00.00.00.00.00.0

us-gaap:AccumulatedOtherComprehensiveIncome


Stockholders
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-01-312016-01-312015-01-31
Value4.3755.615.392.5715.5213.7420.8920.135-1.653-0.457-0.319-0.918-0.48-0.1780.391-0.167-0.057-0.01
Percentage of StockholdersEquity0.10.80.80.40.80.90.20.0-0.7-0.2-0.1-0.4-0.2-0.10.20.10.00.0
Percentage of Assets0.00.20.20.10.20.20.00.0-0.2-0.0-0.0-0.1-0.1-0.00.1-0.10.00.0
Percentage of Assets us-gaap:AccumulatedOtherComprehensiveIncome0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

us-gaap:AdditionalPaidInCapital


Stockholders
Period End2021-01-312020-01-312019-01-312018-01-312017-01-312016-01-312015-01-31
Value16561105744565442310
Percentage of StockholdersEquity238.6272.7295.2345.8-18.3-12.9-9.3
Percentage of Assets50.256.586.2154.034.00.00.0
Percentage of Assets us-gaap:AdditionalPaidInCapital0.00.00.00.00.00.00.0

us-gaap:CommonStockIncludingAdditionalPaidInCapital


Stockholders
Period End2021-07-312021-04-302021-01-312020-07-312020-04-302020-01-31
Value739117531656149811681105
Percentage of StockholdersEquity122.3256.9238.6218.7282.8272.8
Percentage of Assets82.751.150.248.157.356.5
Percentage of Assets us-gaap:CommonStockIncludingAdditionalPaidInCapital0.00.00.00.00.00.0

us-gaap:RetainedEarnings


Stockholders
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-01-312016-01-312015-01-31
Value-1353.37-1076.688-967.456-891.65-818.886-758.786-701.124-650.652-587.157-544.177-492.211-461.4-431.883-392.676-402.468-287.909-204.4-128.098
Percentage of StockholdersEquity-22.4-157.7-139.4-131.0-119.5-183.7-173.0-163.3-234.2-227.3-195.0-188.7-176.2-157.3-246.0118.2112.9109.3
Percentage of Assets-15.2-31.4-29.3-28.1-26.3-37.3-35.9-34.8-57.2-54.5-56.9-57.9-56.5-54.0-109.5-220.40.00.0
Percentage of Assets us-gaap:RetainedEarnings0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

Assets Current

us-gaap:AssetsCurrent

us-gaap:AssetsCurrent


Assets
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value2877301228782757270616331599152669767670965863363631529427427992
Percentage of AssetsCurrent100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets32.287.887.387.086.980.281.881.667.967.882.182.682.987.585.887.486.987.471.0

Cash And Cash Equivalents At Carrying Value

us-gaap:CashAndCashEquivalentsAtCarryingValue

us-gaap:CashAndCashEquivalentsAtCarryingValue


Cash
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-302016-01-31
Value22565943440995761952010392062082981951922111271371262212320283954
Percentage of CashAndCashEquivalentsAtCarryingValue100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets2.519.213.212.930.730.426.655.620.120.834.524.625.229.134.840.840.069.217.80.00.00.00.0

Cash Cash Equivalents Restricted Cash And Restricted Cash Equivalents

us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents

us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents


Cash
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-302016-01-312015-01-31
Value2396734484239716345311051218219311204201220136137126221232532435821
Percentage of CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets2.719.613.613.431.231.127.256.221.322.036.025.726.430.337.140.940.169.317.80.00.00.00.00.0

Short Term Investments

us-gaap:ShortTermInvestments

us-gaap:ShortTermInvestments


Short
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value2243203021212085155782788232635033926535034333510186862.514
Percentage of ShortTermInvestments100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets25.159.264.365.850.040.645.217.534.234.030.743.944.946.127.725.527.40.811.0

Accounts Receivable Net Current

us-gaap:AccountsReceivableNetCurrent

us-gaap:AccountsReceivableNetCurrent


Accounts
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value2382181941391101111301018783917059505246353234
Percentage of AccountsReceivableNetCurrent100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets2.76.45.94.43.55.56.75.48.68.310.68.87.86.914.213.911.210.026.4

Prepaid Expense And Other Assets Current

us-gaap:PrepaidExpenseAndOtherAssetsCurrent

us-gaap:PrepaidExpenseAndOtherAssetsCurrent


Prepaid
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value11555818244403229242029201720171012107.025
Percentage of PrepaidExpenseAndOtherAssetsCurrent100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets1.31.62.52.61.42.01.71.62.42.13.42.52.32.84.63.04.13.25.4

Property Plant And Equipment Gross

us-gaap:PropertyPlantAndEquipmentGross

us-gaap:PropertyPlantAndEquipmentGross


Property
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value8569622015
Percentage of PropertyPlantAndEquipmentGross100.0100.0100.0100.0100.0
Percentage of Assets2.63.67.25.611.6

us-gaap:PropertyPlantAndEquipmentGross us-gaap:PropertyPlantAndEquipmentByType

us-gaap:ComputerEquipment


Property
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value1.2423.5673.6685.3843.753
Percentage of PropertyPlantAndEquipmentGross1.55.15.926.124.8
Percentage of Assets0.00.20.41.52.9
Percentage of Assets us-gaap:ComputerEquipment0.00.00.00.00.0

us-gaap:FurnitureAndFixtures


Property
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value1311117.0834.204
Percentage of PropertyPlantAndEquipmentGross16.415.717.634.327.8
Percentage of Assets0.40.61.31.93.2
Percentage of Assets us-gaap:FurnitureAndFixtures0.00.00.00.00.0

us-gaap:LeaseholdImprovements


Property
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value6955478.1887.175
Percentage of PropertyPlantAndEquipmentGross82.179.276.539.647.4
Percentage of Assets2.12.85.52.25.5
Percentage of Assets us-gaap:LeaseholdImprovements0.00.00.00.00.0

Accumulated Depreciation Depletion And Amortization Property Plant And Equipment

us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment

us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment


Accumulated
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value22169.6428.1154.106
Percentage of AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment100.0100.0100.0100.0100.0
Percentage of Assets0.70.81.12.23.1

Amortization Of Intangible Assets

us-gaap:AmortizationOfIntangibleAssets

us-gaap:AmortizationOfIntangibleAssets


Amortization
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value212.92.9000000000000012.72.82.82.92.63.02.11.71.81.21.20.80.80.70.70.50.50.40.3
Percentage of AmortizationOfIntangibleAssets100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

Property Plant And Equipment Net

us-gaap:PropertyPlantAndEquipmentNet

us-gaap:PropertyPlantAndEquipmentNet


Property
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value61626262636153515152524440191213131311
Percentage of PropertyPlantAndEquipmentNet100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets0.71.81.92.02.03.02.72.85.15.26.15.65.32.63.43.94.24.18.4

Goodwill

us-gaap:Goodwill

us-gaap:Goodwill


Goodwill
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value53384848484848484747471818186.36.2826.36.36.2822.6
Percentage of Goodwill100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets59.81.41.51.51.52.42.52.64.74.82.12.32.40.91.71.92.02.02.0

us-gaap:Goodwill us-gaap:BusinessAcquisition

okta:Auth0


Goodwillus-gaap:
Period End2021-05-03
Value5290
Percentage of Goodwill0.0
Percentage of Assets0.0
Percentage of Assets okta:Auth00.0

Intangible Assets Net Excluding Goodwill

us-gaap:IntangibleAssetsNetExcludingGoodwill

us-gaap:IntangibleAssetsNetExcludingGoodwill


Intangible
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value337242728303132333428131416111111119.8359.155
Percentage of IntangibleAssetsNetExcludingGoodwill100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets3.80.70.80.91.01.51.71.83.42.81.61.92.11.63.23.43.53.17.0

Finite Lived Intangible Assets Net

us-gaap:FiniteLivedIntangibleAssetsNet

us-gaap:FiniteLivedIntangibleAssetsNet


Finite
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value337242728303132333428131416111111119.8359.155
Percentage of FiniteLivedIntangibleAssetsNet100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets3.80.70.80.91.01.51.71.83.42.81.61.92.11.63.23.43.53.17.0

us-gaap:FiniteLivedIntangibleAssetsNet us-gaap:BusinessAcquisition

okta:Auth0


Finite
Period End2021-07-31
Value315
Percentage of FiniteLivedIntangibleAssetsNet93.5
Percentage of Assets3.5
Percentage of Assets okta:Auth00.0

us-gaap:FiniteLivedIntangibleAssetsNet us-gaap:FiniteLivedIntangibleAssetsByMajorClass

us-gaap:ComputerSoftwareIntangibleAsset


Finite
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value8.8539.497101110109.9439.6729.1529.1169.8691011111110109.1598.372
Percentage of FiniteLivedIntangibleAssetsNet2.639.339.938.835.632.530.628.626.432.571.070.268.996.395.895.194.493.191.4
Percentage of Assets0.10.30.30.40.30.50.50.50.90.91.11.31.41.63.13.23.32.96.4
Percentage of Assets us-gaap:ComputerSoftwareIntangibleAsset0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

us-gaap:CustomerRelationships


Finite
Period End2021-07-31
Value132
Percentage of FiniteLivedIntangibleAssetsNet39.1
Percentage of Assets1.5
Percentage of Assets us-gaap:CustomerRelationships0.0

us-gaap:DevelopedTechnologyRights


Finite
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-01-312017-10-312017-07-312017-04-302017-01-31
Value1761416171920222425183.7674.1514.60.00.00.00.00.004
Percentage of FiniteLivedIntangibleAssetsNet52.260.059.661.164.267.369.171.273.266.727.127.728.70.00.00.00.00.0
Percentage of Assets2.00.40.50.60.61.01.11.32.51.90.40.50.60.00.00.00.00.0
Percentage of Assets us-gaap:DevelopedTechnologyRights0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

us-gaap:LicensingAgreements


Finite
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value0.1180.1810.1220.0180.040.060.1070.0820.1410.2010.260.320.380.4390.4990.5570.6170.6760.779
Percentage of FiniteLivedIntangibleAssetsNet0.00.70.50.10.10.20.30.20.40.71.92.12.43.74.24.95.66.98.5
Percentage of Assets0.00.00.00.00.00.00.00.00.00.00.00.00.00.10.10.20.20.20.6
Percentage of Assets us-gaap:LicensingAgreements0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

us-gaap:TradeNames


Finite
Period End2021-07-31
Value20
Percentage of FiniteLivedIntangibleAssetsNet6.0
Percentage of Assets0.2
Percentage of Assets us-gaap:TradeNames0.0

Deferred Tax Assets Liabilities Net

us-gaap:DeferredTaxAssetsLiabilitiesNet

us-gaap:DeferredTaxAssetsLiabilitiesNet


Deferred
Period End2021-01-312020-01-312019-01-312018-01-31
Value3521000.02129000.0562000.0477000.0
Percentage of DeferredTaxAssetsLiabilitiesNet100.0100.0100.0100.0
Percentage of Assets0.10.10.10.1

Operating Lease Right Of Use Asset

us-gaap:OperatingLeaseRightOfUseAsset

us-gaap:OperatingLeaseRightOfUseAsset


Operating
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-31
Value146145149154157162125126116119121
Percentage of OperatingLeaseRightOfUseAsset100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets1.64.24.54.95.18.06.46.811.412.014.0

Other Assets Noncurrent

us-gaap:OtherAssetsNoncurrent

us-gaap:OtherAssetsNoncurrent


Other
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value4128242422201818181615131212102.4631.6581.6714.984
Percentage of OtherAssetsNoncurrent100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets0.50.80.70.80.71.00.91.01.81.71.81.71.61.72.80.70.50.53.8

Accounts Payable Current

us-gaap:AccountsPayableCurrent

us-gaap:AccountsPayableCurrent


Accounts
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value9.4149.5428.5575.1144.7268.0213.8374.9243.4924.352171212119.566129.8481511
Percentage of AccountsPayableCurrent100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets0.10.30.30.20.20.40.20.30.30.42.01.51.61.62.63.83.15.09.1

Accrued Income Taxes Current

us-gaap:AccruedIncomeTaxesCurrent

us-gaap:AccruedIncomeTaxesCurrent


Accrued
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value2462000.01591000.01195000.0835000.0826000.0
Percentage of AccruedIncomeTaxesCurrent100.0100.0100.0100.0100.0
Percentage of Assets0.10.10.10.20.6

Accrued Liabilities Current

us-gaap:AccruedLiabilitiesCurrent

us-gaap:AccruedLiabilitiesCurrent


Accrued
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value24226.3923.3894.297
Percentage of AccruedLiabilitiesCurrent100.0100.0100.0100.0100.0
Percentage of Assets0.71.20.70.93.3

Contract With Customer Liability Current

us-gaap:ContractWithCustomerLiabilityCurrent

us-gaap:ContractWithCustomerLiabilityCurrent


Contract
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-31
Value721613502424391392365306283268245206186173159
Percentage of ContractWithCustomerLiabilityCurrent100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets8.117.915.213.412.619.218.716.427.626.828.425.924.423.943.5

Liabilities Current

us-gaap:LiabilitiesCurrent

us-gaap:LiabilitiesCurrent


Liabilities
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value9128001545573533570546478620601564244218202190170152143135
Percentage of LiabilitiesCurrent100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets10.223.346.918.117.128.028.025.660.460.365.330.728.627.951.950.748.344.7103.8

Operating Lease Liability Current

us-gaap:OperatingLeaseLiabilityCurrent

us-gaap:OperatingLeaseLiabilityCurrent


Operating
Period End2021-01-312020-01-312019-01-31
Value231210
Percentage of OperatingLeaseLiabilityCurrent100.0100.0100.0
Percentage of Assets0.70.61.3

Other Liabilities Current

us-gaap:OtherLiabilitiesCurrent

us-gaap:OtherLiabilitiesCurrent


Other
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value8010853475436363331329.9596.3056.3334.8966.1874.9554.3994.8225.853
Percentage of OtherLiabilitiesCurrent100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets0.93.21.61.51.81.81.91.83.13.21.20.80.80.71.71.51.41.54.5

Long Term Debt

us-gaap:LongTermDebt us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:LongTermDebt

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Long
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-31
Value152035354310210099
Percentage of LongTermDebt100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets0.20.61.11.11.45.05.25.3
Percentage of Assets okta:ConvertibleSeniorNotesDue2023 us-gaap:SeniorNotes0.00.00.00.00.00.00.00.0

okta:ConvertibleSeniorNotesDue2025, us-gaap:SeniorNotes


Long
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-31
Value891882873863854845837828
Percentage of LongTermDebt5670.94245.62448.52459.01961.6827.7831.2834.7
Percentage of Assets10.025.726.527.227.441.542.844.3
Percentage of Assets okta:ConvertibleSeniorNotesDue2025 us-gaap:SeniorNotes0.00.00.00.00.00.00.00.0

okta:ConvertibleSeniorNotesDue2026, us-gaap:SeniorNotes


Long
Period End2021-07-312021-04-302021-01-312020-10-312020-07-31
Value880869857845834
Percentage of LongTermDebt5602.44181.92404.72407.91915.2
Percentage of Assets9.925.326.026.726.8
Percentage of Assets okta:ConvertibleSeniorNotesDue2026 us-gaap:SeniorNotes0.00.00.00.00.0

Deferred Income Tax Liabilities Net

us-gaap:DeferredIncomeTaxLiabilitiesNet

us-gaap:DeferredIncomeTaxLiabilitiesNet


Deferred
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value3877000.01558000.0727000.0175000.0132000.0
Percentage of DeferredIncomeTaxLiabilitiesNet100.0100.0100.0100.0100.0
Percentage of Assets0.10.10.10.00.1

Other Liabilities Noncurrent

us-gaap:OtherLiabilitiesNoncurrent

us-gaap:OtherLiabilitiesNoncurrent


Other
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value18101112126.7025.3614.7794.2413.47383431107.0176.5536.4516.3234.947
Percentage of OtherLiabilitiesNoncurrent100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets0.20.30.30.40.40.30.30.30.40.34.54.44.11.41.91.92.02.03.8

Operating Lease Liability Noncurrent

us-gaap:OperatingLeaseLiabilityNoncurrent

us-gaap:OperatingLeaseLiabilityNoncurrent


Operating
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-31
Value171173179185189194154153143146147
Percentage of OperatingLeaseLiabilityNoncurrent100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets1.95.15.45.96.19.67.98.214.014.617.0

Lessee Operating Lease Liability Payments Due Year Two

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueYearTwo

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueYearTwo


Lessee
Period End2021-07-312021-04-302021-01-312020-10-31
Value40383737
Percentage of LesseeOperatingLeaseLiabilityPaymentsDueYearTwo100.0100.0100.0100.0
Percentage of Assets0.51.11.11.2

Lessee Operating Lease Liability Payments Due Year Three

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueYearThree

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueYearThree


Lessee
Period End2021-07-312021-04-302021-01-312020-10-31
Value37363838
Percentage of LesseeOperatingLeaseLiabilityPaymentsDueYearThree100.0100.0100.0100.0
Percentage of Assets0.41.11.21.2

Lessee Operating Lease Liability Payments Due Year Four

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueYearFour

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueYearFour


Lessee
Period End2021-07-312021-04-302021-01-312020-10-31
Value27263636
Percentage of LesseeOperatingLeaseLiabilityPaymentsDueYearFour100.0100.0100.0100.0
Percentage of Assets0.30.81.11.1

Lessee Operating Lease Liability Payments Due Year Five

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueYearFive

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueYearFive


Lessee
Period End2021-01-31
Value26
Percentage of LesseeOperatingLeaseLiabilityPaymentsDueYearFive100.0
Percentage of Assets0.8

Lessee Operating Lease Liability Payments Due After Year Five

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive


Lessee
Period End2021-01-31
Value73
Percentage of LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive100.0
Percentage of Assets2.2

Operating Lease Liability

us-gaap:OperatingLeaseLiability

us-gaap:OperatingLeaseLiability


Operating
Period End2021-07-312021-04-302021-01-312020-10-31
Value197197203207
Percentage of OperatingLeaseLiability100.0100.0100.0100.0
Percentage of Assets2.25.86.26.6

Lessee Operating Lease Liability Payments Due

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDue

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDue


Lessee
Period End2021-07-312021-04-302021-01-312020-10-31
Value237239247254
Percentage of LesseeOperatingLeaseLiabilityPaymentsDue100.0100.0100.0100.0
Percentage of Assets2.77.07.58.0

Lessee Operating Lease Liability Undiscounted Excess Amount

us-gaap:LesseeOperatingLeaseLiabilityUndiscountedExcessAmount

us-gaap:LesseeOperatingLeaseLiabilityUndiscountedExcessAmount


Lessee
Period End2021-07-312021-04-302021-01-312020-10-31
Value39414447
Percentage of LesseeOperatingLeaseLiabilityUndiscountedExcessAmount100.0100.0100.0100.0
Percentage of Assets0.41.21.31.5

Stockholders Equity

us-gaap:StockholdersEquity

us-gaap:StockholdersEquity


Stockholders
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-01-312015-01-31
Value6042682694680685413405398250239252244245249163156152165-243.605-181.062-117.198
Percentage of StockholdersEquity100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets67.619.921.021.522.020.320.721.324.424.029.230.732.134.344.546.448.351.8-186.50.00.0

us-gaap:StockholdersEquity us-gaap:StatementClassOfStock, us-gaap:StatementEquityComponents

us-gaap:CommonClassA, us-gaap:CommonStock


Stockholders
Period End2021-01-312020-01-312019-01-312018-01-312017-01-312016-01-312015-01-31
Value0.0120.0110.010.0070.00.00.0
Percentage of StockholdersEquity0.00.00.00.0-0.0-0.0-0.0
Percentage of Assets0.00.00.00.00.00.00.0
Percentage of Assets us-gaap:CommonClassA us-gaap:CommonStock0.00.00.00.00.00.00.0

us-gaap:CommonClassB, us-gaap:CommonStock


Stockholders
Period End2021-01-312020-01-312019-01-312018-01-312017-01-312016-01-312015-01-31
Value0.0010.0010.0010.0030.0020.0020.002
Percentage of StockholdersEquity0.00.00.00.0-0.0-0.0-0.0
Percentage of Assets0.00.00.00.00.00.00.0
Percentage of Assets us-gaap:CommonClassB us-gaap:CommonStock0.00.00.00.00.00.00.0

us-gaap:StockholdersEquity us-gaap:StatementEquityComponents

okta:CommonStockAndAdditionalPaidInCapital


Stockholders
Period End2021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-31
Value1753165615691498116811051048839784744706677642565
Percentage of StockholdersEquity256.9238.6230.6218.7282.8272.8263.3334.8327.5295.2289.1276.4257.4345.8
Percentage of Assets51.150.249.548.157.356.556.181.878.586.288.788.788.4154.0
Percentage of Assets okta:CommonStockAndAdditionalPaidInCapital0.00.00.00.00.00.00.00.00.00.00.00.00.00.0

us-gaap:AccumulatedOtherComprehensiveIncome


Stockholders
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-01-312016-01-312015-01-31
Value4.3755.615.392.5715.5213.7420.8920.135-1.653-0.457-0.319-0.918-0.48-0.1780.391-0.167-0.057-0.01
Percentage of StockholdersEquity0.10.80.80.40.80.90.20.0-0.7-0.2-0.1-0.4-0.2-0.10.20.10.00.0
Percentage of Assets0.00.20.20.10.20.20.00.0-0.2-0.0-0.0-0.1-0.1-0.00.1-0.10.00.0
Percentage of Assets us-gaap:AccumulatedOtherComprehensiveIncome0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

us-gaap:AdditionalPaidInCapital


Stockholders
Period End2021-01-312020-01-312019-01-312018-01-312017-01-312016-01-312015-01-31
Value16561105744565442310
Percentage of StockholdersEquity238.6272.7295.2345.8-18.3-12.9-9.3
Percentage of Assets50.256.586.2154.034.00.00.0
Percentage of Assets us-gaap:AdditionalPaidInCapital0.00.00.00.00.00.00.0

us-gaap:CommonStockIncludingAdditionalPaidInCapital


Stockholders
Period End2021-07-312021-04-302021-01-312020-07-312020-04-302020-01-31
Value739117531656149811681105
Percentage of StockholdersEquity122.3256.9238.6218.7282.8272.8
Percentage of Assets82.751.150.248.157.356.5
Percentage of Assets us-gaap:CommonStockIncludingAdditionalPaidInCapital0.00.00.00.00.00.0

us-gaap:RetainedEarnings


Stockholders
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-01-312016-01-312015-01-31
Value-1353.37-1076.688-967.456-891.65-818.886-758.786-701.124-650.652-587.157-544.177-492.211-461.4-431.883-392.676-402.468-287.909-204.4-128.098
Percentage of StockholdersEquity-22.4-157.7-139.4-131.0-119.5-183.7-173.0-163.3-234.2-227.3-195.0-188.7-176.2-157.3-246.0118.2112.9109.3
Percentage of Assets-15.2-31.4-29.3-28.1-26.3-37.3-35.9-34.8-57.2-54.5-56.9-57.9-56.5-54.0-109.5-220.40.00.0
Percentage of Assets us-gaap:RetainedEarnings0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

Common Stock Value

us-gaap:CommonStockValue us-gaap:StatementClassOfStock

us-gaap:CommonStockValue

us-gaap:CommonClassA


Common
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value15000.013000.012000.012000.012000.012000.011000.011000.011000.010000.010000.010000.010000.09000.07000.02000.02000.01000.00
Percentage of CommonStockValue100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.00.0
Percentage of Assets0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0
Percentage of Assets us-gaap:CommonClassA0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

us-gaap:CommonClassB


Common
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value1000.01000.01000.01000.01000.01000.01000.01000.01000.01000.01000.01000.01000.02000.03000.08000.08000.08000.02000.0
Percentage of CommonStockValue6.77.78.38.38.38.39.19.19.110.010.010.010.022.242.9400.0400.0800.00.0
Percentage of Assets0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0
Percentage of Assets us-gaap:CommonClassB0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

Additional Paid In Capital

us-gaap:AdditionalPaidInCapital

us-gaap:AdditionalPaidInCapital


Additional
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value7391175316561569149811681105104883978474470667764256553449648344
Percentage of AdditionalPaidInCapital100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets82.751.150.249.548.157.356.556.181.878.586.288.788.788.4154.0158.5157.1150.834.0

Retained Earnings Accumulated Deficit

us-gaap:RetainedEarningsAccumulatedDeficit

us-gaap:RetainedEarningsAccumulatedDeficit


Retained
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value-1353.37-1076.688-967.456-891.65-818.886-758.786-701.124-650.652-587.157-544.177-492.211-461.4-431.883-392.676-402.468-377.79-344.012-317.01-287.909
Percentage of RetainedEarningsAccumulatedDeficit100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets-15.2-31.4-29.3-28.1-26.3-37.3-35.9-34.8-57.2-54.5-56.9-57.9-56.5-54.0-109.5-112.1-108.8-99.0-220.4

Accumulated Other Comprehensive Income Loss Net Of Tax

us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax

us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax


Accumulated
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value4375000.05610000.05390000.02571000.05521000.03742000.0892000.0135000.0-1653000.0-457000.0-319000.0-918000.0-480000.0-178000.0391000.0-69000.070000.0-99000.0-167000.0
Percentage of AccumulatedOtherComprehensiveIncomeLossNetOfTax100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets0.00.20.20.10.20.20.00.0-0.2-0.0-0.0-0.1-0.1-0.00.1-0.00.0-0.0-0.1

Adjustments To Additional Paid In Capital Sharebased Compensation Requisite Service Period Recognition Value

us-gaap:AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue us-gaap:StatementEquityComponents

us-gaap:AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue

okta:CommonStockAndAdditionalPaidInCapital


Adjustments
Period End2021-04-302020-10-312020-07-312020-04-302019-10-312019-07-312019-04-302018-10-312018-07-312018-04-30
Value64544838363122211814
Percentage of AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of Assets0.00.00.00.00.00.00.00.00.00.0
Percentage of Assets okta:CommonStockAndAdditionalPaidInCapital0.00.00.00.00.00.00.00.00.00.0

us-gaap:CommonStockIncludingAdditionalPaidInCapital


Adjustments
Period End2021-07-312020-07-31
Value18748
Percentage of AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue0.0100.0
Percentage of Assets0.00.0
Percentage of Assets us-gaap:CommonStockIncludingAdditionalPaidInCapital0.00.0

Net Cash Provided By Used In Operating Activities

us-gaap:NetCashProvidedByUsedInOperatingActivities

us-gaap:NetCashProvidedByUsedInOperatingActivities


Net
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-2.60856344310382410-1.13421106.439-5.3433.9720.155-9.471-6.238-9.686-6.702-8.526-11.838-15.035
Percentage of NetCashProvidedByUsedInOperatingActivities100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-0.822.314.920.05.521.214.87.0-0.817.08.86.1-5.64.80.2-14.2-10.2-18.3-13.6-20.2-31.6-47.3

Net Cash Provided By Used In Investing Activities

us-gaap:NetCashProvidedByUsedInInvestingActivities

us-gaap:NetCashProvidedByUsedInInvestingActivities


Net
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-463.466151-37.264-595.621-722.86550-562.93922-22.383-125.60780-10.545-28.729-238.942-18.241-1.161-88.5198.2174.3970.7151.0120.841
Percentage of NetCashProvidedByUsedInInvestingActivities100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-146.960.5-15.9-274.0-360.627.7-336.415.0-15.9-100.370.1-10.0-30.4-285.7-23.7-1.7-145.115.58.91.72.72.6

Net Cash Provided By Used In Financing Activities

us-gaap:NetCashProvidedByUsedInFinancingActivities

us-gaap:NetCashProvidedByUsedInFinancingActivities


Net
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value3316255.21104714187982313157.469153191621-0.555200-0.0050.7510.048-0.337
Percentage of NetCashProvidedByUsedInFinancingActivities100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax10.56.410.72.4522.47.711.1521.716.410.613.37.116.3382.020.832.6-0.9377.5-0.01.80.1-1.1

Cash Cash Equivalents Restricted Cash And Restricted Cash Equivalents Period Increase Decrease Including Exchange Rate Effect

us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect

us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect


Cash
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-433.47422424-547.442336102-519.418832-1.352-91.3651063.005-18.87984-1.61111-95.246198-2.286-7.15-10.879-14.484
Percentage of CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-137.489.610.6-251.8168.156.0-310.4544.2-1.0-73.092.52.8-20.0100.6-2.116.6-156.2374.9-4.6-16.9-29.1-45.6

Amortization Of Financing Costs

us-gaap:AmortizationOfFinancingCosts us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:AmortizationOfFinancingCosts

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Amortization
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-30
Value24000.038000.046000.049000.090000.0127000.0123000.0214000.0329000.0319000.0308000.0299000.0288000.0190000.0
Percentage of AmortizationOfFinancingCosts100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

okta:ConvertibleSeniorNotesDue2025, us-gaap:SeniorNotes


Amortization
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-31
Value568000.0556000.0543000.0530000.0518000.0506000.0494000.0275000.0
Percentage of AmortizationOfFinancingCosts2366.71463.21180.41081.6575.6398.4401.6128.5

okta:ConvertibleSeniorNotesDue2026, us-gaap:SeniorNotes


Amortization
Period End2021-07-312021-04-302021-01-312020-10-312020-07-31
Value352000.0340000.0330000.0318000.0165000.0
Percentage of AmortizationOfFinancingCosts1466.7894.7717.4649.0183.3

Increase Decrease In Accounts Payable

us-gaap:IncreaseDecreaseInAccountsPayable

us-gaap:IncreaseDecreaseInAccountsPayable


Increase
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-3671000.01627000.02704000.0567000.0-3133000.03943000.0-273000.0594000.0-272000.01640000.0-679000.0-1203000.0218000.02339000.0-2750000.05072000.0-2599000.03782000.0-924000.0803000.0-2031000.03681000.0
Percentage of IncreaseDecreaseInAccountsPayable100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

Increase Decrease In Accounts Receivable

us-gaap:IncreaseDecreaseInAccountsReceivable

us-gaap:IncreaseDecreaseInAccountsReceivable


Increase
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-7.949225529-0.376-18.2528134.838-9.29722108.959-1.7195.579113.554-2.2438.3874.2962.4-3.09
Percentage of IncreaseDecreaseInAccountsReceivable100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

Net Cash Provided By Used In Operating Activities

us-gaap:NetCashProvidedByUsedInOperatingActivities

us-gaap:NetCashProvidedByUsedInOperatingActivities


Net
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-2.60856344310382410-1.13421106.439-5.3433.9720.155-9.471-6.238-9.686-6.702-8.526-11.838-15.035
Percentage of NetCashProvidedByUsedInOperatingActivities100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-0.822.314.920.05.521.214.87.0-0.817.08.86.1-5.64.80.2-14.2-10.2-18.3-13.6-20.2-31.6-47.3

Net Income Loss

us-gaap:NetIncomeLoss

us-gaap:NetIncomeLoss


Net
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-276680000.0-109230000.0-75806000.0-72764000.0-60100000.0-57662000.0-50472000.0-63495000.0-42980000.0-51966000.0-30811000.0-29517000.0-39207000.0-25962000.0-24719000.0-33778000.0-27002000.0-28901000.0-18224000.0-21931000.0-20601000.0-22753000.0
Percentage of NetIncomeLoss100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-87.7-43.5-32.3-33.5-30.0-31.5-30.2-41.5-30.6-41.5-26.7-28.0-41.5-31.0-32.1-50.5-44.3-54.5-37.0-51.9-55.0-71.6

us-gaap:NetIncomeLoss us-gaap:StatementClassOfStock

us-gaap:CommonClassA


Net
Period End2021-07-312021-04-302020-10-312020-07-312020-04-302019-10-312019-07-312019-04-302018-10-312018-07-312018-04-302017-10-312017-07-312017-04-302016-10-312016-07-312016-04-30
Value-263150000.0-102610000.0-68146000.0-56090000.0-53684000.0-58761000.0-39250000.0-47227000.0-26502000.0-33862000.0-19929000.0-8858000.0-4227000.0-2390000.0000
Percentage of NetIncomeLoss95.193.993.793.393.192.591.390.989.886.476.826.215.78.3-0.0-0.0-0.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-83.4-40.9-31.3-28.0-29.4-38.4-27.9-37.7-25.1-35.8-23.8-13.2-6.9-4.50.00.00.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax us-gaap:CommonClassA0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

us-gaap:CommonClassB


Net
Period End2021-07-312021-04-302020-10-312020-07-312020-04-302019-10-312019-07-312019-04-302018-10-312018-07-312018-04-302017-10-312017-07-312017-04-302016-10-312016-07-312016-04-30
Value-13531000.0-6620000.0-4618000.0-4010000.0-3978000.0-4734000.0-3730000.0-4739000.0-3015000.0-5345000.0-6033000.0-24919000.0-22775000.0-26511000.0-21931000.0-20601000.0-22753000.0
Percentage of NetIncomeLoss4.96.16.36.76.97.58.79.110.213.623.273.884.391.7100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-4.3-2.6-2.1-2.0-2.2-3.1-2.7-3.8-2.9-5.7-7.2-37.2-37.3-50.0-51.9-55.0-71.6
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax us-gaap:CommonClassB0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0

us-gaap:NetIncomeLoss us-gaap:StatementEquityComponents

us-gaap:RetainedEarnings


Net
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-30
Value-276680000.0-109230000.0-75806000.0-72764000.0-60100000.0-57662000.0-50472000.0-63495000.0-42980000.0-51966000.0-30811000.0-29517000.0-39207000.0-25962000.0
Percentage of NetIncomeLoss100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-87.7-43.5-32.3-33.5-30.0-31.5-30.2-41.5-30.6-41.5-26.7-28.0-41.5-31.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax us-gaap:RetainedEarnings0.00.00.00.00.00.00.00.00.00.00.00.00.00.0

Share Based Compensation

us-gaap:ShareBasedCompensation

us-gaap:ShareBasedCompensation


Share
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value187645653483736353122222118141414118.9065.2584.8363.6643.369
Percentage of ShareBasedCompensation100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

Net Cash Provided By Used In Investing Activities

us-gaap:NetCashProvidedByUsedInInvestingActivities

us-gaap:NetCashProvidedByUsedInInvestingActivities


Net
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-463.466151-37.264-595.621-722.86550-562.93922-22.383-125.60780-10.545-28.729-238.942-18.241-1.161-88.5198.2174.3970.7151.0120.841
Percentage of NetCashProvidedByUsedInInvestingActivities100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax-146.960.5-15.9-274.0-360.627.7-336.415.0-15.9-100.370.1-10.0-30.4-285.7-23.7-1.7-145.115.58.91.72.72.6

Payments To Acquire Property Plant And Equipment

us-gaap:PaymentsToAcquirePropertyPlantAndEquipment

us-gaap:PaymentsToAcquirePropertyPlantAndEquipment


Payments
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value0.7753.2591.7860.6282.7397.935.4620.0632.2077.715.5584.4635.3134.4770.980.4142.7082.4481.6061.6182.1020.927
Percentage of PaymentsToAcquirePropertyPlantAndEquipment100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

Net Cash Provided By Used In Financing Activities

us-gaap:NetCashProvidedByUsedInFinancingActivities

us-gaap:NetCashProvidedByUsedInFinancingActivities


Net
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value3316255.21104714187982313157.469153191621-0.555200-0.0050.7510.048-0.337
Percentage of NetCashProvidedByUsedInFinancingActivities100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0
Percentage of RevenueFromContractWithCustomerExcludingAssessedTax10.56.410.72.4522.47.711.1521.716.410.613.37.116.3382.020.832.6-0.9377.5-0.01.80.1-1.1

Debt Instrument Interest Rate Stated Percentage

us-gaap:DebtInstrumentInterestRateStatedPercentage us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:DebtInstrumentInterestRateStatedPercentage

okta:ConvertibleSeniorNotesDue2026, us-gaap:SeniorNotes


Debt
Period End2020-07-31
Value0.00375
Percentage of DebtInstrumentInterestRateStatedPercentage100.0
Percentage of LongTermDebtAndCapitalLeaseObligations0.0
Percentage of LongTermDebtAndCapitalLeaseObligations okta:ConvertibleSeniorNotesDue2026 us-gaap:SeniorNotes0.0

Effective Income Tax Rate Continuing Operations

us-gaap:EffectiveIncomeTaxRateContinuingOperations

us-gaap:EffectiveIncomeTaxRateContinuingOperations


Effective
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-2.60-0.4-0.30.0070.007-0.007-0.0060.0330.022-0.0190.0220.0250.009-0.0030.027-0.009-0.009-0.001-0.004-0.005-0.004
Percentage of EffectiveIncomeTaxRateContinuingOperations100.00.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Number

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber


Share
Period End2020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-07-312017-04-302017-01-31
Value9.91828111121314161719202224333332
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber us-gaap:PlanName, us-gaap:StatementClassOfStock

okta:A2017EquityIncentivePlan, us-gaap:CommonClassA


Share
Period End2020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-31
Value1.2107911.2855691.0112531.0820931.1443271.2303630.8603370.8632770.7645960.7645960.0800960.065
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber12.211.58.28.17.87.54.84.53.73.40.30.0

okta:A2017EquityIncentivePlan, us-gaap:CommonClassB


Share
Period End2020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-31
Value8.707499.8814241112131516
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber87.888.591.891.992.292.595.2

Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Weighted Average Exercise Price

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice


Share
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value37.2840.318.9318.2117.5216.3511.8211.5911.4211.089.168.938.798.587.377.126.486.476.01
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod us-gaap:AwardType, us-gaap:BusinessAcquisition

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod

us-gaap:RestrictedStock, okta:Auth0


Share
Period End2021-05-03
Value1200000.0
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod100.0

Deferred Tax Assets Net

us-gaap:DeferredTaxAssetsNet

us-gaap:DeferredTaxAssetsNet


Deferred
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value203122281012
Percentage of DeferredTaxAssetsNet100.0100.0100.0100.0100.0

Unrecognized Tax Benefits

us-gaap:UnrecognizedTaxBenefits

us-gaap:UnrecognizedTaxBenefits


Unrecognized
Period End2021-01-312020-01-312019-01-312018-01-312017-01-312016-01-312015-01-31
Value221523115.7753.5121.889
Percentage of UnrecognizedTaxBenefits100.0100.0100.0100.0100.0100.0100.0

Deferred Tax Assets Valuation Allowance

us-gaap:DeferredTaxAssetsValuationAllowance

us-gaap:DeferredTaxAssetsValuationAllowance


Deferred
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value55536120312598
Percentage of DeferredTaxAssetsValuationAllowance100.0100.0100.0100.0100.0

okta:AdjustmentsToAdditionalPaidInCapitalPurchaseOfConvertibleNoteWarrants us-gaap:StatementEquityComponents

okta:AdjustmentsToAdditionalPaidInCapitalPurchaseOfConvertibleNoteWarrants

okta:CommonStockAndAdditionalPaidInCapital


Adjustments
Period End2020-10-312020-07-312019-10-312019-07-312018-10-31
Value0.01753580.00.0
Percentage of AdjustmentsToAdditionalPaidInCapitalPurchaseOfConvertibleNoteWarrants0.0100.0100.00.00.0

us-gaap:CommonStockIncludingAdditionalPaidInCapital


Adjustments
Period End2020-07-31
Value175
Percentage of AdjustmentsToAdditionalPaidInCapitalPurchaseOfConvertibleNoteWarrants100.0

okta:AdjustmentstoAdditionalPaidinCapitalPurchaseofCappedCallsforConvertibleNoteHedges us-gaap:StatementEquityComponents

okta:AdjustmentstoAdditionalPaidinCapitalPurchaseofCappedCallsforConvertibleNoteHedges

okta:CommonStockAndAdditionalPaidInCapital


Adjustmentsto
Period End2020-10-312020-07-312019-10-312019-07-312018-10-31
Value0.0133740.00.0
Percentage of AdjustmentstoAdditionalPaidinCapitalPurchaseofCappedCallsforConvertibleNoteHedges0.0100.0100.00.00.0

us-gaap:CommonStockIncludingAdditionalPaidInCapital


Adjustmentsto
Period End2020-07-31
Value133
Percentage of AdjustmentstoAdditionalPaidinCapitalPurchaseofCappedCallsforConvertibleNoteHedges100.0

okta:BusinessAcquisitionEquityInterestIssuedOrIssuableHeldBackNumberOfShares us-gaap:BusinessAcquisition

okta:BusinessAcquisitionEquityInterestIssuedOrIssuableHeldBackNumberOfShares

okta:Auth0


Business
Period End2021-05-03
Value1100000.0
Percentage of BusinessAcquisitionEquityInterestIssuedOrIssuableHeldBackNumberOfShares100.0

okta:BusinessCombinationConsiderationTransferredLiabilitiesIncurredCashHeldBack us-gaap:BusinessAcquisition

okta:BusinessCombinationConsiderationTransferredLiabilitiesIncurredCashHeldBack

okta:Auth0


Business
Period End2021-05-03
Value3800000.0
Percentage of BusinessCombinationConsiderationTransferredLiabilitiesIncurredCashHeldBack100.0

okta:BusinessCombinationConsiderationTransferredLiabilitiesIncurredEquityInterestsIssuedAndIssuableHeldBack us-gaap:BusinessAcquisition

okta:BusinessCombinationConsiderationTransferredLiabilitiesIncurredEquityInterestsIssuedAndIssuableHeldBack

okta:Auth0


Business
Period End2021-05-03
Value294
Percentage of BusinessCombinationConsiderationTransferredLiabilitiesIncurredEquityInterestsIssuedAndIssuableHeldBack100.0

okta:BusinessCombinationReplacementEquityAwardsTotalIssuedFairValue us-gaap:AwardType, us-gaap:BusinessAcquisition

okta:BusinessCombinationReplacementEquityAwardsTotalIssuedFairValue

us-gaap:EmployeeStockOption, okta:Auth0


Business
Period End2021-05-03
Value655
Percentage of BusinessCombinationReplacementEquityAwardsTotalIssuedFairValue100.0

okta:CapitalizedContractCostsAdditions

okta:CapitalizedContractCostsAdditions


Capitalized
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-31
Value4014292118112415119.815118.55.7106.75.3
Percentage of CapitalizedContractCostsAdditions100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

okta:DebtInstrumentConvertiblePeriodAfterConsecutiveTradingDays us-gaap:DebtInstrument, us-gaap:LongtermDebtType

okta:DebtInstrumentConvertiblePeriodAfterConsecutiveTradingDays

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Debt
Period End2020-07-312020-04-30
Value05.0
Percentage of DebtInstrumentConvertiblePeriodAfterConsecutiveTradingDays0.0100.0

okta:ConvertibleSeniorNotesDue2025, us-gaap:SeniorNotes


Debt
Period End2020-07-312020-04-30
Value05.0
Percentage of DebtInstrumentConvertiblePeriodAfterConsecutiveTradingDays0.0100.0

okta:DepreciationAmortizationandAccretionExcludingAmortizationofDeferredSalesCommissions

okta:DepreciationAmortizationandAccretionExcludingAmortizationofDeferredSalesCommissions


Depreciation
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value311313117.2255.4665.4794.424.5173.3992.1772.1251.632.0691.891.8231.7131.5751.3911.2051.0850.887
Percentage of DepreciationAmortizationandAccretionExcludingAmortizationofDeferredSalesCommissions100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

okta:DerivativeInstrumentHedgeExercisedConsiderationReceivedOnTransaction us-gaap:DebtInstrument, us-gaap:LongtermDebtType

okta:DerivativeInstrumentHedgeExercisedConsiderationReceivedOnTransaction

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Derivative
Period End2021-07-312021-04-30
Value127.5
Percentage of DerivativeInstrumentHedgeExercisedConsiderationReceivedOnTransaction100.0100.0

okta:DerivativeInstrumentHedgeExercisedSharesReceivedOnTransaction us-gaap:DebtInstrument, us-gaap:LongtermDebtType

okta:DerivativeInstrumentHedgeExercisedSharesReceivedOnTransaction

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Derivative
Period End2021-07-312021-04-30
Value200000.0100000.0
Percentage of DerivativeInstrumentHedgeExercisedSharesReceivedOnTransaction100.0100.0

okta:IncreaseDecreaseInOperatingLeaseLiability

okta:IncreaseDecreaseInOperatingLeaseLiability


Increase
Period End2021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-30
Value-6285000.0-5400000.0-4087000.0-3393000.0-4270000.0-5588000.0-3969000.0-120000.0-39000.0-1028000.0-1060000.0-1600000.0-2954000.0
Percentage of IncreaseDecreaseInOperatingLeaseLiability100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

okta:IncreaseDecreaseInOperatingLeaseRightOfUseAssets

okta:IncreaseDecreaseInOperatingLeaseRightOfUseAssets


Increase
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-30
Value-5660000.0-5072000.0-5074000.0-5007000.0-4917000.0-4055000.0-5100000.0-1662000.0-3123000.0-3066000.0-5030000.0-4669000.0-2976000.0-4564000.0
Percentage of IncreaseDecreaseInOperatingLeaseRightOfUseAssets100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

okta:InitialCapPriceperShareCappedCalls us-gaap:DebtInstrument

okta:InitialCapPriceperShareCappedCalls

okta:ConvertibleSeniorNotesDue2025


Initial
Period End2021-07-312021-04-302021-01-312020-10-31
Value0255.8800
Percentage of InitialCapPriceperShareCappedCalls0.0100.00.00.0

okta:ConvertibleSeniorNotesDue2026


Initial
Period End2021-07-312021-04-302021-01-312020-10-31
Value0360.1400
Percentage of InitialCapPriceperShareCappedCalls0.0140.70.00.0

okta:InterestExpenseandOtherNonoperatingIncomeExpense

okta:InterestExpenseandOtherNonoperatingIncomeExpense


Interest
Period End2021-07-312021-04-302020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-31
Value201820155.8654.903170.841.3411.211.705
Percentage of InterestExpenseandOtherNonoperatingIncomeExpense100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

okta:PaymentforCappedCallConvertibleDebt

okta:PaymentforCappedCallConvertibleDebt


Paymentfor
Period End2021-01-312020-10-312020-01-312019-10-312019-01-31
Value0.00.00.0740.0
Percentage of PaymentforCappedCallConvertibleDebt0.00.00.0100.00.0

okta:PaymentforCappedCallConvertibleDebt us-gaap:DebtInstrument

okta:ConvertibleSeniorNotesDue2025


Paymentfor
Period End2021-07-312021-04-302021-01-312020-10-312020-01-31
Value0.0740.00.00.0
Percentage of PaymentforCappedCallConvertibleDebt0.00.00.00.00.0

okta:ConvertibleSeniorNotesDue2026


Paymentfor
Period End2021-07-312021-04-302021-01-312020-10-31
Value0.01340.00.0
Percentage of PaymentforCappedCallConvertibleDebt0.00.00.00.0

okta:PercentageOfClosingSalePriceInExcessOfConvertibleNotes us-gaap:DebtInstrument, us-gaap:LongtermDebtType

okta:PercentageOfClosingSalePriceInExcessOfConvertibleNotes

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Percentage
Period End2021-07-312021-04-302020-10-312020-07-312020-04-302018-02-232018-02-28
Value098.097.0200.980.980.98
Percentage of PercentageOfClosingSalePriceInExcessOfConvertibleNotes0.0100.0100.00.0100.0100.0100.0

okta:ConvertibleSeniorNotesDue2025, us-gaap:SeniorNotes


Percentage
Period End2021-07-312021-04-302020-10-312020-07-312020-04-302020-01-312018-02-28
Value098.097.0200.980.980.98
Percentage of PercentageOfClosingSalePriceInExcessOfConvertibleNotes0.0100.0100.00.0100.00.0100.0

okta:ConvertibleSeniorNotesDue2026, us-gaap:SeniorNotes


Percentage
Period End2021-07-312021-04-302020-10-31
Value098.097.02
Percentage of PercentageOfClosingSalePriceInExcessOfConvertibleNotes0.0100.0100.0

okta:ProceedsfromTerminationofNoteHedges us-gaap:StatementEquityComponents

okta:ProceedsfromTerminationofNoteHedges

okta:CommonStockAndAdditionalPaidInCapital


Proceedsfrom
Period End2021-04-302020-10-312020-07-312019-10-312019-07-312018-10-31
Value0.0010.01954050.00.0
Percentage of ProceedsfromTerminationofNoteHedges100.00.0100.0100.00.00.0

us-gaap:CommonStockIncludingAdditionalPaidInCapital


Proceedsfrom
Period End2021-07-312020-07-31
Value0.001195
Percentage of ProceedsfromTerminationofNoteHedges0.0100.0

okta:PropertyAndEquipmentAcquiredThroughTenantImprovementAllowances

okta:PropertyAndEquipmentAcquiredThroughTenantImprovementAllowances


Property
Period End2021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-30
Value0.00.9591.2542.598-1.3781.6820.00.0-0.0010.0183.3290.00.00.00.0
Percentage of PropertyAndEquipmentAcquiredThroughTenantImprovementAllowances0.0100.0100.0100.0100.0100.00.00.0100.00.0100.0100.00.00.00.00.0

okta:StockIssuedDuringPeriodValueNewIssuesCharitableContribution

okta:StockIssuedDuringPeriodValueNewIssuesCharitableContribution


Stock
Period End2021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-312017-10-31
Value4630000.02245000.01881000.0536000.0584000.0510000.0652000.00000708000.0
Percentage of StockIssuedDuringPeriodValueNewIssuesCharitableContribution100.0100.0100.0100.0100.0100.0100.00.00.00.00.0100.0

okta:StockIssuedEarlyVestingOfExercisedOptions

okta:StockIssuedEarlyVestingOfExercisedOptions


Stock
Period End2020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-30
Value0000242000.0128000.0134000.0170000.0216000.0243000.0349000.0293000.0365000.0328000.0
Percentage of StockIssuedEarlyVestingOfExercisedOptions0.00.00.00.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

okta:StockIssuedExecutiveBonusSettlement

okta:StockIssuedExecutiveBonusSettlement


Stock
Period End2021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-30
Value0009818000.00002809000.00000
Percentage of StockIssuedExecutiveBonusSettlement0.00.00.0100.00.00.00.0100.00.00.00.00.0

okta:StockIssuedRepurchaseofConvertibleDebt

okta:StockIssuedRepurchaseofConvertibleDebt


Stock
Period End2021-07-312021-04-302021-01-312020-10-312020-01-312019-10-312019-01-31
Value31940.0470.03800.0
Percentage of StockIssuedRepurchaseofConvertibleDebt100.0100.00.0100.00.0100.00.0

okta:StockRedeemedValueExerciseOfHedgesRelatedToConvertibleSeniorNotes

okta:StockRedeemedValueExerciseOfHedgesRelatedToConvertibleSeniorNotes


Stock
Period End2021-07-312021-04-30
Value4930
Percentage of StockRedeemedValueExerciseOfHedgesRelatedToConvertibleSeniorNotes100.0100.0

us-gaap:AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebt us-gaap:StatementEquityComponents

us-gaap:AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebt

okta:CommonStockAndAdditionalPaidInCapital


Adjustments
Period End2020-10-312020-07-312019-10-312019-07-312018-10-312018-07-31
Value-0.0123062170.00.0-0.011
Percentage of AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebt100.0100.0100.00.00.0100.0

us-gaap:CommonStockIncludingAdditionalPaidInCapital


Adjustments
Period End2020-07-31
Value306
Percentage of AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebt100.0

us-gaap:AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments us-gaap:StatementEquityComponents

us-gaap:AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments

okta:CommonStockAndAdditionalPaidInCapital


Adjustments
Period End2021-04-302020-10-312020-07-312019-10-312019-07-312018-10-31
Value-15.42-8.829-61.664260.00.0
Percentage of AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments100.0100.0100.0100.00.00.0

us-gaap:CommonStockIncludingAdditionalPaidInCapital


Adjustments
Period End2021-07-312020-07-31
Value-5.364-61.664
Percentage of AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments0.0100.0

us-gaap:AmortizationOfDebtDiscountPremium us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:AmortizationOfDebtDiscountPremium

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Amortization
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-30
Value0.2410.3830.4770.5110.9581.371.3512.4033.7593.7063.6553.6043.5542.381
Percentage of AmortizationOfDebtDiscountPremium100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

okta:ConvertibleSeniorNotesDue2025, us-gaap:SeniorNotes


Amortization
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-31
Value8.798.78.6128.5268.448.3548.274.649
Percentage of AmortizationOfDebtDiscountPremium3647.32271.51805.51668.5881.0609.8612.1193.5

okta:ConvertibleSeniorNotesDue2026, us-gaap:SeniorNotes


Amortization
Period End2021-07-312021-04-302021-01-312020-10-312020-07-31
Value111111105.802
Percentage of AmortizationOfDebtDiscountPremium4761.02954.02338.62152.1605.6

us-gaap:AmortizationOfDeferredSalesCommissions

us-gaap:AmortizationOfDeferredSalesCommissions


Amortization
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value131111109.3978.688.0477.3496.8646.3285.8895.355.0414.5724.7864.4654.2944.0393.8083.5373.3363.053
Percentage of AmortizationOfDeferredSalesCommissions100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:AmortizationOfFinancingCostsAndDiscounts

us-gaap:AmortizationOfFinancingCostsAndDiscounts


Amortization
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-30
Value212121201510107.544.0884.0253.9643.9023.8422.5710.00.00.00.0
Percentage of AmortizationOfFinancingCostsAndDiscounts100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.00.00.00.00.0

us-gaap:BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued us-gaap:BusinessAcquisition

us-gaap:BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued

okta:Auth0


Business
Period End2021-05-03
Value19
Percentage of BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued100.0

us-gaap:BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued us-gaap:BusinessAcquisition, us-gaap:SubsequentEventType

okta:Auth0, us-gaap:SubsequentEvent


Business
Period End2021-05-03
Value20
Percentage of BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued106.2

us-gaap:BusinessAcquisitionsProFormaNetIncomeLoss us-gaap:BusinessAcquisition

us-gaap:BusinessAcquisitionsProFormaNetIncomeLoss

okta:Auth0


Business
Period End2021-07-312020-07-31
Value-214740000.0-158170000.0
Percentage of BusinessAcquisitionsProFormaNetIncomeLoss100.0100.0

us-gaap:BusinessAcquisitionsProFormaRevenue us-gaap:BusinessAcquisition

us-gaap:BusinessAcquisitionsProFormaRevenue

okta:Auth0


Business
Period End2021-07-312020-07-31
Value320225
Percentage of BusinessAcquisitionsProFormaRevenue100.0100.0

us-gaap:BusinessCombinationAcquisitionRelatedCosts us-gaap:BusinessAcquisition

us-gaap:BusinessCombinationAcquisitionRelatedCosts

okta:Auth0


Business
Period End2021-07-31
Value29
Percentage of BusinessCombinationAcquisitionRelatedCosts100.0

us-gaap:BusinessCombinationConsiderationTransferred1 us-gaap:BusinessAcquisition

us-gaap:BusinessCombinationConsiderationTransferred1

okta:Auth0


Business
Period End2021-05-03
Value5671
Percentage of BusinessCombinationConsiderationTransferred1100.0

us-gaap:BusinessCombinationConsiderationTransferred1 us-gaap:BusinessAcquisition, us-gaap:SubsequentEventType

okta:TownsendStreetLabsIncAtSpoke, us-gaap:SubsequentEvent


Business
Period End2021-08-02
Value89
Percentage of BusinessCombinationConsiderationTransferred10.0

us-gaap:BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable us-gaap:AwardType, us-gaap:BusinessAcquisition

us-gaap:BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable

us-gaap:EmployeeStockOption, okta:Auth0


Business
Period End2021-05-03
Value238
Percentage of BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable100.0

us-gaap:BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable us-gaap:BusinessAcquisition, us-gaap:EquityInterestIssuedOrIssuableByType

okta:Auth0, us-gaap:CommonStock


Business
Period End2021-05-03
Value5175
Percentage of BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable2171.0

okta:Auth0, us-gaap:EmployeeStockOption


Business
Period End2021-05-03
Value238
Percentage of BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable100.0

us-gaap:BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable us-gaap:BusinessAcquisition, us-gaap:SubsequentEventType

okta:Auth0, us-gaap:SubsequentEvent


Business
Period End2021-05-03
Value700
Percentage of BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable293.7

us-gaap:BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual us-gaap:BusinessAcquisition

us-gaap:BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual

okta:Auth0


Business
Period End2021-06-30
Value-150340000.0
Percentage of BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual100.0

us-gaap:BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual us-gaap:BusinessAcquisition

us-gaap:BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual

okta:Auth0


Business
Period End2021-06-30
Value37
Percentage of BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual100.0

us-gaap:CapitalizedComputerSoftwareAdditions

us-gaap:CapitalizedComputerSoftwareAdditions


Capitalized
Period End2020-10-312020-07-312020-04-302019-10-312019-07-312019-04-302018-10-312018-07-312018-04-302017-10-312017-07-312017-04-302016-10-312016-07-31
Value1600000.01800000.01300000.01800000.01200000.0500000.0700000.0800000.01300000.01700000.01900000.01400000.01900000.01200000.0
Percentage of CapitalizedComputerSoftwareAdditions100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:CapitalizedContractCostAmortization

us-gaap:CapitalizedContractCostAmortization


Capitalized
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-30
Value131111109.48.749-7.36.96.35.95.45.04.64.33.93.73.4
Percentage of CapitalizedContractCostAmortization100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:ContractWithCustomerLiabilityRevenueRecognized

us-gaap:ContractWithCustomerLiabilityRevenueRecognized


Contract
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-30
Value245202261741651471712311398108173649.4534640
Percentage of ContractWithCustomerLiabilityRevenueRecognized100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:DebtConversionConvertedInstrumentSharesIssued1 us-gaap:DebtInstrument, us-gaap:LongtermDebtType, us-gaap:StatementClassOfStock

us-gaap:DebtConversionConvertedInstrumentSharesIssued1

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes, us-gaap:CommonClassA


Debt
Period End2021-07-312021-04-302021-01-312020-10-31
Value100000.0400000.00200000.0
Percentage of DebtConversionConvertedInstrumentSharesIssued1100.0100.00.0100.0

us-gaap:DebtConversionOriginalDebtAmount1 us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:DebtConversionOriginalDebtAmount1

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Debt
Period End2021-07-312021-04-302021-01-312020-10-31
Value5.9174.310
Percentage of DebtConversionOriginalDebtAmount1100.0100.0100.0100.0

us-gaap:DebtConversionOriginalDebtAmount1 us-gaap:DebtInstrument, us-gaap:LongtermDebtType, us-gaap:SubsequentEventType

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes, us-gaap:SubsequentEvent


Debt
Period End2021-07-31
Value2.9
Percentage of DebtConversionOriginalDebtAmount149.2

us-gaap:DebtConversionOriginalDebtAmount1 us-gaap:StatementScenario, us-gaap:DebtInstrument, us-gaap:LongtermDebtType, us-gaap:SubsequentEventType

srt:ScenarioForecast, okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes, us-gaap:SubsequentEvent


Debt
Period End2021-02-01
Value3.2
Percentage of DebtConversionOriginalDebtAmount10.0

us-gaap:DebtInstrumentConvertibleConversionRatio1 us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:DebtInstrumentConvertibleConversionRatio1

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Debt
Period End2021-07-312021-04-302020-10-312020-07-312020-04-302018-02-232018-02-28
Value00.020679000.0206790.0206790.020679
Percentage of DebtInstrumentConvertibleConversionRatio10.0100.00.00.0100.0100.0100.0

okta:ConvertibleSeniorNotesDue2025, us-gaap:SeniorNotes


Debt
Period End2021-07-312021-04-302020-10-312020-07-312020-04-302018-02-28
Value00.0052991000.00529910.0052991
Percentage of DebtInstrumentConvertibleConversionRatio10.025.60.00.025.625.6

okta:ConvertibleSeniorNotesDue2026, us-gaap:SeniorNotes


Debt
Period End2021-07-312021-04-302020-10-31
Value00.00419120
Percentage of DebtInstrumentConvertibleConversionRatio10.020.30.0

us-gaap:DebtInstrumentConvertibleThresholdConsecutiveTradingDays1 us-gaap:DebtInstrument

us-gaap:DebtInstrumentConvertibleThresholdConsecutiveTradingDays1

okta:ConvertibleSeniorNotesDue2023


Debt
Period End2020-07-312020-04-302018-02-28
Value080.080.0
Percentage of DebtInstrumentConvertibleThresholdConsecutiveTradingDays10.0100.0100.0

us-gaap:DebtInstrumentConvertibleThresholdConsecutiveTradingDays1 us-gaap:DebtInstrument, us-gaap:LongtermDebtType

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Debt
Period End2020-07-312020-04-302019-04-302018-02-232018-02-28
Value030.020.030.030.0
Percentage of DebtInstrumentConvertibleThresholdConsecutiveTradingDays10.037.50.037.50.0

okta:ConvertibleSeniorNotesDue2025, us-gaap:SeniorNotes


Debt
Period End2020-07-312020-04-302020-01-312018-02-28
Value030.030.030.0
Percentage of DebtInstrumentConvertibleThresholdConsecutiveTradingDays10.037.50.037.5

us-gaap:DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Debt
Period End2020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302018-02-232018-02-28
Value01.30001.31.31.3
Percentage of DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger0.0100.00.00.00.0100.0100.0100.0

us-gaap:DebtInstrumentRedemptionPricePercentage us-gaap:DebtInstrument

us-gaap:DebtInstrumentRedemptionPricePercentage

okta:ConvertibleSeniorNotesDue2025


Debt
Period End2020-07-312020-04-30
Value01.3
Percentage of DebtInstrumentRedemptionPricePercentage0.0100.0

us-gaap:DebtInstrumentRedemptionPricePercentage us-gaap:DebtInstrument, us-gaap:LongtermDebtType

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Debt
Period End2020-07-312020-04-302018-02-232018-02-28
Value01.01.01.0
Percentage of DebtInstrumentRedemptionPricePercentage0.076.90.00.0

okta:ConvertibleSeniorNotesDue2025, us-gaap:SeniorNotes


Debt
Period End2020-07-312020-04-302019-09-302018-02-28
Value01.01.31.0
Percentage of DebtInstrumentRedemptionPricePercentage0.076.90.00.0

us-gaap:DeferredIncomeTaxesAndTaxCredits

us-gaap:DeferredIncomeTaxesAndTaxCredits


Deferred
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value-10677000.0-829000.01232000.0-499000.0-1010000.0-905000.0816000.0-12000.0-1688000.0-1369000.01504000.0-694000.0-1227000.0-348000.0426000.0-960000.0000
Percentage of DeferredIncomeTaxesAndTaxCredits100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.00.00.00.0

us-gaap:EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents

us-gaap:EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents


Effect
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-454000.0647000.02142000.0-457000.01706000.0-1128000.032000.0946000.0-905000.0-282000.0358000.0-358000.0-245000.0-387000.0434000.0-81000.066000.068000.024000.0-90000.0-101000.047000.0
Percentage of EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount

us-gaap:EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount


Equity
Period End2021-07-31
Value2400000.0
Percentage of EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount100.0

us-gaap:FinitelivedIntangibleAssetsAcquired1 us-gaap:BusinessAcquisition

us-gaap:FinitelivedIntangibleAssetsAcquired1

okta:Auth0


Finitelived
Period End2021-05-03
Value334
Percentage of FinitelivedIntangibleAssetsAcquired1100.0

us-gaap:FinitelivedIntangibleAssetsAcquired1 us-gaap:BusinessAcquisition, us-gaap:FiniteLivedIntangibleAssetsByMajorClass

okta:Auth0, us-gaap:CustomerRelationships


Finitelived
Period End2021-05-03
Value140
Percentage of FinitelivedIntangibleAssetsAcquired142.1

okta:Auth0, us-gaap:DevelopedTechnologyRights


Finitelived
Period End2021-05-03
Value172
Percentage of FinitelivedIntangibleAssetsAcquired151.5

okta:Auth0, us-gaap:TradeNames


Finitelived
Period End2021-05-03
Value21
Percentage of FinitelivedIntangibleAssetsAcquired16.4

us-gaap:GoodwillAcquiredDuringPeriod us-gaap:BusinessAcquisition

us-gaap:GoodwillAcquiredDuringPeriod

okta:Auth0


Goodwill
Period End2021-07-31
Value5290
Percentage of GoodwillAcquiredDuringPeriod100.0

us-gaap:IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities

us-gaap:IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities


Increase
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-0.873103.0855.573-0.358-2.7735.9552.713-1.9843.2887.3933.5035.73-1.0512.066-1.4930.171-0.2232.1280.4280.013-0.182
Percentage of IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:IncreaseDecreaseInContractWithCustomerLiability

us-gaap:IncreaseDecreaseInContractWithCustomerLiability


Increase
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-31
Value471118135-1.37126572215204319131327
Percentage of IncreaseDecreaseInContractWithCustomerLiability100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:IncreaseDecreaseInDeferredCompensation

us-gaap:IncreaseDecreaseInDeferredCompensation


Increase
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-40241000.0-14861000.0-29179000.0-21505000.0-18467000.0-11865000.0-24583000.0-15269000.0-11577000.0-9795000.0-15435000.0-11667000.0-8547000.0-5693000.0-8942000.0-5234000.0-4228000.0-3033000.0-8184000.0-5085000.0-3366000.0-2756000.0
Percentage of IncreaseDecreaseInDeferredCompensation100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:IncreaseDecreaseInEmployeeRelatedLiabilities

us-gaap:IncreaseDecreaseInEmployeeRelatedLiabilities


Increase
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value17-23.8376.29422122.9955.682120.5744.143-0.5447.4750.1690.329-2.3493.3694.683-2.1213.2351.633-0.046-2.855
Percentage of IncreaseDecreaseInEmployeeRelatedLiabilities100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets

us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets


Increase
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-4.5793.8616.38-0.8284.1293.4932.5623.0524.441-5.9757.3863.438-3.1833.9837.139-2.9512.7973.1431.11-1.0910.5272.876
Percentage of IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:InterestExpenseDebtExcludingAmortization us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:InterestExpenseDebtExcludingAmortization

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Interest
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-30
Value14000.020000.026000.027000.052000.075000.076000.099000.0215000.0216000.0216000.0215000.0216000.0146000.0
Percentage of InterestExpenseDebtExcludingAmortization100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

okta:ConvertibleSeniorNotesDue2025, us-gaap:SeniorNotes


Interest
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-31
Value331000.0331000.0331000.0332000.0331000.0331000.0331000.0188000.0
Percentage of InterestExpenseDebtExcludingAmortization2364.31655.01273.11229.6636.5441.3435.5189.9

okta:ConvertibleSeniorNotesDue2026, us-gaap:SeniorNotes


Interest
Period End2021-07-312021-04-302021-01-312020-10-312020-07-31
Value1078000.01078000.01078000.01078000.0575000.0
Percentage of InterestExpenseDebtExcludingAmortization7700.05390.04146.23992.61105.8

us-gaap:NoncashContributionExpense

us-gaap:NoncashContributionExpense


Noncash
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-312017-10-312017-01-31
Value1639000.02024000.04630000.02245000.01881000.0536000.0584000.0510000.0652000.00000708000.0-129000.0
Percentage of NoncashContributionExpense100.0100.0100.0100.0100.0100.0100.0100.0100.00.00.00.00.0100.0100.0

us-gaap:OperatingLeaseCost

us-gaap:OperatingLeaseCost


Operating
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-30
Value9.6218.8378.8188.5548.3347.376.2285.8825.625.4637.0776.9735.8073.434
Percentage of OperatingLeaseCost100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:OperatingLeaseImpairmentLoss

us-gaap:OperatingLeaseImpairmentLoss


Operating
Period End2021-01-31
Value513000.0
Percentage of OperatingLeaseImpairmentLoss100.0

us-gaap:OperatingLeasePayments

us-gaap:OperatingLeasePayments


Operating
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-30
Value10.09.18.47.77.87.17.46.12.42.43.73.13.13.1
Percentage of OperatingLeasePayments100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax

us-gaap:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax


Other
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value-353000.0-813000.0-565000.0-2226000.0-1064000.04634000.0604000.0227000.0194000.0195000.0223000.04000.077000.0-125000.0-132000.0-58000.0-12000.00-4000.0-20000.02000.032000.0
Percentage of OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.00.0100.0100.0100.0100.0

us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent us-gaap:StatementEquityComponents

us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent

us-gaap:AccumulatedOtherComprehensiveIncome


Other
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-30
Value-1235000.0220000.02819000.0-2950000.01779000.02850000.0757000.01788000.0-1196000.0-138000.0599000.0-438000.0-302000.0-569000.0
Percentage of OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:OtherNoncashIncomeExpense

us-gaap:OtherNoncashIncomeExpense


Other
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value1757000.03804000.0-1022000.0-3080000.0-520000.0-915000.0214000.00-184000.0100000.0-487000.0-135000.0143000.0-161000.0278000.0-308000.0-419000.0-270000.0-531000.0-287000.0-16000.0130000.0
Percentage of OtherNoncashIncomeExpense100.0100.0100.0100.0100.0100.0100.00.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:PaymentsForHedgeFinancingActivities us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:PaymentsForHedgeFinancingActivities

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Payments
Period End2021-07-312021-04-302021-01-312018-02-28
Value0.0800.080
Percentage of PaymentsForHedgeFinancingActivities0.0100.00.0100.0

us-gaap:PaymentsForRepurchaseOfWarrants

us-gaap:PaymentsForRepurchaseOfWarrants


Payments
Period End2021-01-312020-10-312020-01-312019-10-312019-01-31
Value0.00.00.03580.0
Percentage of PaymentsForRepurchaseOfWarrants0.00.00.0100.00.0

us-gaap:PaymentsForSoftware

us-gaap:PaymentsForSoftware


Payments
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-31
Value368000.010000.0629000.01204000.01326000.01000000.01229000.01329000.0961000.0369000.0522000.0604000.0
Percentage of PaymentsForSoftware100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:PaymentsToAcquireAvailableForSaleSecuritiesDebt

us-gaap:PaymentsToAcquireAvailableForSaleSecuritiesDebt


Payments
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-31
Value73418918381690012967783911461531586725233
Percentage of PaymentsToAcquireAvailableForSaleSecuritiesDebt100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:PaymentsToAcquireBusinessesGross us-gaap:BusinessAcquisition

us-gaap:PaymentsToAcquireBusinessesGross

okta:Auth0


Payments
Period End2021-05-03
Value257
Percentage of PaymentsToAcquireBusinessesGross100.0

us-gaap:PaymentsToAcquireBusinessesGross us-gaap:BusinessAcquisition, us-gaap:SubsequentEventType

okta:Auth0, us-gaap:SubsequentEvent


Payments
Period End2021-05-03
Value268
Percentage of PaymentsToAcquireBusinessesGross104.5

us-gaap:PaymentsToAcquireBusinessesNetOfCashAcquired

us-gaap:PaymentsToAcquireBusinessesNetOfCashAcquired


Payments
Period End2020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-31
Value0.00.00.060.00.0440.016-0.022150.00.00.0
Percentage of PaymentsToAcquireBusinessesNetOfCashAcquired0.00.0100.00.00.0100.0100.0100.0100.00.00.00.0

us-gaap:PaymentsToAcquireIntangibleAssets

us-gaap:PaymentsToAcquireIntangibleAssets


Payments
Period End2021-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value113000.089000.008131000.0369000.0522000.0604000.0674000.01051000.01359000.01329000.01535000.01208000.01497000.01667000.01093000.01232000.0
Percentage of PaymentsToAcquireIntangibleAssets100.0100.00.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:ProceedsFromConvertibleDebt

us-gaap:ProceedsFromConvertibleDebt


Proceeds
Period End2021-01-312020-10-312020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-30
Value0.0-0.577-0.110400.00.00.00.0-0.0753350.00.00.00.0
Percentage of ProceedsFromConvertibleDebt0.0100.0100.0100.00.00.00.00.0100.0100.00.00.00.00.0

us-gaap:ProceedsFromHedgeFinancingActivities

us-gaap:ProceedsFromHedgeFinancingActivities


Proceeds
Period End2021-07-312021-04-302021-01-312020-10-312020-01-312019-10-312019-01-31
Value0.0010.0010.00.00.04050.0
Percentage of ProceedsFromHedgeFinancingActivities100.0100.00.00.00.0100.00.0

us-gaap:ProceedsFromIssuanceOfDebt us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:ProceedsFromIssuanceOfDebt

okta:ConvertibleSeniorNotesDue2025, us-gaap:SeniorNotes


Proceeds
Period End2021-07-312021-04-302020-10-31
Value0.010400.0
Percentage of ProceedsFromIssuanceOfDebt0.0100.00.0

okta:ConvertibleSeniorNotesDue2026, us-gaap:SeniorNotes


Proceeds
Period End2021-07-312021-04-302020-10-31
Value0.01134-0.1
Percentage of ProceedsFromIssuanceOfDebt0.0109.00.0

us-gaap:ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans

us-gaap:ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans


Proceeds
Period End2021-01-312020-10-312020-01-312019-10-31
Value130.09.7620.0
Percentage of ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans100.00.0100.00.0

us-gaap:ProceedsFromIssuanceOfWarrants us-gaap:DebtInstrument

us-gaap:ProceedsFromIssuanceOfWarrants

okta:ConvertibleSeniorNotesDue2023


Proceeds
Period End2021-07-312021-04-302021-01-312018-02-28
Value0.0520.052
Percentage of ProceedsFromIssuanceOfWarrants0.0100.00.0100.0

us-gaap:ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities

us-gaap:ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities


Proceeds
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value4183441481061781021111087561791406019179.152.5107.50.02.03.0
Percentage of ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.00.0100.0100.0

us-gaap:ProceedsFromPaymentsForOtherFinancingActivities

us-gaap:ProceedsFromPaymentsForOtherFinancingActivities


Proceeds
Period End2020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-30
Value5000.0-5000.0000-126000.0000-206000.0
Percentage of ProceedsFromPaymentsForOtherFinancingActivities100.0100.00.00.00.0100.00.00.00.0100.0

us-gaap:ProceedsFromSaleOfAvailableForSaleSecuritiesDebt

us-gaap:ProceedsFromSaleOfAvailableForSaleSecuritiesDebt


Proceeds
Period End2021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-31
Value0.01163.3869.9420.05.33311160120.00.00.0
Percentage of ProceedsFromSaleOfAvailableForSaleSecuritiesDebt0.0100.0100.0100.0100.00.0100.0100.0100.0100.00.00.00.0

us-gaap:ProceedsFromStockOptionsExercised

us-gaap:ProceedsFromStockOptionsExercised


Proceeds
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-07-312016-04-30
Value1516126.05313148.9928.91814138.3377.4698.859127.846211.3522.5640.7721.0050.5360.124
Percentage of ProceedsFromStockOptionsExercised100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:RepaymentsOfConvertibleDebt

us-gaap:RepaymentsOfConvertibleDebt


Repayments
Period End2021-07-312021-04-302021-01-312020-10-312020-01-312019-10-312019-01-31
Value0.0030.012-0.0010.2660.02240.0
Percentage of RepaymentsOfConvertibleDebt100.0100.0100.0100.00.0100.00.0

us-gaap:RepaymentsOfDebt us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:RepaymentsOfDebt

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Repayments
Period End2020-10-31
Value300000.0
Percentage of RepaymentsOfDebt100.0

us-gaap:RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability

us-gaap:RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability


Right
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-30
Value6.8680.8280.1214.102-0.056411.875130.01.6651.4870.56210619
Percentage of RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability100.0100.0100.0100.0100.0100.0100.0100.00.0100.0100.0100.0100.0100.0

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue us-gaap:AwardType

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue

us-gaap:RestrictedStockUnitsRSU


Share
Period End2021-07-312021-04-302021-01-31
Value23.6121.595.37
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue100.0100.0100.0

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue us-gaap:AwardType

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue

us-gaap:RestrictedStockUnitsRSU


Share
Period End2021-07-312021-04-302021-01-31
Value8.8235.979.0
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue100.0100.0100.0

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue us-gaap:AwardType, us-gaap:BusinessAcquisition

us-gaap:RestrictedStock, okta:Auth0


Share
Period End2021-05-03
Value269.7
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue0.0

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue us-gaap:AwardType

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue

us-gaap:RestrictedStockUnitsRSU


Share
Period End2021-07-312021-04-302021-01-31
Value28.3491.761.0
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue100.0100.0100.0

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate us-gaap:Range, us-gaap:AwardType

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate

srt:Maximum, us-gaap:EmployeeStock


Share
Period End2021-07-312020-07-31
Value48.054.0
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate100.0100.0

srt:Minimum, us-gaap:EmployeeStock


Share
Period End2021-07-312020-07-31
Value47.050.0
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate97.992.6

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum us-gaap:AwardType

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum

us-gaap:EmployeeStock


Share
Period End2020-07-312020-01-312019-10-312019-07-312019-01-312018-10-312018-07-312018-01-312017-10-312017-07-312017-04-30
Value0.54000.590.300.40.00600.3420.374
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum100.00.00.0100.0100.00.0100.0100.00.0100.0100.0

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum us-gaap:AwardType

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum

us-gaap:EmployeeStock


Share
Period End2020-07-312020-01-312019-10-312019-07-312019-01-312018-10-312018-07-312018-01-312017-10-312017-07-312017-04-30
Value0.5000.43000.390.00200.3180.328
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum100.00.00.0100.00.00.0100.0100.00.0100.0100.0

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate us-gaap:Range, us-gaap:AwardType

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate

srt:Maximum, us-gaap:EmployeeStock


Share
Period End2021-07-312020-07-31
Value0.090.18
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate100.0100.0

srt:Minimum, us-gaap:EmployeeStock


Share
Period End2021-07-312020-07-31
Value0.060.17
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate66.794.4

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum us-gaap:AwardType

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum

us-gaap:EmployeeStock


Share
Period End2020-07-312020-01-312019-10-312019-07-312019-01-312018-10-312018-07-312018-01-312017-10-312017-07-312017-04-30
Value0.00180.00100.01950.002800.02340.005100.01220.0108
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum100.0100.00.0100.0100.00.0100.0100.00.0100.0100.0

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum us-gaap:AwardType

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum

us-gaap:EmployeeStock


Share
Period End2020-07-312020-01-312019-10-312019-07-312019-01-312018-10-312018-07-312018-01-312017-10-312017-07-312017-04-30
Value0.0017-0.005200.0205000.0212000.01120.0095
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum100.0100.00.0100.00.00.0100.00.00.0100.0100.0

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod us-gaap:AwardType

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod

us-gaap:EmployeeStock


Share
Period End2020-07-312019-07-312019-01-312018-10-312018-07-31
Value127730.0434640.0180570.0434640.0434640.0
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod100.0100.0100.0100.0100.0

us-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice

us-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice


Share
Period End2021-07-312021-04-302021-01-31
Value0.1520.580.52
Percentage of ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice100.0100.0100.0

us-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice

us-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice


Share
Period End2021-07-312021-04-302021-01-31
Value47.8293.82-0.39
Percentage of ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice100.0100.0100.0

us-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice

us-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice


Share
Period End2021-07-312021-04-302021-01-31
Value-182.07274.890
Percentage of ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice100.0100.00.0

us-gaap:StockIssuedDuringPeriodValueAcquisitions us-gaap:StatementEquityComponents

us-gaap:StockIssuedDuringPeriodValueAcquisitions

us-gaap:CommonStockIncludingAdditionalPaidInCapital


Stock
Period End2021-07-31
Value5409
Percentage of StockIssuedDuringPeriodValueAcquisitions100.0

us-gaap:StockIssuedDuringPeriodValueEmployeeStockPurchasePlan us-gaap:AwardType

us-gaap:StockIssuedDuringPeriodValueEmployeeStockPurchasePlan

us-gaap:EmployeeStock


Stock
Period End2021-07-312020-10-312020-07-31
Value170.012
Percentage of StockIssuedDuringPeriodValueEmployeeStockPurchasePlan100.00.0100.0

us-gaap:StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures us-gaap:StatementEquityComponents

us-gaap:StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures

okta:CommonStockAndAdditionalPaidInCapital


Stock
Period End2020-10-312020-07-312020-04-302019-10-312019-07-312019-04-302018-10-312018-07-31
Value009818000.0002809000.000
Percentage of StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures0.00.0100.00.00.0100.00.00.0

us-gaap:StockIssuedDuringPeriodValueStockOptionsExercised us-gaap:StatementEquityComponents

us-gaap:StockIssuedDuringPeriodValueStockOptionsExercised

okta:CommonStockAndAdditionalPaidInCapital


Stock
Period End2021-04-302020-10-312020-07-312020-04-302019-10-312019-07-312019-04-302018-10-312018-07-312018-04-30
Value188.29928149.4323137.6461612
Percentage of StockIssuedDuringPeriodValueStockOptionsExercised100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:CommonStockIncludingAdditionalPaidInCapital


Stock
Period End2021-07-312020-07-31
Value3428
Percentage of StockIssuedDuringPeriodValueStockOptionsExercised0.0100.0

us-gaap:WriteOffOfDeferredDebtIssuanceCost us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:WriteOffOfDeferredDebtIssuanceCost

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Write
Period End2021-01-31
Value0
Percentage of WriteOffOfDeferredDebtIssuanceCost0.0

dei:EntityCommonStockSharesOutstanding us-gaap:StatementClassOfStock

dei:EntityCommonStockSharesOutstanding

us-gaap:CommonClassA


Entity
Period End2020-07-312020-04-302020-02-292019-11-302019-07-312019-04-302019-02-282018-11-302018-08-312018-05-312018-03-072017-11-302017-08-312017-05-31
Value11911611411210610310198978773401913
Percentage of EntityCommonStockSharesOutstanding100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:CommonClassB


Entity
Period End2020-07-312020-04-302020-02-292019-11-302019-07-312019-04-302019-02-282018-11-302018-08-312018-05-312018-03-072017-11-302017-08-312017-05-31
Value8.1278788.4740628.5582798.79551510101011121930617681
Percentage of EntityCommonStockSharesOutstanding6.87.37.57.89.59.810.812.012.421.941.7151.7396.2612.5

dei:EntityPublicFloat

dei:EntityPublicFloat


Entity
Period End2020-07-31
Value26200
Percentage of EntityPublicFloat100.0

okta:BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedOperatingLeaseLiabilityNoncurrent us-gaap:BusinessAcquisition

okta:BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedOperatingLeaseLiabilityNoncurrent

okta:Auth0


Business
Period End2021-05-03
Value5694000.0
Percentage of BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedOperatingLeaseLiabilityNoncurrent100.0

okta:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedCompensation us-gaap:BusinessAcquisition

okta:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedCompensation

okta:Auth0


Business
Period End2021-05-03
Value19
Percentage of BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedCompensation100.0

okta:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAsset us-gaap:BusinessAcquisition

okta:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAsset

okta:Auth0


Business
Period End2021-05-03
Value6873000.0
Percentage of BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAsset100.0

okta:CommonStockCapitalSharesReservedForFutureIssuanceAndShareBasedCompensationArrangementByShareBasedPaymentAwardOutstandingNumber

okta:CommonStockCapitalSharesReservedForFutureIssuanceAndShareBasedCompensationArrangementByShareBasedPaymentAwardOutstandingNumber


Common
Period End2021-01-31
Value37
Percentage of CommonStockCapitalSharesReservedForFutureIssuanceAndShareBasedCompensationArrangementByShareBasedPaymentAwardOutstandingNumber100.0

okta:DebtInstrumentConvertibleCarryingAmountofEquityComponentNet us-gaap:BalanceSheetLocation, us-gaap:DebtInstrument, us-gaap:LongtermDebtType

okta:DebtInstrumentConvertibleCarryingAmountofEquityComponentNet

us-gaap:AdditionalPaidInCapital, okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Debt
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-31
Value3.8775.2029.0579.05711272727
Percentage of DebtInstrumentConvertibleCarryingAmountofEquityComponentNet100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:AdditionalPaidInCapital, okta:ConvertibleSeniorNotesDue2026, us-gaap:SeniorNotes


Debt
Period End2021-07-312021-04-302021-01-312020-10-312020-07-31
Value306306306306306
Percentage of DebtInstrumentConvertibleCarryingAmountofEquityComponentNet7898.45886.63381.03381.02685.8

okta:DebtInstrumentConvertibleEquityComponentUnamortizedDiscountIssuanceCosts us-gaap:BalanceSheetLocation, us-gaap:DebtInstrument, us-gaap:LongtermDebtType

okta:DebtInstrumentConvertibleEquityComponentUnamortizedDiscountIssuanceCosts

us-gaap:AdditionalPaidInCapital, okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Debt
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-31
Value116000.0155000.0271000.0271000.0341000.0811000.0811000.0811000.02300000.02300000.02300000.02320000.02300000.0
Percentage of DebtInstrumentConvertibleEquityComponentUnamortizedDiscountIssuanceCosts100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:AdditionalPaidInCapital, okta:ConvertibleSeniorNotesDue2026, us-gaap:SeniorNotes


Debt
Period End2021-07-312021-04-302021-01-312020-10-312020-07-31
Value4100000.04100000.04100000.04100000.04100000.0
Percentage of DebtInstrumentConvertibleEquityComponentUnamortizedDiscountIssuanceCosts3534.52645.21512.91512.91202.3

okta:DeferredTaxAssetsDisallowedInterest

okta:DeferredTaxAssetsDisallowedInterest


Deferred
Period End2021-01-312020-01-312019-01-312018-01-31
Value6091000.04507000.01769000.00
Percentage of DeferredTaxAssetsDisallowedInterest100.0100.0100.00.0

okta:DeferredTaxAssetsOperatingLeaseLiabilities

okta:DeferredTaxAssetsOperatingLeaseLiabilities


Deferred
Period End2021-01-312020-01-312019-01-31
Value514239
Percentage of DeferredTaxAssetsOperatingLeaseLiabilities100.0100.0100.0

okta:DeferredTaxLiabilityConvertibleDebt

okta:DeferredTaxLiabilityConvertibleDebt


Deferred
Period End2021-01-312020-01-312019-01-31
Value112500.0
Percentage of DeferredTaxLiabilityConvertibleDebt100.0100.00.0

okta:DeferredTaxLiabilityOperatingLeaseRightOfUseAssets

okta:DeferredTaxLiabilityOperatingLeaseRightOfUseAssets


Deferred
Period End2021-01-312020-01-31
Value3731
Percentage of DeferredTaxLiabilityOperatingLeaseRightOfUseAssets100.0100.0

okta:DerivativeInstrumentHedgeExercisedUnderlyingDebtInstrumentAmount us-gaap:DebtInstrument, us-gaap:LongtermDebtType

okta:DerivativeInstrumentHedgeExercisedUnderlyingDebtInstrumentAmount

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Derivative
Period End2021-07-312021-04-302021-01-312020-10-31
Value3.09.61010
Percentage of DerivativeInstrumentHedgeExercisedUnderlyingDebtInstrumentAmount100.0100.0100.0100.0

okta:DerivativeInstrumentNumberOfSharesAvailableForPurchase us-gaap:DebtInstrument

okta:DerivativeInstrumentNumberOfSharesAvailableForPurchase

okta:ConvertibleSeniorNotesDue2023


Derivative
Period End2021-07-312021-04-302021-01-312020-10-31
Value400000.0700000.0800000.0800000.0
Percentage of DerivativeInstrumentNumberOfSharesAvailableForPurchase100.0100.0100.0100.0

okta:FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour us-gaap:BusinessAcquisition

okta:FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour

okta:Auth0


Finite
Period End2021-07-31
Value20
Percentage of FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour100.0

okta:LesseeOperatingLeaseLiabilityToBePaidDueAfterYearFour

okta:LesseeOperatingLeaseLiabilityToBePaidDueAfterYearFour


Lessee
Period End2021-07-312021-04-302020-10-31
Value737399
Percentage of LesseeOperatingLeaseLiabilityToBePaidDueAfterYearFour100.0100.0100.0

okta:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOutstandingNumber us-gaap:AwardType

okta:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOutstandingNumber

okta:StockOptionsAndRestrictedStockUnits


Share
Period End2021-01-31
Value12
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOutstandingNumber100.0

okta:ShortTermInvestmentMaturitiesNotYetSettled

okta:ShortTermInvestmentMaturitiesNotYetSettled


Short
Period End2021-07-312021-01-31
Value5031
Percentage of ShortTermInvestmentMaturitiesNotYetSettled100.0100.0

okta:ShortTermInvestmentPurchasesNotYetSettled

okta:ShortTermInvestmentPurchasesNotYetSettled


Short
Period End2021-04-302021-01-312020-10-312020-07-312020-01-31
Value433141150.0
Percentage of ShortTermInvestmentPurchasesNotYetSettled100.0100.0100.0100.00.0

okta:UnrecognizedstockbasedcompensationexpensesrelatedtounvestedRSUs

okta:UnrecognizedstockbasedcompensationexpensesrelatedtounvestedRSUs


Unrecognizedstockbasedcompensationexpensesrelatedtounvested
Period End2021-04-302020-10-31
Value750501
Percentage of UnrecognizedstockbasedcompensationexpensesrelatedtounvestedRSUs100.0100.0

us-gaap:AllowanceForDoubtfulAccountsReceivableCurrent

us-gaap:AllowanceForDoubtfulAccountsReceivableCurrent


Allowance
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-01-312015-01-31
Value2842000.01321000.03451000.02547000.03243000.04318000.01166000.01146000.01331000.01960000.02098000.01425000.0962000.01569000.01472000.0976000.01261000.01025000.01306000.0861000.0117000.0
Percentage of AllowanceForDoubtfulAccountsReceivableCurrent100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:AssetsFairValueDisclosure us-gaap:FairValueByFairValueHierarchyLevel, us-gaap:FairValueByMeasurementFrequency

us-gaap:AssetsFairValueDisclosure

us-gaap:FairValueInputsLevel1, us-gaap:FairValueMeasurementsRecurring


Assets
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-01-31
Value58182311335857497416989116129247158155145901159510
Percentage of AssetsFairValueDisclosure100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:FairValueInputsLevel2, us-gaap:FairValueMeasurementsRecurring


Assets
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-01-31
Value224320362121208515578339023263553392683553553621018610614
Percentage of AssetsFairValueDisclosure3832.31117.9681.6621.4181.5167.6216.833.0306.2261.4108.6223.8228.9248.2112.174.2111.8136.2

us-gaap:AssetsFairValueDisclosure us-gaap:FairValueByMeasurementFrequency

us-gaap:FairValueMeasurementsRecurring


Assets
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-01-31
Value2302221824322420241513301319131547146951651351050819220120224
Percentage of AssetsFairValueDisclosure3932.31217.9781.6721.4281.5267.6316.8133.0406.2361.4208.6323.8328.9348.2212.1174.2211.8236.2

us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax

us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax


Available
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value911000.01208000.02000000.02700000.04860000.05969000.01205000.0595000.0392000.0182000.050000.000
Percentage of AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.00.00.0

us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax us-gaap:BalanceSheetLocation

us-gaap:CashAndCashEquivalents


Available
Period End2020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value05000.00000000
Percentage of AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax0.00.10.00.00.00.00.00.00.0

us-gaap:ShortTermInvestments


Available
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-01-31
Value911000.01208000.02000000.02700000.04860000.05964000.01205000.0595000.0392000.050000.0
Percentage of AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax100.0100.0100.0100.0100.099.9100.0100.0100.0100.0

us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax us-gaap:BalanceSheetLocation, us-gaap:FinancialInstrument

us-gaap:ShortTermInvestments, us-gaap:CorporateDebtSecurities


Available
Period End2021-07-312021-04-302021-01-312020-01-31
Value101000.0171000.0429000.0519000.0
Percentage of AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax11.114.221.443.1

us-gaap:ShortTermInvestments, us-gaap:USTreasurySecurities


Available
Period End2021-07-312021-04-302021-01-312020-01-31
Value810000.01037000.01571000.0686000.0
Percentage of AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax88.985.878.556.9

us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax us-gaap:FinancialInstrument

us-gaap:CorporateDebtSecurities


Available
Period End2020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value722000.01484000.01029000.0519000.0330000.0203000.087000.013000.000
Percentage of AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax26.730.517.243.155.551.847.826.00.00.0

us-gaap:USTreasurySecurities


Available
Period End2020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value1978000.03376000.04935000.0686000.0265000.0189000.095000.037000.000
Percentage of AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax73.369.582.756.944.548.252.274.00.00.0

us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax

us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax


Available
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value101000.044000.024000.0159000.093000.0138000.08000.01000.026000.010000.072000.0246000.0202000.0
Percentage of AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax us-gaap:BalanceSheetLocation

us-gaap:CashAndCashEquivalents


Available
Period End2021-04-302020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value1000.000001000.001000.000
Percentage of AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax2.30.00.00.00.03.80.01.40.00.0

us-gaap:ShortTermInvestments


Available
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-01-31
Value101000.043000.024000.0159000.093000.0138000.08000.01000.025000.072000.0
Percentage of AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax100.097.7100.0100.0100.0100.0100.0100.096.2100.0

us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax us-gaap:BalanceSheetLocation, us-gaap:FinancialInstrument

us-gaap:CashAndCashEquivalents, us-gaap:CorporateDebtSecurities


Available
Period End2021-04-302020-04-302019-07-312019-01-31
Value1000.001000.01000.0
Percentage of AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax2.30.03.81.4

us-gaap:ShortTermInvestments, us-gaap:CorporateDebtSecurities


Available
Period End2021-07-312021-04-302021-01-31
Value45000.032000.02000.0
Percentage of AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax44.672.78.3

us-gaap:ShortTermInvestments, us-gaap:USTreasurySecurities


Available
Period End2021-07-312021-04-302021-01-312020-01-31
Value56000.011000.022000.08000.0
Percentage of AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax55.425.091.7100.0

us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax us-gaap:FinancialInstrument

us-gaap:CorporateDebtSecurities


Available
Period End2020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value29000.054000.0137000.001000.03000.01000.019000.058000.044000.0
Percentage of AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax18.258.199.30.0100.011.510.026.423.621.8

us-gaap:USTreasurySecurities


Available
Period End2020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value130000.039000.01000.08000.0022000.09000.053000.0188000.0158000.0
Percentage of AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax81.841.90.7100.00.084.690.073.676.478.2

us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis

us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis


Available
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value230122172430241824101324881131547133926535034333510186862.514
Percentage of AvailableForSaleDebtSecuritiesAmortizedCostBasis100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis us-gaap:BalanceSheetLocation

us-gaap:CashAndCashEquivalents


Available
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value5818831133585750343698912112925016390
Percentage of AvailableForSaleDebtSecuritiesAmortizedCostBasis2.58.512.813.935.638.049.575.225.738.394.546.789.0

us-gaap:ShortTermInvestments


Available
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-01-31
Value22422029211920821552821881326350265
Percentage of AvailableForSaleDebtSecuritiesAmortizedCostBasis97.591.587.286.164.462.0100.024.874.3100.0

us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis us-gaap:BalanceSheetLocation, us-gaap:FinancialInstrument

us-gaap:CashAndCashEquivalents, us-gaap:CorporateDebtSecurities


Available
Period End2021-04-302020-04-302019-07-312019-01-31
Value6.4126.0014.9993.409
Percentage of AvailableForSaleDebtSecuritiesAmortizedCostBasis0.30.51.11.3

us-gaap:CashAndCashEquivalents, us-gaap:MoneyMarketFunds


Available
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value5818231133585749741698911612924715890
Percentage of AvailableForSaleDebtSecuritiesAmortizedCostBasis2.58.212.813.935.637.547.275.224.638.393.245.389.0

us-gaap:ShortTermInvestments, us-gaap:CorporateDebtSecurities


Available
Period End2021-07-312021-04-302021-01-312020-01-31
Value221198230305
Percentage of AvailableForSaleDebtSecuritiesAmortizedCostBasis9.68.99.534.7

us-gaap:ShortTermInvestments, us-gaap:USTreasurySecurities


Available
Period End2021-07-312021-04-302021-01-312020-01-31
Value202118301888575
Percentage of AvailableForSaleDebtSecuritiesAmortizedCostBasis87.882.677.765.3

us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis us-gaap:FinancialInstrument

us-gaap:CorporateDebtSecurities


Available
Period End2020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value287410246305158146125693924
Percentage of AvailableForSaleDebtSecuritiesAmortizedCostBasis11.917.018.634.712.131.036.926.211.423.7

us-gaap:USTreasurySecurities


Available
Period End2020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value1795114257557516720421419521161
Percentage of AvailableForSaleDebtSecuritiesAmortizedCostBasis74.247.443.465.312.743.363.173.860.360.7

us-gaap:AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost us-gaap:BalanceSheetLocation

us-gaap:AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost

us-gaap:ShortTermInvestments


Available
Period End2021-07-312021-04-302021-01-312020-10-31
Value930589610796
Percentage of AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost100.0100.0100.0100.0

us-gaap:AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue us-gaap:BalanceSheetLocation

us-gaap:AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue

us-gaap:ShortTermInvestments


Available
Period End2021-07-312021-04-302021-01-312020-10-31
Value930589610797
Percentage of AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue100.0100.0100.0100.0

us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost us-gaap:BalanceSheetLocation

us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost

us-gaap:ShortTermInvestments


Available
Period End2021-07-312021-04-302021-01-312020-10-31
Value1312143915091285
Percentage of AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost100.0100.0100.0100.0

us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue us-gaap:BalanceSheetLocation

us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue

us-gaap:ShortTermInvestments


Available
Period End2021-07-312021-04-302021-01-312020-10-31
Value1312144015101288
Percentage of AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue100.0100.0100.0100.0

us-gaap:AvailableForSaleSecuritiesDebtSecurities

us-gaap:AvailableForSaleSecuritiesDebtSecurities


Available
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value230222182432242024151330882131547133926535034333510186862.514
Percentage of AvailableForSaleSecuritiesDebtSecurities100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:AvailableForSaleSecuritiesDebtSecurities us-gaap:BalanceSheetLocation

us-gaap:CashAndCashEquivalents


Available
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value5818831133585750343698912112925016390
Percentage of AvailableForSaleSecuritiesDebtSecurities2.58.512.813.935.537.849.475.225.738.394.546.789.2

us-gaap:ShortTermInvestments


Available
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-01-31
Value22432030212120851557827882326350265
Percentage of AvailableForSaleSecuritiesDebtSecurities97.591.587.286.164.562.2100.024.874.3100.0

us-gaap:AvailableForSaleSecuritiesDebtSecurities us-gaap:BalanceSheetLocation, us-gaap:FinancialInstrument

us-gaap:CashAndCashEquivalents, us-gaap:CorporateDebtSecurities


Available
Period End2021-04-302020-04-302019-07-312019-01-31
Value6.4116.0064.9983.408
Percentage of AvailableForSaleSecuritiesDebtSecurities0.30.51.11.3

us-gaap:CashAndCashEquivalents, us-gaap:MoneyMarketFunds


Available
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value5818231133585749741698911612924715890
Percentage of AvailableForSaleSecuritiesDebtSecurities2.58.212.813.935.537.447.275.224.638.393.245.389.2

us-gaap:ShortTermInvestments, us-gaap:CorporateDebtSecurities


Available
Period End2021-07-312021-04-302021-01-312020-01-31
Value221198231306
Percentage of AvailableForSaleSecuritiesDebtSecurities9.68.99.534.7

us-gaap:ShortTermInvestments, us-gaap:USTreasurySecurities


Available
Period End2021-07-312021-04-302021-01-312020-01-31
Value202218311890576
Percentage of AvailableForSaleSecuritiesDebtSecurities87.882.677.765.3

us-gaap:AvailableForSaleSecuritiesDebtSecurities us-gaap:FinancialInstrument

us-gaap:CorporateDebtSecurities


Available
Period End2020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value288411247306159146125693924
Percentage of AvailableForSaleSecuritiesDebtSecurities11.917.118.634.712.131.036.926.211.423.7

us-gaap:USTreasurySecurities


Available
Period End2020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value1797114558057616720421419521161
Percentage of AvailableForSaleSecuritiesDebtSecurities74.247.443.665.312.743.363.173.860.360.7

us-gaap:BusinessAcquisitionSharePrice us-gaap:BusinessAcquisition, us-gaap:SubsequentEventType

us-gaap:BusinessAcquisitionSharePrice

okta:Auth0, us-gaap:SubsequentEvent


Business
Period End2021-03-03
Value276.21
Percentage of BusinessAcquisitionSharePrice100.0

us-gaap:BusinessCombinationContingentConsiderationLiability us-gaap:BusinessAcquisition, us-gaap:SubsequentEventType

us-gaap:BusinessCombinationContingentConsiderationLiability

okta:Auth0, us-gaap:SubsequentEvent


Business
Period End2021-05-03
Value325
Percentage of BusinessCombinationContingentConsiderationLiability100.0

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents us-gaap:BusinessAcquisition

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents

okta:Auth0


Business
Period End2021-05-03
Value107
Percentage of BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents100.0

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets us-gaap:BusinessAcquisition

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets

okta:Auth0


Business
Period End2021-05-03
Value12
Percentage of BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets100.0

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables us-gaap:BusinessAcquisition

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables

okta:Auth0


Business
Period End2021-05-03
Value28
Percentage of BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables100.0

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable us-gaap:BusinessAcquisition

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable

okta:Auth0


Business
Period End2021-05-03
Value3610000.0
Percentage of BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable100.0

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue us-gaap:BusinessAcquisition

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue

okta:Auth0


Business
Period End2021-05-03
Value65
Percentage of BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue100.0

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther us-gaap:BusinessAcquisition

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther

okta:Auth0


Business
Period End2021-05-03
Value10
Percentage of BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther100.0

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities us-gaap:BusinessAcquisition

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities

okta:Auth0


Business
Period End2021-05-03
Value12
Percentage of BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities100.0

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill us-gaap:BusinessAcquisition

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill

okta:Auth0


Business
Period End2021-05-03
Value334
Percentage of BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill100.0

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet us-gaap:BusinessAcquisition

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet

okta:Auth0


Business
Period End2021-05-03
Value380
Percentage of BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet100.0

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets us-gaap:BusinessAcquisition

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets

okta:Auth0


Business
Period End2021-05-03
Value6375000.0
Percentage of BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets100.0

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment us-gaap:BusinessAcquisition

us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment

okta:Auth0


Business
Period End2021-05-03
Value1928000.0
Percentage of BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment100.0

us-gaap:BusinessCombinationSeparatelyRecognizedTransactionsLiabilitiesRecognized us-gaap:BusinessAcquisition, us-gaap:SubsequentEventType

us-gaap:BusinessCombinationSeparatelyRecognizedTransactionsLiabilitiesRecognized

okta:Auth0, us-gaap:SubsequentEvent


Business
Period End2021-05-03
Value25
Percentage of BusinessCombinationSeparatelyRecognizedTransactionsLiabilitiesRecognized100.0

us-gaap:CapitalizedContractCostNetCurrent

us-gaap:CapitalizedContractCostNetCurrent


Capitalized
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value54474540373433292725242117
Percentage of CapitalizedContractCostNetCurrent100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:CapitalizedContractCostNetNoncurrent

us-gaap:CapitalizedContractCostNetNoncurrent


Capitalized
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value12911010894867977655956544740
Percentage of CapitalizedContractCostNetNoncurrent100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:CashAndCashEquivalentsFairValueDisclosure us-gaap:CashAndCashEquivalents, us-gaap:FairValueByFairValueHierarchyLevel, us-gaap:FairValueByMeasurementFrequency

us-gaap:CashAndCashEquivalentsFairValueDisclosure

us-gaap:CorporateDebtSecurities, us-gaap:FairValueInputsLevel2, us-gaap:FairValueMeasurementsRecurring


Cash
Period End2021-04-302020-04-302019-10-312019-07-312019-01-312018-04-30
Value6.4116.0060.04.9983.4086.995
Percentage of CashAndCashEquivalentsFairValueDisclosure100.0100.00.0100.0100.0100.0

us-gaap:MoneyMarketFunds, us-gaap:FairValueInputsLevel1, us-gaap:FairValueMeasurementsRecurring


Cash
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value58182311335857497416989116129247158155145901159521710
Percentage of CashAndCashEquivalentsFairValueDisclosure0.02841.80.00.00.08278.50.00.02324.00.07260.20.00.02086.20.00.00.00.00.0

us-gaap:CashAndCashEquivalentsFairValueDisclosure us-gaap:CashAndCashEquivalents, us-gaap:FairValueByMeasurementFrequency

us-gaap:CorporateDebtSecurities, us-gaap:FairValueMeasurementsRecurring


Cash
Period End2021-04-302020-04-302019-10-312019-07-312019-01-312018-04-30
Value6.4116.0060.04.9983.4086.995
Percentage of CashAndCashEquivalentsFairValueDisclosure100.0100.00.0100.0100.0100.0

us-gaap:MoneyMarketFunds, us-gaap:FairValueMeasurementsRecurring


Cash
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value58182311335857497416989116129247158155145901159521710
Percentage of CashAndCashEquivalentsFairValueDisclosure0.02841.80.00.00.08278.50.00.02324.00.07260.20.00.02086.20.00.00.00.00.0

us-gaap:CashAndCashEquivalentsFairValueDisclosure us-gaap:FairValueByFairValueHierarchyLevel, us-gaap:FairValueByMeasurementFrequency

us-gaap:FairValueInputsLevel1, us-gaap:FairValueMeasurementsRecurring


Cash
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-01-31
Value58182311335857497416989116129247158155145901159510
Percentage of CashAndCashEquivalentsFairValueDisclosure0.02841.80.00.00.08278.50.00.02324.00.07260.20.00.02086.20.00.00.00.0

us-gaap:FairValueInputsLevel2, us-gaap:FairValueMeasurementsRecurring


Cash
Period End2021-04-302020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-01-31
Value6.4110.06.006190.04.9980.03.4084.98212260.00.0200.0
Percentage of CashAndCashEquivalentsFairValueDisclosure100.00.0100.00.00.0100.00.0100.00.00.0385.40.00.00.00.0

us-gaap:CashAndCashEquivalentsFairValueDisclosure us-gaap:FairValueByMeasurementFrequency

us-gaap:FairValueMeasurementsRecurring


Cash
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-01-31
Value581883113358575034369891211292501631671729011511510
Percentage of CashAndCashEquivalentsFairValueDisclosure0.02941.80.00.00.08378.50.00.02424.00.07360.20.00.02471.70.00.00.00.0

us-gaap:ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 us-gaap:DebtInstrument

us-gaap:ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1

okta:ConvertibleSeniorNotesDue2025


Class
Period End2020-07-31
Value68.06
Percentage of ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1100.0

okta:ConvertibleSeniorNotesDue2026


Class
Period End2020-07-31
Value68.06
Percentage of ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1100.0

us-gaap:ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Class
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-06-302020-04-302019-09-302018-02-28
Value7100000.07100000.07100000.07100000.07100000.01400000.07100000.04600000.07100000.0
Percentage of ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:ClassOfWarrantOrRightOutstanding us-gaap:DebtInstrument

us-gaap:ClassOfWarrantOrRightOutstanding

okta:ConvertibleSeniorNotesDue2023


Class
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312018-02-28
Value1000000.01000000.01000000.01000000.01000000.02500000.02500000.02500000.07100000.0
Percentage of ClassOfWarrantOrRightOutstanding100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:ClassOfWarrantOrRightOutstanding us-gaap:DebtInstrument, us-gaap:LongtermDebtType

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Class
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-31
Value7100000.07100000.07100000.07100000.07100000.07100000.02500000.02500000.0
Percentage of ClassOfWarrantOrRightOutstanding710.0710.0710.0710.0710.0284.0100.0100.0

us-gaap:CommonStockCapitalSharesReservedForFutureIssuance us-gaap:AwardType

us-gaap:CommonStockCapitalSharesReservedForFutureIssuance

okta:StockOptionsAndRestrictedStockUnits


Common
Period End2021-01-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-31
Value20202116161617121212149.842925
Percentage of CommonStockCapitalSharesReservedForFutureIssuance100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:EmployeeStock


Common
Period End2021-01-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-31
Value4.6330934.7525014.8802353.6538573.7789493.7789493.9766522.8551273.0356973.0356973.4703372.430627
Percentage of CommonStockCapitalSharesReservedForFutureIssuance22.522.922.422.222.822.922.622.624.024.424.524.7

us-gaap:ContractWithCustomerLiabilityNoncurrent

us-gaap:ContractWithCustomerLiabilityNoncurrent


Contract
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-31
Value1511107.3495.5746.076.2147.0137.4697.6718.7684.9775.4714.3464.963
Percentage of ContractWithCustomerLiabilityNoncurrent100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:ConvertibleDebtCurrent

us-gaap:ConvertibleDebtCurrent


Convertible
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-01-31
Value15209083543102100992792752710.0
Percentage of ConvertibleDebtCurrent100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.00.0

us-gaap:ConvertibleDebtNoncurrent

us-gaap:ConvertibleDebtNoncurrent


Convertible
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-01-312018-10-312018-07-312018-04-302018-01-31
Value17721751857170916898458378280.02672632590.0
Percentage of ConvertibleDebtNoncurrent100.0100.0100.0100.0100.0100.0100.0100.00.0100.0100.0100.00.0

us-gaap:DebtInstrumentCarryingAmount us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:DebtInstrumentCarryingAmount

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Debt
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-30
Value1723404050120120120345345345345345345
Percentage of DebtInstrumentCarryingAmount100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:DebtInstrumentConvertibleCarryingAmountOfTheEquityComponent us-gaap:BalanceSheetLocation, us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:DebtInstrumentConvertibleCarryingAmountOfTheEquityComponent

us-gaap:AdditionalPaidInCapital, okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Debt
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-31
Value3.9935.3579.3289.32811272727
Percentage of DebtInstrumentConvertibleCarryingAmountOfTheEquityComponent100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:DebtInstrumentInterestRateEffectivePercentage us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:DebtInstrumentInterestRateEffectivePercentage

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Debt
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-06-302020-04-302019-09-302018-02-28
Value5.685.685.685.680.05680.0490.05680.040.0568
Percentage of DebtInstrumentInterestRateEffectivePercentage100.0100.0100.0100.0100.0100.0100.0100.0100.0

okta:ConvertibleSeniorNotesDue2025, us-gaap:SeniorNotes


Debt
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302018-02-28
Value4.14.14.14.10.0410.0410.041
Percentage of DebtInstrumentInterestRateEffectivePercentage72.272.272.272.272.272.272.2

okta:ConvertibleSeniorNotesDue2026, us-gaap:SeniorNotes


Debt
Period End2021-07-312021-04-302021-01-312020-10-312020-07-31
Value5.755.755.755.750.0575
Percentage of DebtInstrumentInterestRateEffectivePercentage101.2101.2101.2101.2101.2

us-gaap:DebtInstrumentRepurchasedFaceAmount us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:DebtInstrumentRepurchasedFaceAmount

okta:ConvertibleSeniorNotesDue2025, us-gaap:SeniorNotes


Debt
Period End2020-07-31
Value0
Percentage of DebtInstrumentRepurchasedFaceAmount0.0

okta:ConvertibleSeniorNotesDue2026, us-gaap:SeniorNotes


Debt
Period End2020-07-31
Value0
Percentage of DebtInstrumentRepurchasedFaceAmount0.0

us-gaap:DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Debt
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-31
Value1.5072.3314.5915.1157.087181921
Percentage of DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet100.0100.0100.0100.0100.0100.0100.0100.0

okta:ConvertibleSeniorNotesDue2025, us-gaap:SeniorNotes


Debt
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-31
Value168177186196205214222231
Percentage of DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet11171.57624.04072.63834.32895.21164.61121.41084.9

okta:ConvertibleSeniorNotesDue2026, us-gaap:SeniorNotes


Debt
Period End2021-07-312021-04-302021-01-312020-10-312020-07-31
Value269280292304315
Percentage of DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet17858.812053.26373.65945.24450.1

us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions

us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions


Debt
Period End2020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value37.012.07.01.07.014.034.048.023.0
Percentage of DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:DeferredCompensationLiabilityClassifiedNoncurrent us-gaap:BusinessAcquisition

us-gaap:DeferredCompensationLiabilityClassifiedNoncurrent

okta:AzuquaandPriorAcquisitions


Deferred
Period End2020-10-31
Value10
Percentage of DeferredCompensationLiabilityClassifiedNoncurrent100.0

us-gaap:SeriesOfIndividuallyImmaterialBusinessAcquisitions


Deferred
Period End2021-01-31
Value10
Percentage of DeferredCompensationLiabilityClassifiedNoncurrent0.0

us-gaap:DeferredCompensationLiabilityCurrentAndNoncurrent us-gaap:BusinessAcquisition

us-gaap:DeferredCompensationLiabilityCurrentAndNoncurrent

okta:AzuquaandPriorAcquisitions


Deferred
Period End2020-10-31
Value2200000.0
Percentage of DeferredCompensationLiabilityCurrentAndNoncurrent100.0

us-gaap:DeferredFinanceCostsGross us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:DeferredFinanceCostsGross

okta:ConvertibleSeniorNotesDue2023, us-gaap:SeniorNotes


Deferred
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-06-302020-04-302020-01-312019-10-312019-09-302018-10-312018-07-312018-04-302018-02-282018-02-23
Value10.010.010.010.010.01.010.03.83.83.810.010.010.010.010.0
Percentage of DeferredFinanceCostsGross100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

okta:ConvertibleSeniorNotesDue2026, us-gaap:SeniorNotes


Deferred
Period End2021-07-312021-04-302021-01-312020-10-312020-07-31
Value1515151515
Percentage of DeferredFinanceCostsGross152.0152.0152.0152.0151.0

us-gaap:DeferredIncomeTaxLiabilities

us-gaap:DeferredIncomeTaxLiabilities


Deferred
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value200120289.85412
Percentage of DeferredIncomeTaxLiabilities100.0100.0100.0100.0100.0

us-gaap:DeferredTaxAssetsDeferredIncome

us-gaap:DeferredTaxAssetsDeferredIncome


Deferred
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value1144000.01960000.01312000.01391000.04497000.0
Percentage of DeferredTaxAssetsDeferredIncome100.0100.0100.0100.0100.0

us-gaap:DeferredTaxAssetsGross

us-gaap:DeferredTaxAssetsGross


Deferred
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value759484232136111
Percentage of DeferredTaxAssetsGross100.0100.0100.0100.0100.0

us-gaap:DeferredTaxAssetsOperatingLossCarryforwards

us-gaap:DeferredTaxAssetsOperatingLossCarryforwards


Deferred
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value60737020212398
Percentage of DeferredTaxAssetsOperatingLossCarryforwards100.0100.0100.0100.0100.0

us-gaap:DeferredTaxAssetsTaxCreditCarryforwards

us-gaap:DeferredTaxAssetsTaxCreditCarryforwards


Deferred
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value57390.7910.7910.625
Percentage of DeferredTaxAssetsTaxCreditCarryforwards100.0100.0100.0100.0100.0

us-gaap:DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost

us-gaap:DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost


Deferred
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value1818137.9263.611
Percentage of DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost100.0100.0100.0100.0100.0

us-gaap:DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals

us-gaap:DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals


Deferred
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value166.414133.0843.768
Percentage of DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals100.0100.0100.0100.0100.0

us-gaap:DeferredTaxLiabilitiesDeferredExpenseCapitalizedSoftware

us-gaap:DeferredTaxLiabilitiesDeferredExpenseCapitalizedSoftware


Deferred
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value2691000.02248000.02047000.02389000.02816000.0
Percentage of DeferredTaxLiabilitiesDeferredExpenseCapitalizedSoftware100.0100.0100.0100.0100.0

us-gaap:DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill

us-gaap:DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill


Deferred
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value306000.0262000.0217000.0175000.0196000.0
Percentage of DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill100.0100.0100.0100.0100.0

us-gaap:DeferredTaxLiabilitiesPropertyPlantAndEquipment

us-gaap:DeferredTaxLiabilitiesPropertyPlantAndEquipment


Deferred
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value8522000.08315000.06492000.0441000.0953000.0
Percentage of DeferredTaxLiabilitiesPropertyPlantAndEquipment100.0100.0100.0100.0100.0

us-gaap:DeferredTaxLiabilitiesTaxDeferredIncome

us-gaap:DeferredTaxLiabilitiesTaxDeferredIncome


Deferred
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value3827196.8498.802
Percentage of DeferredTaxLiabilitiesTaxDeferredIncome100.0100.0100.0100.0100.0

us-gaap:EmployeeRelatedLiabilitiesCurrent

us-gaap:EmployeeRelatedLiabilitiesCurrent


Employee
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value85487161393140342121192012121214116.6139.866
Percentage of EmployeeRelatedLiabilitiesCurrent100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions us-gaap:AwardType

us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions

us-gaap:EmployeeStock


Employee
Period End2021-07-312021-04-302021-01-312020-10-312020-01-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-30
Value166.7102.08.82.34.23.75.31.54.06.08.610
Percentage of EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:RestrictedStockUnitsRSU


Employee
Period End2021-07-312021-01-312020-01-312019-04-302019-01-312018-10-312018-04-302018-01-312017-10-312017-07-312017-04-30
Value881502335207187189816055491.0
Percentage of EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions5344.24978.23817.09008.74457.15110.85453.31510.0918.3579.19.6

us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions us-gaap:AwardType, us-gaap:BusinessAcquisition

us-gaap:RestrictedStock, okta:Auth0


Employee
Period End2021-07-31
Value305
Percentage of EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions1849.1

us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions

us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions


Employee
Period End2021-07-312021-04-302021-01-312020-10-312020-01-312019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-30
Value2931113136283743505853606775
Percentage of EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:EquitySecuritiesWithoutReadilyDeterminableFairValueAmount

us-gaap:EquitySecuritiesWithoutReadilyDeterminableFairValueAmount


Equity
Period End2021-07-312021-04-302021-01-31
Value107.83.1
Percentage of EquitySecuritiesWithoutReadilyDeterminableFairValueAmount100.0100.0100.0

us-gaap:FiniteLivedIntangibleAssetsAccumulatedAmortization

us-gaap:FiniteLivedIntangibleAssetsAccumulatedAmortization


Finite
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value5635323027242219161311108.6546.8666.35.4824.724.0333.367
Percentage of FiniteLivedIntangibleAssetsAccumulatedAmortization100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:FiniteLivedIntangibleAssetsAccumulatedAmortization us-gaap:FiniteLivedIntangibleAssetsByMajorClass

us-gaap:ComputerSoftwareIntangibleAsset


Finite
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value212019181716141312119.9698.6847.4416.2825.1724.4463.7443.1162.487
Percentage of FiniteLivedIntangibleAssetsAccumulatedAmortization39.059.260.559.961.864.166.970.674.382.286.283.586.091.582.181.179.377.373.9

us-gaap:CustomerRelationships


Finite
Period End2021-07-31
Value8.8
Percentage of FiniteLivedIntangibleAssetsAccumulatedAmortization15.6

us-gaap:DevelopedTechnologyRights


Finite
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-01-312017-10-312017-07-312017-04-302017-01-31
Value241412119.5087.9146.3214.7283.3811.5960.8331.0190.570.570.570.570.570.566
Percentage of FiniteLivedIntangibleAssetsAccumulatedAmortization43.340.739.536.534.331.728.524.520.411.77.29.86.69.010.412.114.116.8

us-gaap:LicensingAgreements


Finite
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value0.1210.0580.0041.0941.0721.0521.0050.9410.8820.8220.7630.7030.6430.5840.5580.4660.4060.3470.314
Percentage of FiniteLivedIntangibleAssetsAccumulatedAmortization0.20.20.03.63.94.24.54.95.36.06.66.87.48.58.98.58.68.69.3

us-gaap:TradeNames


Finite
Period End2021-07-31
Value1.07
Percentage of FiniteLivedIntangibleAssetsAccumulatedAmortization1.9

us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths

us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths


Finite
Period End2021-01-31
Value10
Percentage of FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths100.0

us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths us-gaap:BusinessAcquisition

okta:Auth0


Finite
Period End2021-07-31
Value73
Percentage of FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths0.0

us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear us-gaap:BusinessAcquisition

us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear

okta:Auth0


Finite
Period End2021-07-31
Value36
Percentage of FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear100.0

us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearFour

us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearFour


Finite
Period End2021-01-31
Value0.885
Percentage of FiniteLivedIntangibleAssetsAmortizationExpenseYearFour100.0

us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearFour us-gaap:BusinessAcquisition

okta:Auth0


Finite
Period End2021-07-31
Value59
Percentage of FiniteLivedIntangibleAssetsAmortizationExpenseYearFour0.0

us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearThree

us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearThree


Finite
Period End2021-01-31
Value7.354
Percentage of FiniteLivedIntangibleAssetsAmortizationExpenseYearThree100.0

us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearThree us-gaap:BusinessAcquisition

okta:Auth0


Finite
Period End2021-07-31
Value61
Percentage of FiniteLivedIntangibleAssetsAmortizationExpenseYearThree0.0

us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo

us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo


Finite
Period End2021-01-31
Value8.416
Percentage of FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo100.0

us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo us-gaap:BusinessAcquisition

okta:Auth0


Finite
Period End2021-07-31
Value64
Percentage of FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo0.0

us-gaap:FiniteLivedIntangibleAssetsGross

us-gaap:FiniteLivedIntangibleAssetsGross


Finite
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value394595959575654535141252524181916151312
Percentage of FiniteLivedIntangibleAssetsGross100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:FiniteLivedIntangibleAssetsGross us-gaap:FiniteLivedIntangibleAssetsByMajorClass

us-gaap:ComputerSoftwareIntangibleAsset


Finite
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value30303029272624232120191918171715141210
Percentage of FiniteLivedIntangibleAssetsGross7.851.051.149.648.246.645.443.841.948.877.975.674.994.591.390.689.988.586.7

us-gaap:CustomerRelationships


Finite
Period End2021-07-31
Value140
Percentage of FiniteLivedIntangibleAssetsGross35.7

us-gaap:DevelopedTechnologyRights


Finite
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-01-312017-10-312017-07-312017-04-302017-01-31
Value2002828282828282828204.65.175.170.570.570.570.570.57
Percentage of FiniteLivedIntangibleAssetsGross50.948.648.748.549.951.452.654.356.148.818.120.421.03.03.43.64.14.6

us-gaap:LicensingAgreements


Finite
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value0.2390.2390.1261.1121.1121.1121.1121.0231.0231.0231.0231.0231.0231.0231.0941.0231.0231.0231.093
Percentage of FiniteLivedIntangibleAssetsGross0.10.40.21.91.92.02.01.92.02.54.04.04.15.55.76.06.57.48.7

us-gaap:TradeNames


Finite
Period End2021-07-31
Value21
Percentage of FiniteLivedIntangibleAssetsGross5.4

us-gaap:InterestReceivableCurrent

us-gaap:InterestReceivableCurrent


Interest
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-01-31
Value8.49.510107.65.7
Percentage of InterestReceivableCurrent100.0100.0100.0100.0100.0100.0

us-gaap:InvestmentsFairValueDisclosure us-gaap:FairValueByFairValueHierarchyLevel, us-gaap:FairValueByMeasurementFrequency

us-gaap:InvestmentsFairValueDisclosure

us-gaap:FairValueInputsLevel2, us-gaap:FairValueMeasurementsRecurring


Investments
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-01-31
Value22432030212120851557827882326350339265350343335101868614
Percentage of InvestmentsFairValueDisclosure100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:InvestmentsFairValueDisclosure us-gaap:FairValueByFairValueHierarchyLevel, us-gaap:FairValueByMeasurementFrequency, us-gaap:FinancialInstrument

us-gaap:FairValueInputsLevel2, us-gaap:FairValueMeasurementsRecurring, us-gaap:CorporateDebtSecurities


Investments
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value221198231288411247306159146125693924
Percentage of InvestmentsFairValueDisclosure9.99.810.913.826.429.934.748.741.736.926.211.423.7

us-gaap:FairValueInputsLevel2, us-gaap:FairValueMeasurementsRecurring, us-gaap:USTreasurySecurities


Investments
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value2022183118901797114558057616720421419521161
Percentage of InvestmentsFairValueDisclosure90.190.289.186.273.670.165.351.358.363.173.860.360.7

us-gaap:InvestmentsFairValueDisclosure us-gaap:FairValueByMeasurementFrequency

us-gaap:FairValueMeasurementsRecurring


Investments
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-01-31
Value22432030212120851557827882326350339265350343335101868614
Percentage of InvestmentsFairValueDisclosure100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:InvestmentsFairValueDisclosure us-gaap:FairValueByMeasurementFrequency, us-gaap:FinancialInstrument

us-gaap:FairValueMeasurementsRecurring, us-gaap:CorporateDebtSecurities


Investments
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value221198231288411247306159146125693924
Percentage of InvestmentsFairValueDisclosure9.99.810.913.826.429.934.748.741.736.926.211.423.7

us-gaap:FairValueMeasurementsRecurring, us-gaap:USTreasurySecurities


Investments
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-01-31
Value2022183118901797114558057616720421419521161
Percentage of InvestmentsFairValueDisclosure90.190.289.186.273.670.165.351.358.363.173.860.360.7

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths

us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths


Lessee
Period End2021-07-312021-04-302021-01-312020-10-31
Value40383437
Percentage of LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths100.0100.0100.0100.0

us-gaap:LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear

us-gaap:LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear


Lessee
Period End2021-07-312021-04-302020-10-31
Value17255.475
Percentage of LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear100.0100.0100.0

us-gaap:LettersOfCreditOutstandingAmount us-gaap:CreditFacility

us-gaap:LettersOfCreditOutstandingAmount

us-gaap:LetterOfCredit


Letters
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-04-302019-01-312018-01-312017-01-31
Value10101111111311111112125.4
Percentage of LettersOfCreditOutstandingAmount100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:LongTermDebtFairValue us-gaap:DebtInstrument, us-gaap:FairValueByMeasurementBasis, us-gaap:LongtermDebtType

us-gaap:LongTermDebtFairValue

okta:ConvertibleSeniorNotesDue2023, us-gaap:CarryingReportedAmountFairValueDisclosure, us-gaap:SeniorNotes


Long
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-30
Value1521363544103102101285281278274270267
Percentage of LongTermDebtFairValue100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

okta:ConvertibleSeniorNotesDue2023, us-gaap:EstimateOfFairValueFairValueDisclosure, us-gaap:SeniorNotes


Long
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-30
Value86135216182219375331279958762620471421394
Percentage of LongTermDebtFairValue544.3645.3601.0511.7497.0361.1322.8276.5335.6270.6223.0171.6155.7147.6

okta:ConvertibleSeniorNotesDue2025, us-gaap:CarryingReportedAmountFairValueDisclosure, us-gaap:SeniorNotes


Long
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-31
Value902894885876868859851843
Percentage of LongTermDebtFairValue5690.44257.12453.42462.11962.7827.5830.4833.3

okta:ConvertibleSeniorNotesDue2025, us-gaap:EstimateOfFairValueFairValueDisclosure, us-gaap:SeniorNotes


Long
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-31
Value15501671160513931417112610741006
Percentage of LongTermDebtFairValue9773.97960.14448.43911.53203.31084.41048.2994.6

okta:ConvertibleSeniorNotesDue2026, us-gaap:CarryingReportedAmountFairValueDisclosure, us-gaap:SeniorNotes


Long
Period End2021-07-312021-04-302021-01-312020-10-312020-07-31
Value890878867856845
Percentage of LongTermDebtFairValue5611.54184.72404.02404.91911.1

okta:ConvertibleSeniorNotesDue2026, us-gaap:EstimateOfFairValueFairValueDisclosure, us-gaap:SeniorNotes


Long
Period End2021-07-312021-04-302021-01-312020-10-312020-07-31
Value14571516149313161341
Percentage of LongTermDebtFairValue9186.77220.44139.03697.33032.2

us-gaap:OperatingLeaseWeightedAverageDiscountRatePercent

us-gaap:OperatingLeaseWeightedAverageDiscountRatePercent


Operating
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-04-302019-01-31
Value5.55.65.65.60.0560.0560.0570.0570.0580.059
Percentage of OperatingLeaseWeightedAverageDiscountRatePercent100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:OperatingLossCarryforwards us-gaap:IncomeTaxAuthority

us-gaap:OperatingLossCarryforwards

us-gaap:DomesticCountry


Operating
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value23901462798490264
Percentage of OperatingLossCarryforwards100.0100.0100.0100.0100.0

us-gaap:StateAndLocalJurisdiction


Operating
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value1541919489295164
Percentage of OperatingLossCarryforwards64.562.961.260.362.0

us-gaap:OperatingLossCarryforwards us-gaap:StatementGeographical

country:GB


Operating
Period End2021-01-312020-01-31
Value4929
Percentage of OperatingLossCarryforwards2.12.0

us-gaap:OtherSundryLiabilitiesCurrent

us-gaap:OtherSundryLiabilitiesCurrent


Other
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value3147000.0702000.00324000.0543000.0
Percentage of OtherSundryLiabilitiesCurrent100.0100.00.0100.0100.0

us-gaap:OtherSundryLiabilitiesNoncurrent

us-gaap:OtherSundryLiabilitiesNoncurrent


Other
Period End2021-01-312020-01-312019-01-312018-01-312017-01-31
Value7498000.03803000.02292000.01832000.01332000.0
Percentage of OtherSundryLiabilitiesNoncurrent100.0100.0100.0100.0100.0

us-gaap:PurchaseObligation

us-gaap:PurchaseObligation


Purchase
Period End2021-01-31
Value128
Percentage of PurchaseObligation100.0

us-gaap:PurchaseObligationDueInFifthYear

us-gaap:PurchaseObligationDueInFifthYear


Purchase
Period End2021-01-31
Value1417000.0
Percentage of PurchaseObligationDueInFifthYear100.0

us-gaap:PurchaseObligationDueInFourthYear

us-gaap:PurchaseObligationDueInFourthYear


Purchase
Period End2021-01-31
Value1604000.0
Percentage of PurchaseObligationDueInFourthYear100.0

us-gaap:PurchaseObligationDueInNextTwelveMonths

us-gaap:PurchaseObligationDueInNextTwelveMonths


Purchase
Period End2021-01-31
Value53
Percentage of PurchaseObligationDueInNextTwelveMonths100.0

us-gaap:PurchaseObligationDueInSecondYear

us-gaap:PurchaseObligationDueInSecondYear


Purchase
Period End2021-01-31
Value38
Percentage of PurchaseObligationDueInSecondYear100.0

us-gaap:PurchaseObligationDueInThirdYear

us-gaap:PurchaseObligationDueInThirdYear


Purchase
Period End2021-01-31
Value32
Percentage of PurchaseObligationDueInThirdYear100.0

us-gaap:RestrictedCashAndCashEquivalentsAtCarryingValue

us-gaap:RestrictedCashAndCashEquivalentsAtCarryingValue


Restricted
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-01-312016-10-31
Value5037000.04082000.04553000.02413000.02217000.02254000.0467000.0307000.0307000.0307000.01384000.00000001039000.0
Percentage of RestrictedCashAndCashEquivalentsAtCarryingValue100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.00.00.00.00.00.00.0100.0

us-gaap:RestrictedCashAndCashEquivalentsNoncurrent

us-gaap:RestrictedCashAndCashEquivalentsNoncurrent


Restricted
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-312016-10-312016-01-31
Value9.669.4689.4711111211111111118.5498.568.5658.2840.2690.2790.2630.04.3953.673
Percentage of RestrictedCashAndCashEquivalentsNoncurrent100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.00.0100.0100.0

us-gaap:RestrictedCashNoncurrent

us-gaap:RestrictedCashNoncurrent


Restricted
Period End2021-01-312020-01-312019-01-312018-01-31
Value9.511118.3
Percentage of RestrictedCashNoncurrent100.0100.0100.0100.0

us-gaap:RevenueRemainingPerformanceObligation

us-gaap:RevenueRemainingPerformanceObligation


Revenue
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-30
Value22361889179615811426124012091031913792
Percentage of RevenueRemainingPerformanceObligation100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:RevenueRemainingPerformanceObligationPercentage

us-gaap:RevenueRemainingPerformanceObligationPercentage


Revenue
Period End2021-07-312021-04-302021-01-312020-10-31
Value49.048.047.048.0
Percentage of RevenueRemainingPerformanceObligationPercentage100.0100.0100.0100.0

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber us-gaap:AwardType

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber

us-gaap:RestrictedStockUnitsRSU


Share
Period End2020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-01-31
Value5262100.04890200.04893200.05101300.05401100.04847700.04835500.04936000.04890800.03432600.02862900.02506200.00
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.00.0

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue us-gaap:AwardType

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue

us-gaap:RestrictedStockUnitsRSU


Share
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-01-31
Value182.44156.75122.9112.24105.4486.077.9973.5369.6549.344.4942.2739.1727.7524.3824.080
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.00.0

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice


Share
Period End2021-07-312021-04-302021-01-312020-10-31
Value12.3311.449.939.87
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice100.0100.0100.0100.0

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue


Share
Period End2021-07-312021-04-302021-01-312020-10-312020-07-312020-04-302020-01-312019-10-312019-07-312019-04-302019-01-312018-10-312018-07-312018-04-302018-01-312017-10-312017-07-312017-04-302017-01-31
Value19281863198017702017150614361308174115321304954853776550591516664145
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0100.0

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue us-gaap:AwardType, us-gaap:BusinessAcquisition

us-gaap:EmployeeStockOption, okta:Auth0


Share
Period End2021-05-03
Value416
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue0.0

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue


Share
Period End2021-01-31
Value1980
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue100.0

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice


Share
Period End2021-01-31
Value18.93
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice100.0

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardPerShareWeightedAveragePriceOfSharesPurchased us-gaap:AwardType

us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardPerShareWeightedAveragePriceOfSharesPurchased

us-gaap:EmployeeStock


Share
Period End2021-07-312021-01-312020-10-312020-01-312019-01-312018-01-31
Value197.6104.84100.3858.1422.3114.7
Percentage of ShareBasedCompensationArrangementByShareBasedPaymentAwardPerShareWeightedAveragePriceOfSharesPurchased100.0100.0100.0100.0100.0100.0

us-gaap:SharePrice

us-gaap:SharePrice


Share
Period End2021-07-312021-04-302021-01-31
Value247.79269.7259.01
Percentage of SharePrice100.0100.0100.0

us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueNonvested us-gaap:AwardType, us-gaap:BusinessAcquisition

us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueNonvested

us-gaap:RestrictedStock, okta:Auth0


Sharebased
Period End2021-05-03
Value332
Percentage of SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueNonvested100.0

us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding us-gaap:AwardType, us-gaap:BusinessAcquisition

us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding

okta:RestrictedCashAwards, okta:Auth0


Sharebased
Period End2021-05-03
Value13
Percentage of SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding100.0

us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1

us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1


Sharebased
Period End2021-07-312021-04-302021-01-312020-10-31
Value1663172116981485
Percentage of SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1100.0100.0100.0100.0

us-gaap:TaxCreditCarryforwardAmount us-gaap:IncomeTaxAuthority, us-gaap:TaxCreditCarryforward

us-gaap:TaxCreditCarryforwardAmount

us-gaap:DomesticCountry, us-gaap:Research


Tax
Period End2021-01-312020-01-312019-01-312018-01-31
Value5035146.2
Percentage of TaxCreditCarryforwardAmount100.0100.0100.0100.0

us-gaap:StateAndLocalJurisdiction, us-gaap:Research


Tax
Period End2021-01-312020-01-312019-01-312018-01-31
Value33239.85.6
Percentage of TaxCreditCarryforwardAmount66.466.369.590.3

us-gaap:UnamortizedDebtIssuanceExpense us-gaap:DebtInstrument, us-gaap:LongtermDebtType

us-gaap:UnamortizedDebtIssuanceExpense

okta:ConvertibleSeniorNotesDue2026, us-gaap:SeniorNotes


Unamortized
Period End2021-07-312021-04-302021-01-312020-10-312020-07-31
Value1111111111
Percentage of UnamortizedDebtIssuanceExpense100.0100.0100.0100.0100.0

Line plots across dimensions of each concept


us-gaap:CommonStockValue
us-gaap:StatementClassOfStock
(None,)
Common Stock Valueus-gaap: Statement Class Of Stock
us-gaap:CommonStockSharesIssued
us-gaap:StatementClassOfStock
(None,)
Common Stock Shares Issuedus-gaap: Statement Class Of Stock
us-gaap:CommonStockSharesOutstanding
us-gaap:StatementClassOfStock
(None,)
Common Stock Shares Outstandingus-gaap: Statement Class Of Stock
us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding
us-gaap:StatementClassOfStock
(None,)
Weighted Average Number Of Diluted Shares Outstandingus-gaap: Statement Class Of Stock
us-gaap:WeightedAverageNumberOfSharesOutstandingBasic
us-gaap:StatementClassOfStock
(None,)
Weighted Average Number Of Shares Outstanding Basicus-gaap: Statement Class Of Stock
us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted
us-gaap:StatementClassOfStock
(None,)
Weighted Average Number Of Share Outstanding Basic And Dilutedus-gaap: Statement Class Of Stock
us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecurities
(None,)
Antidilutive Securities Excluded From Computation Of Earnings Per Share Amountus-gaap: Antidilutive Securities Excluded From Computation Of Earnings Per Share By Antidilutive Securities
us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecurities, us-gaap:DebtInstrument
('us-gaap:ConvertibleDebtSecurities', None)
Antidilutive Securities Excluded From Computation Of Earnings Per Share Amountus-gaap: Antidilutive Securities Excluded From Computation Of Earnings Per Share By Antidilutive Securities, us-gaap: Debt Instrument
us-gaap:EarningsPerShareBasic
us-gaap:StatementClassOfStock
(None,)
Earnings Per Share Basicus-gaap: Statement Class Of Stock
us-gaap:EarningsPerShareDiluted
us-gaap:StatementClassOfStock
(None,)
Earnings Per Share Dilutedus-gaap: Statement Class Of Stock
us-gaap:EarningsPerShareBasicAndDiluted
us-gaap:StatementClassOfStock
(None,)
Earnings Per Share Basic And Dilutedus-gaap: Statement Class Of Stock
COGS Ratio
us-gaap:ProductOrService
(None,)
C O G S  Ratious-gaap: Product Or Service
TTM Greenblatt ROC
_
(None,)
T T M  Greenblatt  R O C_
us-gaap:AllocatedShareBasedCompensationExpense
us-gaap:IncomeStatementLocation
(None,)
Allocated Share Based Compensation Expenseus-gaap: Income Statement Location
us-gaap:CostOfGoodsAndServicesSold
us-gaap:ProductOrService
(None,)
Cost Of Goods And Services Soldus-gaap: Product Or Service
us-gaap:InterestExpenseDebt
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
(None, 'us-gaap:SeniorNotes')
Interest Expense Debtus-gaap: Debt Instrument, us-gaap: Longterm Debt Type
us-gaap:NetIncomeLoss
us-gaap:StatementClassOfStock
(None,)
Net Income Lossus-gaap: Statement Class Of Stock
us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax
us-gaap:ProductOrService
(None,)
Revenue From Contract With Customer Excluding Assessed Taxus-gaap: Product Or Service
us-gaap:StockholdersEquity
us-gaap:StatementClassOfStock, us-gaap:StatementEquityComponents
(None, 'us-gaap:CommonStock')
Stockholders Equityus-gaap: Statement Class Of Stock, us-gaap: Statement Equity Components
us-gaap:StockholdersEquity
us-gaap:StatementEquityComponents
(None,)
Stockholders Equityus-gaap: Statement Equity Components
us-gaap:PropertyPlantAndEquipmentGross
us-gaap:PropertyPlantAndEquipmentByType
(None,)
Property Plant And Equipment Grossus-gaap: Property Plant And Equipment By Type
us-gaap:FiniteLivedIntangibleAssetsNet
us-gaap:FiniteLivedIntangibleAssetsByMajorClass
(None,)
Finite Lived Intangible Assets Netus-gaap: Finite Lived Intangible Assets By Major Class
us-gaap:LongTermDebt
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
(None, 'us-gaap:SeniorNotes')
Long Term Debtus-gaap: Debt Instrument, us-gaap: Longterm Debt Type
us-gaap:StockholdersEquity
us-gaap:StatementClassOfStock, us-gaap:StatementEquityComponents
(None, 'us-gaap:CommonStock')
Stockholders Equityus-gaap: Statement Class Of Stock, us-gaap: Statement Equity Components
us-gaap:StockholdersEquity
us-gaap:StatementEquityComponents
(None,)
Stockholders Equityus-gaap: Statement Equity Components
us-gaap:CommonStockValue
us-gaap:StatementClassOfStock
(None,)
Common Stock Valueus-gaap: Statement Class Of Stock
us-gaap:AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue
us-gaap:StatementEquityComponents
(None,)
Adjustments To Additional Paid In Capital Sharebased Compensation Requisite Service Period Recognition Valueus-gaap: Statement Equity Components
us-gaap:AmortizationOfFinancingCosts
us-gaap:DebtInstrument, us-gaap:LongtermDebtType
(None, 'us-gaap:SeniorNotes')
Amortization Of Financing Costsus-gaap: Debt Instrument, us-gaap: Longterm Debt Type
us-gaap:NetIncomeLoss
us-gaap:StatementClassOfStock
(None,)
Net Income Lossus-gaap: Statement Class Of Stock