v3.22.4
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, 2022
Dec. 31, 2021
Dec. 31, 2020
Numerator      
Net income $ 23,200 $ 39,370 $ 29,146
Denominator      
Shares used in computation of basic earnings per share (in shares) 2,687 2,815 2,851
Basic EPS (in dollars per share) $ 8.63 $ 13.99 $ 10.22
Numerator      
Net income $ 23,200 $ 39,370 $ 29,146
Denominator      
Shares used in computation of basic earnings per share (in shares) 2,687 2,815 2,851
Number of shares used for diluted EPS computation (in shares) 2,702 2,859 2,888
Diluted EPS (in dollars per share) $ 8.59 $ 13.77 $ 10.09
Class A      
Numerator      
Net income $ 19,729 $ 33,328 $ 24,607
Denominator      
Shares used in computation of basic earnings per share (in shares) 2,285 2,383 2,407
Basic EPS (in dollars per share) $ 8.63 $ 13.99 $ 10.22
Numerator      
Net income $ 19,729 $ 33,328 $ 24,607
Reallocation of net income as a result of conversion of Class B to Class A common stock 3,471 6,042 4,539
Reallocation of net income to Class B common stock 0 0 0
Net income for diluted EPS $ 23,200 $ 39,370 $ 29,146
Denominator      
Shares used in computation of basic earnings per share (in shares) 2,285 2,383 2,407
Conversion of Class B to Class A common stock (in shares) 402 432 444
Weighted-average effect of dilutive RSUs (in shares) 15 44 37
Number of shares used for diluted EPS computation (in shares) 2,702 2,859 2,888
Diluted EPS (in dollars per share) $ 8.59 $ 13.77 $ 10.09
Class B      
Numerator      
Net income $ 3,471 $ 6,042 $ 4,539
Denominator      
Shares used in computation of basic earnings per share (in shares) 402 432 444
Basic EPS (in dollars per share) $ 8.63 $ 13.99 $ 10.22
Numerator      
Net income $ 3,471 $ 6,042 $ 4,539
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 (19) (93) (58)
Net income for diluted EPS $ 3,452 $ 5,949 $ 4,481
Denominator      
Shares used in computation of basic earnings per share (in shares) 402 432 444
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) 402 432 444
Diluted EPS (in dollars per share) $ 8.59 $ 13.77 $ 10.09