XML 47 R8.htm IDEA: XBRL DOCUMENT v3.22.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Cash flows from operating activities      
Net income $ 23,200 $ 39,370 $ 29,146
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation and amortization 8,686 7,967 6,862
Share-based compensation 11,992 9,164 6,536
Deferred income taxes (3,286) 609 (1,192)
Fair value adjustments for non-marketable securities 463 (232) 33
Other 178 105 85
Changes in assets and liabilities:      
Accounts receivable 231 (3,110) (1,512)
Prepaid expenses and other current assets 162 (1,750) 135
Other assets (106) (349) (34)
Accounts payable 210 1,436 (17)
Partners payable 90 (12) 178
Accrued expenses and other current liabilities 4,210 3,544 (946)
Other liabilities 886 941 (527)
Net cash provided by operating activities 50,475 57,683 38,747
Cash flows from investing activities      
Purchases of property and equipment (31,431) (18,690) (15,163)
Proceeds relating to property and equipment 245 123 48
Purchases of marketable debt securities (9,626) (30,407) (33,930)
Sales of marketable debt securities 11,083 31,671 11,787
Maturities of marketable debt securities 2,075 10,915 13,984
Purchases of non-marketable equity securities (5) (47) (6,361)
Acquisitions of businesses and intangible assets (1,312) (851) (388)
Other investing activities 1 (284) (36)
Net cash used in investing activities (28,970) (7,570) (30,059)
Cash flows from financing activities      
Taxes paid related to net share settlement of equity awards (3,595) (5,515) (3,564)
Repurchases of Class A common stock (27,956) (44,537) (6,272)
Proceeds from issuance of long-term debt, net 9,921 0 0
Principal payments on finance leases (850) (677) (604)
Other financing activities 344 1 148
Net cash used in financing activities (22,136) (50,728) (10,292)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (638) (474) 279
Net decrease in cash, cash equivalents, and restricted cash (1,269) (1,089) (1,325)
Cash, cash equivalents, and restricted cash at beginning of the period 16,865 17,954 19,279
Cash, cash equivalents, and restricted cash at end of the period 15,596 16,865 17,954
Reconciliation of cash, cash equivalents, and restricted cash to the consolidated balance sheets      
Cash and cash equivalents 14,681 16,601 17,576
Restricted cash: 915 264 378
Total cash, cash equivalents, and restricted cash 15,596 16,865 17,954
Supplemental cash flow data      
Cash paid for income taxes, net 6,407 8,525 4,229
Non-cash investing and financing activities:      
Property and equipment in accounts payable and accrued expenses and other current liabilities 3,319 3,404 2,201
Acquisition of businesses in accrued expenses and other current liabilities and other liabilities 291 73 118
Other current assets through financing arrangement in accrued expenses and other current liabilities 16 508 0
Repurchases of Class A common stock in accrued expenses and other current liabilities 310 340 68
Impairment charges for leases and leasehold improvements      
Adjustments to reconcile net income to net cash provided by operating activities:      
Restructuring charges 2,218 0 0
Data Center Assets      
Adjustments to reconcile net income to net cash provided by operating activities:      
Restructuring charges 1,341 0 0
Prepaid Expenses and Other Current Assets      
Reconciliation of cash, cash equivalents, and restricted cash to the consolidated balance sheets      
Restricted cash: 294 149 241
Other Assets      
Reconciliation of cash, cash equivalents, and restricted cash to the consolidated balance sheets      
Restricted cash: $ 621 $ 115 $ 137