HD vs. CRM
HD (The Home Depot, Inc.) and CRM (Salesforce, Inc.) are both stocks. HD operates in Home Improvement Retail (Consumer Cyclical), while CRM operates in Software - Application (Technology). Over the past 10 years, HD returned 11.84%/yr vs 8.51%/yr for CRM. At a 0.36 correlation, their price movements are largely independent.
Performance
HD vs. CRM - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, HD achieves a -8.71% return, which is significantly higher than CRM's -30.92% return. Over the past 10 years, HD has outperformed CRM with an annualized return of 11.84%, while CRM has yielded a comparatively lower 8.51% annualized return.
HD
- 1D
- -0.34%
- 1M
- -1.71%
- YTD
- -8.71%
- 6M
- -10.23%
- 1Y
- -13.44%
- 3Y*
- 3.97%
- 5Y*
- 2.68%
- 10Y*
- 11.84%
CRM
- 1D
- -1.68%
- 1M
- 0.40%
- YTD
- -30.92%
- 6M
- -29.37%
- 1Y
- -33.00%
- 3Y*
- -4.89%
- 5Y*
- -4.74%
- 10Y*
- 8.51%
HD vs. CRM - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
HD The Home Depot, Inc. | -8.71% | -9.33% | 15.00% | 12.77% | -21.98% | 59.51% | 24.50% | 30.56% | -7.30% | 44.61% |
CRM Salesforce, Inc. | -30.92% | -20.25% | 27.76% | 98.46% | -47.83% | 14.20% | 36.82% | 18.74% | 33.98% | 49.33% |
Correlation
The correlation between HD and CRM is 0.05, meaning there is essentially no relationship between their price movements. Each responds to its own set of market drivers, making them strong candidates for combining in a diversified portfolio.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | 0.05 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.23 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.31 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.33 |
Correlation (All Time) Calculated using the full available price history since Jun 24, 2004 | 0.36 |
Over the past year, the correlation between HD and CRM has dropped to 0.05 - well below their long-term average of 0.36, suggesting their price drivers have been diverging.
Fundamentals
HD:
$308.47B
CRM:
$159.00B
HD:
$14.08
CRM:
$8.59
HD:
22.00
CRM:
21.25
HD:
1.85
CRM:
3.98
HD:
22.23
CRM:
4.64
HD:
$166.59B
CRM:
$42.83B
HD:
$55.19B
CRM:
$33.25B
HD:
$23.12B
CRM:
$12.32B
Compare stocks, funds, or ETFs
Search for stocks, ETFs, and funds for a quick comparison or use the comparison tool for more options.
Return for Risk
HD vs. CRM — Risk / Return Rank
HD
CRM
HD vs. CRM - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for The Home Depot, Inc. (HD) and Salesforce, Inc. (CRM). Risk-adjusted metrics are performance indicators that assess an investment's returns in relation to its risk, enabling a more accurate comparison of different investment options.
| HD | CRM | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | +0.30 | ||
| Sortino ratioReturn per unit of downside risk | +0.45 | ||
| Omega ratioGain probability vs. loss probability | 0.92 | 0.86 | +0.06 |
| Calmar ratioReturn relative to maximum drawdown | -0.47 | -0.84 | +0.37 |
| Martin ratioReturn relative to average drawdown | -0.96 | -1.62 | +0.66 |
Data is calculated on a 1-year rolling basis and updated daily. The trend shows the change in the indicator over the past month. | |||
Loading charts...
Sharpe Ratios by Period
| HD | CRM | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | -0.58 | -0.88 | +0.30 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | 0.11 | -0.13 | +0.24 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.48 | 0.24 | +0.24 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.68 | 0.45 | +0.23 |
Drawdowns
HD vs. CRM - Drawdown Comparison
The maximum HD drawdown since its inception was -70.46%, roughly equal to the maximum CRM drawdown of -70.50%. Use the drawdown chart below to compare losses from any high point for HD and CRM.
Loading charts...
Drawdown Indicators
| HD | CRM | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -70.46% | -70.50% | +0.04% |
Max Drawdown (1Y)Largest decline over 1 year | -28.81% | -39.36% | +10.55% |
Max Drawdown (3Y)Largest decline over 3 years | -28.84% | -54.70% | +25.86% |
Max Drawdown (5Y)Largest decline over 5 years | -34.73% | -58.62% | +23.89% |
Max Drawdown (10Y)Largest decline over 10 years | -37.99% | -58.62% | +20.63% |
Current DrawdownCurrent decline from peak | -25.37% | -49.87% | +24.50% |
Average DrawdownAverage peak-to-trough decline | -20.60% | -16.12% | -4.48% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 14.08% | 20.48% | -6.40% |
Volatility
HD vs. CRM - Volatility Comparison
The current volatility for The Home Depot, Inc. (HD) is 6.57%, while Salesforce, Inc. (CRM) has a volatility of 16.96%. This indicates that HD experiences smaller price fluctuations and is considered to be less risky than CRM based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| HD | CRM | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 6.57% | 16.96% | -10.39% |
Volatility (6M)Calculated over the trailing 6-month period | 17.61% | 31.74% | -14.13% |
Volatility (1Y)Calculated over the trailing 1-year period | 23.46% | 37.87% | -14.41% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 24.05% | 37.02% | -12.97% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 24.81% | 35.36% | -10.55% |
Dividends
HD vs. CRM - Dividend Comparison
HD's dividend yield for the trailing twelve months is around 2.99%, more than CRM's 0.92% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
CRM Salesforce, Inc. | 0.92% | 0.63% | 0.48% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% |
HD The Home Depot, Inc. | 2.99% | 2.67% | 2.31% | 2.41% | 2.41% | 1.59% | 2.26% | 2.49% | 2.40% | 1.88% | 2.06% | 1.78% |
Financials
HD vs. CRM - Financials Comparison
This section allows you to compare key financial metrics between The Home Depot, Inc. and Salesforce, Inc.. You can select fields from income statements, balance sheets, and cash flow statements to easily visualize and compare the financial health of both companies.
Total Revenue: Total amount of money received from sales and other business activities
HD vs. CRM - Profitability Comparison
HD - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, The Home Depot, Inc. reported a gross profit of 13.78B and revenue of 41.77B. Therefore, the gross margin over that period was 33.0%.
CRM - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Salesforce, Inc. reported a gross profit of 8.56B and revenue of 11.13B. Therefore, the gross margin over that period was 76.9%.
HD - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, The Home Depot, Inc. reported an operating income of 4.98B and revenue of 41.77B, resulting in an operating margin of 11.9%.
CRM - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Salesforce, Inc. reported an operating income of 2.35B and revenue of 11.13B, resulting in an operating margin of 21.1%.
HD - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, The Home Depot, Inc. reported a net income of 3.29B and revenue of 41.77B, resulting in a net margin of 7.9%.
CRM - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Salesforce, Inc. reported a net income of 2.11B and revenue of 11.13B, resulting in a net margin of 18.9%.
Frequently Asked Questions
HD and CRM have a correlation of 0.05, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
CRM has higher volatility (16.96%) compared to HD (6.57%). In terms of maximum drawdown, HD dropped -70.46% vs CRM's -70.50%.
HD currently has the higher Sharpe Ratio (-0.58 vs -0.88), meaning it's delivered slightly more return per unit of risk over the trailing 12 months. However, this ranking shifts over time - use the Risk/Return Score above for a more comprehensive view that combines Sharpe, Sortino, and other measures used by quantitative funds.
Find the right allocation for HD and CRM
Add both to a portfolio and optimize allocations for your target — whether that's maximizing returns, minimizing drawdowns, or balancing risk across holdings.
Open Portfolio Optimizer