Medical - Healthcare Information Services
Compare Stocks
4 / 10Stock Comparison
HQY vs GWRE vs PCTY vs WEX
Revenue, margins, valuation, and 5-year total return — side by side.
Software - Application
Software - Application
Software - Infrastructure
HQY vs GWRE vs PCTY vs WEX — Key Financials
Market cap, revenue, margins, and valuation side-by-side.
| Company Snapshot | ||||
|---|---|---|---|---|
| Industry | Medical - Healthcare Information Services | Software - Application | Software - Application | Software - 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 Margin | 69.5% | 63.8% | 69.3% | 57.4% |
| Operating Margin | 24.6% | 6.8% | 21.3% | 24.7% |
| Forward P/E | 21.2x | 39.7x | 14.0x | 7.4x |
| Total Debt | $44M | $716M | $218M | $4.86B |
| Cash & Equiv. | $319M | $699M | $398M | $906M |
HQY vs GWRE vs PCTY vs WEX — Long-Term Stock Performance
Price return indexed to 100 at period start. Dividends excluded.
| Stock | May 20 | May 26 | Return |
|---|---|---|---|
| HealthEquity, Inc. (HQY) | 100 | 135.5 | +35.5% |
| Guidewire Software,… (GWRE) | 100 | 136.1 | +36.1% |
| Paylocity Holding C… (PCTY) | 100 | 83.9 | -16.1% |
| WEX Inc. (WEX) | 100 | 97.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.
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
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%
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
WEX is the clearest fit if your priority is momentum.
- +19.0% vs PCTY's -40.6%
See the full category breakdown
| Category | Winner | Why |
|---|---|---|
| Growth | 22.6% revenue growth vs WEX's 1.2% | |
| Value | PEG 0.26 vs 0.50 | |
| Quality / Margins | 16.4% margin vs WEX's 11.5% | |
| Stability / Safety | Beta 0.43 vs WEX's 1.16, lower leverage | |
| Dividends | Tie | None of these 4 stocks pay a meaningful dividend |
| Momentum (1Y) | +19.0% vs PCTY's -40.6% | |
| Efficiency (ROA) | 7.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
HQY vs GWRE vs PCTY vs WEX — Financial Metrics
Side-by-side numbers across 4 stocks — who leads on profitability, valuation, growth, and risk.
Who Leads Where
HQY leads in 2 of 6 categories
WEX leads 1 • GWRE leads 1 • PCTY leads 0 • 1 tied
Explore the data ↓Income & Cash Flow (Last 12 Months)
HQY leads this category, winning 3 of 6 comparable metrics.
Income & Cash Flow (Last 12 Months)
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.
| Metric | ||||
|---|---|---|---|---|
| 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% |
Valuation Metrics
WEX leads this category, winning 4 of 7 comparable metrics.
Valuation 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.
| Metric | ||||
|---|---|---|---|---|
| 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 EPS | 34.14x | 172.32x | 27.14x | 17.03x |
| Forward P/EPrice ÷ next-FY EPS est. | 21.23x | 39.70x | 14.05x | 7.43x |
| PEG RatioP/E ÷ EPS growth rate | 0.41x | — | 0.96x | — |
| EV / EBITDAEnterprise value multiple | 21.29x | 182.26x | 14.25x | 8.89x |
| Price / SalesMarket cap ÷ Revenue | 5.44x | 9.81x | 3.72x | 1.88x |
| Price / BookPrice ÷ Book value/share | 3.49x | 8.23x | 5.00x | 4.20x |
| Price / FCFMarket cap ÷ FCF | 15.69x | 39.98x | 17.31x | 15.94x |
Profitability & Efficiency
HQY leads this category, winning 4 of 9 comparable metrics.
Profitability & Efficiency
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.
| Metric | ||||
|---|---|---|---|---|
| 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–9 | 9 | 7 | 8 | 5 |
| Debt / EquityFinancial leverage | 0.02x | 0.49x | 0.18x | 3.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 expense | 5.64x | 388.85x | 23.29x | 2.76x |
Total Returns (Dividends Reinvested)
GWRE leads this category, winning 3 of 6 comparable metrics.
Total Returns (Dividends Reinvested)
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.
| Metric | ||||
|---|---|---|---|---|
| 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% |
Risk & Volatility
Evenly matched — PCTY and WEX each lead in 1 of 2 comparable metrics.
Risk & Volatility
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.
| Metric | ||||
|---|---|---|---|---|
| Beta (5Y)Sensitivity to S&P 500 | 1.04x | 0.61x | 0.43x | 1.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–100 | 52.7 | 41.6 | 45.7 | 38.0 |
| Avg Volume (50D)Average daily shares traded | 876K | 1.4M | 733K | 518K |
Analyst Outlook
Insufficient data to determine a leader in this category.
Analyst Outlook
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).
| Metric | ||||
|---|---|---|---|---|
| Analyst RatingConsensus buy/hold/sell | Buy | Buy | Buy | Hold |
| Price TargetConsensus 12-month target | $109.89 | $245.17 | $168.08 | $177.67 |
| # AnalystsCovering analysts | 27 | 26 | 41 | 32 |
| Dividend YieldAnnual dividend ÷ price | — | — | — | — |
| Dividend StreakConsecutive years of raises | 2 | — | — | 2 |
| Dividend / ShareAnnual DPS | — | — | — | — |
| Buyback YieldShare repurchases ÷ mkt cap | +4.2% | 0.0% | +2.5% | +16.0% |
HQY leads in 2 of 6 categories (Income & Cash Flow, Profitability & Efficiency). WEX leads in 1 (Valuation Metrics). 1 tied.
HQY vs GWRE vs PCTY vs WEX: Key Questions Answered
10 questions · data-driven answers · updated daily
01Is 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.
02Which 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.
03Which 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.
04Which 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.
05Which 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.
06Which 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.
07Is 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.
08Which 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.
09Is 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.
10What 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.
You Might Also Compare
Based on how these companies actually compete and overlap — not just which sector they're filed under.