v3.25.4
Income taxes - Comparison of Income Taxes at Statutory Rate and Company's Effective Tax Rate ASU 2023-09 (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 28, 2025
Dec. 29, 2024
Dec. 31, 2023
Jan. 02, 2022
Jan. 03, 2021
Effective Income Tax Rate Reconciliation [Line Items]          
U.S.  $ 15,254 $ (458) $ (2,033)    
International 17,327 17,145 17,095    
Earnings before provision for taxes on income 32,581 16,687 15,062    
Income Tax Expense (Benefit), Effective Income Tax Rate Reconciliation, Amount [Abstract]          
U.S. federal statutory rate 6,842        
State and local taxes 162        
Statutory rate difference (861)        
Effects of changes in tax laws or rates enacted in the current period: 1,003        
OBBBA Deferred NCTI Remeasurement 1,003        
Effects of cross border tax laws: 1,601        
NCTI 999        
Subpart F 522        
Other 80        
Tax credits: (2,455)        
NCTI foreign tax credits (1,324)        
Subpart F foreign tax credits (656)        
All other tax credits (475)        
Changes in valuation allowances: 136        
Nontaxable or nondeductible items: 55        
Changes in unrecognized tax benefits: (111)        
Net tax benefit on ordinary losses (595)        
Provision for taxes on income $ 5,777 $ 2,621 $ 1,736    
Tax rates:          
U.S. statutory rate 21.00% 21.00% 21.00% 21.00% 35.00%
U.S. state taxes 0.50% 1.50% 1.00%    
Statutory rate difference (2.70%) (5.20%) (8.10%)    
Effects of changes in tax laws or rates enacted in the current period: 3.10%        
OBBBA Deferred NCTI Remeasurement 3.10%        
Effects of cross border tax laws: 4.90%        
NCTI 3.10%        
Subpart F 1.60%        
Other 0.20%        
Tax credits: (7.60%)        
NCTI foreign tax credits (4.10%)        
Subpart F foreign tax credits (2.00%)        
All other tax credits (1.50%)        
Changes in valuation allowances: 0.40%        
Nontaxable or nondeductible items: 0.20%        
Changes in unrecognized tax benefits: (0.30%)        
All other   0.60% 1.70%    
Net tax benefit on ordinary losses (1.80%)        
Effective Rate 17.70% 15.70% 11.50%    
Accrued repatriated foreign earnings $ (600)        
IRELAND          
Income Tax Expense (Benefit), Effective Income Tax Rate Reconciliation, Amount [Abstract]          
Statutory rate difference (473)        
Other $ (11)        
Tax rates:          
Statutory rate difference (1.50%)        
All other 0.00%        
SWITZERLAND          
Income Tax Expense (Benefit), Effective Income Tax Rate Reconciliation, Amount [Abstract]          
Statutory rate difference $ (607)        
Other $ 283        
Tax rates:          
Statutory rate difference (1.90%)        
All other 0.90%        
Foreign Tax Jurisdiction, Other          
Income Tax Expense (Benefit), Effective Income Tax Rate Reconciliation, Amount [Abstract]          
Statutory rate difference $ (53)        
Tax rates:          
Statutory rate difference (0.20%)        
United States          
Income Tax Expense (Benefit), Effective Income Tax Rate Reconciliation, Amount [Abstract]          
Other $ (595)        
Tax rates:          
All other (1.80%)