v3.24.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Cash flows from operating activities    
Net income $ 25,834 $ 13,498
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 7,011 5,147
Share-based compensation 8,178 7,111
Deferred income taxes (2,098) (1,757)
Impairment charges for facilities consolidation, net 280 1,002
Other (71) 204
Changes in assets and liabilities:    
Accounts receivable 1,350 1,122
Prepaid expenses and other current assets 16 767
Other assets (41) 67
Accounts payable (862) (1,155)
Accrued expenses and other current liabilities (1,771) 5,268
Other liabilities 790 33
Net cash provided by operating activities 38,616 31,307
Cash flows from investing activities    
Purchases of property and equipment, net (14,573) (12,957)
Purchases of marketable debt securities (10,176) (803)
Sales and maturities of marketable debt securities 7,858 2,351
Acquisitions of businesses and intangible assets (129) (527)
Other investing activities (12) (10)
Net cash used in investing activities (17,032) (11,946)
Cash flows from financing activities    
Taxes paid related to net share settlement of equity awards (6,370) (2,701)
Repurchases of Class A common stock (21,307) (10,263)
Dividend payments (2,539) 0
Proceeds from issuance of long-term debt, net 0 8,455
Principal payments on finance leases (614) (484)
Other financing activities (115) (231)
Net cash used in financing activities (30,945) (5,224)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (440) 71
Net increase (decrease) in cash, cash equivalents, and restricted cash (9,801) 14,208
Cash, cash equivalents, and restricted cash at beginning of the period 42,827 15,596
Cash, cash equivalents, and restricted cash at end of the period 33,026 29,804
Reconciliation of cash, cash equivalents, and restricted cash to the condensed consolidated balance sheets    
Cash and cash equivalents 32,045 28,785
Total cash, cash equivalents, and restricted cash 33,026 29,804
Supplemental cash flow data    
Cash paid for income taxes, net 6,559 1,507
Cash paid for interest, net of amounts capitalized 245 182
Non-cash investing and financing activities:    
Property and equipment in accounts payable and accrued expenses and other current liabilities 3,229 3,845
Acquisition of businesses and intangible assets in accrued expenses and other current liabilities and other liabilities 267 217
Restricted cash, included in prepaid expenses and other current assets    
Reconciliation of cash, cash equivalents, and restricted cash to the condensed consolidated balance sheets    
Restricted cash and cash equivalents 100 165
Restricted cash, included in other assets    
Reconciliation of cash, cash equivalents, and restricted cash to the condensed consolidated balance sheets    
Restricted cash and cash equivalents $ 881 $ 854