Compare Stocks

2 / 10
Try these comparisons:

Stock Comparison

ANET vs HPE

Revenue, margins, valuation, and 5-year total return — side by side.

Live fundamentals10-year financials5-year price chart
ANET
Arista Networks, Inc.

Computer Hardware

TechnologyNYSE • US
Market Cap$185.11B
5Y Perf.+907.6%
HPE
Hewlett Packard Enterprise Company

Communication Equipment

TechnologyNYSE • US
Market Cap$40.35B
5Y Perf.+212.7%

ANET vs HPE — Key Financials

Market cap, revenue, margins, and valuation side-by-side.

Company Snapshot
ANET logoANET
HPE logoHPE
IndustryComputer HardwareCommunication Equipment
Market Cap$185.11B$40.35B
Revenue (TTM)$9.71B$35.79B
Net Income (TTM)$3.72B$-156M
Gross Margin63.5%30.7%
Operating Margin42.8%5.8%
Forward P/E41.5x12.6x
Total Debt$0.00$22.36B
Cash & Equiv.$1.96B$5.77B

ANET vs HPELong-Term Stock Performance

Price return indexed to 100 at period start. Dividends excluded.

ANET
HPE
StockMay 20May 26Return
Arista Networks, In… (ANET)1001007.6+907.6%
Hewlett Packard Ent… (HPE)100312.7+212.7%

Price return only. Dividends and distributions are not included.

Quick Verdict: ANET vs HPE

Each card shows where this stock fits in a portfolio — not just who wins on paper.

Bottom line: HPE leads in 4 of 7 categories, making it the strongest pick for valuation and capital efficiency and capital preservation and lower volatility. Arista Networks, Inc. is the stronger pick specifically for growth and revenue expansion and profitability and margin quality. As sector peers, any of these can serve as alternatives in the same allocation.
ANET
Arista Networks, Inc.
The Growth Play

ANET is the clearest fit if your priority is growth exposure and long-term compounding.

  • Rev growth 28.6%, EPS growth 23.3%, 3Y rev CAGR 27.1%
  • 34.2% 10Y total return vs HPE's 278.2%
  • 28.6% revenue growth vs HPE's 14.1%
Best for: growth exposure and long-term compounding
HPE
Hewlett Packard Enterprise Company
The Income Pick

HPE carries the broadest edge in this set and is the clearest fit for income & stability and sleep-well-at-night.

  • Dividend streak 3 yrs, beta 1.62, yield 2.0%
  • Lower volatility, beta 1.62, Low D/E 90.3%, current ratio 1.01x
  • Beta 1.62, yield 2.0%, current ratio 1.01x
Best for: income & stability and sleep-well-at-night
See the full category breakdown
CategoryWinnerWhy
GrowthANET logoANET28.6% revenue growth vs HPE's 14.1%
ValueHPE logoHPELower P/E (12.6x vs 41.5x)
Quality / MarginsANET logoANET38.3% margin vs HPE's -0.4%
Stability / SafetyHPE logoHPEBeta 1.62 vs ANET's 2.15
DividendsHPE logoHPE2.0% yield; 3-year raise streak; the other pay no meaningful dividend
Momentum (1Y)HPE logoHPE+87.4% vs ANET's +62.0%
Efficiency (ROA)ANET logoANET19.7% ROA vs HPE's -0.2%, ROIC 32.8% vs 3.5%

ANET vs HPE — Revenue Breakdown by Segment

How each company's revenue is distributed across its business units

ANETArista Networks, Inc.
FY 2025
Product
84.1%$7.6B
Service
15.9%$1.4B
HPEHewlett Packard Enterprise Company
FY 2025
Server Segment
51.4%$17.6B
Networking
19.9%$6.8B
Hybrid Cloud
16.2%$5.5B
Financial Services
10.2%$3.5B
Corporate Investments
2.2%$769M

ANET vs HPE — Financial Metrics

Side-by-side numbers across 2 stocks — who leads on profitability, valuation, growth, and risk.

BEST OVERALLANETLAGGINGHPE

Income & Cash Flow (Last 12 Months)

ANET leads this category, winning 6 of 6 comparable metrics.

HPE is the larger business by revenue, generating $35.8B annually — 3.7x ANET's $9.7B. ANET is the more profitable business, keeping 38.3% of every revenue dollar as net income compared to HPE's -0.4%. On growth, ANET holds the edge at +35.1% YoY revenue growth, suggesting stronger near-term business momentum.

MetricANET logoANETArista Networks, …HPE logoHPEHewlett Packard E…
RevenueTrailing 12 months$9.7B$35.8B
EBITDAEarnings before interest/tax$4.2B$4.5B
Net IncomeAfter-tax profit$3.7B-$156M
Free Cash FlowCash after capex$5.3B$4.4B
Gross MarginGross profit ÷ Revenue+63.5%+30.7%
Operating MarginEBIT ÷ Revenue+42.8%+5.8%
Net MarginNet income ÷ Revenue+38.3%-0.4%
FCF MarginFCF ÷ Revenue+54.4%+12.2%
Rev. Growth (YoY)Latest quarter vs prior year+35.1%+19.1%
EPS Growth (YoY)Latest quarter vs prior year+25.0%-26.2%
ANET leads this category, winning 6 of 6 comparable metrics.

