XML 79 R67.htm IDEA: XBRL DOCUMENT
v3.23.1

Stockholders' Deficit - Changes and Reclassifications Related to Other Comprehensive Income (Loss), Net of Taxes (Details) - USD ($) $ in Millions | 3 Months Ended | 6 Months Ended
--- | --- | ---
Apr. 30, 2023 | Apr. 30, 2022 | Apr. 30, 2023 | Apr. 30, 2022
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items] |  |  |  |
Unrealized (losses) gains arising during the period |  |  | $ (546) |
(Gains) losses reclassified into earnings |  |  | (135) |
Other comprehensive income (loss), net of taxes | $ 88 | $ 363 | (681) | $ 607
Unrealized (losses) gains arising during the period |  |  |  |
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items] |  |  |  |
Unrealized (losses) gains arising during the period | 0 | (3) | 3 | (5)
(Gains) losses reclassified into earnings |  |  | 0 |
Net unrealized gains (losses) on cash flow hedges |  |  |  |
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items] |  |  |  |
Unrealized (losses) gains arising during the period | (46) | 489 | (563) | 756
(Gains) losses reclassified into earnings | 121 | (96) | (135) | (128)
Other comprehensive income (loss), net of taxes | 75 | 393 | (698) | 628
Gains (losses) arising during the period |  |  |  |
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items] |  |  |  |
Unrealized (losses) gains arising during the period | 5 | 1 | (24) | 16
Amortization of actuarial loss and prior service benefit |  |  |  |
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items] |  |  |  |
(Gains) losses reclassified into earnings | 0 | 4 | 0 | 9
Curtailments, settlements and other |  |  |  |
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items] |  |  |  |
(Gains) losses reclassified into earnings | (1) | (1) | 0 | (1)
Change in unrealized components of defined benefit plans |  |  |  |
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items] |  |  |  |
Unrealized (losses) gains arising during the period |  |  | (24) |
(Gains) losses reclassified into earnings |  |  | 0 |
Other comprehensive income (loss), net of taxes | 4 | 4 | (24) | 24
Change in cumulative translation adjustment |  |  |  |
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items] |  |  |  |
Unrealized (losses) gains arising during the period |  |  | 38 |
(Gains) losses reclassified into earnings |  |  | 0 |
Change in cumulative translation adjustment | $ 9 | $ (31) | $ 38 | $ (40)

X
- Definition Amount after tax, before reclassification adjustments, of other comprehensive income (loss), attributable to parent. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 55 -Paragraph 15 -URI https://asc.fasb.org/extlink&oid=124507222&loc=d3e1436-108581 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -URI https://asc.fasb.org/extlink&oid=126968391&loc=SL7669686-108580 + Details
Name: | us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount after tax and reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature, attributable to parent entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 20 -URI https://asc.fasb.org/extlink&oid=126929396&loc=SL4569643-111683 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (c)(3) -URI https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 19 -URI https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683 + Details
Name: | us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount after tax of other comprehensive income (loss) attributable to parent entity. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (c)(3) -URI https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 20 -URI https://asc.fasb.org/extlink&oid=126929396&loc=SL4569643-111683 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1A -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 19 -URI https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount after tax of reclassification adjustments of other comprehensive income (loss) attributable to parent. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -URI https://asc.fasb.org/extlink&oid=126968391&loc=SL7669686-108580 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 55 -Paragraph 15 -URI https://asc.fasb.org/extlink&oid=124507222&loc=d3e1436-108581 + Details
Name: | us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetUnamortizedGainLossMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=hpq_AccumulatedDefinedBenefitPlansAdjustmentActuarialGainLossAndNetPriorServiceCostCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=hpq_AccumulatedDefinedBenefitPlansAdjustmentCurtailmentsSettlementsAndOtherMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AccumulatedTranslationAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |