Comprehensive Stock Comparison

Compare The Home Depot, Inc. (HD) 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
GrowthBABA5.9% revenue growth vs HD's 3.2%
ValueBABALower P/E (3.4x vs 25.2x)
Quality / MarginsBABA12.2% net margin vs HD's 8.6%
Stability / SafetyHDBeta 0.60 vs BABA's 0.90
DividendsHD2.4% yield, 16-year raise streak, vs BABA's 1.2%
Momentum (1Y)BABA+10.2% vs HD's -1.7%
Efficiency (ROA)HD13.5% ROA vs BABA's 6.5%, ROIC 32.1% vs 9.6%
Bottom line: BABA leads in 4 of 7 categories, making it the stronger pick for investors who prioritize growth and revenue expansion and valuation and capital efficiency. The Home Depot, Inc. is the better choice for capital preservation and lower volatility and dividend income and shareholder returns. 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

HDThe Home Depot, Inc.
Consumer Cyclical

The Home Depot is the world's largest home improvement retailer selling building materials, tools, appliances, and garden products. It generates revenue primarily from retail store sales — about 90% of total revenue — with the remainder from professional contractor services and installation offerings. Its competitive advantage lies in massive scale, extensive store network, and strong brand recognition that creates a one-stop-shop moat for DIY homeowners and professional contractors alike.

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

HDThe Home Depot, Inc.
FY 2024
Major Product Line - Building Materials
33.1%$52.8B
Major Product Line, Décor
32.5%$51.8B
Major Product Line - Hardlines
30.4%$48.6B
Other Segment
4.0%$6.4B
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

HD 3BABA 0
Financial MetricsTie3/6 metrics
Valuation MetricsTie3/6 metrics
Profitability & EfficiencyHD6/9 metrics
Total ReturnsTie3/6 metrics
Risk & VolatilityHD2/2 metrics
Analyst OutlookHD2/2 metrics

HD leads in 3 of 6 categories — strongest in Profitability & Efficiency and Risk & Volatility. 3 categories are tied.

Financial Metrics (TTM)

BABA is the larger business by revenue, generating $1.01T annually — 6.1x HD's $164.7B. Profitability is closely matched — net margins range from 12.2% (BABA) to 8.6% (HD). On growth, BABA holds the edge at +4.8% YoY revenue growth, suggesting stronger near-term business momentum.

MetricHDThe Home Depot, I…BABAAlibaba Group Hol…
RevenueTrailing 12 months$164.7B$1.01T
EBITDAEarnings before interest/tax$24.2B$114.6B
Net IncomeAfter-tax profit$14.2B$123.4B
Free Cash FlowCash after capex$12.6B$2.6B
Gross MarginGross profit ÷ Revenue+33.3%+41.2%
Operating MarginEBIT ÷ Revenue+12.7%+10.9%
Net MarginNet income ÷ Revenue+8.6%+12.2%
FCF MarginFCF ÷ Revenue+7.7%+0.3%
Rev. Growth (YoY)Latest quarter vs prior year-3.8%+4.8%
EPS Growth (YoY)Latest quarter vs prior year-14.6%-52.0%
Evenly matched — HD and BABA each lead in 3 of 6 comparable metrics.

Valuation Metrics

At 18.4x trailing earnings, BABA trades at a 31% valuation discount to HD's 26.8x P/E. On an enterprise value basis, HD's 16.4x EV/EBITDA is more attractive than BABA's 104.2x.

MetricHDThe Home Depot, I…BABAAlibaba Group Hol…
Market CapShares × price$378.4B$2.66T
Enterprise ValueMkt cap + debt − cash$396.1B$2.67T
Trailing P/EPrice ÷ TTM EPS26.75x18.44x
Forward P/EPrice ÷ next-FY EPS est.25.24x3.42x
PEG RatioP/E ÷ EPS growth rate7.49x
EV / EBITDAEnterprise value multiple16.39x104.23x
Price / SalesMarket cap ÷ Revenue2.30x18.33x
Price / BookPrice ÷ Book value/share29.62x2.19x
Price / FCFMarket cap ÷ FCF29.93x233.68x
Evenly matched — HD and BABA each lead in 3 of 6 comparable metrics.

Profitability & Efficiency

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

MetricHDThe Home Depot, I…BABAAlibaba Group Hol…
ROE (TTM)Return on equity+110.5%+11.1%
ROA (TTM)Return on assets+13.5%+6.5%
ROICReturn on invested capital+32.1%+9.6%
ROCEReturn on capital employed+29.8%+10.4%
Piotroski ScoreFundamental quality 0–947
Debt / EquityFinancial leverage1.48x0.23x
Net DebtTotal debt minus cash$17.6B$66.8B
Cash & Equiv.Liquid assets$1.4B$181.7B
Total DebtShort + long-term debt$19.0B$248.5B
Interest CoverageEBIT ÷ Interest expense8.71x15.74x
HD leads this category, winning 6 of 9 comparable metrics.

Total Returns (with DRIP)

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

MetricHDThe Home Depot, I…BABAAlibaba Group Hol…
YTD ReturnYear-to-date+10.1%-7.5%
1-Year ReturnPast 12 months-1.7%+10.2%
3-Year ReturnCumulative with dividends+37.3%+69.4%
5-Year ReturnCumulative with dividends+61.1%-38.5%
10-Year ReturnCumulative with dividends+257.2%+116.1%
CAGR (3Y)Annualised 3-year return+11.2%+19.2%
Evenly matched — HD and BABA each lead in 3 of 6 comparable metrics.

