Comprehensive Stock Comparison

Compare Affirm Holdings, Inc. (AFRM) vs Block, Inc. (XYZ) vs Corpay, Inc. (CPAY) vs Toast, Inc. (TOST) vs Joint Stock Company Kaspi.kz (KSPI) Stock

Analyze side-by-side fundamentals, valuation, growth, and profitability to decide which stock is the better buy.

Tickers 5 / 10100+ Metrics

Selected Stocks

Add up to 10 tickers. Use presets or search to get started.

5 / 10
Try these comparisons:

Quick Verdict

CategoryWinnerWhy
GrowthAFRM38.8% revenue growth vs XYZ's 0.3%
ValueKSPILower P/E (0.0x vs 22.4x)
Quality / MarginsKSPI30.3% net margin vs XYZ's 5.4%
Stability / SafetyKSPIBeta 0.97 vs AFRM's 2.41, lower leverage
DividendsKSPI9.6% yield; 2-year raise streak; AFRM, XYZ, CPAY, TOST pay no meaningful dividend
Momentum (1Y)XYZ-2.5% vs KSPI's -32.6%
Efficiency (ROA)TOST10.9% ROA vs AFRM's 2.2%, ROIC 30.8% vs -0.7%
Bottom line: KSPI leads in 4 of 7 categories, making it the stronger pick for investors who prioritize valuation and capital efficiency and profitability and margin quality. Affirm Holdings, Inc. is the better choice for growth and revenue expansion. As direct sector peers, they can serve as alternatives in the same portfolio allocation.

Who Each Stock Is For

Income & stability

Growth exposure

Long-term compounding (10Y)

Sleep-well-at-night portfolio

Valuation efficiency (growth/$)

Defensive / Recession hedge

Business Model

What each company does and how it makes money

AFRMAffirm Holdings, Inc.
Technology

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.

XYZBlock, Inc.
Technology

Block is a financial technology company that provides payment processing and business software tools primarily for small and medium-sized businesses. It generates revenue primarily from transaction fees on payment processing — about 90% of total revenue — with additional income from subscription services, hardware sales, and banking services like Cash App. The company's key advantage is its integrated ecosystem that combines payment hardware, software, and banking services, creating network effects and high switching costs for merchants.

CPAYCorpay, Inc.
Technology

Corpay is a global payments company that helps businesses manage vehicle-related expenses, corporate payments, and lodging costs. It generates revenue primarily through transaction fees from its vehicle payment solutions — fuel, tolls, and fleet maintenance — and corporate payment automation services, with its cross-border and virtual card products forming significant segments. The company's competitive advantage lies in its specialized vertical expertise in complex business payments and its established network of merchants and fuel providers across multiple countries.

TOSTToast, Inc.
Technology

Toast is a cloud-based restaurant management platform that provides point-of-sale systems, payment processing, and operational software to eateries. It generates revenue primarily through subscription fees for its software platform (about 25% of revenue) and payment processing fees from restaurant transactions (roughly 70% of revenue). The company's competitive advantage lies in its integrated ecosystem—combining hardware, software, and payments—which creates high switching costs for restaurants once they adopt the full Toast system.

KSPIJoint Stock Company Kaspi.kz
Technology

Kaspi.kz is a Kazakh fintech super-app that combines payments, e-commerce, and financial services in a single mobile platform. It generates revenue primarily from transaction fees on its payments platform (~60%), marketplace commissions (~25%), and interest income from its fintech lending products (~15%). Its key advantage is network effects from its dominant payments ecosystem—which drives user engagement across its marketplace and financial services—creating a powerful digital ecosystem moat in Kazakhstan.

Revenue Breakdown by Segment

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

AFRMAffirm Holdings, Inc.
FY 2025
Merchant Network
79.2%$883M
Virtual Card Network
20.8%$231M
XYZBlock, Inc.
FY 2025
Financial Solutions
100.0%$4.2B
CPAYCorpay, Inc.
FY 2024
Payments
54.0%$2.0B
Corporate Payments
32.9%$1.2B
Lodging
13.1%$489M
TOSTToast, Inc.
FY 2024
Technology Service
85.2%$4.1B
License
14.8%$706M
KSPIJoint Stock Company Kaspi.kz

