XML 29 R16.htm IDEA: XBRL DOCUMENT v3.8.0.1
Net Loss per Share Attributable to Common Stockholders
12 Months Ended
Jan. 31, 2018
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 by the weighted-average number of shares of common stock outstanding during the period, less shares subject to repurchase. The diluted net loss per share attributable to common stockholders is computed by giving effect to all potential dilutive common stock equivalents outstanding for the period. For purposes of this calculation, convertible preferred stock, stock options, unvested restricted stock units, repurchasable shares from early exercised stock options and shares subject to ESPP withholding are considered to be common stock equivalents but have been excluded from the calculation of diluted net loss per share attributable to common stockholders as their effect is anti-dilutive.
The rights, including the liquidation and dividend rights, of the holders of our Class A and Class B common stock are identical, except with respect to voting. As the liquidation and dividend rights are identical, the undistributed earnings are allocated on a proportionate basis and the resulting net loss per share attributed to common stockholders will, therefore, be the same for both Class A and Class B common stock on an individual or combined basis. We did not present dilutive net loss per share on an if-converted basis because the impact was not 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):
 
 
Year Ended January 31,
 
2016
 
2017
 
2018
Net loss
$
(213,752
)
 
$
(245,066
)
 
$
(177,602
)
Weighted-average shares used in computing net loss
   per share attributable to common stockholders, basic and diluted
82,460

 
194,714

 
211,609

Net loss per share attributable to common stockholders,
basic and diluted
$
(2.59
)
 
$
(1.26
)
 
$
(0.84
)

 
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):
 
 
Year Ended January 31,
 
2016
 
2017
 
2018
Stock options to purchase common stock
61,795

 
63,984

 
52,424

Restricted stock units

 
5,216

 
15,496

Employee stock purchase plan
170

 
1,310

 
1,544

Early exercised stock options
3,618

 
2,106

 
246

Total
65,583

 
72,616

 
69,710