Compare Stocks

4 / 10
Try these comparisons:

Stock Comparison

HQY vs GWRE vs PCTY vs WEX

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

Live fundamentals10-year financials5-year price chart
HQY
HealthEquity, Inc.

Medical - Healthcare Information Services

HealthcareNASDAQ • US
Market Cap$7.14B
5Y Perf.+35.5%
GWRE
Guidewire Software, Inc.

Software - Application

TechnologyNYSE • US
Market Cap$11.80B
5Y Perf.+36.1%
PCTY
Paylocity Holding Corporation

Software - Application

TechnologyNASDAQ • US
Market Cap$5.93B
5Y Perf.-16.1%
WEX
WEX Inc.

Software - Infrastructure

TechnologyNYSE • US
Market Cap$5.00B
5Y Perf.-2.6%

HQY vs GWRE vs PCTY vs WEX — Key Financials

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

Company Snapshot
HQY logoHQY
GWRE logoGWRE
PCTY logoPCTY
WEX logoWEX
IndustryMedical - Healthcare Information ServicesSoftware - ApplicationSoftware - ApplicationSoftware - Infrastructure
Market Cap$7.14B$11.80B$5.93B$5.00B
Revenue (TTM)$1.31B$1.34B$1.73B$2.70B
Net Income (TTM)$215M$189M$258M$310M
Gross Margin69.5%63.8%69.3%57.4%
Operating Margin24.6%6.8%21.3%24.7%
Forward P/E21.2x39.7x14.0x7.4x
Total Debt$44M$716M$218M$4.86B
Cash & Equiv.$319M$699M$398M$906M

HQY vs GWRE vs PCTY vs WEXLong-Term Stock Performance

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

HQY
GWRE
PCTY
WEX
StockMay 20May 26Return
HealthEquity, Inc. (HQY)100135.5+35.5%
Guidewire Software,… (GWRE)100136.1+36.1%
Paylocity Holding C… (PCTY)10083.9-16.1%
WEX Inc. (WEX)10097.4-2.6%

Price return only. Dividends and distributions are not included.

Quick Verdict: HQY vs GWRE vs PCTY vs WEX

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

Bottom line: HQY and GWRE are tied at the top with 2 categories each — the right choice depends on your priorities. Guidewire Software, Inc. is the stronger pick specifically for growth and revenue expansion and operational efficiency and capital deployment. PCTY and WEX also each lead in at least one category. This set spans 2 sectors — these stocks serve different portfolio roles, not just different price points.
HQY
HealthEquity, Inc.
The Income Pick

HQY has the current edge in this matchup, primarily because of its strength in income & stability and long-term compounding.

  • Dividend streak 2 yrs, beta 1.04
  • 228.2% 10Y total return vs GWRE's 151.9%
  • PEG 0.26 vs PCTY's 0.50
  • PEG 0.26 vs 0.50
Best for: income & stability and long-term compounding
GWRE
Guidewire Software, Inc.
The Growth Play

GWRE is the #2 pick in this set and the best alternative if growth exposure is your priority.

  • Rev growth 22.6%, EPS growth 11.9%, 3Y rev CAGR 14.0%
  • 22.6% revenue growth vs WEX's 1.2%
  • 7.2% ROA vs WEX's 2.1%, ROIC 2.3% vs 9.6%
Best for: growth exposure
PCTY
Paylocity Holding Corporation
The Defensive Pick

PCTY is the clearest fit if your priority is sleep-well-at-night and defensive.

  • Lower volatility, beta 0.43, Low D/E 17.7%, current ratio 1.14x
  • Beta 0.43, current ratio 1.14x
  • Beta 0.43 vs WEX's 1.16, lower leverage
Best for: sleep-well-at-night and defensive
WEX
WEX Inc.
The Momentum Pick

WEX is the clearest fit if your priority is momentum.

  • +19.0% vs PCTY's -40.6%
Best for: momentum
See the full category breakdown
CategoryWinnerWhy
GrowthGWRE logoGWRE22.6% revenue growth vs WEX's 1.2%
ValueHQY logoHQYPEG 0.26 vs 0.50
Quality / MarginsHQY logoHQY16.4% margin vs WEX's 11.5%
Stability / SafetyPCTY logoPCTYBeta 0.43 vs WEX's 1.16, lower leverage
DividendsTieNone of these 4 stocks pay a meaningful dividend
Momentum (1Y)WEX logoWEX+19.0% vs PCTY's -40.6%
Efficiency (ROA)GWRE logoGWRE7.2% ROA vs WEX's 2.1%, ROIC 2.3% vs 9.6%

HQY vs GWRE vs PCTY vs WEX — Revenue Breakdown by Segment

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

