XML 74 R62.htm IDEA: XBRL DOCUMENT
v3.23.1

Borrowings - Schedule of Notes Payable and Short-Term Borrowings (Details) - USD ($) $ in Millions | Apr. 30, 2023 | Oct. 31, 2022
--- | --- | ---
Amount Outstanding |  |
Current portion of long-term debt | $ 166 | $ 165
Notes payable to banks, lines of credit and other | $ 240 | $ 218
Weighted-Average Interest Rate |  |
Current portion of long-term debt | 6.10% | 5.40%
Notes payable to banks, lines of credit and other |  |
Amount Outstanding |  |
Notes payable to banks, lines of credit and other | $ 74 | $ 53
Weighted-Average Interest Rate |  |
Notes payable to banks, lines of credit and other | 1.00% | 0.60%

X
- Definition Debt Instrument, Interest Rate, Weighted Average Interest Rate [Abstract] + References No definition available. + Details
Name: | hpq_DebtInstrumentInterestRateWeightedAverageInterestRateAbstract
Namespace Prefix: | hpq_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of debt and lease obligation, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(21)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Weighted average interest rate of debt outstanding. + References No definition available. + Details
Name: | us-gaap_DebtWeightedAverageInterestRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of long-term debt and lease obligation, classified as current. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.20) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Weighted average interest rate of short-term debt outstanding calculated at point in time. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_ShortTermDebtWeightedAverageInterestRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=hpq_NotesPayableToBanksLinesOfCreditAndOtherNotesPayablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |