|                                                                                                                                                                                                                                                                                           |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|                                                                                                                                                                                                                                                                                           |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
|                                                                                                                                                                                                                                                                                      | For the fiscal years ended October 31 |
|                                                                                                                                                                                                                                                                                      | 2017 |   | 2016 |   | 2015 |   | 2014 |   | 2013 |
|                                                                                                                                                                                                                                                                                      | In millions, except ratios |
| Earnings:                                                                                                                                                                                                                                                                                 |   |  |   |   |  |   |   |  |   |   |  |   |   |  |
| Earnings before taxes                                                                                                                                                                                                                                                                     | $ | 3,276 |  |   | $ | 3,761 |  |   | $ | 3,532 |  |   | $ | 3,863 |  |   | $ | 3,055 |  |
| Adjustments:                                                                                                                                                                                                                                                                              |   |  |   |   |  |   |   |  |   |   |  |   |   |  |
| Undistributed loss (earnings) of equity method investees                                                                                                                                                                                                                                  | — |  |   | — |  |   | — |  |   | (1 | ) |   | — |  |
| Fixed charges                                                                                                                                                                                                                                                                             | 331 |  |   | 268 |  |   | 648 |  |   | 745 |  |   | 885 |  |
|                                                                                                                                                                                                                                                                                      | $ | 3,607 |  |   | $ | 4,029 |  |   | $ | 4,180 |  |   | $ | 4,607 |  |   | $ | 3,940 |  |
| Fixed charges:                                                                                                                                                                                                                                                                            |   |  |   |   |  |   |   |  |   |   |  |   |   |  |
| Total interest expense, including interest expense on borrowings, amortization of debt discount and premium on all indebtedness and other                         | $ | 311 |  |   | $ | 219 |  |   | $ | 592 |  |   | $ | 665 |  |   | $ | 769 |  |
| Interest included in rent                                                                                                                                                                                                                                                                 | 20 |  |   | 49 |  |   | 56 |  |   | 80 |  |   | 116 |  |
| Total fixed charges                                                                                                                                                                                                                                                                       | $ | 331 |  |   | $ | 268 |  |   | $ | 648 |  |   | $ | 745 |  |   | $ | 885 |  |
| Ratio of earnings to fixed charges (excess of fixed charges over earnings)                                                                                                                                                              | 10.9x |  |   | 15x |  |   | 6.5x |  |   | 6.2x |  |   | 4.5x |  |

|           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| (1)  | HP computed the ratio of earnings to fixed charges by dividing earnings (earnings before taxes, undistributed loss (earnings) of equity method investees, and fixed charges) by fixed charges for the periods indicated. Fixed charges include (i) interest expense on borrowings, amortization of debt discount, premium on all indebtedness and other, and (ii) a reasonable approximation of the interest factor deemed to be included in rent expense. |