HQYHealthEquity, Inc.
FY 2026
Financial Service, Other
48.5%$637M
Service
36.9%$485M
Credit and Debit Card
14.6%$192M
GWREGuidewire Software, Inc.
FY 2025
Subscription
55.5%$667M
Term License
20.9%$252M
Service
18.2%$219M
Support
5.3%$64M
Perpetual License
0.0%$118,000
PCTYPaylocity Holding Corporation
FY 2025
Recurring Fees
95.8%$1.4B
Nonrecurring Fees
4.2%$62M
WEXWEX Inc.
FY 2025
Payment Processing Revenue
42.9%$1.1B
Account Servicing Revenue
27.3%$726M
Product and Service, Other
17.7%$471M
Finance Fee Revenue
12.1%$321M

HQY vs GWRE vs PCTY vs WEX — Financial Metrics

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

BEST OVERALLHQYLAGGINGPCTY

Income & Cash Flow (Last 12 Months)

HQY leads this category, winning 3 of 6 comparable metrics.

WEX is the larger business by revenue, generating $2.7B annually — 2.1x HQY's $1.3B. Profitability is closely matched — net margins range from 16.4% (HQY) to 11.5% (WEX). On growth, GWRE holds the edge at +24.0% YoY revenue growth, suggesting stronger near-term business momentum.

MetricHQY logoHQYHealthEquity, Inc.GWRE logoGWREGuidewire Softwar…PCTY logoPCTYPaylocity Holding…WEX logoWEXWEX Inc.
RevenueTrailing 12 months$1.3B$1.3B$1.7B$2.7B
EBITDAEarnings before interest/tax$322M$103M$394M$952M
Net IncomeAfter-tax profit$215M$189M$258M$310M
Free Cash FlowCash after capex$439M$310M$470M$460M
Gross MarginGross profit ÷ Revenue+69.5%+63.8%+69.3%+57.4%
Operating MarginEBIT ÷ Revenue+24.6%+6.8%+21.3%+24.7%
Net MarginNet income ÷ Revenue+16.4%+14.1%+14.9%+11.5%
FCF MarginFCF ÷ Revenue+33.4%+23.1%+27.2%+17.0%
Rev. Growth (YoY)Latest quarter vs prior year+7.3%+24.0%+10.5%+5.8%
EPS Growth (YoY)Latest quarter vs prior year+93.3%+2.6%+26.7%+22.7%
HQY leads this category, winning 3 of 6 comparable metrics.

Valuation Metrics

WEX leads this category, winning 4 of 7 comparable metrics.

At 17.0x trailing earnings, WEX trades at a 90% valuation discount to GWRE's 172.3x P/E. Adjusting for growth (PEG ratio), HQY offers better value at 0.41x vs PCTY's 0.96x — a lower PEG means you pay less per unit of expected earnings growth.

MetricHQY logoHQYHealthEquity, Inc.GWRE logoGWREGuidewire Softwar…PCTY logoPCTYPaylocity Holding…WEX logoWEXWEX Inc.
Market CapShares × price$7.1B$11.8B$5.9B$5.0B
Enterprise ValueMkt cap + debt − cash$6.9B$11.8B$5.8B$9.0B
Trailing P/EPrice ÷ TTM EPS34.14x172.32x27.14x17.03x
Forward P/EPrice ÷ next-FY EPS est.21.23x39.70x14.05x7.43x
PEG RatioP/E ÷ EPS growth rate0.41x0.96x
EV / EBITDAEnterprise value multiple21.29x182.26x14.25x8.89x
Price / SalesMarket cap ÷ Revenue5.44x9.81x3.72x1.88x
Price / BookPrice ÷ Book value/share3.49x8.23x5.00x4.20x
Price / FCFMarket cap ÷ FCF15.69x39.98x17.31x15.94x
WEX leads this category, winning 4 of 7 comparable metrics.

Profitability & Efficiency

HQY leads this category, winning 4 of 9 comparable metrics.

WEX delivers a 27.0% return on equity — every $100 of shareholder capital generates $27 in annual profit, vs $10 for HQY. HQY carries lower financial leverage with a 0.02x debt-to-equity ratio, signaling a more conservative balance sheet compared to WEX's 3.94x. On the Piotroski fundamental quality scale (0–9), HQY scores 9/9 vs WEX's 5/9, reflecting strong financial health.

