v3.26.1
Income Taxes - Differences between income taxes calculated using the federal statutory income tax rate and the provision for income taxes from continuing operations (Details) - USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2024
Effective Income Tax Rate Reconciliation [Line Items]      
Tax Jurisdiction of Domicile [Extensible Enumeration] UNITED STATES UNITED STATES UNITED STATES
Amount      
Income before income taxes $ 6,017 $ 4,834 $ 3,550
Statutory federal income tax 1,264 1,015 746
State income taxes, net of federal benefit 206 132 83
Statutory tax rate differences between foreign and U.S. 14 4 0
Federal research and experimentation credits (96) (113) (109)
Share-based compensation 56 47 43
Shortfalls (excess tax benefits) related to share-based compensation 36 (120) (153)
Changes in unrecognized tax benefits (36) (11) (33)
Other adjustments 7 11 10
Provision for income taxes $ 1,451 $ 965 $ 587
Percent      
Statutory federal income tax 21.00% 21.00% 21.00%
State income taxes, net of federal benefit 3.40% 2.70% 2.30%
Statutory tax rate differences between foreign and U.S. 0.20% 0.10% 0.00%
Federal research and experimentation credits (1.60%) (2.30%) (3.10%)
Share-based compensation 1.00% 1.00% 1.20%
Shortfalls (excess tax benefits) related to share-based compensation 0.60% (2.50%) (4.30%)
Changes in unrecognized tax benefits (0.60%) (0.20%) (0.90%)
Other adjustments 0.10% 0.20% 0.30%
Provision for income taxes 24.10% 20.00% 16.50%