| USD ($) $ in Millions | May 31, 2026 | May 31, 2025 | May 31, 2024 | May 31, 2023 | May 31, 2022 | May 31, 2021 | May 31, 2020 | May 31, 2019 | May 31, 2018 | May 31, 2017 | May 31, 2016 | May 31, 2015 | May 31, 2014 | May 31, 2013 | May 31, 2012 | May 31, 2011 | May 31, 2010 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Cash flows from operating activities: | |||||||||||||||||
Net income | $ 17,087 | $ 12,443 | $ 10,467 | ||||||||||||||
Adjustments to reconcile net income to net cash provided by operating activities: | |||||||||||||||||
Depreciation | 7,623 | 3,867 | 3,129 | ||||||||||||||
Amortization of intangible assets | 1,671 | 2,307 | 3,010 | ||||||||||||||
Allowances for doubtful accounts receivable | - | - | - | ||||||||||||||
Deferred income taxes | (917) | (1,637) | (2,139) | ||||||||||||||
Stock-based compensation | 4,811 | 4,674 | 3,974 | ||||||||||||||
Gains from investments and other, net | (2,433) | - | - | ||||||||||||||
Tax benefits on the exercise of stock options and vesting of restricted stock-based awards | - | - | - | ||||||||||||||
Excess tax benefits on the exercise of stock options and vesting of restricted stock-based awards | - | - | - | ||||||||||||||
Other, net | - | 667 | 720 | ||||||||||||||
Changes in operating assets and liabilities: | |||||||||||||||||
Increase in trade receivables, net | (2,190) | (653) | (965) | ||||||||||||||
(Increase) decrease in inventories | - | - | - | ||||||||||||||
Decrease in prepaid expenses and other assets | 2,179 | 266 | 542 | ||||||||||||||
Decrease in accounts payable and other liabilities | (240) | (608) | (594) | ||||||||||||||
Decrease in income taxes payable | (256) | (659) | (127) | ||||||||||||||
Increase in deferred revenues from customer prepayments with significant financing component | 4,592 | - | - | ||||||||||||||
Increase in other deferred revenues | 50 | - | - | ||||||||||||||
Increase in income taxes payable | - | - | - | ||||||||||||||
Increase in deferred revenues | - | 154 | 656 | ||||||||||||||
Net cash provided by operating activities | 31,977 | 20,821 | 18,673 | ||||||||||||||
Cash flows from investing activities: | |||||||||||||||||
Purchases of marketable securities and other investments and acquisitions | (2,039) | (1,272) | (1,003) | ||||||||||||||
Proceeds from sales and maturities of marketable securities and other investments | 5,848 | 776 | 572 | ||||||||||||||
Proceeds from maturities of marketable securities | - | - | - | ||||||||||||||
Proceeds from sales of marketable securities and other investments | - | - | - | ||||||||||||||
Proceeds from maturities and sales of marketable securities and other investments | - | - | - | ||||||||||||||
Acquisitions, net of cash acquired | - | 0 | (63) | ||||||||||||||
Capital expenditures | (55,663) | (21,215) | (6,866) | ||||||||||||||
Proceeds from sale of property | - | - | - | ||||||||||||||
Net cash used for investing activities | (51,854) | (21,711) | (7,360) | ||||||||||||||
Cash flows from financing activities: | |||||||||||||||||
Proceeds from issuances of common stock | 1,449 | 653 | 742 | ||||||||||||||
Payments for repurchases of common stock | (95) | (600) | (1,202) | ||||||||||||||
Shares repurchased for tax withholdings upon vesting of restricted stock-based awards | (111) | (900) | (2,040) | ||||||||||||||
Proceeds from issuances of mandatory convertible preferred stock, net of issuance costs | 4,954 | - | - | ||||||||||||||
Payments of dividends to stockholders | (5,787) | (4,743) | (4,391) | ||||||||||||||
(Repayments of) proceeds from issuances of commercial paper, net | (2,285) | 1,889 | (167) | ||||||||||||||
Proceeds from short-term financing related to capital expenditures, net | 3,345 | - | - | ||||||||||||||
Proceeds from issuances of commercial paper, net of repayments | - | - | - | ||||||||||||||
Proceeds from issuances of senior notes, term loan credit agreements and other borrowings, net of issuance costs | 46,093 | 19,548 | 0 | ||||||||||||||
Proceeds from borrowings, net of issuance costs | - | - | - | ||||||||||||||
Repayments of senior notes, term loan credit agreements and other borrowings | (6,942) | (15,841) | (3,500) | ||||||||||||||
Other financing activities, net | (337) | 1,092 | 4 | ||||||||||||||
Excess tax benefits on the exercise of stock options and vesting of restricted stock-based awards | - | - | - | ||||||||||||||
Distributions to noncontrolling interests | - | - | - | ||||||||||||||
Other, net in financing activities | - | - | - | ||||||||||||||
Net cash provided by (used for) financing activities | 40,284 | 1,098 | (10,554) | ||||||||||||||
Effect of exchange rate changes on cash and cash equivalents | 96 | 124 | (70) | ||||||||||||||
Net increase in cash and cash equivalents | 20,503 | 332 | 689 | ||||||||||||||
Non-cash investing activities: | |||||||||||||||||
Unpaid capital expenditures | 5,279 | 2,970 | 1,637 | ||||||||||||||
Fair values of stock awards assumed in connection with acquisitions | - | - | - | ||||||||||||||
Net (decrease) increase in cash and cash equivalents | - | - | - | ||||||||||||||
Non-cash investing and financing activities: | |||||||||||||||||
Fair value of stock options and restricted stock-based awards assumed in connection with acquisitions | - | - | - | ||||||||||||||
Fair value of contingent consideration payable in connection with acquisition | - | - | - | ||||||||||||||
Change in unsettled repurchases of common stock | - | - | - | ||||||||||||||
Change in unsettled investment purchases | - | - | - | ||||||||||||||
Increase (decrease) in unsettled repurchases of common stock | - | - | - | ||||||||||||||
Supplemental schedule of cash flow data: | |||||||||||||||||
Cash paid for income taxes | 3,704 | 4,020 | 3,560 | ||||||||||||||
Cash paid for interest | $ 3,896 | $ 3,374 | $ 3,655 |