v3.23.3
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
9 Months Ended
Sep. 30, 2023
Sep. 30, 2022
Net Cash Provided by (Used in) Operating Activities [Abstract]    
Net income $ 25,081 $ 18,547
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 8,006 6,310
Share-based compensation 10,603 8,984
Deferred income taxes 1,292 (2,113)
Impairment charges for facilities consolidation, net 1,342 413
Other 278 71
Changes in assets and liabilities:    
Accounts receivable 444 1,930
Prepaid expenses and other current assets (141) (693)
Other assets 31 (160)
Accounts payable (543) (666)
Partners payable (347) (12)
Accrued expenses and other current liabilities 5,702 2,942
Other liabilities (39) 411
Net cash provided by operating activities 51,709 35,964
Cash flows from investing activities    
Purchases of property and equipment (19,601) (22,388)
Proceeds relating to property and equipment 148 190
Purchases of marketable debt securities (1,810) (8,885)
Maturities and sales of marketable debt securities 3,825 10,895
Acquisitions of businesses and intangible assets (565) (1,250)
Other investing activities (20) (1)
Net cash used in investing activities (18,023) (21,439)
Cash flows from financing activities    
Taxes paid related to net share settlement of equity awards (4,789) (2,938)
Repurchases of Class A common stock (13,832) (21,093)
Proceeds from issuance of long-term debt, net 8,455 9,921
Principal payments on finance leases (751) (615)
Other financing activities (182) (351)
Net cash used in financing activities (11,099) (15,076)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (283) (1,063)
Net increase (decrease) in cash, cash equivalents, and restricted cash 22,304 (1,614)
Cash, cash equivalents, and restricted cash at beginning of the period 15,596 16,865
Cash, cash equivalents, and restricted cash at end of the period 37,900 15,251
Reconciliation of cash, cash equivalents, and restricted cash to the condensed consolidated balance sheets    
Cash and cash equivalents 36,890 14,308
Total cash, cash equivalents, and restricted cash 37,900 15,251
Supplemental cash flow data    
Cash paid for income taxes, net 2,016 4,647
Cash paid for interest, net of amounts capitalized 302 0
Non-cash investing and financing activities:    
Property and equipment in accounts payable and accrued expenses and other current liabilities 4,506 4,130
Acquisition of businesses in accrued expenses and other current liabilities and other liabilities 182 294
Repurchases of Class A common stock in accrued expenses and other current liabilities 122 265
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 152 232
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 $ 858 $ 711