Compare Stocks

2 / 10
Try these comparisons:

Stock Comparison

XP vs NU

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

Live fundamentals10-year financials5-year price chart
XP
XP Inc.

Financial - Capital Markets

Financial ServicesNASDAQ • BR
Market Cap$7.80B
5Y Perf.-34.6%
NU
Nu Holdings Ltd.

Banks - Diversified

Financial ServicesNYSE • BR
Market Cap$54.52B
5Y Perf.+52.0%

XP vs NU — Key Financials

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

Company Snapshot
XP logoXP
NU logoNU
IndustryFinancial - Capital MarketsBanks - Diversified
Market Cap$7.80B$54.52B
Revenue (TTM)$19.87B$11.10B
Net Income (TTM)$5.05B$2.53B
Gross Margin9.5%45.9%
Operating Margin-19.7%25.2%
Forward P/E1.7x16.4x
Total Debt$115.13B$887M
Cash & Equiv.$5.61B$13.64B

XP vs NULong-Term Stock Performance

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

XP
NU
StockDec 21May 26Return
XP Inc. (XP)10065.4-34.6%
Nu Holdings Ltd. (NU)100152.0+52.0%

Price return only. Dividends and distributions are not included.

Quick Verdict: XP vs NU

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

Bottom line: NU leads in 4 of 7 categories, making it the strongest pick for growth and revenue expansion and profitability and margin quality. XP Inc. is the stronger pick specifically for valuation and capital efficiency and dividend income and shareholder returns. As sector peers, any of these can serve as alternatives in the same allocation.
XP
XP Inc.
The Banking Pick

XP is the clearest fit if your priority is value and dividends.

  • Lower P/E (1.7x vs 16.4x)
  • 4.0% yield; the other pay no meaningful dividend
  • +19.8% vs NU's +15.3%
Best for: value and dividends
NU
Nu Holdings Ltd.
The Banking Pick

NU carries the broadest edge in this set and is the clearest fit for income & stability and growth exposure.

  • beta 1.37
  • Rev growth 44.8%, EPS growth 90.5%
  • 38.0% 10Y total return vs XP's -39.2%
Best for: income & stability and growth exposure
See the full category breakdown
CategoryWinnerWhy
GrowthNU logoNU44.8% NII/revenue growth vs XP's 34.1%
ValueXP logoXPLower P/E (1.7x vs 16.4x)
Quality / MarginsNU logoNUEfficiency ratio 0.2% vs XP's 0.3% (lower = leaner)
Stability / SafetyNU logoNUBeta 1.37 vs XP's 1.67, lower leverage
DividendsXP logoXP4.0% yield; the other pay no meaningful dividend
Momentum (1Y)XP logoXP+19.8% vs NU's +15.3%
Efficiency (ROA)NU logoNUEfficiency ratio 0.2% vs XP's 0.3%

XP vs NU — Financial Metrics

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

BEST OVERALLNULAGGINGXP

Income & Cash Flow (Last 12 Months)

NU leads this category, winning 3 of 5 comparable metrics.

XP is the larger business by revenue, generating $19.9B annually — 1.8x NU's $11.1B. Profitability is closely matched — net margins range from 22.7% (XP) to 17.8% (NU).

MetricXP logoXPXP Inc.NU logoNUNu Holdings Ltd.
RevenueTrailing 12 months$19.9B$11.1B
EBITDAEarnings before interest/tax-$1.7B$3.6B
Net IncomeAfter-tax profit$5.1B$2.5B
Free Cash FlowCash after capex$17.9B$3.7B
Gross MarginGross profit ÷ Revenue+9.5%+45.9%
Operating MarginEBIT ÷ Revenue-19.7%+25.2%
Net MarginNet income ÷ Revenue+22.7%+17.8%
FCF MarginFCF ÷ Revenue+54.6%+20.0%
Rev. Growth (YoY)Latest quarter vs prior year
EPS Growth (YoY)Latest quarter vs prior year+13.8%+45.5%
NU leads this category, winning 3 of 5 comparable metrics.

