v3.22.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Operating activities      
Net income $ 59,972 $ 76,033 $ 40,269
Adjustments:      
Depreciation and impairment of property and equipment 15,287 11,555 12,905
Amortization and impairment of intangible assets 641 886 792
Stock-based compensation expense 19,362 15,376 12,991
Deferred income taxes (8,081) 1,808 1,390
(Gain) loss on debt and equity securities, net 5,519 (12,270) (6,317)
Other 1,030 (213) 1,267
Changes in assets and liabilities, net of effects of acquisitions:      
Accounts receivable, net (2,317) (9,095) (6,524)
Income taxes, net 584 (625) 1,209
Other assets (5,046) (1,846) (1,330)
Accounts payable 707 283 694
Accrued expenses and other liabilities 3,915 7,304 5,504
Accrued revenue share (445) 1,682 1,639
Deferred revenue 367 774 635
Net cash provided by operating activities 91,495 91,652 65,124
Investing activities      
Purchases of property and equipment (31,485) (24,640) (22,281)
Purchases of marketable securities (78,874) (135,196) (136,576)
Maturities and sales of marketable securities 97,822 128,294 132,906
Purchases of non-marketable securities (2,531) (2,838) (7,175)
Maturities and sales of non-marketable securities 150 934 1,023
Acquisitions, net of cash acquired, and purchases of intangible assets (6,969) (2,618) (738)
Other investing activities 1,589 541 68
Net cash used in investing activities (20,298) (35,523) (32,773)
Financing activities      
Net payments related to stock-based award activities (9,300) (10,162) (5,720)
Repurchases of stock (59,296) (50,274) (31,149)
Proceeds from issuance of debt, net of costs 52,872 20,199 11,761
Repayments of debt (54,068) (21,435) (2,100)
Proceeds from sale of interest in consolidated entities, net 35 310 2,800
Net cash used in financing activities (69,757) (61,362) (24,408)
Effect of exchange rate changes on cash and cash equivalents (506) (287) 24
Net increase (decrease) in cash and cash equivalents 934 (5,520) 7,967
Cash and cash equivalents at beginning of period 20,945 26,465 18,498
Cash and cash equivalents at end of period 21,879 20,945 26,465
Supplemental disclosures of cash flow information      
Cash paid for income taxes, net of refunds $ 18,892 $ 13,412 $ 4,990