Segment breakdown not available.

Financial Metrics Comparison

Side-by-side fundamentals across 5 stocks. BestLagging

Financial Scorecard

KSPI 2AFRM 0XYZ 0CPAY 0TOST 0
Financial MetricsKSPI3/6 metrics
Valuation MetricsKSPI4/7 metrics
Profitability & EfficiencyTie4/9 metrics
Total ReturnsTie2/6 metrics
Risk & VolatilityTie1/2 metrics
Analyst Outlook0/0 metrics

KSPI leads in 2 of 6 categories — strongest in Financial Metrics and Valuation Metrics. 3 categories are tied.

Financial Metrics (TTM)

KSPI is the larger business by revenue, generating $3.63T annually — 1241.2x AFRM's $2.9B. KSPI is the more profitable business, keeping 30.3% of every revenue dollar as net income compared to XYZ's 5.4%. On growth, KSPI holds the edge at +70.1% YoY revenue growth, suggesting stronger near-term business momentum.

MetricAFRMAffirm Holdings, …XYZBlock, Inc.CPAYCorpay, Inc.TOSTToast, Inc.KSPIJoint Stock Compa…
RevenueTrailing 12 months$2.9B$24.2B$4.3B$6.2B$3.63T
EBITDAEarnings before interest/tax$420M$1.7B$2.3B$361M$1.89T
Net IncomeAfter-tax profit$282M$1.3B$1.1B$342M$1.10T
Free Cash FlowCash after capex$619M$2.4B$1.1B$608M$502.0B
Gross MarginGross profit ÷ Revenue+59.5%+42.8%+76.1%+25.8%+64.3%
Operating MarginEBIT ÷ Revenue+7.9%+7.1%+44.5%+4.8%+51.3%
Net MarginNet income ÷ Revenue+9.7%+5.4%+24.4%+5.6%+30.3%
FCF MarginFCF ÷ Revenue+21.2%+10.0%+26.5%+9.9%+13.8%
Rev. Growth (YoY)Latest quarter vs prior year-62.1%+3.6%+13.9%+22.0%+70.1%
EPS Growth (YoY)Latest quarter vs prior year+60.9%-93.8%+0.3%+190.9%+3.4%
KSPI leads this category, winning 3 of 6 comparable metrics.

Valuation Metrics

At 6.5x trailing earnings, KSPI trades at a 98% valuation discount to AFRM's 313.2x P/E. Adjusting for growth (PEG ratio), KSPI offers better value at 0.16x vs CPAY's 3.30x — a lower PEG means you pay less per unit of expected earnings growth.

MetricAFRMAffirm Holdings, …XYZBlock, Inc.CPAYCorpay, Inc.TOSTToast, Inc.KSPIJoint Stock Compa…
Market CapShares × price$15.3B$38.4B$22.8B$14.3B$13.5B
Enterprise ValueMkt cap + debt − cash$21.8B$39.1B$29.3B$13.0B$12.7B
Trailing P/EPrice ÷ TTM EPS313.20x30.33x23.27x48.77x6.46x
Forward P/EPrice ÷ next-FY EPS est.43.63x19.00x12.50x22.38x0.01x
PEG RatioP/E ÷ EPS growth rate0.83x3.30x0.16x
EV / EBITDAEnterprise value multiple158.00x22.87x13.68x34.87x4.96x
Price / SalesMarket cap ÷ Revenue4.74x1.59x5.74x2.32x2.66x
Price / BookPrice ÷ Book value/share5.22x1.79x7.42x7.80x4.27x
Price / FCFMarket cap ÷ FCF25.38x15.82x12.92x23.49x13.78x
KSPI leads this category, winning 4 of 7 comparable metrics.

Profitability & Efficiency

KSPI delivers a 46.9% return on equity — every $100 of shareholder capital generates $47 in annual profit, vs $6 for XYZ. TOST carries lower financial leverage with a 0.02x debt-to-equity ratio, signaling a more conservative balance sheet compared to AFRM's 2.56x. On the Piotroski fundamental quality scale (0–9), TOST scores 7/9 vs CPAY's 4/9, reflecting strong financial health.

