| USD ($) $ in Millions | Jun 30, 2026 | Jun 30, 2025 | Jun 30, 2024 | Jun 30, 2023 | Jun 30, 2022 | Jun 30, 2021 | Jun 30, 2020 | Jun 30, 2019 | Jun 30, 2018 | Jun 30, 2017 | Jun 30, 2016 | Jun 30, 2015 | Jun 30, 2014 | Jun 30, 2013 | Jun 30, 2012 | Jun 30, 2011 | Jun 30, 2010 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Operations | |||||||||||||||||
Net income | $ 133,749 | $ 101,832 | $ 88,136 | ||||||||||||||
Adjustments to reconcile net income to net cash from operations: | |||||||||||||||||
Asset impairments | - | - | - | ||||||||||||||
Goodwill impairment | - | - | - | ||||||||||||||
Depreciation, amortization, and other | 38,534 | 34,153 | 22,287 | ||||||||||||||
Stock-based compensation expense | 12,405 | 11,974 | 10,734 | ||||||||||||||
Depreciation, amortization, and other noncash items | - | - | - | ||||||||||||||
Net recognized losses (gains) on investments and derivatives | (11,047) | 609 | 305 | ||||||||||||||
Deferred income taxes | 14,189 | (7,056) | (4,738) | ||||||||||||||
Excess tax benefits from stock-based compensation | - | - | - | ||||||||||||||
Deferral of unearned revenue | - | - | - | ||||||||||||||
Recognition of unearned revenue | - | - | - | ||||||||||||||
Changes in operating assets and liabilities: | |||||||||||||||||
Accounts receivable | (12,737) | (10,581) | (7,191) | ||||||||||||||
Inventories | (461) | 309 | 1,284 | ||||||||||||||
Other current assets | (2,627) | (3,044) | (1,648) | ||||||||||||||
Other long-term assets | (3,964) | (2,950) | (6,817) | ||||||||||||||
Accounts payable | 5,268 | 569 | 3,545 | ||||||||||||||
Unearned revenue | 9,361 | 5,438 | 5,348 | ||||||||||||||
Income taxes | (1,875) | (38) | 1,687 | ||||||||||||||
Other current liabilities | 6,847 | 5,922 | 4,867 | ||||||||||||||
Other long-term liabilities | (4,707) | (975) | 749 | ||||||||||||||
Net cash from operations | 182,935 | 136,162 | 118,548 | ||||||||||||||
Financing | |||||||||||||||||
Proceeds from issuance (repayments) of debt, maturities of 90 days or less, net | 0 | (5,746) | 5,250 | ||||||||||||||
Proceeds from issuance of debt | 0 | 0 | 24,395 | ||||||||||||||
Cash premium on debt exchange | - | - | - | ||||||||||||||
Repayments of debt | (3,000) | (3,216) | (29,070) | ||||||||||||||
Proceeds from issuance of debt, maturities longer than 90 days | - | - | - | ||||||||||||||
Repayments of debt, maturities longer than 90 days | - | - | - | ||||||||||||||
Common stock issued | 2,009 | 2,056 | 2,002 | ||||||||||||||
Common stock repurchased | (22,271) | (18,420) | (17,254) | ||||||||||||||
Common stock cash dividends paid | (26,445) | (24,082) | (21,771) | ||||||||||||||
Excess tax benefits from stock-based compensation | - | - | - | ||||||||||||||
Other, net | (2,839) | (2,291) | (1,309) | ||||||||||||||
Net cash used in financing | (52,546) | (51,699) | (37,757) | ||||||||||||||
Net cash from (used in) financing | - | - | - | ||||||||||||||
Investing | |||||||||||||||||
Additions to property and equipment | (115,948) | (64,551) | (44,477) | ||||||||||||||
Acquisition of companies, net of cash acquired and divestitures, and purchases of intangible and other assets | (1,743) | (5,978) | (69,132) | ||||||||||||||
Acquisition of companies, net of cash acquired | - | - | - | ||||||||||||||
Purchases of investments | (58,351) | (29,775) | (17,732) | ||||||||||||||
Maturities of investments | 34,605 | 16,079 | 24,775 | ||||||||||||||
Sales of investments | 21,798 | 9,309 | 10,894 | ||||||||||||||
Other, net | (19,861) | 2,317 | (1,298) | ||||||||||||||
Securities lending payable | - | - | - | ||||||||||||||
Net cash used in investing | (139,500) | (72,599) | (96,970) | ||||||||||||||
Effect of foreign exchange rates on cash and cash equivalents | (196) | 63 | (210) | ||||||||||||||
Net change in cash and cash equivalents | $ (9,307) | $ 11,927 | $ (16,389) |