v3.24.2
Net Income Per Share
6 Months Ended
Jun. 30, 2024
Earnings Per Share [Abstract]  
Net Income Per Share Net Income Per Share
 
Basic net income per share attributable to common stockholders is computed by dividing net income attributable to common stockholders by the weighted-average number of shares of common stock outstanding during the period. Diluted net income per share is computed by dividing net income attributable to common stockholders by the weighted-average number of shares of common stock outstanding during the period, adjusted for the effects of dilutive shares of common stock, which are comprised of outstanding stock options, RSUs and ESPP obligations. Stock awards with performance or market conditions are included in dilutive shares to the extent all conditions are met. The potentially dilutive shares of common stock are computed using the treasury stock method or the as-if converted method, as applicable. The effects of outstanding stock options, RSUs and ESPP obligations are excluded from the computation of diluted net income per share in periods in which the effect would be antidilutive.
The following table presents the calculation of basic and diluted net income per share attributable to common stockholders (in millions, except for number of shares reflected in thousands and per share data):
 Three Months Ended June 30,Six Months Ended June 30,
2024202320242023
Numerator:
Net income$262 $1,044 $609 $1,194 
Denominator:
Weighted-average shares outstanding - basic205,644 204,021 205,376 203,705 
Weighted-average effect of potentially dilutive securities:
Common stock options137 119 140 115 
RSUs2,018 1,197 2,211 870 
ESPP obligations— 14 13 — 
Weighted-average shares outstanding - diluted207,799 205,351 207,740 204,690 
Net income per share - basic$1.27 $5.12 $2.97 $5.86 
Net income per share - diluted$1.26 $5.08 $2.93 $5.83 
Common stock options, RSUs and ESPP obligations excluded from diluted net income per share because their effect would have been anti-dilutive
2,878 3,446 2,906 3,890