Valuation Metrics

HPE leads this category, winning 5 of 6 comparable metrics.

On an enterprise value basis, HPE's 13.0x EV/EBITDA is more attractive than ANET's 46.6x.

MetricANET logoANETArista Networks, …HPE logoHPEHewlett Packard E…
Market CapShares × price$185.1B$40.3B
Enterprise ValueMkt cap + debt − cash$183.1B$56.9B
Trailing P/EPrice ÷ TTM EPS53.46x-680.72x
Forward P/EPrice ÷ next-FY EPS est.41.51x12.60x
PEG RatioP/E ÷ EPS growth rate1.32x
EV / EBITDAEnterprise value multiple46.62x13.00x
Price / SalesMarket cap ÷ Revenue20.55x1.18x
Price / BookPrice ÷ Book value/share15.16x1.62x
Price / FCFMarket cap ÷ FCF43.53x64.35x
HPE leads this category, winning 5 of 6 comparable metrics.

Profitability & Efficiency

ANET leads this category, winning 6 of 7 comparable metrics.

ANET delivers a 30.6% return on equity — every $100 of shareholder capital generates $31 in annual profit, vs $-1 for HPE. On the Piotroski fundamental quality scale (0–9), HPE scores 5/9 vs ANET's 4/9, reflecting solid financial health.

MetricANET logoANETArista Networks, …HPE logoHPEHewlett Packard E…
ROE (TTM)Return on equity+30.6%-0.6%
ROA (TTM)Return on assets+19.7%-0.2%
ROICReturn on invested capital+32.8%+3.5%
ROCEReturn on capital employed+30.4%+3.4%
Piotroski ScoreFundamental quality 0–945
Debt / EquityFinancial leverage0.90x
Net DebtTotal debt minus cash-$2.0B$16.6B
Cash & Equiv.Liquid assets$2.0B$5.8B
Total DebtShort + long-term debt$0$22.4B
Interest CoverageEBIT ÷ Interest expense-11.81x
ANET leads this category, winning 6 of 7 comparable metrics.

Total Returns (Dividends Reinvested)

ANET leads this category, winning 4 of 6 comparable metrics.

A $10,000 investment in ANET five years ago would be worth $71,888 today (with dividends reinvested), compared to $20,089 for HPE. Over the past 12 months, HPE leads with a +87.4% total return vs ANET's +62.0%. The 3-year compound annual growth rate (CAGR) favors ANET at 62.1% vs HPE's 31.0% — a key indicator of consistent wealth creation.

MetricANET logoANETArista Networks, …HPE logoHPEHewlett Packard E…
YTD ReturnYear-to-date+10.0%+26.2%
1-Year ReturnPast 12 months+62.0%+87.4%
3-Year ReturnCumulative with dividends+325.9%+125.0%
5-Year ReturnCumulative with dividends+618.9%+100.9%
10-Year ReturnCumulative with dividends+3417.0%+278.2%
CAGR (3Y)Annualised 3-year return+62.1%+31.0%
ANET leads this category, winning 4 of 6 comparable metrics.

Risk & Volatility

HPE leads this category, winning 2 of 2 comparable metrics.

HPE is the less volatile stock with a 1.62 beta — it tends to amplify market swings less than ANET's 2.15 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. HPE currently trades 99.8% from its 52-week high vs ANET's 81.8% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricANET logoANETArista Networks, …HPE logoHPEHewlett Packard E…
Beta (5Y)Sensitivity to S&P 5002.15x1.62x
52-Week HighHighest price in past year$179.80$30.41
52-Week LowLowest price in past year$82.80$16.17
% of 52W HighCurrent price vs 52-week peak+81.8%+99.8%
RSI (14)Momentum oscillator 0–10062.073.6
Avg Volume (50D)Average daily shares traded7.1M15.0M
HPE leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

Insufficient data to determine a leader in this category.

Wall Street rates ANET as "Buy" and HPE as "Hold". Consensus price targets imply 26.7% upside for ANET (target: $186) vs -5.4% for HPE (target: $29). HPE is the only dividend payer here at 1.98% yield — a key consideration for income-focused portfolios.

MetricANET logoANETArista Networks, …HPE logoHPEHewlett Packard E…
Analyst RatingConsensus buy/hold/sellBuyHold
Price TargetConsensus 12-month target$186.25$28.71
# AnalystsCovering analysts5137
Dividend YieldAnnual dividend ÷ price+2.0%
Dividend StreakConsecutive years of raises3
Dividend / ShareAnnual DPS$0.60
Buyback YieldShare repurchases ÷ mkt cap+0.9%+0.5%
Insufficient data to determine a leader in this category.
Key Takeaway

ANET leads in 3 of 6 categories (Income & Cash Flow, Profitability & Efficiency). HPE leads in 2 (Valuation Metrics, Risk & Volatility).

Best OverallArista Networks, Inc. (ANET)Leads 3 of 6 categories
Loading custom metrics...

ANET vs HPE: Frequently Asked Questions

