HPQ · XBRL financial data
HP financial statements, every fiscal year
The same tables from 8 filings, lined up. Matched by XBRL tag: renamed lines keep their history.
How these numbers work
- Every number comes from the company's XBRL financial data filed with the SEC, and each one links to its filing.
- Lines are matched by XBRL tag, so a line renamed between filings keeps its history.
- * marks a quarter worked out from the filing totals: the 10-K year minus the first three quarters, or a year-to-date total minus the earlier one. Fourth-quarter earnings per share is fourth-quarter net income over the fourth-quarter weighted shares.
- 0 means a filing states zero; a dash (—) means no filing states that number.
- “year only” means the 10-K gives the full year but not the quarters needed to work out the fourth. A worked-out quarter of revenue, cost of revenue or operating cash flow more than twice the company's largest quarter of the two years before is shown this way too.
- Gross profit is shown as the company reports it; a worked-out quarter must equal revenue less cost of revenue for that quarter, or it is a dash.
- Operating income can be above gross profit when the company books other operating income between the two, shown on its own line.
- Shares outstanding come from each filing's cover page, as of the date printed there.
- Quarters are fiscal: Q2 FY27 is the second quarter of the company's fiscal 2027.
Income statement
CSVFiscal years (HPQ's year ends in late October)
| In millions of dollars | Oct 31, 2020 | Oct 31, 2021 | Oct 31, 2022 | Oct 31, 2023 | Oct 31, 2024 | Oct 31, 2025 |
|---|---|---|---|---|---|---|
| Revenue | 56,639 | 63,487 | 62,910 | 53,718 | 53,559 | 55,295 |
| Cost of revenue | 46,202 | 50,070 | 50,647 | 42,210 | 41,741 | 43,903 |
| Gross profit | — | — | 12,263 | 11,508 | 11,818 | 11,392 |
| Research and development | 1,478 | 1,907 | 1,653 | 1,578 | 1,640 | 1,602 |
| Selling, general and administrative | 4,906 | 5,741 | 5,264 | 5,357 | 5,658 | 5,821 |
| Operating income (loss) | 3,462 | 5,302 | 4,559 | 3,456 | 3,818 | 3,174 |
| Interest income | 40 | 31 | 46 | 67 | 78 | 89 |
| Interest expense | 239 | 254 | 359 | 548 | 452 | 430 |
| Other income (expense) | 21 | (22) | (19) | 7 | 57 | (16) |
| Income tax expense (benefit) | 387 | 1,008 | 1,192 | (326) | 504 | 139 |
| Net income (loss) | 2,844 | 6,503 | 3,132 | 3,263 | 2,775 | 2,529 |
| Earnings per share, basic USD per share | 2.01 | 5.38 | 3.02 | 3.29 | 2.83 | 2.67 |
| Earnings per share, diluted USD per share | 2.00 | 5.33 | 2.98 | 3.26 | 2.81 | 2.65 |
| Weighted average shares, basic millions of shares | 1,413 | 1,208 | 1,038 | 992 | 979 | 946 |
| Weighted average shares, diluted millions of shares | 1,420 | 1,220 | 1,050 | 1,000 | 989 | 953 |
Balance sheet
CSVFiscal years (HPQ's year ends in late October)
Cash flows
CSVFiscal years (HPQ's year ends in late October)
| In millions of dollars | Oct 31, 2020 | Oct 31, 2021 | Oct 31, 2022 | Oct 31, 2023 | Oct 31, 2024 | Oct 31, 2025 |
|---|---|---|---|---|---|---|
| Net income (loss) | 2,844 | 6,503 | 3,132 | 3,263 | 2,775 | 2,529 |
| Stock-based compensation | 278 | 330 | 343 | 438 | 452 | 522 |
| Depreciation and amortization | 789 | 785 | 780 | 850 | 830 | 916 |
| Net cash from operating activities | 4,316 | 6,409 | 4,463 | 3,571 | 3,749 | 3,697 |
| Net cash from investing activities | (1,016) | (1,012) | (3,549) | (590) | (646) | (1,177) |
| Share repurchases | 3,107 | 6,249 | 4,297 | 100 | 2,100 | 850 |
| Dividends paid | 997 | 938 | 1,037 | 1,037 | 1,075 | 1,088 |
| Net cash from financing activities | (2,973) | (5,962) | (2,068) | (2,894) | (3,082) | (2,060) |
| Net change in cash | 327 | (565) | (1,154) | 87 | 21 | 460 |
Compare with peers
SIC 3570 and related industry codes, similar size. Each row is the latest quarter reported.
How peers are chosen
- SIC 3570 and related industry codes with public float (or, where float is missing, quarterly revenue) between 0.2x and 5x the company's.
- Each row is the latest quarter the company has reported, named in the Quarter column; when that filing is a 10-K, it is the fourth quarter, never the full year.
- * marks a quarter worked out from the filing totals: for a 10-K, the year less the first three quarters; for a 10-Q, the year-to-date total less the earlier one.
| Company | Cash ($M) | Revenue, quarter ($M) | Operating cash flow, quarter ($M) | Shares outstanding | Quarter |
|---|---|---|---|---|---|
| HP | 4,169 | 15,677 | 1,735* | 901.8M | 10-QJul 31, 2026 |
| Hewlett Packard Enterprise | 6,216 | 12,213 | 1,641* | 1.3B | 10-QJul 31, 2026 |
| NetApp | 1,573 | 2,025 | 503 | 196.4M | 10-QJul 31, 2026 |
| Everpure | 386 | 1,186 | (136)* | 333.2M | 10-QAug 2, 2026 |
| Logitech International | 1,508 | 1,219 | 164* | 141.8M | 10-QSep 30, 2026 |
| F5 | 1,606 | 865 | 316* | 56.6M | 10-QJun 30, 2026 |
| Super Micro Computer | 7,521 | 11,120* | 747* | 657.0M | 10-KJun 30, 2026 |
| Dell Technologies | 11,569 | 46,971 | 2,225* | not reported | 10-QJul 31, 2026 |
| Sandisk | 5,136 | 11,031 | 6,363 | 142.3M | 10-QOct 2, 2026 |
Not investment advice. Not affiliated with the U.S. SEC.