MetricHQY logoHQYHealthEquity, Inc.GWRE logoGWREGuidewire Softwar…PCTY logoPCTYPaylocity Holding…WEX logoWEXWEX Inc.
ROE (TTM)Return on equity+10.1%+12.9%+22.4%+27.0%
ROA (TTM)Return on assets+6.3%+7.2%+4.9%+2.1%
ROICReturn on invested capital+10.2%+2.3%+26.2%+9.6%
ROCEReturn on capital employed+9.8%+2.3%+23.3%+13.4%
Piotroski ScoreFundamental quality 0–99785
Debt / EquityFinancial leverage0.02x0.49x0.18x3.94x
Net DebtTotal debt minus cash-$275M$17M-$180M$4.0B
Cash & Equiv.Liquid assets$319M$699M$398M$906M
Total DebtShort + long-term debt$44M$716M$218M$4.9B
Interest CoverageEBIT ÷ Interest expense5.64x388.85x23.29x2.76x
HQY leads this category, winning 4 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

GWRE leads this category, winning 3 of 6 comparable metrics.

A $10,000 investment in GWRE five years ago would be worth $14,142 today (with dividends reinvested), compared to $6,478 for PCTY. Over the past 12 months, WEX leads with a +19.0% total return vs PCTY's -40.6%. The 3-year compound annual growth rate (CAGR) favors GWRE at 21.6% vs PCTY's -14.3% — a key indicator of consistent wealth creation.

MetricHQY logoHQYHealthEquity, Inc.GWRE logoGWREGuidewire Softwar…PCTY logoPCTYPaylocity Holding…WEX logoWEXWEX Inc.
YTD ReturnYear-to-date-7.8%-25.6%-25.1%-2.8%
1-Year ReturnPast 12 months-8.4%-34.5%-40.6%+19.0%
3-Year ReturnCumulative with dividends+56.0%+79.6%-37.1%-18.2%
5-Year ReturnCumulative with dividends+12.7%+41.4%-35.2%-26.5%
10-Year ReturnCumulative with dividends+228.2%+151.9%+218.2%+60.9%
CAGR (3Y)Annualised 3-year return+16.0%+21.6%-14.3%-6.5%
GWRE leads this category, winning 3 of 6 comparable metrics.

Risk & Volatility

Evenly matched — PCTY and WEX each lead in 1 of 2 comparable metrics.

PCTY is the less volatile stock with a 0.43 beta — it tends to amplify market swings less than WEX's 1.16 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. WEX currently trades 77.2% from its 52-week high vs GWRE's 51.2% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricHQY logoHQYHealthEquity, Inc.GWRE logoGWREGuidewire Softwar…PCTY logoPCTYPaylocity Holding…WEX logoWEXWEX Inc.
Beta (5Y)Sensitivity to S&P 5001.04x0.61x0.43x1.16x
52-Week HighHighest price in past year$116.65$272.60$201.97$186.85
52-Week LowLowest price in past year$72.90$115.57$92.99$120.03
% of 52W HighCurrent price vs 52-week peak+72.0%+51.2%+54.0%+77.2%
RSI (14)Momentum oscillator 0–10052.741.645.738.0
Avg Volume (50D)Average daily shares traded876K1.4M733K518K
Evenly matched — PCTY and WEX each lead in 1 of 2 comparable metrics.

Analyst Outlook

Insufficient data to determine a leader in this category.

Analyst consensus: HQY as "Buy", GWRE as "Buy", PCTY as "Buy", WEX as "Hold". Consensus price targets imply 75.6% upside for GWRE (target: $245) vs 23.2% for WEX (target: $178).

MetricHQY logoHQYHealthEquity, Inc.GWRE logoGWREGuidewire Softwar…PCTY logoPCTYPaylocity Holding…WEX logoWEXWEX Inc.
Analyst RatingConsensus buy/hold/sellBuyBuyBuyHold
Price TargetConsensus 12-month target$109.89$245.17$168.08$177.67
# AnalystsCovering analysts27264132
Dividend YieldAnnual dividend ÷ price
Dividend StreakConsecutive years of raises22
Dividend / ShareAnnual DPS
Buyback YieldShare repurchases ÷ mkt cap+4.2%0.0%+2.5%+16.0%
Insufficient data to determine a leader in this category.
Key Takeaway

HQY leads in 2 of 6 categories (Income & Cash Flow, Profitability & Efficiency). WEX leads in 1 (Valuation Metrics). 1 tied.

Best OverallHealthEquity, Inc. (HQY)Leads 2 of 6 categories
Loading custom metrics...

HQY vs GWRE vs PCTY vs WEX: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is HQY or GWRE or PCTY or WEX a better buy right now?

For growth investors, Guidewire Software, Inc.

(GWRE) is the stronger pick with 22. 6% revenue growth year-over-year, versus 1. 2% for WEX Inc. (WEX). WEX Inc. (WEX) offers the better valuation at 17. 0x trailing P/E (7. 4x forward), making it the more compelling value choice. Analysts rate HealthEquity, Inc. (HQY) a "Buy" — based on 27 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 — HQY or GWRE or PCTY or WEX?

