XML 73 R63.htm IDEA: XBRL DOCUMENT
v3.21.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, 2021 | Apr. 30, 2020 | Apr. 30, 2021 | Apr. 30, 2020
Derivative Instruments, Gain (Loss) |  |  |  |
Gain/(loss) recognized in earnings on derivative instrument | $ (21) | $ 25 | $ (4) | $ 22
Foreign currency contracts |  |  |  |
Derivative Instruments, Gain (Loss) |  |  |  |
Gain/(loss) recognized in earnings on derivative instrument | (23) | 25 | (9) | 17
Other derivatives |  |  |  |
Derivative Instruments, Gain (Loss) |  |  |  |
Gain/(loss) recognized in earnings on derivative instrument | $ 2 | $ 0 | $ 5 | $ 5

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 http://asc.fasb.org/extlink&oid=121590274&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 http://asc.fasb.org/extlink&oid=121590274&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: |