XML 76 R59.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Retirement and Post-Retirement Benefit Plans - Defined Contribution Plans (Narrative) (Details) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Oct. 31, 2018 | Oct. 31, 2017 | Oct. 31, 2016
Retirement Benefits [Abstract] |  |  |
Total defined contribution expense | $ 110 | $ 103 | $ 100
HP 401(k) Plan |  |  |
Defined Contribution Plan Disclosure [Line Items] |  |  |
Employer matching contributions, as a percent | 100.00% |  |
Percentage of maximum matching contribution | 4.00% |  |

X
- References No definition available. + Details
Name: | us-gaap_CompensationAndRetirementDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost for defined contribution plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 70 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage employer matches of the employee's percentage contribution matched. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=hpq_HPDefinedContributionPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |