XML 66 R54.htm IDEA: XBRL DOCUMENT
v3.23.1

Financial Instruments - Schedule of Cash Equivalents and Available-for-Sale Investments (Details) - USD ($) $ in Millions | Apr. 30, 2023 | Oct. 31, 2022
--- | --- | ---
Cash Equivalents: |  |
Cost | $ 981 | $ 2,193
Gross Unrealized Gain | 0 | 0
Gross Unrealized Loss | 0 | 0
Fair Value | 981 | 2,193
Available-for-Sale Investments: |  |
Cost | 44 | 55
Gross Unrealized Gain | 12 | 8
Gross Unrealized Loss | 0 | 0
Fair Value | 56 | 63
Total cash equivalents and available-for-sale investments, Cost | 1,025 | 2,248
Total cash equivalents and available-for-sale investments, Gross Unrealized Gain | 12 | 8
Total cash equivalents and available-for-sale investments, Gross Unrealized Loss | 0 | 0
Total cash equivalents and available-for-sale investments, Fair Value | 1,037 | 2,256
Corporate debt |  |
Cash Equivalents: |  |
Cost | 607 | 904
Gross Unrealized Gain | 0 | 0
Gross Unrealized Loss | 0 | 0
Fair Value | 607 | 904
Government debt |  |
Cash Equivalents: |  |
Cost | 374 | 1,289
Gross Unrealized Gain | 0 | 0
Gross Unrealized Loss | 0 | 0
Fair Value | 374 | 1,289
Financial institution instruments |  |
Available-for-Sale Investments: |  |
Debt securities, cost | 3 | 5
Debt securities, Gross Unrealized Gain | 0 | 0
Debt securities, Gross Unrealized Loss | 0 | 0
Debt securities, Fair value | 3 | 5
Marketable securities and mutual funds |  |
Available-for-Sale Investments: |  |
Equity securities, Cost | 41 | 50
Equity securities, Gross Unrealized Gain | 12 | 8
Equity securities, Gross Unrealized Loss | 0 | 0
Equity securities, Fair Value | $ 53 | $ 58

X
- Definition Cash And Cash Equivalents, Gross Unrealized Gains + References No definition available. + Details
Name: | hpq_CashAndCashEquivalentsGrossUnrealizedGains
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Cash And Cash Equivalents, Gross Unrealized Losses + References No definition available. + Details
Name: | hpq_CashAndCashEquivalentsGrossUnrealizedLosses
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cash Equivalents and Available For Sale Securities, Amortized Cost Basis, Excluding Accrued Interest + References No definition available. + Details
Name: | hpq_CashEquivalentsAndAvailableForSaleSecuritiesAmortizedCostBasisExcludingAccruedInterest
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cash Equivalents and Available For Sale Securities, Fair Value, Excluding Accrued Interest + References No definition available. + Details
Name: | hpq_CashEquivalentsAndAvailableForSaleSecuritiesFairValueExcludingAccruedInterest
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cash Equivalents and Available For Sale Securities, Accumulated Gross Unrealized Gain, before Tax + References No definition available. + Details
Name: | hpq_CashEquivalentsandAvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainbeforeTax
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Cash Equivalents and Available For Sale Securities, Accumulated Gross Unrealized Loss, before Tax + References No definition available. + Details
Name: | hpq_CashEquivalentsandAvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossbeforeTax
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Debt Securities, Available-for-sale, Excluding Accrued Interest And Equity Securities, FV-NI + References No definition available. + Details
Name: | hpq_DebtSecuritiesAvailableForSaleExcludingAccruedInterestAndEquitySecuritiesFVNI
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Debt Securities, Available-for-sale, Excluding Accrued Interest And Equity Securities, FV-NI, Accumulated Gross Unrealized Gain, Before Tax + References No definition available. + Details
Name: | hpq_DebtSecuritiesAvailableForSaleExcludingAccruedInterestAndEquitySecuritiesFVNIAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Debt Securities, Available-for-sale, Excluding Accrued Interest And Equity Securities, FV-NI, Accumulated Gross Unrealized Loss, Before Tax + References No definition available. + Details
Name: | hpq_DebtSecuritiesAvailableForSaleExcludingAccruedInterestAndEquitySecuritiesFVNIAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Debt Securities, Available-For-Sale, Excluding Accrued Interest And Equity Securities, FV-NI, Amortized Cost + References No definition available. + Details
Name: | hpq_DebtSecuritiesAvailableForSaleExcludingAccruedInterestAndEquitySecuritiesFVNIAmortizedCost
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Equity Securities, FV-NI, Accumulated Gross Unrealized Gain, before Tax + References No definition available. + Details
Name: | hpq_EquitySecuritiesFVNIAccumulatedGrossUnrealizedGainbeforeTax
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Equity Securities, FV-NI, Accumulated Gross Unrealized Loss, before Tax + References No definition available. + Details
Name: | hpq_EquitySecuritiesFVNIAccumulatedGrossUnrealizedLossbeforeTax
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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

X
- Definition Fair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + References No definition available. + Details
Name: | us-gaap_CashAndCashEquivalentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CashEquivalentsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, after allowance for credit loss, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount excluding accrued interest, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), 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(2)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 45 -Paragraph 1A -URI https://asc.fasb.org/extlink&oid=123594786&loc=SL75136599-209740 + Details
Name: | us-gaap_EquitySecuritiesFvNi
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cost of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). Excludes equity method investment and investment in equity security without readily determinable fair value. + References No definition available. + Details
Name: | us-gaap_EquitySecuritiesFvNiCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=us-gaap_USTreasuryAndGovernmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=hpq_FinancialInstitutionInstrumentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=hpq_MarketableEquitySecuritiesandMutualFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |