v3.24.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Cash flows from operating activities      
Net income $ 39,098 $ 23,200 $ 39,370
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation and amortization 11,178 8,686 7,967
Share-based compensation 14,027 11,992 9,164
Deferred income taxes 131 (3,286) 609
Impairment charges for facilities consolidation, net 2,432 2,218 0
Other 635 641 (127)
Changes in assets and liabilities:      
Accounts receivable (2,399) 231 (3,110)
Prepaid expenses and other current assets 559 162 (1,750)
Other assets (80) (106) (349)
Accounts payable 51 210 1,436
Partners payable (271) 90 (12)
Accrued expenses and other current liabilities 5,352 4,210 3,544
Other liabilities 624 886 941
Net cash provided by operating activities 71,113 50,475 57,683
Cash flows from investing activities      
Purchases of property and equipment (27,266) (31,431) (18,690)
Proceeds relating to property and equipment 221 245 123
Purchases of marketable debt securities (2,982) (9,626) (30,407)
Sales and maturities of marketable debt securities 6,184 13,158 42,586
Acquisitions of businesses and intangible assets (629) (1,312) (851)
Other investing activities (23) (4) (331)
Net cash used in investing activities (24,495) (28,970) (7,570)
Cash flows from financing activities      
Taxes paid related to net share settlement of equity awards (7,012) (3,595) (5,515)
Repurchases of Class A common stock (19,774) (27,956) (44,537)
Proceeds from issuance of long-term debt, net 8,455 9,921 0
Principal payments on finance leases (1,058) (850) (677)
Other financing activities (111) 344 1
Net cash used in financing activities (19,500) (22,136) (50,728)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash 113 (638) (474)
Net increase (decrease) in cash, cash equivalents, and restricted cash 27,231 (1,269) (1,089)
Cash, cash equivalents, and restricted cash at beginning of the period 15,596 16,865 17,954
Cash, cash equivalents, and restricted cash at end of the period 42,827 15,596 16,865
Reconciliation of cash, cash equivalents, and restricted cash to the consolidated balance sheets      
Cash and cash equivalents 41,862 14,681 16,601
Restricted cash and cash equivalents 965 915 264
Total cash, cash equivalents, and restricted cash 42,827 15,596 16,865
Supplemental cash flow data      
Cash paid for income taxes, net 6,607 6,407 8,525
Cash paid for interest, net of amounts capitalized 448 0 0
Non-cash investing and financing activities:      
Property and equipment in accounts payable and accrued expenses and other current liabilities 4,105 3,319 3,404
Acquisition of businesses in accrued expenses and other current liabilities and other liabilities 119 291 73
Other current assets through financing arrangement in accrued expenses and other current liabilities 15 16 508
Repurchases of Class A common stock in accrued expenses and other current liabilities 474 310 340
Restricted cash, included in prepaid expenses and other current assets      
Reconciliation of cash, cash equivalents, and restricted cash to the consolidated balance sheets      
Restricted cash and cash equivalents 99 294 149
Restricted cash, included in other assets      
Reconciliation of cash, cash equivalents, and restricted cash to the consolidated balance sheets      
Restricted cash and cash equivalents 866 621 115
Data Center Assets      
Adjustments to reconcile net income to net cash provided by operating activities:      
Restructuring charges $ (224) $ 1,341 $ 0