Schedule of Basic and Diluted Net Income Per Share Available to Common Stock |
The following table sets forth the computation of our basic and diluted net income (loss) per share available to common stock (in thousands, except per share amounts): | | | | | | | | | | | | | | | | | | | | Three Months Ended September 30, | | Nine Months Ended September 30, | | | 2019 | | 2018 | | 2019 | | 2018 | Numerator: | | | | | | | | | Basic: | | | | | | | | | Net income | | $ | 208,895 |
| | $ | 168,524 |
| | $ | 599,175 |
| | $ | 157,793 |
| Less: undistributed earnings allocated to participating securities | | (96 | ) | | (85 | ) | | (314 | ) | | (87 | ) | Net income available to common stockholders, basic | | $ | 208,799 |
| | $ | 168,439 |
| | $ | 598,861 |
| | $ | 157,706 |
| Diluted: | | | | | | | | | Net income attributable to common stockholders, basic | | $ | 208,799 |
| | $ | 168,439 |
| | $ | 598,861 |
| | $ | 157,706 |
| Add: undistributed earnings allocated to participating securities | | 5 |
| | 6 |
| | 19 |
| | 7 |
| Net income attributable to common stockholders, diluted | | $ | 208,804 |
| | $ | 168,445 |
| | $ | 598,880 |
| | $ | 157,713 |
| Denominator: | | | | | | | | | Basic: | | | | | | | | | Weighted-average shares used in computing net income per share available to common stockholders, basic | | 76,426 |
| | 75,011 |
| | 76,301 |
| | 74,506 |
| Diluted: | | | | | | | | | Weighted-average shares used in computing net income per share available to common stockholders, basic | | 76,426 |
| | 75,011 |
| | 76,301 |
| | 74,506 |
| Add weighted-average effect of dilutive securities: | | | | | | | | | Stock options and RSUs | | 4,308 |
| | 5,967 |
| | 4,784 |
| | 6,298 |
| Employee stock purchase plan | | 19 |
| | 40 |
| | 19 |
| | 40 |
| Weighted-average shares used in computing net income per share available to common stockholders, diluted | | 80,753 |
| | 81,018 |
| | 81,104 |
| | 80,844 |
| Net income per share attributable to common stockholders: | | | | | | | | | Basic | | $ | 2.73 |
| | $ | 2.25 |
| | $ | 7.85 |
| | $ | 2.12 |
| Diluted | | $ | 2.59 |
| | $ | 2.08 |
| | $ | 7.38 |
| | $ | 1.95 |
|
|
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share |
The following weighted-average outstanding shares of common stock equivalents were excluded from the computation of diluted net income (loss) per share available to common stockholders for the periods presented because including them would have been anti-dilutive (in thousands): | | | | | | | | | | | | | | | | Three Months Ended September 30, | | Nine Months Ended September 30, | | | 2019 | | 2018 | | 2019 | | 2018 | Stock options and RSUs to purchase common stock | | 277 |
| | 82 |
| | 211 |
| | 87 |
| Employee stock purchase plan | | 41 |
| | 98 |
| | 59 |
| | 59 |
| Total | | 318 |
| | 180 |
| | 270 |
| | 146 |
|
|