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.
Selected Stocks
Add up to 10 tickers. Use presets or search to get started.
Quick Verdict
| Category | Winner | Why |
|---|---|---|
| Growth | BABA | 5.9% revenue growth vs HD's 3.2% |
| Value | BABA | Lower P/E (3.4x vs 25.2x) |
| Quality / Margins | BABA | 12.2% net margin vs HD's 8.6% |
| Stability / Safety | HD | Beta 0.60 vs BABA's 0.90 |
| Dividends | HD | 2.4% yield, 16-year raise streak, vs BABA's 1.2% |
| Momentum (1Y) | BABA | +10.2% vs HD's -1.7% |
| Efficiency (ROA) | HD | 13.5% ROA vs BABA's 6.5%, ROIC 32.1% vs 9.6% |
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
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.
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
Financial Metrics Comparison
Side-by-side fundamentals across 2 stocks. BestLagging
Financial Scorecard
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.
| Metric | HDThe 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% |
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.
| Metric | HDThe 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 EPS | 26.75x | 18.44x |
| Forward P/EPrice ÷ next-FY EPS est. | 25.24x | 3.42x |
| PEG RatioP/E ÷ EPS growth rate | 7.49x | — |
| EV / EBITDAEnterprise value multiple | 16.39x | 104.23x |
| Price / SalesMarket cap ÷ Revenue | 2.30x | 18.33x |
| Price / BookPrice ÷ Book value/share | 29.62x | 2.19x |
| Price / FCFMarket cap ÷ FCF | 29.93x | 233.68x |
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.
| Metric | HDThe 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–9 | 4 | 7 |
| Debt / EquityFinancial leverage | 1.48x | 0.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 expense | 8.71x | 15.74x |
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.
| Metric | HDThe 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% |
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.
| Metric | HDThe Home Depot, I… | BABAAlibaba Group Hol… |
|---|---|---|
| Beta (5Y)Sensitivity to S&P 500 | 0.60x | 0.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–100 | 46.1 | 33.4 |
| Avg Volume (50D)Average daily shares traded | 3.3M | 10.2M |
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%.
| Metric | HDThe Home Depot, I… | BABAAlibaba Group Hol… |
|---|---|---|
| Analyst RatingConsensus buy/hold/sell | Buy | Buy |
| Price TargetConsensus 12-month target | $414.92 | $188.62 |
| # AnalystsCovering analysts | 61 | 58 |
| Dividend YieldAnnual dividend ÷ price | +2.4% | +1.2% |
| Dividend StreakConsecutive years of raises | 16 | 2 |
| Dividend / ShareAnnual DPS | $9.18 | $12.14 |
| Buyback YieldShare repurchases ÷ mkt cap | 0.0% | +0.5% |
Historical Charts
Charts are rendered on first load. Hover for details.
Chart 1Total Return — 5 Years (Rebased to 100)
| Stock | Mar 20 | Feb 26 | Change |
|---|---|---|---|
| The Home Depot, Inc. (HD) | 100 | 164.44 | +64.4% |
| Alibaba Group Holdi… (BABA) | 100 | 79.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
| Stock | 2016 | 2025 | Change |
|---|---|---|---|
| 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
| Stock | 2016 | 2025 | Change |
|---|---|---|---|
| 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
| Stock | 2017 | 2025 | Change |
|---|---|---|---|
| The Home Depot, Inc. (HD) | 26 | 24.2 | -6.9% |
| Alibaba Group Holdi… (BABA) | 8.8 | 2.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
| Stock | 2016 | 2025 | Change |
|---|---|---|---|
| The Home Depot, Inc. (HD) | 6.45 | 14.23 | +120.6% |
| Alibaba Group Holdi… (BABA) | 34 | 53.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
The Home Depot, Inc. generated $13B FCF in 2025 (-10% vs 2021). Alibaba Group Holding Limited generated $78B FCF in 2025 (-57% vs 2021).
HD vs BABA: Frequently Asked Questions
9 questions · data-driven answers · updated daily
01Is 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.
02Which 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.
03Which 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.
04Which 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.
05Which 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.
06Is 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.
07Which 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).
08Is 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.
09What 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.