Quarterly report pursuant to Section 13 or 15(d)

Net Income (Loss) Per Share

v3.23.1
Net Income (Loss) Per Share
3 Months Ended
Apr. 30, 2023
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share Net Income (Loss) Per Share
Basic income (loss) per share is computed by dividing net income (loss) attributable to common stockholders (the numerator) by the weighted-average number of common shares outstanding (the denominator) for the period. Diluted net income (loss) per share is calculated by giving effect to all potential dilutive common stock equivalents, which includes stock options, restricted stock units, and other awards. In periods of net loss, diluted loss per share is computed on the same basis as basic loss per share as the inclusion of any other potential shares outstanding would be anti-dilutive.
The following table sets forth the computation of basic and diluted net income (loss) per share:
Three Months Ended April 30,
(in thousands, except per share amounts) 2023 2022
Net income (loss) per share - basic:
Numerator:
Net income (loss) $ 2,808  $ (25,288)
Denominator:
Weighted-average shares outstanding used in computing net income (loss) per share, basic 265,584 256,903 
Net income (loss) per common share, basic $ 0.01  $ (0.10)
Net income (loss) per share - diluted:
Numerator:
Net income (loss) $ 2,808  $ (25,288)
Denominator:
Weighted-average shares outstanding used in computing net income (loss) per share, basic 265,584  256,903 
Weighted-average effect of diluted securities:
Stock options 12,339  — 
RSUs 3,115  — 
Common stock warrants 306  — 
Weighted-average shares outstanding used in computing net income (loss) per share, diluted 281,344  256,903 
Net income (loss) per common share, diluted $ 0.01  $ (0.10)
Potentially dilutive securities that were not included in the diluted per share calculations because they would be anti-dilutive were as follows:
April 30, 2023
(in thousands) 2023 2022
Stock options 7,467  41,065 
PSUs 3,649  2,625 
RSUs 769  8,092 
ESPP 298  388 
Warrants to purchase common stock —  2,500 
Total shares excluded from net income (loss) per share 12,183  54,670