v3.25.2
Income Before Income Taxes (Detail) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Income Tax Disclosure [Abstract]      
U.S. $ 69,212 $ 62,886 $ 52,917
Foreign 54,415 44,901 36,394
Income before income taxes $ 123,627 $ 107,787 $ 89,311