v3.22.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Cash flows from operating activities      
Net income $ 39,370 $ 29,146 $ 18,485
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation and amortization 7,967 6,862 5,741
Share-based compensation 9,164 6,536 4,836
Deferred income taxes 609 (1,192) (37)
Other (127) 118 39
Changes in assets and liabilities:      
Accounts receivable (3,110) (1,512) (1,961)
Prepaid expenses and other current assets (1,750) 135 47
Other assets (349) (34) 41
Accounts payable 1,436 (17) 113
Partners payable (12) 178 348
Accrued expenses and other current liabilities 3,357 (1,054) 7,300
Deferred revenue and deposits 187 108 123
Other liabilities 941 (527) 1,239
Net cash provided by operating activities 57,683 38,747 36,314
Cash flows from investing activities      
Purchases of property and equipment (18,567) (15,115) (15,102)
Purchases of marketable securities (30,407) (33,930) (23,910)
Sales of marketable securities 31,671 11,787 9,565
Maturities of marketable securities 10,915 13,984 10,152
Purchases of equity investments (47) (6,361) (61)
Acquisitions of businesses, net of cash acquired, and purchases of intangible assets (851) (388) (508)
Other investing activities (284) (36) 0
Net cash used in investing activities (7,570) (30,059) (19,864)
Cash flows from financing activities      
Taxes paid related to net share settlement of equity awards (5,515) (3,564) (2,337)
Repurchases of Class A common stock (44,537) (6,272) (4,202)
Principal payments on finance leases (677) (604) (552)
Net change in overdraft in cash pooling entities 14 24 (223)
Other financing activities (13) 124 15
Net cash used in financing activities (50,728) (10,292) (7,299)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (474) 279 4
Net increase (decrease) in cash, cash equivalents, and restricted cash (1,089) (1,325) 9,155
Cash, cash equivalents, and restricted cash at beginning of the period 17,954 19,279 10,124
Cash, cash equivalents, and restricted cash at end of the period 16,865 17,954 19,279
Reconciliation of cash, cash equivalents, and restricted cash to the consolidated balance sheets      
Cash and cash equivalents 16,601 17,576 19,079
Total cash, cash equivalents, and restricted cash 16,865 17,954 19,279
Supplemental cash flow data      
Cash paid for income taxes, net 8,525 4,229 5,182
Non-cash investing and financing activities:      
Property and equipment in accounts payable and accrued expenses and other current liabilities 3,404 2,201 1,887
Acquisition of businesses in accrued expenses and other current liabilities and other liabilities 73 118 0
Other current assets through financing arrangement in accrued expenses and other current liabilities 508 0 0
Repurchases of Class A common stock in accrued expenses and other current liabilities 340 68 43
Prepaid Expenses and Other Current Assets      
Reconciliation of cash, cash equivalents, and restricted cash to the consolidated balance sheets      
Restricted cash 149 241 8
Other Assets      
Reconciliation of cash, cash equivalents, and restricted cash to the consolidated balance sheets      
Restricted cash $ 115 $ 137 $ 192