XML 38 R25.htm IDEA: XBRL DOCUMENT v3.21.2
Net Income (Loss) Per Share
6 Months Ended
Jul. 31, 2021
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share Net Income (Loss) Per Share
Basic net income (loss) per share attributable to common stockholders is computed by dividing the net income (loss) attributable to common stockholders by the weighted-average number of shares of common stock outstanding during the period, net of treasury stock. Diluted net income (loss) per share is computed by giving effect to all potentially dilutive shares of common stock, including our outstanding stock options, unvested RSUs, PRSUs, and RSAs, convertible senior notes, outstanding warrants, and ESPP obligations.
The net income (loss) per share attributable to common stockholders is allocated based on the contractual participation rights of the Class A common shares and Class B common shares as if the income (loss) for the period had been distributed. As the liquidation and dividend rights are identical, the net income (loss) attributable to common stockholders is allocated on a proportionate basis. The computation of the diluted net income (loss) per share of Class A common stock assumes the conversion of our Class B common stock to Class A common stock, while the diluted net income (loss) per share of Class B common stock does not assume the conversion of those shares.
Basic and diluted net loss per share was the same for the three and six months ended July 31, 2020, as the inclusion of all potential common shares outstanding would have been anti-dilutive.
The following table presents the calculation of basic and diluted net income (loss) per share (in thousands, except per share data):
Three Months Ended July 31, Six Months Ended July 31,
2021202020212020
Class AClass BClass AClass BClass AClass BClass AClass B
Net income (loss) per share, basic:
Numerator:
Net income (loss)$80,955 $24,781 $(20,732)$(7,284)$45,188 $14,026 $(137,980)$(48,404)
Denominator:
Weighted-average shares outstanding, basic189,069 57,874 175,441 60,561 187,204 58,104 173,590 60,893 
Net income (loss) per share, basic$0.43 $0.43 $(0.12)$(0.12)$0.24 $0.24 $(0.79)$(0.79)
Net income (loss) per share, diluted:
Numerator:
Net income (loss)80,955 24,781 (20,732)(7,284)45,188 14,026 (137,980)(48,404)
Interest expense on convertible senior notes, net of tax1,229 376 — — — — — — 
Reallocation of net income and interest expense as a result of conversion of Class B to Class A common stock25,157 — — — 14,026 — — — 
Reallocation of net income and interest expense to Class B common stock— (1,265)— — — (421)— — 
Net income (loss) for diluted calculation 107,341 23,892 (20,732)(7,284)59,214 13,605 (137,980)(48,404)
Denominator:
Weighted-average shares outstanding, basic189,069 57,874 175,441 60,561 187,204 58,104 173,590 60,893 
Conversion of Class B to Class A common stock57,874 — — — 58,104 — — — 
Shares related to outstanding options, unvested RSUs, PRSUs, RSAs, and ESPP obligations4,606 — — — 6,611 — — — 
Shares related to the convertible senior notes7,817 — — — — — — — 
Shares subject to warrants related to the issuance of convertible senior notes650 — — — 981 — — — 
Weighted-average shares outstanding, diluted260,016 57,874 175,441 60,561 252,900 58,104 173,590 60,893 
Net income (loss) per share, diluted$0.41 $0.41 $(0.12)$(0.12)$0.23 $0.23 $(0.79)$(0.79)
The weighted-average number of shares outstanding used in the computation of diluted net income (loss) per share does not include the effect of the following potentially outstanding shares of common stock. The effects of these potentially outstanding shares were not included in the calculation of diluted net income (loss) per share because the effect would have been anti-dilutive (in thousands):
 Three Months Ended July 31, Six Months Ended July 31,
 2021202020212020
Shares related to outstanding options, unvested RSUs, PRSUs, RSAs, and ESPP obligations4,415 16,004 2,552 14,029 
Shares related to the convertible senior notes— 9,160 7,818 9,228 
Shares subject to warrants related to the issuance of convertible senior notes— 10,876 — 10,876 
Total4,415 36,040 10,370 34,133