v3.24.0.1
Earnings per Share - Schedule of Numerators and Denominators of Basic and Diluted EPS Computations for Common Stock (Details) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Numerator      
Net income $ 39,098 $ 23,200 $ 39,370
Denominator      
Shares used in computation of basic earnings per share (in shares) 2,574 2,687 2,815
Basic EPS (in dollars per share) $ 15.19 $ 8.63 $ 13.99
Numerator      
Net income $ 39,098 $ 23,200 $ 39,370
Denominator      
Shares used in computation of basic earnings per share (in shares) 2,574 2,687 2,815
Number of shares used for diluted EPS computation (in shares) 2,629 2,702 2,859
Diluted EPS (in dollars per share) $ 14.87 $ 8.59 $ 13.77
Class A      
Numerator      
Net income $ 33,722 $ 19,729 $ 33,328
Denominator      
Shares used in computation of basic earnings per share (in shares) 2,220 2,285 2,383
Basic EPS (in dollars per share) $ 15.19 $ 8.63 $ 13.99
Numerator      
Net income $ 33,722 $ 19,729 $ 33,328
Reallocation of net income as a result of conversion of Class B to Class A common stock 5,376 3,471 6,042
Reallocation of net income to Class B common stock 0 0 0
Net income for diluted EPS $ 39,098 $ 23,200 $ 39,370
Denominator      
Shares used in computation of basic earnings per share (in shares) 2,220 2,285 2,383
Conversion of Class B to Class A common stock (in shares) 354 402 432
Weighted-average effect of dilutive RSUs (in shares) 55 15 44
Number of shares used for diluted EPS computation (in shares) 2,629 2,702 2,859
Diluted EPS (in dollars per share) $ 14.87 $ 8.59 $ 13.77
Class B      
Numerator      
Net income $ 5,376 $ 3,471 $ 6,042
Denominator      
Shares used in computation of basic earnings per share (in shares) 354 402 432
Basic EPS (in dollars per share) $ 15.19 $ 8.63 $ 13.99
Numerator      
Net income $ 5,376 $ 3,471 $ 6,042
Reallocation of net income as a result of conversion of Class B to Class A common stock 0 0 0
Reallocation of net income to Class B common stock (112) (19) (93)
Net income for diluted EPS $ 5,264 $ 3,452 $ 5,949
Denominator      
Shares used in computation of basic earnings per share (in shares) 354 402 432
Conversion of Class B to Class A common stock (in shares) 0 0 0
Weighted-average effect of dilutive RSUs (in shares) 0 0 0
Number of shares used for diluted EPS computation (in shares) 354 402 432
Diluted EPS (in dollars per share) $ 14.87 $ 8.59 $ 13.77