v3.26.1
Segment Information - Schedule of Reconciliation of Segment Operating Results to HP Consolidated Results (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2026
Jul. 31, 2025
Net revenue        
Products net revenue $ 15,677 $ 13,932 $ 44,523 $ 40,656
Cost of net revenue        
Total cost of net revenue 12,732 11,081 35,727 32,226
Operating expenses        
Operating expenses 2,053 2,135 6,533 6,215
Segment Reporting, Revenue [Abstract]        
Operating income (loss) 892 716 2,263 2,215
Restructuring and other charges (48) (110) (539) (302)
Acquisition and divestiture charges (4) (8) (6) (31)
Amortization of intangible assets (75) (159) (220) (287)
Interest and other, net (94) (92) (301) (381)
Earnings before taxes 798 624 1,962 1,834
Total segment net revenue        
Net revenue        
Products net revenue 15,679 13,933 44,525 40,658
Cost of net revenue        
Total cost of net revenue 12,725 11,061 35,675 32,145
Operating expenses        
Operating expenses 1,736 1,674 5,112 4,839
Segment Reporting, Revenue [Abstract]        
Operating income (loss) 1,218 1,198 3,738 3,674
Corporate and unallocated costs and other        
Segment Reporting, Revenue [Abstract]        
Corporate and unallocated costs and other (102) (103) (258) (302)
Other        
Net revenue        
Products net revenue (2) (1) (2) (2)
Segment Reporting, Revenue [Abstract]        
Stock-based compensation expense (95) (100) (389) (432)
Restructuring and other charges (48) (110) (539) (302)
Acquisition and divestiture charges (4) (8) (6) (31)
Amortization of intangible assets (75) (159) (220) (287)
Certain litigation charges (2) (2) (63) (105)
Interest and other, net (94) (92) (301) (381)
Personal Systems | Total segment net revenue        
Net revenue        
Products net revenue 11,767 9,931 32,231 28,179
Cost of net revenue        
Total cost of net revenue 10,250 8,421 27,785 24,009
Operating expenses        
Operating expenses 980 969 2,868 2,713
Segment Reporting, Revenue [Abstract]        
Operating income (loss) 537 541 1,578 1,457
Printing | Total segment net revenue        
Net revenue        
Products net revenue 3,912 4,002 12,294 12,479
Cost of net revenue        
Total cost of net revenue 2,475 2,640 7,889 8,134
Operating expenses        
Operating expenses 728 681 2,164 2,059
Segment Reporting, Revenue [Abstract]        
Operating income (loss) 709 681 2,241 2,286
Corporate Investments | Total segment net revenue        
Net revenue        
Products net revenue 0 0 0 0
Cost of net revenue        
Total cost of net revenue 0 0 1 2
Operating expenses        
Operating expenses 28 24 80 67
Segment Reporting, Revenue [Abstract]        
Operating income (loss) (28) (24) (81) (69)
Commercial PS | Personal Systems | Total segment net revenue        
Net revenue        
Products net revenue 8,579 7,036 23,575 20,467
Consumer PS | Personal Systems | Total segment net revenue        
Net revenue        
Products net revenue 3,188 2,895 8,656 7,712
Supplies | Printing | Total segment net revenue        
Net revenue        
Products net revenue 2,536 2,609 8,089 8,166
Commercial Printing | Printing | Total segment net revenue        
Net revenue        
Products net revenue 1,101 1,113 3,374 3,424
Consumer Printing | Printing | Total segment net revenue        
Net revenue        
Products net revenue $ 275 $ 280 $ 831 $ 889