Quarterly report pursuant to Section 13 or 15(d)

Net Income (Loss) Per Share

v3.10.0.1
Net Income (Loss) Per Share
6 Months Ended
Jun. 30, 2018
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share
Net Income (Loss) Per Share
Basic earnings per share, or EPS, is calculated by dividing net income by the weighted-average number of common shares outstanding for the period, without consideration for common stock equivalents. Diluted EPS is computed by dividing net income by the weighted-average number of common shares outstanding for the period and the weighted-average number of dilutive common stock equivalents outstanding for the period determined using the treasury-stock method. For purposes of this calculation, common stock options, restricted stock units and restricted stock awards are considered to be common stock equivalents and are only included in the calculation of diluted EPS when their effect is dilutive. In periods in which the Company has a net loss, dilutive common stock equivalents are excluded from the calculation of diluted EPS.
The table below presents the computation of basic and diluted EPS:
 
Three Months Ended June 30,
 
Six Months Ended June 30,
 
2018
 
2017
 
2018
 
2017
 
(in thousands, except per share amounts)
Numerator:
 
 
 
 
 
 
 
Net income (loss)
$
(14,422
)
 
$
10,965

 
$
(12,575
)
 
$
19,428

Denominator:
 
 
 
 
 
 
 
Weighted average common shares outstanding—basic
68,335

 
65,889

 
68,008

 
65,564

Dilutive common stock equivalents

 
3,756

 

 
3,834

Weighted average common shares outstanding—diluted
68,335

 
69,645

 
68,008

 
69,398

Net income (loss) per share:
 
 
 
 
 
 
 
Basic
$
(0.21
)
 
$
0.17

 
$
(0.18
)
 
$
0.30

Diluted
$
(0.21
)
 
$
0.16

 
$
(0.18
)
 
$
0.28


The Company excluded 3.6 million and 1.3 million common stock equivalents for outstanding stock-based awards for the three months ended June 30, 2018 and 2017, respectively, from the calculation of diluted net income (loss) per share due to their anti-dilutive nature.
The Company excluded 3.7 million and 0.9 million common stock equivalents for outstanding stock-based awards for the six months ended June 30, 2018 and 2017, respectively, from the calculation of diluted net income (loss) per share due to their anti-dilutive nature.