Comprehensive Stock Comparison
Compare WEX Inc. (WEX) vs Affirm Holdings, Inc. (AFRM) Stock
Analyze side-by-side fundamentals, valuation, growth, and profitability to decide which stock is the better buy.
Selected Stocks
Add up to 10 tickers. Use presets or search to get started.
Quick Verdict
| Category | Winner | Why |
|---|---|---|
| Growth | AFRM | 38.8% revenue growth vs WEX's 3.1% |
| Value | WEX | Lower P/E (8.5x vs 43.6x) |
| Quality / Margins | WEX | 10.8% net margin vs AFRM's 9.7% |
| Stability / Safety | WEX | Beta 1.56 vs AFRM's 2.41 |
| Dividends | Tie | Neither pays a meaningful dividend |
| Momentum (1Y) | WEX | -5.0% vs AFRM's -26.8% |
| Efficiency (ROA) | AFRM | 2.2% ROA vs WEX's 2.0%, ROIC -0.7% vs 10.2% |
Who Each Stock Is For
Income & stability
Growth exposure
Long-term compounding (10Y)
Sleep-well-at-night portfolio
Defensive / Recession hedge
Business Model
What each company does and how it makes money
WEX is a financial technology company that provides payment processing and expense management solutions for fleets, travel, and corporate spending. It generates revenue primarily from transaction fees across its three segments — Fleet Solutions (~60% of revenue), Travel and Corporate Solutions (~25%), and Health and Employee Benefit Solutions (~15%). The company's moat lies in its entrenched position with large commercial fleets and complex payment ecosystems that are difficult for competitors to replicate.
Affirm operates a buy-now-pay-later platform that enables consumers to split purchases into installment payments at online and physical retailers. It generates revenue primarily from merchant fees — typically 3-6% of transaction value — and interest income from longer-term loans to consumers. Its key advantage is a transparent, fee-free model that builds consumer trust and a growing merchant network that creates a two-sided marketplace effect.
Revenue Breakdown by Segment
How each company's revenue is distributed across its business units
Financial Metrics Comparison
Side-by-side fundamentals across 2 stocks. BestLagging
Financial Scorecard
WEX leads in 5 of 6 categories — strongest in Financial Metrics and Valuation Metrics.
Financial Metrics (TTM)
AFRM and WEX operate at a comparable scale, with $2.9B and $2.6B in trailing revenue. Profitability is closely matched — net margins range from 10.8% (WEX) to 9.7% (AFRM). On growth, WEX holds the edge at +4.0% YoY revenue growth, suggesting stronger near-term business momentum.
| Metric | WEXWEX Inc. | AFRMAffirm Holdings, … |
|---|---|---|
| RevenueTrailing 12 months | $2.6B | $2.9B |
| EBITDAEarnings before interest/tax | $941M | $420M |
| Net IncomeAfter-tax profit | $284M | $282M |
| Free Cash FlowCash after capex | $643M | $619M |
| Gross MarginGross profit ÷ Revenue | +59.1% | +59.5% |
| Operating MarginEBIT ÷ Revenue | +25.0% | +7.9% |
| Net MarginNet income ÷ Revenue | +10.8% | +9.7% |
| FCF MarginFCF ÷ Revenue | +24.5% | +21.2% |
| Rev. Growth (YoY)Latest quarter vs prior year | +4.0% | -62.1% |
| EPS Growth (YoY)Latest quarter vs prior year | -8.7% | +60.9% |
Valuation Metrics
At 19.9x trailing earnings, WEX trades at a 94% valuation discount to AFRM's 313.2x P/E. On an enterprise value basis, WEX's 8.9x EV/EBITDA is more attractive than AFRM's 158.0x.
| Metric | WEXWEX Inc. | AFRMAffirm Holdings, … |
|---|---|---|
| Market CapShares × price | $5.1B | $15.3B |
| Enterprise ValueMkt cap + debt − cash | $9.0B | $21.8B |
| Trailing P/EPrice ÷ TTM EPS | 19.89x | 313.20x |
| Forward P/EPrice ÷ next-FY EPS est. | 8.51x | 43.63x |
| PEG RatioP/E ÷ EPS growth rate | 1.23x | — |
| EV / EBITDAEnterprise value multiple | 8.90x | 158.00x |
| Price / SalesMarket cap ÷ Revenue | 1.95x | 4.74x |
| Price / BookPrice ÷ Book value/share | 4.14x | 5.22x |
| Price / FCFMarket cap ÷ FCF | 15.32x | 25.38x |
Profitability & Efficiency
WEX delivers a 25.4% return on equity — every $100 of shareholder capital generates $25 in annual profit, vs $8 for AFRM. AFRM carries lower financial leverage with a 2.56x debt-to-equity ratio, signaling a more conservative balance sheet compared to WEX's 2.99x.
| Metric | WEXWEX Inc. | AFRMAffirm Holdings, … |
|---|---|---|
| ROE (TTM)Return on equity | +25.4% | +8.0% |
| ROA (TTM)Return on assets | +2.0% | +2.2% |
| ROICReturn on invested capital | +10.2% | -0.7% |
| ROCEReturn on capital employed | +13.3% | -0.9% |
| Piotroski ScoreFundamental quality 0–9 | 6 | 6 |
| Debt / EquityFinancial leverage | 2.99x | 2.56x |
| Net DebtTotal debt minus cash | $3.9B | $6.5B |
| Cash & Equiv.Liquid assets | $596M | $1.4B |
| Total DebtShort + long-term debt | $4.4B | $7.9B |
| Interest CoverageEBIT ÷ Interest expense | 2.63x | 1.49x |
Total Returns (with DRIP)
A $10,000 investment in WEX five years ago would be worth $6,971 today (with dividends reinvested), compared to $5,138 for AFRM. Over the past 12 months, WEX leads with a -5.0% total return vs AFRM's -26.8%. The 3-year compound annual growth rate (CAGR) favors AFRM at 51.1% vs WEX's -8.2% — a key indicator of consistent wealth creation.
| Metric | WEXWEX Inc. | AFRMAffirm Holdings, … |
|---|---|---|
| YTD ReturnYear-to-date | +0.5% | -36.5% |
| 1-Year ReturnPast 12 months | -5.0% | -26.8% |
| 3-Year ReturnCumulative with dividends | -22.6% | +244.9% |
| 5-Year ReturnCumulative with dividends | -30.3% | -48.6% |
| 10-Year ReturnCumulative with dividends | +128.5% | -51.7% |
| CAGR (3Y)Annualised 3-year return | -8.2% | +51.1% |
Risk & Volatility
WEX is the less volatile stock with a 1.56 beta — it tends to amplify market swings less than AFRM's 2.41 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. WEX currently trades 82.6% from its 52-week high vs AFRM's 47.0% drawdown — a narrower gap to the peak suggests stronger recent price momentum.
| Metric | WEXWEX Inc. | AFRMAffirm Holdings, … |
|---|---|---|
| Beta (5Y)Sensitivity to S&P 500 | 1.56x | 2.41x |
| 52-Week HighHighest price in past year | $180.71 | $100.00 |
| 52-Week LowLowest price in past year | $110.45 | $30.90 |
| % of 52W HighCurrent price vs 52-week peak | +82.6% | +47.0% |
| RSI (14)Momentum oscillator 0–100 | 45.4 | 34.4 |
| Avg Volume (50D)Average daily shares traded | 358K | 5.3M |
Analyst Outlook
Wall Street rates WEX as "Hold" and AFRM as "Buy". Consensus price targets imply 79.7% upside for AFRM (target: $84) vs 13.8% for WEX (target: $170).
| Metric | WEXWEX Inc. | AFRMAffirm Holdings, … |
|---|---|---|
| Analyst RatingConsensus buy/hold/sell | Hold | Buy |
| Price TargetConsensus 12-month target | $169.80 | $84.40 |
| # AnalystsCovering analysts | 32 | 32 |
| Dividend YieldAnnual dividend ÷ price | — | — |
| Dividend StreakConsecutive years of raises | 2 | — |
| Dividend / ShareAnnual DPS | — | — |
| Buyback YieldShare repurchases ÷ mkt cap | +12.7% | +1.6% |
Historical Charts
Charts are rendered on first load. Hover for details.
Chart 1Total Return — 5 Years (Rebased to 100)
| Stock | Feb 21 | Feb 26 | Change |
|---|---|---|---|
| WEX Inc. (WEX) | 100 | 78.23 | -21.8% |
| Affirm Holdings, In… (AFRM) | 110.66 | 63.75 | -42.4% |
WEX Inc. (WEX) returned -30% over 5 years vs Affirm Holdings, In… (AFRM)'s -49%.
Chart 2Revenue Growth — 10 Years
| Stock | 2016 | 2025 | Change |
|---|---|---|---|
| WEX Inc. (WEX) | $1.0B | $2.6B | +159.6% |
| Affirm Holdings, In… (AFRM) | $264M | $3.2B | +1119.7% |
Chart 3Net Margin Trend — 10 Years
| Stock | 2016 | 2025 | Change |
|---|---|---|---|
| WEX Inc. (WEX) | 2.3% | 11.8% | +407.6% |
| Affirm Holdings, In… (AFRM) | -45.6% | 1.6% | +103.6% |
Chart 4P/E Ratio History — 7 Years
| Stock | 2017 | 2024 | Change |
|---|---|---|---|
| WEX Inc. (WEX) | 37.9 | 23.4 | -38.3% |
WEX Inc. has traded in a 23x–59x P/E range over 7 years; current trailing P/E is ~20x.
Chart 5EPS Growth — 10 Years
| Stock | 2016 | 2025 | Change |
|---|---|---|---|
| WEX Inc. (WEX) | 1.48 | 7.5 | +406.8% |
| Affirm Holdings, In… (AFRM) | -0.47 | 0.15 | +131.9% |
Chart 6Free Cash Flow — 5 Years
WEX Inc. generated $334M FCF in 2024 (+419% vs 2021). Affirm Holdings, Inc. generated $602M FCF in 2025 (+382% vs 2021).
WEX vs AFRM: Frequently Asked Questions
9 questions · data-driven answers · updated daily
01Is WEX or AFRM a better buy right now?
WEX Inc. (WEX) offers the better valuation at 19.9x trailing P/E (8.5x forward), making it the more compelling value choice. Analysts rate Affirm Holdings, Inc. (AFRM) a "Buy" — based on 32 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 — WEX or AFRM?
On trailing P/E, WEX Inc. (WEX) is the cheapest at 19.9x versus Affirm Holdings, Inc. at 313.2x. On forward P/E, WEX Inc. is actually cheaper at 8.5x.
03Which is the better long-term investment — WEX or AFRM?
Over the past 5 years, WEX Inc. (WEX) delivered a total return of -30.3%, compared to -48.6% for Affirm Holdings, Inc. (AFRM). A $10,000 investment in WEX five years ago would be worth approximately $7K today (assuming dividends reinvested). Over 10 years, the gap is even starker: WEX returned +128.5% versus AFRM's -51.7%. 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 — WEX or AFRM?
By beta (market sensitivity over 5 years), WEX Inc. (WEX) is the lower-risk stock at 1.56β versus Affirm Holdings, Inc.'s 2.41β — meaning AFRM is approximately 54% more volatile than WEX relative to the S&P 500. On balance sheet safety, Affirm Holdings, Inc. (AFRM) carries a lower debt/equity ratio of 3% versus 3% for WEX Inc. — giving it more financial flexibility in a downturn.
05Which has better profit margins — WEX or AFRM?
WEX Inc. (WEX) is the more profitable company, earning 11.8% net margin versus 1.6% for Affirm Holdings, Inc. — meaning it keeps 11.8% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: WEX leads at 26.1% versus -2.7% for AFRM. At the gross margin level — before operating expenses — AFRM leads at 67.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.
06Is WEX or AFRM more undervalued right now?
On forward earnings alone, WEX Inc. (WEX) trades at 8.5x forward P/E versus 43.6x for Affirm Holdings, Inc. — 35.1x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for AFRM: 79.7% to $84.40.
07Which pays a better dividend — WEX or AFRM?
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.
08Is WEX or AFRM better for a retirement portfolio?
For long-horizon retirement investors, WEX Inc. (WEX) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (+128.5% 10Y return). Affirm Holdings, Inc. (AFRM) carries a higher beta of 2.41 — meaning larger drawdowns in market downturns, which matters significantly when you cannot wait years for a recovery. Both have compounded well over 10 years (WEX: +128.5%, AFRM: -51.7%), 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.
09What are the main differences between WEX and AFRM?
Both stocks operate in the Technology sector, making this a peer-level intra-sector comparison — the same macro tailwinds and headwinds will affect both. 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 beat both.