MetricAFRMAffirm Holdings, …XYZBlock, Inc.CPAYCorpay, Inc.TOSTToast, Inc.KSPIJoint Stock Compa…
ROE (TTM)Return on equity+8.0%+5.9%+25.5%+16.1%+46.9%
ROA (TTM)Return on assets+2.2%+3.3%+5.3%+10.9%+10.6%
ROICReturn on invested capital-0.7%+6.4%+14.7%+30.8%+113.5%
ROCEReturn on capital employed-0.9%+6.0%+20.0%+15.9%+92.5%
Piotroski ScoreFundamental quality 0–966475
Debt / EquityFinancial leverage2.56x0.33x2.54x0.02x0.14x
Net DebtTotal debt minus cash$6.5B$725M$6.4B-$1.3B-$398.0B
Cash & Equiv.Liquid assets$1.4B$6.6B$1.6B$1.4B$619.5B
Total DebtShort + long-term debt$7.9B$7.3B$8.0B$40M$221.5B
Interest CoverageEBIT ÷ Interest expense1.49x13.21x4.97x7.20x
Evenly matched — TOST and KSPI each lead in 4 of 9 comparable metrics.

Total Returns (with DRIP)

A $10,000 investment in CPAY five years ago would be worth $11,508 today (with dividends reinvested), compared to $2,643 for XYZ. Over the past 12 months, XYZ leads with a -2.5% total return vs KSPI's -32.6%. The 3-year compound annual growth rate (CAGR) favors AFRM at 51.1% vs XYZ's -6.0% — a key indicator of consistent wealth creation.

MetricAFRMAffirm Holdings, …XYZBlock, Inc.CPAYCorpay, Inc.TOSTToast, Inc.KSPIJoint Stock Compa…
YTD ReturnYear-to-date-36.5%-2.2%+8.2%-19.7%-9.0%
1-Year ReturnPast 12 months-26.8%-2.5%-11.4%-29.2%-32.6%
3-Year ReturnCumulative with dividends+244.9%-17.0%+51.4%+44.3%-12.1%
5-Year ReturnCumulative with dividends-48.6%-73.6%+15.1%-56.3%-5.5%
10-Year ReturnCumulative with dividends-51.7%+510.2%+154.6%-56.3%-3.2%
CAGR (3Y)Annualised 3-year return+51.1%-6.0%+14.8%+13.0%-4.2%
Evenly matched — AFRM and XYZ and CPAY each lead in 2 of 6 comparable metrics.

Risk & Volatility

KSPI is the less volatile stock with a 0.97 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. CPAY currently trades 86.6% from its 52-week high vs AFRM's 47.0% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricAFRMAffirm Holdings, …XYZBlock, Inc.CPAYCorpay, Inc.TOSTToast, Inc.KSPIJoint Stock Compa…
Beta (5Y)Sensitivity to S&P 5002.41x1.59x1.46x1.51x0.97x
52-Week HighHighest price in past year$100.00$82.50$375.61$49.66$105.85
52-Week LowLowest price in past year$30.90$44.27$252.84$24.35$70.05
% of 52W HighCurrent price vs 52-week peak+47.0%+77.2%+86.6%+55.0%+66.7%
RSI (14)Momentum oscillator 0–10034.445.650.944.137.2
Avg Volume (50D)Average daily shares traded5.3M5.8M512K9.2M362K
Evenly matched — CPAY and KSPI each lead in 1 of 2 comparable metrics.

Analyst Outlook

Analyst consensus: AFRM as "Buy", XYZ as "Buy", CPAY as "Buy", TOST as "Buy", KSPI as "Buy". Consensus price targets imply 79.7% upside for AFRM (target: $84) vs 11.4% for CPAY (target: $362). KSPI is the only dividend payer here at 9.61% yield — a key consideration for income-focused portfolios.

