Comprehensive Stock Comparison

Compare XPeng Inc. (XPEV) vs Alibaba Group Holding Limited (BABA) Stock

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

Tickers 2 / 10100+ Metrics

Selected Stocks

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

2 / 10
Try these comparisons:

Quick Verdict

CategoryWinnerWhy
GrowthXPEV33.2% revenue growth vs BABA's 5.9%
ValueBABALower P/E (3.4x vs 23.1x)
Quality / MarginsBABA12.2% net margin vs XPEV's -7.1%
Stability / SafetyBABABeta 0.90 vs XPEV's 0.92, lower leverage
DividendsBABA1.2% yield; 2-year raise streak; XPEV pays no meaningful dividend
Momentum (1Y)BABA+10.2% vs XPEV's -18.3%
Efficiency (ROA)BABA6.5% ROA vs XPEV's -4.6%, ROIC 9.6% vs -16.9%
Bottom line: BABA leads in 6 of 7 categories, making it the stronger pick for investors who prioritize valuation and capital efficiency and profitability and margin quality. XPeng 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

Defensive / Recession hedge

Business Model

What each company does and how it makes money

XPEVXPeng Inc.
Consumer Cyclical

XPeng is a Chinese electric vehicle manufacturer focused on smart, connected cars with advanced driver-assistance systems. It generates revenue primarily from vehicle sales — with additional income from services like maintenance, charging, and software subscriptions — though the exact segment breakdown isn't publicly detailed. The company's key advantage lies in its vertically integrated software and hardware development, particularly its proprietary XPILOT autonomous driving technology and intelligent cockpit systems.

BABAAlibaba Group Holding Limited
Consumer Cyclical

Alibaba is a Chinese e-commerce and technology conglomerate that operates digital marketplaces connecting buyers and sellers. It generates revenue primarily from its core commerce segments — China Commerce (~65%) and International Commerce (~10%) — along with cloud services (~10%) and logistics through Cainiao. Its key competitive advantage is its massive ecosystem network effect, where its platforms like Taobao and Tmall create a self-reinforcing cycle of merchants and consumers that's difficult for competitors to replicate.

Revenue Breakdown by Segment

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

XPEVXPeng Inc.
FY 2024
Vehicle
87.7%$35.8B
Service, Other
12.3%$5.0B
BABAAlibaba Group Holding Limited
FY 2025
Customer Management Services
42.6%$424.9B
Sales Of Goods
27.5%$274.3B
Logistics Services
12.4%$123.4B
Cloud Services
8.5%$84.5B
Membership Fees and Value Added Services
4.7%$46.6B
Product and Service, Other
4.3%$42.7B

Financial Metrics Comparison

Side-by-side fundamentals across 2 stocks. BestLagging

Financial Scorecard

BABA 4XPEV 1
Financial MetricsBABA4/6 metrics
Valuation MetricsXPEV3/4 metrics
Profitability & EfficiencyBABA7/9 metrics
Total ReturnsBABA4/6 metrics
Risk & VolatilityBABA2/2 metrics
Analyst Outlook0/0 metrics

BABA leads in 4 of 6 categories (Financial Metrics, Profitability & Efficiency). XPEV leads in 1 (Valuation Metrics).

Financial Metrics (TTM)

BABA is the larger business by revenue, generating $1.01T annually — 16.8x XPEV's $60.3B. BABA is the more profitable business, keeping 12.2% of every revenue dollar as net income compared to XPEV's -7.1%. On growth, XPEV holds the edge at +125.3% YoY revenue growth, suggesting stronger near-term business momentum.

MetricXPEVXPeng Inc.BABAAlibaba Group Hol…
RevenueTrailing 12 months$60.3B$1.01T
EBITDAEarnings before interest/tax-$3.3B$114.6B
Net IncomeAfter-tax profit-$4.3B$123.4B
Free Cash FlowCash after capex$0$2.6B
Gross MarginGross profit ÷ Revenue+15.7%+41.2%
Operating MarginEBIT ÷ Revenue-8.9%+10.9%
Net MarginNet income ÷ Revenue-7.1%+12.2%
FCF MarginFCF ÷ Revenue-10.9%+0.3%
Rev. Growth (YoY)Latest quarter vs prior year+125.3%+4.8%
EPS Growth (YoY)Latest quarter vs prior year+26.5%-52.0%
BABA leads this category, winning 4 of 6 comparable metrics.

Valuation Metrics