On trailing P/E, WEX Inc.

(WEX) is the cheapest at 17. 0x versus Guidewire Software, Inc. at 172. 3x. On forward P/E, WEX Inc. is actually cheaper at 7. 4x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: HealthEquity, Inc. wins at 0. 26x versus Paylocity Holding Corporation's 0. 50x — a PEG below 1. 0 traditionally signals the market is underpricing earnings growth.

03

Which is the better long-term investment — HQY or GWRE or PCTY or WEX?

Over the past 5 years, Guidewire Software, Inc.

(GWRE) delivered a total return of +41. 4%, compared to -35. 2% for Paylocity Holding Corporation (PCTY). Over 10 years, the gap is even starker: HQY returned +228. 2% versus WEX's +60. 9%. 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 — HQY or GWRE or PCTY or WEX?

By beta (market sensitivity over 5 years), Paylocity Holding Corporation (PCTY) is the lower-risk stock at 0.

43β versus WEX Inc. 's 1. 16β — meaning WEX is approximately 171% more volatile than PCTY relative to the S&P 500. On balance sheet safety, HealthEquity, Inc. (HQY) carries a lower debt/equity ratio of 2% versus 4% for WEX Inc. — giving it more financial flexibility in a downturn.

05

Which is growing faster — HQY or GWRE or PCTY or WEX?

By revenue growth (latest reported year), Guidewire Software, Inc.

(GWRE) is pulling ahead at 22. 6% versus 1. 2% for WEX Inc. (WEX). On earnings-per-share growth, the picture is similar: Guidewire Software, Inc. grew EPS 1192% year-over-year, compared to 10. 7% for Paylocity Holding Corporation. Over a 3-year CAGR, PCTY leads at 23. 2% 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 — HQY or GWRE or PCTY or WEX?

HealthEquity, Inc.

(HQY) is the more profitable company, earning 16. 4% net margin versus 5. 8% for Guidewire Software, Inc. — meaning it keeps 16. 4% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: WEX leads at 25. 4% versus 3. 4% for GWRE. At the gross margin level — before operating expenses — HQY leads at 69. 5%, 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 HQY or GWRE or PCTY or WEX more undervalued right now?

The PEG ratio (forward P/E divided by expected earnings growth rate) is the most precise measure of undervaluation relative to growth potential.

By this metric, HealthEquity, Inc. (HQY) is the more undervalued stock at a PEG of 0. 26x versus Paylocity Holding Corporation's 0. 50x. A PEG below 1. 0 is traditionally considered the threshold for growth-adjusted undervaluation. On forward earnings alone, WEX Inc. (WEX) trades at 7. 4x forward P/E versus 39. 7x for Guidewire Software, Inc. — 32. 3x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for GWRE: 75. 6% to $245. 17.

08

Which pays a better dividend — HQY or GWRE or PCTY or WEX?

None of the stocks in this comparison currently pay a material dividend.

All are effectively zero-yield and should be held for capital appreciation rather than income.

09

Is HQY or GWRE or PCTY or WEX better for a retirement portfolio?

For long-horizon retirement investors, Paylocity Holding Corporation (PCTY) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0.

43), +218. 2% 10Y return). Both have compounded well over 10 years (PCTY: +218. 2%, WEX: +60. 9%), 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 HQY and GWRE and PCTY and WEX?

These companies operate in different sectors (HQY (Healthcare) and GWRE (Technology) and PCTY (Technology) and WEX (Technology)), which means they face different economic cycles, regulatory environments, and macro sensitivities — making direct comparison nuanced.

In terms of investment character: HQY is a small-cap quality compounder stock; GWRE is a mid-cap high-growth stock; PCTY is a small-cap quality compounder stock; WEX is a small-cap deep-value stock. 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 all of them.

Stocks Like

HQY

Steady Growth Compounder

  • Sector: Healthcare
  • Market Cap > $100B
  • Revenue Growth > 5%
  • Net Margin > 9%
Run This Screen
Stocks Like

GWRE

High-Growth Compounder

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

PCTY

Steady Growth Compounder

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

WEX

Steady Growth Compounder

  • Sector: Technology
  • Market Cap > $100B
  • Revenue Growth > 5%
  • Net Margin > 6%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform HQY and GWRE and PCTY and WEX on the metrics below

Revenue Growth>
%
(HQY: 7.3% · GWRE: 24.0%)
Net Margin>
%
(HQY: 16.4% · GWRE: 14.1%)
P/E Ratio<
x
(HQY: 34.1x · GWRE: 172.3x)

You Might Also Compare

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