XML 20 R8.htm IDEA: XBRL DOCUMENT v3.21.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Operating activities    
Net income $ 36,455 $ 13,795
Adjustments:    
Depreciation and impairment of property and equipment 5,255 6,077
Amortization and impairment of intangible assets 443 417
Stock-based compensation expense 7,548 6,573
Deferred income taxes 1,479 (416)
Gain on debt and equity securities, net (7,634) (1,040)
Other (263) 669
Changes in assets and liabilities, net of effects of acquisitions:    
Accounts receivable (867) 2,522
Income taxes, net (297) 538
Other assets (192) (359)
Accounts payable (1,112) (689)
Accrued expenses and other liabilities 201 (2,099)
Accrued revenue share 29 (692)
Deferred revenue 134 148
Net cash provided by operating activities 41,179 25,444
Investing activities    
Purchases of property and equipment (11,438) (11,396)
Purchases of marketable securities (60,609) (64,111)
Maturities and sales of marketable securities 60,667 65,874
Purchases of non-marketable investments (1,412) (1,311)
Maturities and sales of non-marketable investments 256 473
Acquisitions, net of cash acquired, and purchases of intangible assets (1,974) (355)
Other investing activities 53 531
Net cash used in investing activities (14,457) (10,295)
Financing activities    
Net payments related to stock-based award activities (4,637) (2,716)
Repurchases of capital stock (24,191) (15,348)
Proceeds from issuance of debt, net of costs 7,599 1,898
Repayments of debt (8,678) (1,982)
Proceeds from sale of interest in consolidated entities, net 310 2,464
Net cash used in financing activities (29,597) (15,684)
Effect of exchange rate changes on cash and cash equivalents 40 (221)
Net decrease in cash and cash equivalents (2,835) (756)
Cash and cash equivalents at beginning of period 26,465 18,498
Cash and cash equivalents at end of period $ 23,630 $ 17,742