v3.25.3

Stock-Based Compensation (Tables) | 12 Months Ended
--- | ---
Oct. 31, 2025
Share-Based Payment Arrangement [Abstract] |
Schedule of Stock-Based Compensation Expense and the Resulting Tax Benefits | Stock-based compensation expense and the resulting tax benefits for operations were as follows:
| For the fiscal years ended October 31
| 2025 |  | 2024 |  | 2023
| In millions
Stock-based compensation expense | $ | 522 |  |  | $ | 452 |  |  | $ | 438 |
Income tax benefit | (88) |  |  | (77) |  |  | (72) |
Stock-based compensation expense, net of tax | $ | 434 |  |  | $ | 375 |  |  | $ | 366 |
Schedule of Assumptions Used to Measure Fair Value of Restricted Stock Units | The assumptions used to measure the fair value of restricted stock units subject to performance-adjusted vesting conditions in the Monte Carlo simulation model were as follows:
| For the fiscal years ended October 31
| 2025 |  | 2024 |  | 2023
Expected volatility(1) | 34.0 | % |  | 33.9 | % |  | 44.4 | %
Risk-free interest rate(2) | 4.0 | % |  | 4.1 | % |  | 4.0 | %
Expected performance period in years(3) | 2.9 |  | 2.9 |  | 2.9
(1)The expected volatility was estimated using the historical volatility derived from HP’s common stock. (2)The risk-free interest rate was estimated based on the yield on U.S. Treasury zero-coupon issues. (3)The expected performance period was estimated based on the length of the remaining performance period from the grant date.
Schedule of Restricted Stock Awards Activity | A summary of restricted stock units activity is as follows:
| As of October 31
| 2025 |  | 2024 |  | 2023
| Shares |  | Weighted- Average Grant Date Fair Value Per Share |  | Shares |  | Weighted- Average Grant Date Fair Value Per Share |  | Shares |  | Weighted- Average Grant Date Fair Value Per Share
| In thousands |  |  |  | In thousands |  |  |  | In thousands |  |
Outstanding at beginning of year | 31,868 |  |  | $ | 30 |  |  | 30,209 |  |  | $ | 31 |  |  | 28,688 |  |  | $ | 30 |
Granted | 20,759 |  |  | $ | 34 |  |  | 18,262 |  |  | $ | 32 |  |  | 18,500 |  |  | $ | 31 |
Vested | (14,912) |  |  | $ | 31 |  |  | (14,483) |  |  | $ | 33 |  |  | (15,291) |  |  | $ | 29 |
Forfeited | (3,092) |  |  | $ | 32 |  |  | (2,120) |  |  | $ | 31 |  |  | (1,688) |  |  | $ | 31 |
Outstanding at end of year | 34,623 |  |  | $ | 32 |  |  | 31,868 |  |  | $ | 30 |  |  | 30,209 |  |  | $ | 31 |
Schedule of Shares Available for Future Grant and Shares Reserved for Future Issuance | Shares available for future grant and shares reserved for future issuance under the stock-based incentive compensation plans and the 2021 ESPP were as follows:
| As of October 31
| 2025 |  | 2024 |  | 2023
| In thousands
Shares available for future grant | 100,719 |  |  | 144,553 |  |  | 133,033 |
Shares reserved for future issuance | 139,863 |  |  | 181,463 |  |  | 169,503 |

X
- Definition Tabular disclosure of shares available for future grant and reserved for future issuance under stock-related benefit plans. + References No definition available. + Details
Name: | hpq_ScheduleOfShareBasedCompensationSharesAvailableAndReservedTableTextBlock
Namespace Prefix: | hpq_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Tabular disclosure of the changes in outstanding nonvested restricted stock shares. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Subparagraph (c) -Paragraph 2 -SubTopic 10 -Topic 718 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of cost recognized for award under share-based payment arrangement by plan. Includes, but is not limited to, related tax benefit. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of number, weighted-average exercise price or conversion ratio, aggregate intrinsic value, and weighted-average remaining contractual term for outstanding restricted stock units that are fully vested and expected to vest. Includes, but is not limited to, unvested restricted stock units for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 718 -SubTopic 10 -Subparagraph (e)(1) -Name Accounting Standards Codification -Paragraph 2 -Section 50 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ScheduleOfShareBasedCompensationArrangementByShareBasedPaymentAwardRestrictedStockUnitsVestedAndExpectedToVestTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration