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

CSV

Fiscal years (HPQ's year ends in late October)

In millions of dollarsOct 31, 2020Oct 31, 2021Oct 31, 2022Oct 31, 2023Oct 31, 2024Oct 31, 2025
Revenue56,63963,48762,91053,71853,55955,295
Cost of revenue46,20250,07050,64742,21041,74143,903
Gross profit——12,26311,50811,81811,392
Research and development1,4781,9071,6531,5781,6401,602
Selling, general and administrative4,9065,7415,2645,3575,6585,821
Operating income (loss)3,4625,3024,5593,4563,8183,174
Interest income403146677889
Interest expense239254359548452430
Other income (expense)21(22)(19)757(16)
Income tax expense (benefit)3871,0081,192(326)504139
Net income (loss)2,8446,5033,1323,2632,7752,529
Earnings per share, basic USD per share2.015.383.023.292.832.67
Earnings per share, diluted USD per share2.005.332.983.262.812.65
Weighted average shares, basic millions of shares1,4131,2081,038992979946
Weighted average shares, diluted millions of shares1,4201,2201,0501,000989953

Balance sheet

CSV

Fiscal years (HPQ's year ends in late October)

In millions of dollarsOct 31, 2020Oct 31, 2021Oct 31, 2022Oct 31, 2023Oct 31, 2024Oct 31, 2025
Cash and cash equivalents4,8644,2993,1453,1073,2383,690
Marketable securities2745————
Accounts receivable5,3815,5114,5464,2375,1175,692
Inventory5,9637,9307,6146,8627,7208,512
Prepaid and other current assets1,1041,0872,0861,4451,4621,577
Total current assets20,64822,17019,73617,97720,76022,453
Property and equipment, net2,6272,5462,7742,8272,9143,049
Right-of-use asset1,1071,1921,2361,1881,1651,129
Goodwill6,3806,8038,5418,5918,6278,706
Total assets34,68138,61038,49437,00439,90941,769
Accounts payable14,70416,07515,30314,04616,90318,051
Current portion of long-term debt6336721651791,358788
Total current liabilities26,22029,09626,18924,48828,68729,258
Long-term debt5,5436,38610,7969,2548,2638,821
Lease liability, non-current904936875825787815
Accumulated deficit(1,961)(2,461)(4,492)(2,361)(2,676)(2,027)
Total stockholders' equity(2,228)(1,650)(3,025)(1,069)(1,323)(346)
Total liabilities and equity34,68138,61038,49437,00439,90941,769
Common shares outstanding (cover page) millions of shares1,2901,083982991938918

Cash flows

CSV

Fiscal years (HPQ's year ends in late October)

In millions of dollarsOct 31, 2020Oct 31, 2021Oct 31, 2022Oct 31, 2023Oct 31, 2024Oct 31, 2025
Net income (loss)2,8446,5033,1323,2632,7752,529
Stock-based compensation278330343438452522
Depreciation and amortization789785780850830916
Net cash from operating activities4,3166,4094,4633,5713,7493,697
Net cash from investing activities(1,016)(1,012)(3,549)(590)(646)(1,177)
Share repurchases3,1076,2494,2971002,100850
Dividends paid9979381,0371,0371,0751,088
Net cash from financing activities(2,973)(5,962)(2,068)(2,894)(3,082)(2,060)
Net change in cash327(565)(1,154)8721460

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.
CompanyCash ($M)Revenue, quarter ($M)Operating cash flow, quarter ($M)Shares outstandingQuarter
HP4,16915,6771,735*901.8M 10-QJul 31, 2026
Hewlett Packard Enterprise6,21612,2131,641*1.3B 10-QJul 31, 2026
NetApp1,5732,025503196.4M 10-QJul 31, 2026
Everpure3861,186(136)*333.2M 10-QAug 2, 2026
Logitech International1,5081,219164*141.8M 10-QSep 30, 2026
F51,606865316*56.6M 10-QJun 30, 2026
Super Micro Computer7,52111,120*747*657.0M 10-KJun 30, 2026
Dell Technologies11,56946,9712,225*not reported 10-QJul 31, 2026
Sandisk5,13611,0316,363142.3M 10-QOct 2, 2026

Not investment advice. Not affiliated with the U.S. SEC.