v3.23.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Net Cash Provided by (Used in) Operating Activities [Abstract]    
Net income $ 5,709 $ 7,465
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 2,524 2,156
Share-based compensation 3,051 2,498
Deferred income taxes (620) (563)
Impairment charges for facilities consolidation 770 0
Other (7) (221)
Changes in assets and liabilities:    
Accounts receivable 2,546 2,557
Prepaid expenses and other current assets 821 573
Other assets 30 (108)
Accounts payable (1,104) (882)
Partners payable (240) (105)
Accrued expenses and other current liabilities 334 763
Other liabilities 184 (57)
Net cash provided by operating activities 13,998 14,076
Cash flows from investing activities    
Purchases of property and equipment (6,842) (5,441)
Proceeds relating to property and equipment 19 126
Purchases of marketable debt securities (85) (4,068)
Maturities and sales of marketable debt securities 534 5,467
Acquisitions of businesses and intangible assets (444) (853)
Other investing activities 75 (10)
Net cash used in investing activities (6,743) (4,779)
Cash flows from financing activities    
Taxes paid related to net share settlement of equity awards (1,009) (925)
Repurchases of Class A common stock (9,365) (9,506)
Principal payments on finance leases (264) (233)
Other financing activities 122 4
Net cash used in financing activities (10,516) (10,660)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash 85 (149)
Net decrease in cash, cash equivalents, and restricted cash (3,176) (1,512)
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 12,420 15,353
Reconciliation of cash, cash equivalents, and restricted cash to the condensed consolidated balance sheets    
Cash and cash equivalents 11,551 14,886
Total cash, cash equivalents, and restricted cash 12,420 15,353
Supplemental cash flow data    
Cash paid for income taxes, net 405 502
Cash paid for interest, net of amounts capitalized 182 0
Non-cash investing and financing activities:    
Property and equipment in accounts payable and accrued expenses and other current liabilities 4,466 3,709
Acquisition of businesses in accrued expenses and other current liabilities and other liabilities 263 73
Settlement of convertible notes in exchange of equity securities in other current assets 0 131
Other current assets through financing arrangement in accrued expenses and other current liabilities 11 659
Repurchases of Class A common stock in accrued expenses and other current liabilities 86 221
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 224 294
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 $ 645 $ 173