XML 68 R56.htm IDEA: XBRL DOCUMENT
v3.23.1

Financial Instruments - Narrative (Details) - USD ($) $ in Millions | 6 Months Ended |
--- | --- | ---
Apr. 30, 2023 | Oct. 31, 2022
Derivatives, Fair Value |  |
Fair value of derivatives with credit contingent features in a net liability position | $ 176 | $ 82
Period to collateralize | 2 days |
Loss expected to be reclassified from Accumulated OCI into earnings in next 12 months | $ 82 |
Cash flow hedges |  |
Derivatives, Fair Value |  |
Foreign currency maturity | 12 months |
Other Non-Current Assets | Equity securities in privately held companies |  |
Derivatives, Fair Value |  |
Cost method and other equity investments | $ 111 | $ 110

X
- Definition Derivative, Period to Collateralize + References No definition available. + Details
Name: | hpq_DerivativePeriodtoCollateralize
Namespace Prefix: | hpq_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity Securities, Cost Method and Other Equity Investments + References No definition available. + Details
Name: | hpq_EquitySecuritiesCostMethodandOtherEquityInvestments
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The estimated net amount of existing gains or losses on cash flow hedges at the reporting date expected to be reclassified to earnings within the next 12 months. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=121549185&loc=d3e80748-113994 + Details
Name: | us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The aggregate fair value amounts of derivative instruments that contain credit-risk-related contingent features that are in a net liability position at the end of the reporting period. For nonderivative instruments that are designated and qualify as hedging instruments, the fair value amounts are the carrying value of the nonderivative hedging instrument, including the adjustment for the foreign currency transaction gain (loss) on that instrument. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4H -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624258-113959 + Details
Name: | us-gaap_DerivativeNetLiabilityPositionAggregateFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Maximum period of time the entity is hedging its exposure to variability in future cash flows for forecasted transactions, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Excludes forecasted transactions related to payment of variable interest on existing financial instruments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=121549185&loc=d3e80748-113994 + Details
Name: | us-gaap_MaximumLengthOfTimeForeignCurrencyCashFlowHedge
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_CashFlowHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherNoncurrentAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=hpq_EquitySecuritiesInPrivatelyHeldCompaniesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |