Net Income per Share The Company computes basic net income per share by dividing net income available to common stockholders by the weighted-average number of common shares outstanding during the period. Diluted net income per share reflects the dilution from potential common shares outstanding, such as stock options and unvested restricted stock units and awards, during the period using the treasury stock method. The table below reconciles the weighted-average common shares used to calculate basic net income per share with the weighted-average common shares used to calculate diluted net income per share: | | | | | | | | | | | | | | | | | | Three Months Ended April 30, | | Six Months Ended April 30, | | 2018 | | 2017 | | 2018 | | 2017 | | (in thousands, except per share amounts) | Numerator: | | | | | | | | Net income | $ | 102,472 |
| | $ | 53,306 |
| | $ | 98,781 |
| | $ | 139,894 |
| Denominator: | | | | | | | | Weighted-average common shares for basic net income per share | 149,034 |
| | 150,384 |
| | 149,245 |
| | 150,583 |
| Dilutive effect of potential common shares from equity-based compensation | 4,133 |
| | 4,477 |
| | 4,419 |
| | 4,171 |
| Weighted-average common shares for diluted net income per share | 153,167 |
| | 154,861 |
| | 153,664 |
| | 154,754 |
| Net income per share: | | | | | | | | Basic | $ | 0.69 |
| | $ | 0.35 |
| | $ | 0.66 |
| | $ | 0.93 |
| Diluted | $ | 0.67 |
| | $ | 0.34 |
| | $ | 0.64 |
| | $ | 0.90 |
| Anti-dilutive employee stock-based awards excluded(1) | 761 |
| | 948 |
| | 618 |
| | 738 |
|
| | (1) | These employee stock-based awards were anti-dilutive for the respective periods and are excluded in calculating diluted net income per share. While such awards were anti-dilutive for the respective periods, they could be dilutive in the future. |
|