XML 28 R18.htm IDEA: XBRL DOCUMENT v3.19.1
Net Loss per Share Attributable to Common Stockholders
3 Months Ended
Apr. 30, 2019
Earnings Per Share [Abstract]  
Net Loss per Share Attributable to Common Stockholders
Net Loss per Share Attributable to Common Stockholders
Basic and diluted net loss per share attributable to common stockholders is presented in conformity with the two-class method required for participating securities.
Basic net loss per share attributable to common stockholders is computed by dividing the net loss attributable to common stockholders by the weighted-average number of shares of common stock outstanding during the period, less shares subject to repurchase. Diluted net loss per share attributable to common stockholders is computed by giving effect to all potentially dilutive common stock equivalents, including our outstanding stock options, common stock related to unvested RSUs, repurchasable shares from early exercised stock options and restricted stock, our Notes to the extent dilutive, and common stock issuable pursuant to the ESPP. These potentially dilutive common stock equivalents have been excluded from the calculation of diluted net loss per share attributable to common stockholders as their effect is anti-dilutive.
The following table sets forth the computation of basic and diluted net loss per share attributable to common stockholders (in thousands, except per share data):
 
 
Three Months Ended 
 April 30,
 
2018
 
2019
 
 
 
 
Net loss
$
(64,304
)
 
$
(100,336
)
Weighted-average shares used in computing net loss per share attributable to common stockholders, basic and diluted
223,768

 
245,334

Net loss per share attributable to common stockholders, basic and diluted
$
(0.29
)
 
$
(0.41
)


The following weighted-average outstanding shares of common stock equivalents were excluded from the computation of diluted net loss per share attributable to common stockholders for the periods presented because including them would have been anti-dilutive (in thousands):
 
 
Three Months Ended 
 April 30,
 
2018
 
2019
Stock options to purchase common stock
44,996

 
34,001

Unvested RSUs
18,999

 
23,846

Restricted stock subject to repurchase
1,685

 
2,632

Shares related to Notes
5,410

 
21,884

Shares issuable pursuant to ESPP
470

 
297

Total
71,560

 
82,660