Quarterly report pursuant to Section 13 or 15(d)

Earnings Per Share

v3.20.2
Earnings Per Share
9 Months Ended
Sep. 30, 2020
Earnings Per Share [Abstract]  
Earnings Per Share Earnings Per Share
The computation of the Company’s basic and diluted net income (loss) per share is as follows (in thousands, except per share amounts):
Three Months Ended September 30, Nine Months Ended September 30,
2020 2019 2020 2019
Numerator:  
Net income (loss) attributable to common stockholders $ 37,447  $ 28,990  $ (4,074) $ 13,835 
Denominator:  
Weighted average shares used to compute net income (loss) per share attributable to common stockholders, basic 125,003  117,652  121,813  115,790 
Weighted average effect of potentially dilutive shares to purchase common stock
9,545  7,499  —  7,855 
Weighted average shares used to compute net income (loss) per share attributable to common stockholders, diluted 134,548  125,151  121,813  123,645 
Net income (loss) per share attributable to common stockholders
Basic $ 0.30  $ 0.25  $ (0.03) $ 0.12 
Diluted $ 0.28  $ 0.23  $ (0.03) $ 0.11 

The following shares were excluded from the computation of diluted net income (loss) per share as the impact of including those shares would be anti-dilutive (in thousands):
Three Months Ended September 30, Nine Months Ended September 30,
2020 2019 2020 2019
Outstanding stock options 82  1,540  1,532  1,455 
Unvested restricted stock units 196  343  1,348  725 
Total 278  1,883  2,880  2,180 

As a result of the Company's completion of the acquisition of Vivint Solar, the Company issued 69,472,495 shares on October 8, 2020 which are not reflected in its calculation of net income (loss) per share for the three and nine months ended September 30, 2020.