HPE vs UI: Which Is the Better Buy in 2026?

Last updated August 2026

Short answer

HPE is the larger of the two ($63.43B market cap): the incumbent the market prices for continued execution (11.94x forward earnings, beta 1.44). UI is the smaller challenger ($34.73B), actually pricier on forward earnings (33.30x): more room to run, but more to prove. The real question is which set of drivers you believe, and whether owning one (or both) leaves you over-concentrated.

HPE vs UI: the tie-breaker metrics

Same yardstick, side by side (as of August 2026). Valuation lined up like this is most meaningful for two names in the same corner of the market, which these are. Figures are approximate; verify before investing.

MetricHPEUIWhat it tells you
Market cap$63.43B$34.73BSize. The larger name is the incumbent; the smaller has more room to grow and more to prove.
Forward P/E11.9433.30Valuation on next year's expected earnings, the same yardstick for both. Lower is cheaper for that growth; higher means the market is paying up.
Trailing P/E44.7736.90Valuation on the last 12 months. A big drop from trailing to forward means the market expects earnings to jump, so more growth is already in the price.
Beta1.441.31Volatility vs the market. Above 1 swings harder than the index; below 1 is steadier. Higher beta means bigger drawdowns to hold through.
Price vs 52-week range63% of range20% of rangeWhere today's price sits between the 52-week low and high. Near the high is momentum with less margin of safety; near the low is out of favor or a discount, depending on why.
Price / book2.5128.89How much you pay over book value. Very high can signal an asset-light, high-return business or a rich price.

Reading it: HPE is the cheaper of the two on forward earnings, but cheaper is not the same as better. Pair the valuation with growth (how far the forward P/E sits below the trailing P/E) and risk (beta) before you decide.

Before you buy: how HPE and UI affect your concentration

The metrics above tell you which is the marginally better business. The bigger risk for most people is not picking the slightly worse stock, it is over-concentrating. HPE and UI share themes, so owning both, or adding either to what you already hold, can quietly push a large share of your portfolio into one bet.

This is the part a generic comparison page cannot answer, because it depends on what you own. Connect your brokerage and Walnut shows your real, combined HPE and UI exposure, flags overlap with your existing positions, and tells you if adding one would tip you past a concentration you are comfortable with, read-only by default, with your login staying at your broker. Walnut is not an investment adviser.

What does Hewlett Packard Enterprise Company (HPE) do?

Hewlett Packard Enterprise Company sells the technology that runs businesses and data centers: servers (including AI-focused compute), storage, networking equipment, and hybrid-cloud and as-a-service offerings under its GreenLake platform, along with financial services. It emerged from the 2015 split of the old Hewlett-Packard, which separated the enterprise business (HPE) from the PC-and-printer business (HP Inc., ticker HPQ). It is a distinct company from both HP Inc. and the unrelated oil-drilling contractor Helmerich & Payne, which confusingly also uses HP.

Full HPE guide

What does Ubiquiti (UI) do?

Ubiquiti designs and sells networking and connected-device hardware built around two software platforms, UniFi OS and airMAX. The UniFi line covers WiFi access points, switches, security gateways, the UniFi Protect camera system, UniFi Access door controllers and the UniFi Talk phone system, all administered from one console. That breadth is the point: a hotel, a warehouse or a multi-site retailer can run networking, video and door access from a single pane of glass without paying per-device licensing. The company reports one operating segment but splits revenue two ways. Enterprise Technology was ~$2.97 billion in fiscal 2026, ~91% of the total and up ~32% year over year. Service Provider Technology, the legacy long-range wireless radio business that built the company, was ~$302 million, ~9% of revenue and down ~5%. Geographically, North America is ~53% of sales, EMEA ~36%, Asia Pacific ~7% and South America ~4%.

Full UI guide

HPE vs UI: how do they differ?

Both fit overlapping themes, but they are not interchangeable. The useful comparison is which set of drivers and risks you want exposure to.

  • HPE drivers: AI infrastructure demand; Juniper Networks and a bigger networking business.
  • UI drivers: UniFi has broadened from networking into the whole building; The cost structure is the moat, not the hardware.

Which fits which kind of investor

A faster-growing, richer-valued name usually swings harder, so it suits a longer horizon and a higher tolerance for volatility; a steadier, more cash-generative business suits a more conservative or income-minded investor. The honest test is which set of risks you could hold through a drawdown: The biggest risk is that AI server demand, now the dominant driver, is both cyclical and lower-margin than HPE's other businesses. For UI, the valuation carries most of the risk.

HPE or UI: which should you pick?

Growth-minded investors who believe the theme has years to run tend to accept the richer multiple for more upside; value-minded investors lean toward the cheaper forward earnings and steadier profile. Pick HPE if you believe its drivers more; UI if you believe its. Many investors hold both, but since they share themes, that is a concentrated bet, not diversification. Decide deliberately and check overlap. For the full detail, see the HPE and UI guides.

HPE vs UI: the full fundamentals

HPE. Figures are approximate and tied to the asOf date; verify live numbers before acting. HPE has historically traded at a modest valuation befitting a slow-growing hardware vendor, but the AI-and-Juniper growth surge has raised both expectations and the stock. The key question is margin quality: AI server revenue can grow fast without adding proportionate profit, so weigh the headline growth against the mix of higher-margin networking and recurring GreenLake revenue.

