v3.25.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
12 Months Ended
May 31, 2025
May 31, 2024
May 31, 2023
Cash flows from operating activities:      
Net income $ 12,443 $ 10,467 $ 8,503
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation 3,867 3,129 2,526
Amortization of intangible assets 2,307 3,010 3,582
Deferred income taxes (1,637) (2,139) (2,167)
Stock-based compensation 4,674 3,974 3,547
Other, net 667 720 661
Changes in operating assets and liabilities, net of effects from acquisitions:      
Increase in trade receivables, net (653) (965) (151)
Decrease in prepaid expenses and other assets 266 542 317
Decrease in accounts payable and other liabilities (608) (594) (281)
Decrease in income taxes payable (659) (127) (153)
Increase in deferred revenues 154 656 781
Net cash provided by operating activities 20,821 18,673 17,165
Cash flows from investing activities:      
Purchases of marketable securities and other investments (1,272) (1,003) (1,181)
Proceeds from sales and maturities of marketable securities and other investments 776 572 1,113
Acquisitions, net of cash acquired 0 (63) (27,721)
Capital expenditures (21,215) (6,866) (8,695)
Net cash used for investing activities (21,711) (7,360) (36,484)
Cash flows from financing activities:      
Payments for repurchases of common stock (600) (1,202) (1,300)
Proceeds from issuances of common stock 653 742 1,192
Shares repurchased for tax withholdings upon vesting of restricted stock-based awards (900) (2,040) (1,203)
Payments of dividends to stockholders (4,743) (4,391) (3,668)
Proceeds from issuances of (repayments of) commercial paper, net 1,889 (167) 500
Proceeds from issuances of senior notes and term loan credit agreements, net of issuance costs 19,548 0 33,494
Repayments of senior notes and term loan credit agreements (15,841) (3,500) (21,050)
Other financing activities, net 1,092 4 (55)
Net cash provided by (used for) financing activities 1,098 (10,554) 7,910
Effect of exchange rate changes on cash and cash equivalents 124 (70) (209)
Net increase (decrease) in cash and cash equivalents 332 689 (11,618)
Cash and cash equivalents at beginning of period 10,454 9,765 21,383
Cash and cash equivalents at end of period 10,786 10,454 9,765
Non-cash investing activities:      
Unpaid capital expenditures 2,970 1,637 588
Supplemental schedule of cash flow data:      
Cash paid for income taxes 4,020 3,560 3,009
Cash paid for interest $ 3,374 $ 3,655 $ 3,250