MetricXPEVXPeng Inc.BABAAlibaba Group Hol…
Market CapShares × price$6.1B$2.66T
Enterprise ValueMkt cap + debt − cash$5.7B$2.67T
Trailing P/EPrice ÷ TTM EPS-9.84x18.44x
Forward P/EPrice ÷ next-FY EPS est.23.07x3.42x
PEG RatioP/E ÷ EPS growth rate
EV / EBITDAEnterprise value multiple104.23x
Price / SalesMarket cap ÷ Revenue1.03x18.33x
Price / BookPrice ÷ Book value/share1.82x2.19x
Price / FCFMarket cap ÷ FCF233.68x
XPEV leads this category, winning 3 of 4 comparable metrics.

Profitability & Efficiency

BABA delivers a 11.1% return on equity — every $100 of shareholder capital generates $11 in annual profit, vs $-14 for XPEV. BABA carries lower financial leverage with a 0.23x debt-to-equity ratio, signaling a more conservative balance sheet compared to XPEV's 0.51x. On the Piotroski fundamental quality scale (0–9), BABA scores 7/9 vs XPEV's 5/9, reflecting strong financial health.

MetricXPEVXPeng Inc.BABAAlibaba Group Hol…
ROE (TTM)Return on equity-14.1%+11.1%
ROA (TTM)Return on assets-4.6%+6.5%
ROICReturn on invested capital-16.9%+9.6%
ROCEReturn on capital employed-14.7%+10.4%
Piotroski ScoreFundamental quality 0–957
Debt / EquityFinancial leverage0.51x0.23x
Net DebtTotal debt minus cash-$2.6B$66.8B
Cash & Equiv.Liquid assets$18.6B$181.7B
Total DebtShort + long-term debt$15.9B$248.5B
Interest CoverageEBIT ÷ Interest expense-12.31x15.74x
BABA leads this category, winning 7 of 9 comparable metrics.

Total Returns (with DRIP)

A $10,000 investment in BABA five years ago would be worth $6,154 today (with dividends reinvested), compared to $4,946 for XPEV. Over the past 12 months, BABA leads with a +10.2% total return vs XPEV's -18.3%. The 3-year compound annual growth rate (CAGR) favors XPEV at 25.3% vs BABA's 19.2% — a key indicator of consistent wealth creation.

MetricXPEVXPeng Inc.BABAAlibaba Group Hol…
YTD ReturnYear-to-date-14.0%-7.5%
1-Year ReturnPast 12 months-18.3%+10.2%
3-Year ReturnCumulative with dividends+96.9%+69.4%
5-Year ReturnCumulative with dividends-50.5%-38.5%
10-Year ReturnCumulative with dividends-17.2%+116.1%
CAGR (3Y)Annualised 3-year return+25.3%+19.2%
BABA leads this category, winning 4 of 6 comparable metrics.

Risk & Volatility

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

MetricXPEVXPeng Inc.BABAAlibaba Group Hol…
Beta (5Y)Sensitivity to S&P 5000.92x0.90x
52-Week HighHighest price in past year$28.24$192.67
52-Week LowLowest price in past year$16.13$95.73
% of 52W HighCurrent price vs 52-week peak+62.2%+74.8%
RSI (14)Momentum oscillator 0–10045.133.4
Avg Volume (50D)Average daily shares traded5.9M10.2M
BABA leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

Wall Street rates XPEV as "Buy" and BABA as "Buy". Consensus price targets imply 45.2% upside for XPEV (target: $26) vs 30.9% for BABA (target: $189). BABA is the only dividend payer here at 1.23% yield — a key consideration for income-focused portfolios.

MetricXPEVXPeng Inc.BABAAlibaba Group Hol…
Analyst RatingConsensus buy/hold/sellBuyBuy
Price TargetConsensus 12-month target$25.50$188.62
# AnalystsCovering analysts1658
Dividend YieldAnnual dividend ÷ price+1.2%
Dividend StreakConsecutive years of raises2
Dividend / ShareAnnual DPS$12.14
Buyback YieldShare repurchases ÷ mkt cap0.0%+0.5%
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)

StockAug 20Feb 26Change
XPeng Inc. (XPEV)10077.71-22.3%
Alibaba Group Holdi… (BABA)10056.51-43.5%

Alibaba Group Holdi… (BABA) returned -38% over 5 years vs XPeng Inc. (XPEV)'s -51%.

Chart 2Revenue Growth — 10 Years

Stock20162025Change
XPeng Inc. (XPEV)$10M$40.9B+420941.7%
Alibaba Group Holdi… (BABA)$101.1B$996.3B+885.1%

Alibaba Group Holding Limited's revenue grew from $101.1B (2016) to $996.3B (2025) — a 28.9% CAGR.

Chart 3Net Margin Trend — 10 Years

