v3.24.0.1
CONSOLIDATED STATEMENTS OF INCOME - USD ($)
shares in Millions, $ in Millions
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Income Statement [Abstract]      
Revenue $ 134,902 $ 116,609 $ 117,929
Costs and expenses:      
Cost of revenue 25,959 25,249 22,649
Research and development 38,483 35,338 24,655
Marketing and sales 12,301 15,262 14,043
General and administrative 11,408 11,816 9,829
Total costs and expenses 88,151 87,665 71,176
Income from operations 46,751 28,944 46,753
Interest and other income (expense), net 677 (125) 531
Income before provision for income taxes 47,428 28,819 47,284
Provision for income taxes 8,330 5,619 7,914
Net income $ 39,098 $ 23,200 $ 39,370
Earnings per share attributable to Class A and Class B common stockholders:      
Basic (in dollars per share) $ 15.19 $ 8.63 $ 13.99
Diluted (in dollars per share) $ 14.87 $ 8.59 $ 13.77
Weighted-average shares used to compute earnings per share attributable to Class A and Class B common stockholders:      
Basic (in shares) 2,574 2,687 2,815
Diluted (in shares) 2,629 2,702 2,859