XML 78 R66.htm IDEA: XBRL DOCUMENT
v3.23.1

Stockholders' Deficit - Tax Effects Related to Other Comprehensive Income (Loss) (Details) - USD ($) $ in Millions | 3 Months Ended | 6 Months Ended
--- | --- | ---
Apr. 30, 2023 | Apr. 30, 2022 | Apr. 30, 2023 | Apr. 30, 2022
Components of accumulated other comprehensive income, net of taxes |  |  |  |
Tax (provision) benefit on other comprehensive income (loss) | $ (22) | $ (90) | $ 170 | $ (116)
Tax benefit (provision) on unrealized (losses) gains arising during the period |  |  |  |
Components of accumulated other comprehensive income, net of taxes |  |  |  |
Tax benefit (provision) on unrealized (losses) gains arising during the period | 0 | 1 | (1) | 1
Net unrealized gains (losses) on cash flow hedges |  |  |  |
Components of accumulated other comprehensive income, net of taxes |  |  |  |
Tax benefit (provision) on unrealized (losses) gains arising during the period | 20 | (114) | 126 | (146)
Tax effects on reclassification into earnings | (41) | 24 | 37 | 36
Tax (provision) benefit on other comprehensive income (loss) | (21) | (90) | 163 | (110)
Tax (provision) benefit on gains (losses) arising during the period |  |  |  |
Components of accumulated other comprehensive income, net of taxes |  |  |  |
Tax benefit (provision) on unrealized (losses) gains arising during the period | (1) | 0 | 8 | (6)
Tax benefit on amortization of actuarial loss and prior service benefit |  |  |  |
Components of accumulated other comprehensive income, net of taxes |  |  |  |
Tax effects on reclassification into earnings | 0 | (1) | 0 | (2)
Tax provision on curtailments, settlements and other |  |  |  |
Components of accumulated other comprehensive income, net of taxes |  |  |  |
Tax effects on reclassification into earnings | 0 | (1) | 0 | (1)
Unrealized components of defined benefit plans |  |  |  |
Components of accumulated other comprehensive income, net of taxes |  |  |  |
Tax (provision) benefit on other comprehensive income (loss) | (1) | (2) | 8 | (9)
Change in cumulative translation adjustment |  |  |  |
Components of accumulated other comprehensive income, net of taxes |  |  |  |
Tax (provision) benefit on other comprehensive income (loss) | $ 0 | $ 1 | $ 0 | $ 2

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_AccumulatedOtherComprehensiveIncomeLossLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of tax expense (benefit) allocated to other comprehensive income (loss) before reclassification adjustment from accumulated other comprehensive income (loss). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 12 -URI https://asc.fasb.org/extlink&oid=126968391&loc=d3e640-108580 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of tax expense (benefit) allocated to other comprehensive income (loss) 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 45 -Paragraph 19 -URI https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683 Reference 3: 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 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of tax expense (benefit) of reclassification adjustment from accumulated other comprehensive income (loss). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 12 -URI https://asc.fasb.org/extlink&oid=126968391&loc=d3e640-108580 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 17A -URI https://asc.fasb.org/extlink&oid=126968391&loc=SL34724391-108580 + Details
Name: | us-gaap_ReclassificationFromAociCurrentPeriodTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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: |