v3.24.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Operating activities      
Net income $ 73,795 $ 59,972 $ 76,033
Adjustments:      
Depreciation of property and equipment 11,946 13,475 10,273
Stock-based compensation expense 22,460 19,362 15,376
Deferred income taxes (7,763) (8,081) 1,808
(Gain) loss on debt and equity securities, net 823 5,519 (12,270)
Other 4,330 3,483 1,955
Changes in assets and liabilities, net of effects of acquisitions:      
Accounts receivable, net (7,833) (2,317) (9,095)
Income taxes, net 523 584 (625)
Other assets (2,143) (5,046) (1,846)
Accounts payable 664 707 283
Accrued expenses and other liabilities 3,937 3,915 7,304
Accrued revenue share 482 (445) 1,682
Deferred revenue 525 367 774
Net cash provided by operating activities 101,746 91,495 91,652
Investing activities      
Purchases of property and equipment (32,251) (31,485) (24,640)
Purchases of marketable securities (77,858) (78,874) (135,196)
Maturities and sales of marketable securities 86,672 97,822 128,294
Purchases of non-marketable securities (3,027) (2,531) (2,838)
Maturities and sales of non-marketable securities 947 150 934
Acquisitions, net of cash acquired, and purchases of intangible assets (495) (6,969) (2,618)
Other investing activities (1,051) 1,589 541
Net cash used in investing activities (27,063) (20,298) (35,523)
Financing activities      
Net payments related to stock-based award activities (9,837) (9,300) (10,162)
Repurchases of stock (61,504) (59,296) (50,274)
Proceeds from issuance of debt, net of costs 10,790 52,872 20,199
Repayments of debt (11,550) (54,068) (21,435)
Proceeds from sale of interest in consolidated entities, net 8 35 310
Net cash used in financing activities (72,093) (69,757) (61,362)
Effect of exchange rate changes on cash and cash equivalents (421) (506) (287)
Net increase (decrease) in cash and cash equivalents 2,169 934 (5,520)
Cash and cash equivalents at beginning of period 21,879 20,945 26,465
Cash and cash equivalents at end of period 24,048 21,879 20,945
Supplemental disclosures of cash flow information      
Cash paid for income taxes, net of refunds $ 19,164 $ 18,892 $ 13,412