Risk & Volatility

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

MetricHDThe Home Depot, I…BABAAlibaba Group Hol…
Beta (5Y)Sensitivity to S&P 5000.60x0.90x
52-Week HighHighest price in past year$426.75$192.67
52-Week LowLowest price in past year$326.31$95.73
% of 52W HighCurrent price vs 52-week peak+89.2%+74.8%
RSI (14)Momentum oscillator 0–10046.133.4
Avg Volume (50D)Average daily shares traded3.3M10.2M
HD leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

Wall Street rates HD as "Buy" and BABA as "Buy". Consensus price targets imply 30.9% upside for BABA (target: $189) vs 9.0% for HD (target: $415). For income investors, HD offers the higher dividend yield at 2.41% vs BABA's 1.23%.

MetricHDThe Home Depot, I…BABAAlibaba Group Hol…
Analyst RatingConsensus buy/hold/sellBuyBuy
Price TargetConsensus 12-month target$414.92$188.62
# AnalystsCovering analysts6158
Dividend YieldAnnual dividend ÷ price+2.4%+1.2%
Dividend StreakConsecutive years of raises162
Dividend / ShareAnnual DPS$9.18$12.14
Buyback YieldShare repurchases ÷ mkt cap0.0%+0.5%
HD leads this category, winning 2 of 2 comparable metrics.

Historical Charts

Charts are rendered on first load. Hover for details.

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

StockMar 20Feb 26Change
The Home Depot, Inc. (HD)100164.44+64.4%
Alibaba Group Holdi… (BABA)10079.81-20.2%

The Home Depot, Inc. (HD) returned +61% over 5 years vs Alibaba Group Holdi… (BABA)'s -38%. A $10,000 investment in HD 5 years ago would be worth $16,110 today (including dividends reinvested).

Chart 2Revenue Growth — 10 Years

Stock20162025Change
The Home Depot, Inc. (HD)$94.6B$164.7B+74.1%
Alibaba Group Holdi… (BABA)$101.1B$996.3B+885.1%

The Home Depot, Inc.'s revenue grew from $94.6B (2016) to $164.7B (2025) — a 6.4% CAGR. 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
The Home Depot, Inc. (HD)8.4%8.6%+2.2%
Alibaba Group Holdi… (BABA)70.7%13.1%-81.5%

The Home Depot, Inc.'s net margin went from 8% (2016) to 9% (2025). Alibaba Group Holding Limited's net margin went from 71% (2016) to 13% (2025).

Chart 4P/E Ratio History — 9 Years

Stock20172025Change
The Home Depot, Inc. (HD)2624.2-6.9%
Alibaba Group Holdi… (BABA)8.82.7-69.3%

The Home Depot, Inc. has traded in a 18x–27x P/E range over 9 years; current trailing P/E is ~27x. 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
The Home Depot, Inc. (HD)6.4514.23+120.6%
Alibaba Group Holdi… (BABA)3453.6+57.6%

The Home Depot, Inc.'s EPS grew from $6.45 (2016) to $14.23 (2025) — a 9% CAGR. 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
$14B
$182B
2022
$11B
$88B
2023
$18B
$166B
2024
$16B
$151B
2025
$13B
$78B
The Home Depot, Inc. (HD)Alibaba Group Holdi… (BABA)

The Home Depot, Inc. generated $13B FCF in 2025 (-10% vs 2021). Alibaba Group Holding Limited generated $78B FCF in 2025 (-57% vs 2021).

Loading custom metrics...

HD vs BABA: Frequently Asked Questions

9 questions · data-driven answers · updated daily

01

Is HD 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 The Home Depot, Inc. (HD) a "Buy" — based on 61 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 — HD or BABA?

On trailing P/E, Alibaba Group Holding Limited (BABA) is the cheapest at 18.4x versus The Home Depot, Inc. at 26.8x. On forward P/E, Alibaba Group Holding Limited is actually cheaper at 3.4x.

03

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

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

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

05

Which has better profit margins — HD or BABA?

Alibaba Group Holding Limited (BABA) is the more profitable company, earning 13.1% net margin versus 8.6% for The Home Depot, 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 12.7% for HD. 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 HD or BABA more undervalued right now?

On forward earnings alone, Alibaba Group Holding Limited (BABA) trades at 3.4x forward P/E versus 25.2x for The Home Depot, Inc. — 21.8x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for BABA: 30.9% to $188.62.

07

Which pays a better dividend — HD or BABA?

All stocks in this comparison pay dividends. The Home Depot, Inc. (HD) offers the highest yield at 2.4%, versus 1.2% for Alibaba Group Holding Limited (BABA).

08

Is HD or BABA better for a retirement portfolio?

For long-horizon retirement investors, The Home Depot, Inc. (HD) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0.60), 2.4% yield, +257.2% 10Y return). Both have compounded well over 10 years (HD: +257.2%, BABA: +116.1%), 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 HD 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. 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

HD

Income & Dividend Stock

  • Sector: Consumer Cyclical
  • Market Cap > $100B
  • Net Margin > 5%
  • Dividend Yield > 0.9%
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 HD and BABA on the metrics you choose

Revenue Growth>
%
(HD: -3.8% · BABA: 4.8%)
Net Margin>
%
(HD: 8.6% · BABA: 12.2%)
P/E Ratio<
x
(HD: 26.8x · BABA: 18.4x)