v3.24.0.1
Net Income (Loss) per Share
12 Months Ended
Dec. 31, 2023
Earnings Per Share [Abstract]  
Net Income (Loss) per Share Net Income (Loss) per Share
The following table sets forth the computation of basic and diluted net loss per share attributable to common stockholders for the years indicated (in millions, except per share amounts):

Year Ended December 31,
202120222023
Net income (loss)$(352)$1,893 $4,792 
Add: convertible notes interest expense, net of tax— 
Net income (loss) - diluted$(352)$1,897 $4,795 
Weighted-average shares in computing net income (loss) per share attributable to Class A and Class B common stockholders:
Basic616 637 637 
Effect of dilutive securities— 43 25 
Diluted616 680 662 
Net income (loss) per share attributable to Class A and Class B common stockholders:
Basic$(0.57)$2.97 $7.52 
Diluted$(0.57)$2.79 $7.24 

The rights, including the liquidation and dividend rights, of the holders of Class A and Class B common stock are identical, except with respect to voting and conversion. Each share of Class A common stock is entitled to one vote per share and each share of Class B common stock is entitled to 20 votes per share. Each share of Class B common stock is convertible into a share of Class A common stock voluntarily at any time by the holder, and automatically upon certain events. The Class A common stock has no conversion rights. As the liquidation and dividend rights are identical for Class A and Class B common stock, the undistributed earnings are allocated on a proportional basis and the resulting net loss per share attributable to common stockholders will, therefore, be the same for both Class A and Class B common stock on an individual or combined basis.

There were no preferred dividends declared or accumulated for the years ended December 31, 2021, 2022 and 2023. As of each December 31, 2021, 2022 and 2023, RSUs to be settled in 9.6 million shares of Class A common stock were excluded from the table below because they are subject to market conditions that were not achieved as of such date. As of December 31, 2021, 0.5 million shares of RSAs were excluded from the table below because they are subject to performance conditions that were not achieved as of such date. As of December 31, 2022 and 2023, 0.3 million shares of RSAs were excluded from the table below because they are subject to performance conditions that were not achieved as of such date.

Additionally, the following securities were not included in the computation of diluted shares outstanding because the effect would be anti-dilutive (in millions):

Year Ended December 31,
202120222023
2026 Notes(1)
11 — — 
Warrants— — 
Stock options24 
RSUs26 
RSAs— — 
Total70 10 

(1)Holders of the 2026 Notes who convert their 2026 Notes in connection with certain corporate events that constitute a make-whole fundamental change are entitled to an increase in the conversion rate. The 11.1 million shares represent the maximum number of shares that could have been issued upon conversion after considering the make-whole fundamental change adjustment on an unweighted basis.