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

The following table presents the calculation of basic and diluted net loss per share attributable to common stockholders for periods presented:
 
Three Months Ended April 30,
(in thousands, except per share data)
2019
 
2018
Numerator:
 
 
 
Net loss
$
(45,722
)
 
$
(270,687
)
Less: preferred stock accretion
—

 
(353
)
Net loss attributable to common stockholders
$
(45,722
)
 
$
(271,040
)
Denominator:
 
 
 
Weighted-average common shares outstanding
172,101

 
36,334

Net loss per share attributable to common stockholders:
 
 
 
Basic and diluted
$
(0.27
)
 
$
(7.46
)

Outstanding potentially dilutive securities that were excluded from the diluted per share calculations because they would have been antidilutive are as follows:
 
April 30,
(in thousands)
2019
 
2018
Convertible preferred stock as-converted
—

 
100,350

Stock options
10,989

 
18,477

Warrants to purchase convertible preferred stock
—

 
22

RSUs
14,620

 
15,002

ESPP
288

 
—

Total antidilutive securities
25,897

 
133,851



The table above does not include 0.4 million RSUs outstanding as of April 30, 2019, as these RSUs are subject to operating and stock price targets that were not considered to be met as of the reporting period.