Valuation Metrics

XP leads this category, winning 5 of 5 comparable metrics.

At 11.3x trailing earnings, XP trades at a 68% valuation discount to NU's 35.6x P/E.

MetricXP logoXPXP Inc.NU logoNUNu Holdings Ltd.
Market CapShares × price$7.8B$54.5B
Enterprise ValueMkt cap + debt − cash$29.9B$41.8B
Trailing P/EPrice ÷ TTM EPS11.30x35.65x
Forward P/EPrice ÷ next-FY EPS est.1.69x16.43x
PEG RatioP/E ÷ EPS growth rate0.36x
EV / EBITDAEnterprise value multiple14.54x
Price / SalesMarket cap ÷ Revenue1.94x4.91x
Price / BookPrice ÷ Book value/share2.54x9.12x
Price / FCFMarket cap ÷ FCF3.56x24.51x
XP leads this category, winning 5 of 5 comparable metrics.

Profitability & Efficiency

NU leads this category, winning 8 of 9 comparable metrics.

NU delivers a 24.0% return on equity — every $100 of shareholder capital generates $24 in annual profit, vs $21 for XP. NU carries lower financial leverage with a 0.12x debt-to-equity ratio, signaling a more conservative balance sheet compared to XP's 5.74x. On the Piotroski fundamental quality scale (0–9), NU scores 7/9 vs XP's 3/9, reflecting strong financial health.

MetricXP logoXPXP Inc.NU logoNUNu Holdings Ltd.
ROE (TTM)Return on equity+21.4%+24.0%
ROA (TTM)Return on assets+1.3%+3.7%
ROICReturn on invested capital-2.6%+26.0%
ROCEReturn on capital employed-2.8%+27.4%
Piotroski ScoreFundamental quality 0–937
Debt / EquityFinancial leverage5.74x0.12x
Net DebtTotal debt minus cash$109.5B-$12.8B
Cash & Equiv.Liquid assets$5.6B$13.6B
Total DebtShort + long-term debt$115.1B$887M
Interest CoverageEBIT ÷ Interest expense8.55x0.90x
NU leads this category, winning 8 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

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

A $10,000 investment in NU five years ago would be worth $13,804 today (with dividends reinvested), compared to $4,675 for XP. Over the past 12 months, XP leads with a +19.8% total return vs NU's +15.3%. The 3-year compound annual growth rate (CAGR) favors NU at 34.0% vs XP's 12.1% — a key indicator of consistent wealth creation.

MetricXP logoXPXP Inc.NU logoNUNu Holdings Ltd.
YTD ReturnYear-to-date+16.1%-16.2%
1-Year ReturnPast 12 months+19.8%+15.3%
3-Year ReturnCumulative with dividends+40.8%+140.9%
5-Year ReturnCumulative with dividends-53.2%+38.0%
10-Year ReturnCumulative with dividends-39.2%+38.0%
CAGR (3Y)Annualised 3-year return+12.1%+34.0%
NU leads this category, winning 4 of 6 comparable metrics.

Risk & Volatility

Evenly matched — XP and NU each lead in 1 of 2 comparable metrics.

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

MetricXP logoXPXP Inc.NU logoNUNu Holdings Ltd.
Beta (5Y)Sensitivity to S&P 5001.67x1.37x
52-Week HighHighest price in past year$23.11$18.98
52-Week LowLowest price in past year$15.51$11.71
% of 52W HighCurrent price vs 52-week peak+81.3%+75.1%
RSI (14)Momentum oscillator 0–10050.547.6
Avg Volume (50D)Average daily shares traded5.1M48.4M
Evenly matched — XP and NU each lead in 1 of 2 comparable metrics.

Analyst Outlook

Insufficient data to determine a leader in this category.

Wall Street rates XP as "Buy" and NU as "Buy". Consensus price targets imply 43.6% upside for NU (target: $20) vs 25.1% for XP (target: $24). XP is the only dividend payer here at 3.99% yield — a key consideration for income-focused portfolios.

