Retirement and Post-Retirement Benefit Plans (Details 2) - USD ($) $ in Millions |
12 Months Ended | |||
|---|---|---|---|---|
Jan. 01, 2017 |
Oct. 31, 2016 |
Oct. 31, 2015 |
Oct. 31, 2014 |
|
| Defined Contribution Plan Disclosure [Line Items] | ||||
| Total defined contribution expense | $ 438 | $ 450 | $ 480 | |
| Net benefit cost | $ 140 | $ 341 | 142 | |
| HP 401(k) Plan | ||||
| Defined Contribution Plan Disclosure [Line Items] | ||||
| Percent of equal 401(k) match to employees effective during the period | 100.00% | |||
| Percentage of maximum matching contribution | 4.00% | |||
| Scenario, Forecast | HP 401(k) Plan | ||||
| Defined Contribution Plan Disclosure [Line Items] | ||||
| Percent of equal 401(k) match to employees effective during the period | 50.00% | |||
| Percentage of maximum matching contribution | 6.00% | |||
| Former Parent Company | ||||
| Defined Contribution Plan Disclosure [Line Items] | ||||
| Net benefit cost | $ 201 | $ 6 | ||