10 questions · data-driven answers · updated daily

01

Is ANET or HPE a better buy right now?

For growth investors, Arista Networks, Inc.

(ANET) is the stronger pick with 28. 6% revenue growth year-over-year, versus 14. 1% for Hewlett Packard Enterprise Company (HPE). Arista Networks, Inc. (ANET) offers the better valuation at 53. 5x trailing P/E (41. 5x forward), making it the more compelling value choice. Analysts rate Arista Networks, Inc. (ANET) a "Buy" — based on 51 analyst ratings — the highest consensus in this comparison. The "better buy" depends entirely on your goals: growth investors should weight revenue trajectory, value investors should weight P/E and PEG, and income investors should weight dividend yield and streak.

02

Which has the better valuation — ANET or HPE?

On forward P/E, Hewlett Packard Enterprise Company is actually cheaper at 12.

6x — notably different from the trailing picture, reflecting expected earnings growth.

03

Which is the better long-term investment — ANET or HPE?

Over the past 5 years, Arista Networks, Inc.

(ANET) delivered a total return of +618. 9%, compared to +100. 9% for Hewlett Packard Enterprise Company (HPE). Over 10 years, the gap is even starker: ANET returned +34. 2% versus HPE's +278. 2%. Past returns do not guarantee future results, and the stock with the higher historical return may already have its best growth priced in.

04

Which is safer — ANET or HPE?

By beta (market sensitivity over 5 years), Hewlett Packard Enterprise Company (HPE) is the lower-risk stock at 1.

62β versus Arista Networks, Inc. 's 2. 15β — meaning ANET is approximately 33% more volatile than HPE relative to the S&P 500.

05

Which is growing faster — ANET or HPE?

By revenue growth (latest reported year), Arista Networks, Inc.

(ANET) is pulling ahead at 28. 6% versus 14. 1% for Hewlett Packard Enterprise Company (HPE). On earnings-per-share growth, the picture is similar: Arista Networks, Inc. grew EPS 23. 3% year-over-year, compared to -102. 3% for Hewlett Packard Enterprise Company. Over a 3-year CAGR, ANET leads at 27. 1% annualised revenue growth. Higher growth typically commands a higher valuation multiple — check whether the premium P/E or P/S is justified by the growth rate using the PEG ratio.

06

Which has better profit margins — ANET or HPE?

Arista Networks, Inc.

(ANET) is the more profitable company, earning 39. 0% net margin versus 0. 2% for Hewlett Packard Enterprise Company — meaning it keeps 39. 0% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: ANET leads at 42. 8% versus 4. 8% for HPE. At the gross margin level — before operating expenses — ANET leads at 64. 1%, reflecting greater pricing power or product mix advantage. Stronger margins indicate durable pricing power, lower cost of revenue, or higher mix of software/services. They are one of the clearest signs of business quality.

07

Is ANET or HPE more undervalued right now?

On forward earnings alone, Hewlett Packard Enterprise Company (HPE) trades at 12.

6x forward P/E versus 41. 5x for Arista Networks, Inc. — 28. 9x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for ANET: 26. 7% to $186. 25.

08

Which pays a better dividend — ANET or HPE?

In this comparison, HPE (2.

0% yield) pays a dividend. ANET does not pay a meaningful dividend and should not be held primarily for income.

09

Is ANET or HPE better for a retirement portfolio?

For long-horizon retirement investors, Hewlett Packard Enterprise Company (HPE) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (2.

0% yield, +278. 2% 10Y return). Arista Networks, Inc. (ANET) carries a higher beta of 2. 15 — meaning larger drawdowns in market downturns, which matters significantly when you cannot wait years for a recovery. Both have compounded well over 10 years (HPE: +278. 2%, ANET: +34. 2%), confirming both are viable long-term holds — but the lower-volatility option typically results in less emotional selling during corrections. Retirement portfolios generally favour predictability over maximum returns. Consult a financial advisor before making allocation decisions.

10

What are the main differences between ANET and HPE?

Both stocks operate in the Technology sector, making this a peer-level intra-sector comparison — the same macro tailwinds and headwinds will affect both.

In terms of investment character: ANET is a mid-cap high-growth stock; HPE is a mid-cap quality compounder stock. HPE pays a dividend while ANET does not, making them suitable for different income and tax situations. These fundamental differences mean investors should not choose between them on a single metric — the "better stock" depends entirely on which of these characteristics aligns with your investment strategy.

Find Stocks Like These

Explore pre-built screens for each stock's profile, or build a custom screen to find stocks that outperform both.

Stocks Like

ANET

High-Growth Quality Leader

  • Sector: Technology
  • Market Cap > $100B
  • Revenue Growth > 17%
  • Net Margin > 22%
Run This Screen
Stocks Like

HPE

High-Growth Disruptor

  • Sector: Technology
  • Market Cap > $100B
  • Revenue Growth > 9%
  • Gross Margin > 18%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform ANET and HPE on the metrics below

Revenue Growth>
%
(ANET: 35.1% · HPE: 19.1%)

You Might Also Compare

Based on how these companies actually compete and overlap — not just which sector they're filed under.