MetricXP logoXPXP Inc.NU logoNUNu Holdings Ltd.
Analyst RatingConsensus buy/hold/sellBuyBuy
Price TargetConsensus 12-month target$23.50$20.48
# AnalystsCovering analysts922
Dividend YieldAnnual dividend ÷ price+4.0%
Dividend StreakConsecutive years of raises0
Dividend / ShareAnnual DPS$3.72
Buyback YieldShare repurchases ÷ mkt cap+3.5%0.0%
Insufficient data to determine a leader in this category.
Key Takeaway

NU leads in 3 of 6 categories (Income & Cash Flow, Profitability & Efficiency). XP leads in 1 (Valuation Metrics). 1 tied.

Best OverallNu Holdings Ltd. (NU)Leads 3 of 6 categories
Loading custom metrics...

XP vs NU: Frequently Asked Questions

10 questions · data-driven answers · updated daily

01

Is XP or NU a better buy right now?

For growth investors, Nu Holdings Ltd.

(NU) is the stronger pick with 44. 8% revenue growth year-over-year, versus 34. 1% for XP Inc. (XP). XP Inc. (XP) offers the better valuation at 11. 3x trailing P/E (1. 7x forward), making it the more compelling value choice. Analysts rate XP Inc. (XP) a "Buy" — based on 9 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 — XP or NU?

On trailing P/E, XP Inc.

(XP) is the cheapest at 11. 3x versus Nu Holdings Ltd. at 35. 6x. On forward P/E, XP Inc. is actually cheaper at 1. 7x.

03

Which is the better long-term investment — XP or NU?

Over the past 5 years, Nu Holdings Ltd.

(NU) delivered a total return of +38. 0%, compared to -53. 2% for XP Inc. (XP). Over 10 years, the gap is even starker: NU returned +38. 0% versus XP's -39. 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 — XP or NU?

By beta (market sensitivity over 5 years), Nu Holdings Ltd.

(NU) is the lower-risk stock at 1. 37β versus XP Inc. 's 1. 67β — meaning XP is approximately 22% more volatile than NU relative to the S&P 500. On balance sheet safety, Nu Holdings Ltd. (NU) carries a lower debt/equity ratio of 12% versus 6% for XP Inc. — giving it more financial flexibility in a downturn.

05

Which is growing faster — XP or NU?

By revenue growth (latest reported year), Nu Holdings Ltd.

(NU) is pulling ahead at 44. 8% versus 34. 1% for XP Inc. (XP). On earnings-per-share growth, the picture is similar: Nu Holdings Ltd. grew EPS 90. 5% year-over-year, compared to 14. 9% for XP Inc.. 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 — XP or NU?

XP Inc.

(XP) is the more profitable company, earning 22. 7% net margin versus 17. 8% for Nu Holdings Ltd. — meaning it keeps 22. 7% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: NU leads at 25. 2% versus -19. 7% for XP. At the gross margin level — before operating expenses — NU leads at 45. 9%, 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 XP or NU more undervalued right now?

On forward earnings alone, XP Inc.

(XP) trades at 1. 7x forward P/E versus 16. 4x for Nu Holdings Ltd. — 14. 7x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for NU: 43. 6% to $20. 48.

08

Which pays a better dividend — XP or NU?

In this comparison, XP (4.

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

09

Is XP or NU better for a retirement portfolio?

For long-horizon retirement investors, XP Inc.

(XP) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (4. 0% yield). Both have compounded well over 10 years (XP: -39. 2%, NU: +38. 0%), 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 XP and NU?

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

XP pays a dividend while NU 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

XP

High-Growth Quality Leader

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

NU

High-Growth Compounder

  • Sector: Financial Services
  • Market Cap > $100B
  • Revenue Growth > 22%
  • Net Margin > 10%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform XP and NU on the metrics below

Revenue Growth>
%
(XP: 34.1% · NU: 44.8%)
Net Margin>
%
(XP: 22.7% · NU: 17.8%)
P/E Ratio<
x
(XP: 11.3x · NU: 35.6x)

You Might Also Compare

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