Stock20162025Change
XPeng Inc. (XPEV)-144.1%-14.2%+90.2%
Alibaba Group Holdi… (BABA)70.7%13.1%-81.5%

Alibaba Group Holding Limited's net margin went from 71% (2016) to 13% (2025).

Chart 4P/E Ratio History — 9 Years

Stock20172025Change
Alibaba Group Holdi… (BABA)8.82.7-69.3%

Alibaba Group Holding Limited has traded in a 2x–9x P/E range over 9 years; current trailing P/E is ~18x.

Chart 5EPS Growth — 10 Years

Stock20162025Change
XPeng Inc. (XPEV)-3.12-12.24-292.3%
Alibaba Group Holdi… (BABA)3453.6+57.6%

Alibaba Group Holding Limited's EPS grew from $34.00 (2016) to $53.60 (2025) — a 5% CAGR.

Chart 6Free Cash Flow — 5 Years

2021
$-5B
$182B
2022
$-13B
$88B
2023
$-1B
$166B
2024
$-4B
$151B
2025
$78B
XPeng Inc. (XPEV)Alibaba Group Holdi… (BABA)

XPeng Inc. generated $-4B FCF in 2024 (+18% vs 2021). Alibaba Group Holding Limited generated $78B FCF in 2025 (-57% vs 2021).

Loading custom metrics...

XPEV vs BABA: Frequently Asked Questions

9 questions · data-driven answers · updated daily

01

Is XPEV or BABA a better buy right now?

Alibaba Group Holding Limited (BABA) offers the better valuation at 18.4x trailing P/E (3.4x forward), making it the more compelling value choice. Analysts rate XPeng Inc. (XPEV) a "Buy" — based on 16 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 — XPEV or BABA?

On forward P/E, Alibaba Group Holding Limited is actually cheaper at 3.4x.

03

Which is the better long-term investment — XPEV or BABA?

Over the past 5 years, Alibaba Group Holding Limited (BABA) delivered a total return of -38.5%, compared to -50.5% for XPeng Inc. (XPEV). A $10,000 investment in BABA five years ago would be worth approximately $6K today (assuming dividends reinvested). Over 10 years, the gap is even starker: BABA returned +116.1% versus XPEV's -17.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 — XPEV or BABA?

By beta (market sensitivity over 5 years), Alibaba Group Holding Limited (BABA) is the lower-risk stock at 0.90β versus XPeng Inc.'s 0.92β — meaning XPEV is approximately 2% more volatile than BABA relative to the S&P 500. On balance sheet safety, Alibaba Group Holding Limited (BABA) carries a lower debt/equity ratio of 23% versus 51% for XPeng Inc. — giving it more financial flexibility in a downturn.

05

Which has better profit margins — XPEV or BABA?

Alibaba Group Holding Limited (BABA) is the more profitable company, earning 13.1% net margin versus -14.2% for XPeng Inc. — meaning it keeps 13.1% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: BABA leads at 14.1% versus -16.3% for XPEV. At the gross margin level — before operating expenses — BABA leads at 40.0%, 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 XPEV or BABA more undervalued right now?

On forward earnings alone, Alibaba Group Holding Limited (BABA) trades at 3.4x forward P/E versus 23.1x for XPeng Inc. — 19.6x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for XPEV: 45.2% to $25.50.

07

Which pays a better dividend — XPEV or BABA?

In this comparison, BABA (1.2% yield) pays a dividend. XPEV does not pay a meaningful dividend and should not be held primarily for income.

08

Is XPEV or BABA better for a retirement portfolio?

For long-horizon retirement investors, Alibaba Group Holding Limited (BABA) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0.90), 1.2% yield, +116.1% 10Y return). Both have compounded well over 10 years (BABA: +116.1%, XPEV: -17.2%), 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 XPEV and BABA?

Both stocks operate in the Consumer Cyclical sector, making this a peer-level intra-sector comparison — the same macro tailwinds and headwinds will affect both. BABA pays a dividend while XPEV 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 beat both.

Stocks Like

XPEV

High-Growth Disruptor

  • Sector: Consumer Cyclical
  • Market Cap > $100B
  • Revenue Growth > 62%
Run This Screen
🏦
Stocks Like

BABA

Stable Dividend Mega-Cap

  • Sector: Consumer Cyclical
  • Market Cap > $100B
  • Net Margin > 7%
  • Dividend Yield > 0.5%
Run This Screen
Custom Screen

Better Than Both

Find stocks that beat XPEV and BABA on the metrics you choose

Revenue Growth>
%
(XPEV: 125.3% · BABA: 4.8%)