MetricAFRMAffirm Holdings, …XYZBlock, Inc.CPAYCorpay, Inc.TOSTToast, Inc.KSPIJoint Stock Compa…
Analyst RatingConsensus buy/hold/sellBuyBuyBuyBuyBuy
Price TargetConsensus 12-month target$84.40$84.67$362.29$39.82$97.00
# AnalystsCovering analysts323318292
Dividend YieldAnnual dividend ÷ price+9.6%
Dividend StreakConsecutive years of raises2
Dividend / ShareAnnual DPS$3374.49
Buyback YieldShare repurchases ÷ mkt cap+1.6%0.0%+5.6%+0.7%+0.0%
Insufficient data to determine a leader in this category.

Historical Charts

Charts are rendered on first load. Hover for details.

Chart 1Total Return — 5 Years (Rebased to 100)

StockFeb 24Feb 26Change
Affirm Holdings, In… (AFRM)100156.26+56.3%
Block, Inc. (XYZ)10090.6-9.4%
Corpay, Inc. (CPAY)100103.5+3.5%
Toast, Inc. (TOST)100169.92+69.9%
Joint Stock Company… (KSPI)95.7579.5-17.0%

Corpay, Inc. (CPAY) returned +15% over 5 years vs Block, Inc. (XYZ)'s -74%. A $10,000 investment in CPAY 5 years ago would be worth $11,508 today (including dividends reinvested).

Chart 2Revenue Growth — 10 Years

Stock20162025Change
Affirm Holdings, In… (AFRM)$264M$3.2B+1119.7%
Block, Inc. (XYZ)$1.7B$24.2B+1315.9%
Corpay, Inc. (CPAY)$1.8B$4.0B+117.0%
Toast, Inc. (TOST)$665M$6.2B+825.3%
Joint Stock Company… (KSPI)$524.6B$2.5T+380.6%

Block, Inc.'s revenue grew from $1.7B (2016) to $24.2B (2025) — a 34.2% CAGR.

Chart 3Net Margin Trend — 10 Years

Stock20162025Change
Affirm Holdings, In… (AFRM)-45.6%1.6%+103.6%
Block, Inc. (XYZ)-10.0%5.4%+153.7%
Corpay, Inc. (CPAY)24.7%25.3%+2.2%
Toast, Inc. (TOST)-31.4%5.6%+117.7%
Joint Stock Company… (KSPI)36.9%41.2%+11.6%

Block, Inc.'s net margin went from -10% (2016) to 5% (2025).

Chart 4P/E Ratio History — 9 Years

Stock20172025Change
Block, Inc. (XYZ)77.231-59.8%
Corpay, Inc. (CPAY)24.324.2-0.4%

Block, Inc. has traded in a 19x–495x P/E range over 5 years; current trailing P/E is ~30x. Corpay, Inc. has traded in a 15x–34x P/E range over 8 years; current trailing P/E is ~23x.

Chart 5EPS Growth — 10 Years

Stock20162025Change
Affirm Holdings, In… (AFRM)-0.470.15+131.9%
Block, Inc. (XYZ)-0.52.1+520.0%
Corpay, Inc. (CPAY)4.7513.97+194.1%
Toast, Inc. (TOST)-0.450.56+224.4%
Joint Stock Company… (KSPI)1,000.385,430.77+442.9%

Block, Inc.'s EPS grew from $-0.50 (2016) to $2.10 (2025).

Chart 6Free Cash Flow — 5 Years

2021
$-213M
$544M
$1B
$-17M
$45B
2022
$-274M
$5M
$603M
$-189M
$962B
2023
$-109M
$-50M
$2B
$93M
$1056B
2024
$291M
$2B
$2B
$306M
$486B
2025
$602M
$2B
$608M
Affirm Holdings, In… (AFRM)Block, Inc. (XYZ)Corpay, Inc. (CPAY)Toast, Inc. (TOST)Joint Stock Company… (KSPI)

Affirm Holdings, Inc. generated $602M FCF in 2025 (+382% vs 2021). Block, Inc. generated $2B FCF in 2025 (+346% vs 2021).

Loading custom metrics...

AFRM vs XYZ vs CPAY vs TOST vs KSPI: Key Questions Answered

9 questions · data-driven answers · updated daily

01

Is AFRM or XYZ or CPAY or TOST or KSPI a better buy right now?

