v3.24.4
Net Income Per Share
12 Months Ended
Dec. 31, 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, ESPP obligations, the 2022 Notes and the 2022 Warrants. 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, ESPP obligations, 2022 Notes and 2022 Warrants 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):
 Year Ended December 31,
 202420232022
Numerator:
Net income$1,425 $1,731 $325 
Denominator:
Weighted-average shares outstanding - basic
205,834 204,137 201,430 
Weighted-average effect of potentially dilutive securities:
Common stock options, RSUs and ESPP obligations
2,589 1,454 1,672 
2022 Notes settlements— — 280 
Settlement of 2022 Warrants— — 153 
Weighted-average shares outstanding - diluted208,423 205,591 203,535 
Net income per share - basic$6.92 $8.48 $1.61 
Net income per share - diluted$6.84 $8.42 $1.60 
Common stock options, RSUs and ESPP obligations excluded from diluted net income per share because their effect would have been anti-dilutive
711 3,191 4,658