Taxes on Earnings - Schedule of Differences Between U.S. Federal Statutory Income Tax Rate and HP's Effective Tax Rate (Details) |
12 Months Ended | ||
|---|---|---|---|
Oct. 31, 2025 |
Oct. 31, 2024 |
Oct. 31, 2023 |
|
| Effective Income Tax Rate Reconciliation, Percent [Abstract] | |||
| U.S. federal statutory income tax rate from continuing operations | 21.00% | 21.00% | 21.00% |
| State income taxes, net of federal tax benefit | 2.40% | 2.20% | 1.70% |
| Impact of foreign earnings including GILTI and FDII, net | (2.90%) | (1.00%) | (1.10%) |
| Research and development (“R&D”) credit | (2.30%) | (1.10%) | (1.00%) |
| Valuation allowances | (2.50%) | (7.10%) | (7.30%) |
| Uncertain tax positions and audit settlements | (10.20%) | 1.00% | 2.40% |
| Changes in tax laws or rates enacted | 1.40% | 0.30% | (0.30%) |
| Impact of internal reorganization | 0.00% | 0.00% | (27.40%) |
| Other, net | (1.70%) | 0.10% | 0.90% |
| Effective tax rate | 5.20% | 15.40% | (11.10%) |
| X | ||||||||||
- Definition Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance And Other, Percent No definition available.
|
| X | ||||||||||
- Definition Effective Income Tax Rate Reconciliation, Change In Tax Laws Or Rate, Percent No definition available.
|
| X | ||||||||||
- Definition Effective Income Tax Rate Reconciliation, Internal Reorganization, Percent No definition available.
|
| X | ||||||||||
- Definition Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Percentage of domestic federal statutory tax rate applicable to pretax income (loss). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations applicable to statutory income tax expense (benefit) outside of the country of domicile. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other adjustments. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations applicable to state and local income tax expense (benefit), net of federal tax expense (benefit). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to income tax contingencies. Includes, but not limited to, domestic tax contingency, foreign tax contingency, state and local tax contingency, and other contingencies. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to research tax credit. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|