XML 70 R60.htm IDEA: XBRL DOCUMENT
v3.25.2

Financial Instruments - Schedule of Pre-Tax Effect of Derivative Instruments in Cash Flow Hedging Relationships Included in Earnings (Details) - USD ($) $ in Millions | 3 Months Ended | 9 Months Ended
--- | --- | ---
Jul. 31, 2025 | Jul. 31, 2024 | Jul. 31, 2025 | Jul. 31, 2024
Pre-tax effect of derivative instruments in cash flow hedging relationships |  |  |  |
Gain/(loss) reclassified from Accumulated other comprehensive (loss) income into earnings | $ (202) | $ 87 | $ (11) | $ 251
Cash flow hedges: |  |  |  |
Pre-tax effect of derivative instruments in cash flow hedging relationships |  |  |  |
Gain/(loss) reclassified from Accumulated other comprehensive (loss) income into earnings | (202) | 87 | (11) | 251
Cash flow hedges: | Products net revenue |  |  |  |
Pre-tax effect of derivative instruments in cash flow hedging relationships |  |  |  |
Gain/(loss) reclassified from Accumulated other comprehensive (loss) income into earnings | (184) | 117 | 50 | 355
Cash flow hedges: | Cost of products net revenue |  |  |  |
Pre-tax effect of derivative instruments in cash flow hedging relationships |  |  |  |
Gain/(loss) reclassified from Accumulated other comprehensive (loss) income into earnings | (21) | (33) | (71) | (109)
Cash flow hedges: | Operating expenses |  |  |  |
Pre-tax effect of derivative instruments in cash flow hedging relationships |  |  |  |
Gain/(loss) reclassified from Accumulated other comprehensive (loss) income into earnings | 0 | 0 | 1 | (4)
Cash flow hedges: | Interest and other, net |  |  |  |
Pre-tax effect of derivative instruments in cash flow hedging relationships |  |  |  |
Gain/(loss) reclassified from Accumulated other comprehensive (loss) income into earnings | $ 3 | $ 3 | $ 9 | $ 9

X
- References No definition available. + Details
Name: | us-gaap_EffectOfCashFlowHedgesOnResultsOfOperationsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before tax, of reclassification of gain (loss) from accumulated other comprehensive income (AOCI) for derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 182 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480401/815-10-55-182 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-11 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-15 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_IncomeStatementLocationAxis=us-gaap_SalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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