XML 73 R61.htm IDEA: XBRL DOCUMENT
v3.23.1

Financial Instruments - Schedule of Pre-Tax Effect of Derivative Instruments not Designated as Hedging Instruments on the Consolidated Condensed Statements of Earnings (Details) - Interest and other, net - USD ($) $ in Millions | 3 Months Ended | 6 Months Ended
--- | --- | ---
Apr. 30, 2023 | Apr. 30, 2022 | Apr. 30, 2023 | Apr. 30, 2022
Derivative Instruments, Gain (Loss) |  |  |  |
Gain/(loss) recognized in earnings on derivative instrument | $ (2) | $ 31 | $ (40) | $ (17)
Foreign currency contracts |  |  |  |
Derivative Instruments, Gain (Loss) |  |  |  |
Gain/(loss) recognized in earnings on derivative instrument | 4 | 32 | (40) | (5)
Other derivatives |  |  |  |
Derivative Instruments, Gain (Loss) |  |  |  |
Gain/(loss) recognized in earnings on derivative instrument | $ (6) | $ (1) | $ 0 | $ (12)

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

X
- Definition Amount of realized and unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4CC -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL109998890-113959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (e) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959 + Details
Name: | us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=hpq_InterestAndOtherIncomeExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForeignExchangeContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_OtherContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |