Shares of HP Inc. surged 8.5% to $27.13 as investors piled into a stock that just delivered one of the biggest earnings surprises in the company's recent history — and raised the question of whether a shift toward pricier, AI-equipped computers can sustain growth even as overall unit volumes decline.

A 21% Earnings Beat That Caught Wall Street Off Guard

HP posted non-GAAP earnings of $0.86 per share against a consensus forecast of roughly $0.71, a 21% surprise.

Revenue of $14.4 billion also topped the $13.99 billion estimate.

Management raised full-year EPS guidance to $2.90–$3.10, a meaningful upgrade given the commodity headwinds the company had flagged in February. The combination of a beat and a raise is what pushed the stock well beyond the initial after-hours pop.

Selling Fewer PCs at Higher Prices — and Making It Work

Total PC units actually fell 7% year over year, yet Personal Systems revenue grew 13% to $10.2 billion. The gap is explained by a rapid mix shift toward premium machines: AI PCs jumped from 35% to 44% of HP's shipment mix in a single quarter, and these devices carry higher average selling prices and attach more services, structurally improving unit economics even in a flat PC market.

Roughly 30% of the global installed base still runs Windows 10, adding a near-term refresh catalyst on top of the AI transition.

Cash Flow Shores Up the Capital-Return Story

Free cash flow exceeded $800 million in the quarter, and HP returned nearly $400 million to shareholders through dividends and buybacks.

For the full year, HP expects $2.8–$3.0 billion in free cash flow — critical because the company has shrunk its share count by 25.8% over five years, meaning buybacks, not operational efficiency alone, have been a key driver of EPS growth. At today's price, that cash flow yield remains north of 10%, keeping the buyback machine well-fueled.

Costs and a Missing CEO Cloud the Second Half

HP anticipates rising input costs, particularly in memory and storage, which could pressure operating margins in the back half of 2026.

The CEO search is ongoing , and margins will compress — the question is how deep the trough goes and what management signals about the fiscal 2027 cost trajectory. At roughly 9× forward earnings, the stock's P/E of about 9 still signals a market unwilling to pay a premium until cost risks clear and permanent leadership is installed.