Joint Stock Company Kaspi.kz (KSPI) offers the better valuation at 6.5x trailing P/E (0.0x 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.

02

Which has the better valuation — AFRM or XYZ or CPAY or TOST or KSPI?

On trailing P/E, Joint Stock Company Kaspi.kz (KSPI) is the cheapest at 6.5x versus Affirm Holdings, Inc. at 313.2x. On forward P/E, Joint Stock Company Kaspi.kz is actually cheaper at 0.0x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Joint Stock Company Kaspi.kz wins at 0.00x versus Corpay, Inc.'s 1.77x — a PEG below 1.0 traditionally signals the market is underpricing earnings growth.

03

Which is the better long-term investment — AFRM or XYZ or CPAY or TOST or KSPI?

Over the past 5 years, Corpay, Inc. (CPAY) delivered a total return of +15.1%, compared to -73.6% for Block, Inc. (XYZ). A $10,000 investment in CPAY five years ago would be worth approximately $12K today (assuming dividends reinvested). Over 10 years, the gap is even starker: XYZ returned +510.2% versus TOST's -56.3%. 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 — AFRM or XYZ or CPAY or TOST or KSPI?

By beta (market sensitivity over 5 years), Joint Stock Company Kaspi.kz (KSPI) is the lower-risk stock at 0.97β versus Affirm Holdings, Inc.'s 2.41β — meaning AFRM is approximately 149% more volatile than KSPI relative to the S&P 500. On balance sheet safety, Toast, Inc. (TOST) carries a lower debt/equity ratio of 2% versus 3% for Affirm Holdings, Inc. — giving it more financial flexibility in a downturn.

05

Which has better profit margins — AFRM or XYZ or CPAY or TOST or KSPI?

Joint Stock Company Kaspi.kz (KSPI) is the more profitable company, earning 41.2% net margin versus 1.6% for Affirm Holdings, Inc. — meaning it keeps 41.2% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: KSPI leads at 50.4% versus -2.7% for AFRM. At the gross margin level — before operating expenses — CPAY leads at 78.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.

06

Is AFRM or XYZ or CPAY or TOST or KSPI 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, Joint Stock Company Kaspi.kz (KSPI) is the more undervalued stock at a PEG of 0.00x versus Corpay, Inc.'s 1.77x. A PEG below 1.0 is traditionally considered the threshold for growth-adjusted undervaluation. On forward earnings alone, Joint Stock Company Kaspi.kz (KSPI) trades at 0.0x forward P/E versus 43.6x for Affirm Holdings, Inc. — 43.6x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for AFRM: 79.7% to $84.40.

07

Which pays a better dividend — AFRM or XYZ or CPAY or TOST or KSPI?

In this comparison, KSPI (9.6% yield) pays a dividend. AFRM, XYZ, CPAY, TOST do not pay a meaningful dividend and should not be held primarily for income.

08

Is AFRM or XYZ or CPAY or TOST or KSPI better for a retirement portfolio?

For long-horizon retirement investors, Joint Stock Company Kaspi.kz (KSPI) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0.97), 9.6% yield). 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 (KSPI: -3.2%, 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.

09

What are the main differences between AFRM and XYZ and CPAY and TOST and KSPI?

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: AFRM is a mid-cap quality compounder stock; XYZ is a mid-cap quality compounder stock; CPAY is a mid-cap quality compounder stock; TOST is a mid-cap quality compounder stock; KSPI is a mid-cap deep-value stock. KSPI pays a dividend while AFRM, XYZ, CPAY, TOST do 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 beat both.

📊
Stocks Like

AFRM

Quality Business

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

XYZ

Quality Business

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

CPAY

Quality Mega-Cap Compounder

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

TOST

High-Growth Disruptor

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

KSPI

High-Growth Quality Leader

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

Better Than Both

Find stocks that beat AFRM and XYZ and CPAY and TOST and KSPI on the metrics you choose

Revenue Growth>
%
(AFRM: -62.1% · XYZ: 3.6%)
Net Margin>
%
(AFRM: 9.7% · XYZ: 5.4%)
P/E Ratio<
x
(AFRM: 313.2x · XYZ: 30.3x)