UI. Fiscal 2026 closed on June 30, 2026 and the Form 10-K was filed August 21, 2026, so these are audited full-year figures rather than estimates. Cash of ~$523 million plus ~$99 million of securities against zero short-term borrowings puts the enterprise value slightly below the market capitalisation, at roughly ten times sales and about 37 times free cash flow. The 52-week range of ~$440 to ~$1,100 means the same business has been valued anywhere from ~$27 billion to ~$67 billion within twelve months.

Headline figures (approximate, Jul 2026): HPE shows business model Enterprise servers, storage, networking, and hybrid-cloud/AI infrastructure, plus GreenLake as-a-service and financing, recent results Record fiscal Q2 2026 revenue of about $10.7 billion, up roughly 40% year over year on AI demand, ai and servers Server revenue up more than 30%; large AI-related backlog cited by management, juniper acquisition Completed July 2025 for roughly $13.4 billion ($40 per share), sharply expanding the Networking segment; UI shows revenue (fy2026, ended june 30) ~$3.27B, up ~27% from ~$2.57B, net income / diluted eps ~$960M / ~$15.85 (vs ~$712M / ~$11.76), gross / operating margin ~46.2% / ~36.2%, free cash flow ~$909M (~$929M operating cash flow less ~$20M capex).

The bottom line: HPE vs UI

HPE and UI are related but distinct: same themes, different businesses and risks. Neither wins in the abstract; the right pick is whichever thesis you actually believe, sized so you are not over-concentrated in one theme. Walnut can show your combined HPE and UI exposure against your real portfolio. It is not an investment adviser.

Wondering how HPE or UI fits the portfolio you already own? Walnut is an AI investing app that connects your brokerage read-only and answers questions like that about your actual holdings: overlap, concentration, and how each position tracks the S&P 500. Compare the best AI portfolio analyzers or see the best AI investing apps in 2026.

Investing in Hewlett Packard Enterprise Company with AI

Connect the broker you already use and ask Walnut's AI how HPE fits what you actually hold: whether you own it already through a fund, what it would do to your concentration, and how it has tracked the S&P 500. Read-only by default, and you approve anything before it reaches your broker.

FAQ

What is the difference between HPE and UI?

+

Hewlett Packard Enterprise Company sells the technology that runs businesses and data centers: servers (including AI-focused compute), storage, networking equipment, and hybrid-cloud and as-a-service offerings under its GreenLake platform, along with financial services. Ubiquiti designs and sells networking and connected-device hardware built around two software platforms, UniFi OS and airMAX. They show up together because they share investment themes, but they are different businesses, so the better fit depends on which thesis you are expressing.

Is HPE or UI the better stock?

+

Neither is universally better. HPE is the larger incumbent; UI is the smaller challenger and looks pricier on forward earnings. Walnut is informational, not investment advice. Compare what each does, the tie-breaker metrics above, and the risks, then decide which fits your thesis and what you already own.

Which is cheaper, HPE or UI?

+

On forward P/E (as of August 2026), HPE trades at 11.94x and UI at 33.30x, so HPE is the cheaper of the two on next year's expected earnings. A lower multiple is not automatically the better buy: a richer valuation can be justified by faster growth, and a lower one can reflect real risk. Weigh the multiple against how fast each business is compounding.

Should you own both HPE and UI?

+

Because they share themes, owning both concentrates you in that theme. That can be intentional (a focused bet) or accidental (less diversification than it looks). Walnut can show your combined exposure across both, and whether adding either over-concentrates you, before you buy.

What are the risks of HPE vs UI?

+

HPE: The biggest risk is that AI server demand, now the dominant driver, is both cyclical and lower-margin than HPE's other businesses. AI hardware sales can be lumpy, tied to a handful of large customers and their capital budgets, so a pause in AI spending would hit growth hard, and the thin margins on AI servers mean fast revenue growth does not always translate into proportionate profit. Integrating Juniper Networks carries execution, cost, and cultural risk, and the deal added debt. Competition is intense across every segment, from server rivals like Dell and Supermicro to networking leaders like Cisco and Arista. The broader enterprise-IT market is exposed to economic cycles and corporate-spending swings. As a hardware-heavy company, HPE also faces supply-chain, component-cost, and pricing pressures. Finally, the stock's recent re-rating raises expectations, so any slowdown in AI demand or Juniper integration missteps could prompt a sharp pullback. UI: The valuation carries most of the risk. Roughly ~36 times earnings and ~10 times sales is a multiple normally attached to recurring software revenue, and Ubiquiti sells boxes, so a single decelerating quarter compresses both the estimate and the multiple at once. The float compounds it: with Pera holding ~93% of the shares, only about 4 million trade, which is how a stock moves from ~$440 to ~$1,100 and back inside a year on ordinary news. In August 2026 the company was named in Kovalenko et al. v. Ubiquiti, Inc. in the Southern District of New York, a tort suit brought by Ukrainian civilians alleging its long-range radios were used in Russian drone targeting networks; the claims are unproven and the fiscal 2026 Form 10-K carries no specific accrual for them, but the headline risk, potential export-control scrutiny and legal cost are real. Manufacturing sits with contract partners concentrated in China and Vietnam, and the filings state plainly that tariff rates have changed repeatedly and unpredictably. Ubiquiti is also a controlled company, so minority holders have limited say in governance, and the service-provider line keeps shrinking, which removes a diversifying revenue stream even as it stops being material.

Walnut is informational, not investment advice. This page is descriptive and not a recommendation to buy or sell HPE or UI; figures are approximate and dated (as of August 2026). Verify current data before investing.

    HPE vs UI: Which Is the Better Buy in 2026? - Walnut AI Investing App