MSFT vs. CRM
MSFT (Microsoft Corporation) and CRM (salesforce.com, inc.) are both stocks. Both are in the Technology sector — MSFT in Software - Infrastructure, CRM in Software - Application. Over the past 10 years, MSFT returned 25.03%/yr vs 8.89%/yr for CRM. At a 0.50 correlation, their price movements are largely independent.
Performance
MSFT vs. CRM - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, MSFT achieves a -11.24% return, which is significantly higher than CRM's -27.87% return. Over the past 10 years, MSFT has outperformed CRM with an annualized return of 25.03%, while CRM has yielded a comparatively lower 8.89% annualized return.
MSFT
- 1D
- -3.17%
- 1M
- 3.54%
- YTD
- -11.24%
- 6M
- -10.15%
- 1Y
- -6.96%
- 3Y*
- 9.26%
- 5Y*
- 12.17%
- 10Y*
- 25.03%
CRM
- 1D
- -5.09%
- 1M
- 2.77%
- YTD
- -27.87%
- 6M
- -19.82%
- 1Y
- -27.39%
- 3Y*
- -3.17%
- 5Y*
- -4.02%
- 10Y*
- 8.89%
MSFT vs. CRM - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
MSFT Microsoft Corporation | -11.24% | 15.58% | 12.93% | 58.19% | -28.02% | 52.48% | 42.53% | 57.56% | 20.80% | 40.73% |
CRM salesforce.com, inc. | -27.87% | -20.25% | 27.76% | 98.46% | -47.83% | 14.20% | 36.82% | 18.74% | 33.98% | 49.33% |
Correlation
The correlation between MSFT and CRM is 0.43, which is low. Their price movements are largely independent, making them effective diversification partners.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | 0.43 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.46 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.56 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.61 |
Correlation (All Time) Calculated using the full available price history since Jun 24, 2004 | 0.50 |
The correlation between MSFT and CRM shifts across timeframes, from 0.43 (1 year) to 0.61 (10 years), reflecting how their relationship changes across market environments.
Fundamentals
MSFT:
$3.18T
CRM:
$166.02B
MSFT:
$16.79
CRM:
$8.59
MSFT:
25.45
CRM:
22.18
MSFT:
1.78
CRM:
0.05
MSFT:
10.01
CRM:
4.16
MSFT:
7.68
CRM:
4.85
MSFT:
$318.27B
CRM:
$42.83B
MSFT:
$217.41B
CRM:
$33.25B
MSFT:
$200.96B
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
MSFT vs. CRM — Risk / Return Rank
MSFT
CRM
MSFT vs. CRM - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Microsoft Corporation (MSFT) and salesforce.com, 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.
| MSFT | CRM | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | +0.45 | ||
| Sortino ratioReturn per unit of downside risk | +0.67 | ||
| Omega ratioGain probability vs. loss probability | 0.97 | 0.89 | +0.08 |
| Calmar ratioReturn relative to maximum drawdown | -0.21 | -0.70 | +0.49 |
| Martin ratioReturn relative to average drawdown | -0.44 | -1.36 | +0.92 |
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
| MSFT | CRM | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | -0.28 | -0.73 | +0.45 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | 0.46 | -0.11 | +0.57 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.93 | 0.25 | +0.68 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.75 | 0.46 | +0.29 |
Drawdowns
MSFT vs. CRM - Drawdown Comparison
The maximum MSFT drawdown since its inception was -69.38%, roughly equal to the maximum CRM drawdown of -70.50%. Use the drawdown chart below to compare losses from any high point for MSFT and CRM.
Loading charts...
Drawdown Indicators
| MSFT | CRM | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -69.38% | -70.50% | +1.12% |
Max Drawdown (1Y)Largest decline over 1 year | -33.91% | -39.46% | +5.55% |
Max Drawdown (3Y)Largest decline over 3 years | -33.91% | -54.70% | +20.79% |
Max Drawdown (5Y)Largest decline over 5 years | -37.15% | -58.62% | +21.47% |
Max Drawdown (10Y)Largest decline over 10 years | -37.15% | -58.62% | +21.47% |
Current DrawdownCurrent decline from peak | -20.67% | -47.66% | +26.99% |
Average DrawdownAverage peak-to-trough decline | -21.78% | -16.10% | -5.68% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 15.95% | 20.18% | -4.23% |
Volatility
MSFT vs. CRM - Volatility Comparison
The current volatility for Microsoft Corporation (MSFT) is 9.95%, while salesforce.com, inc. (CRM) has a volatility of 17.31%. This indicates that MSFT 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
| MSFT | CRM | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 9.95% | 17.31% | -7.36% |
Volatility (6M)Calculated over the trailing 6-month period | 22.34% | 31.96% | -9.62% |
Volatility (1Y)Calculated over the trailing 1-year period | 25.12% | 37.89% | -12.77% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 26.63% | 37.02% | -10.39% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 27.04% | 35.34% | -8.30% |
Dividends
MSFT vs. CRM - Dividend Comparison
MSFT's dividend yield for the trailing twelve months is around 0.83%, less than CRM's 0.89% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
CRM salesforce.com, inc. | 0.89% | 0.63% | 0.48% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% |
MSFT Microsoft Corporation | 0.83% | 0.70% | 0.73% | 0.74% | 1.06% | 0.68% | 0.94% | 1.20% | 1.69% | 1.86% | 2.37% | 2.33% |
Financials
MSFT vs. CRM - Financials Comparison
This section allows you to compare key financial metrics between Microsoft Corporation and salesforce.com, 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
MSFT vs. CRM - Profitability Comparison
MSFT - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Microsoft Corporation reported a gross profit of 56.06B and revenue of 82.89B. Therefore, the gross margin over that period was 67.6%.
CRM - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, salesforce.com, inc. reported a gross profit of 8.56B and revenue of 11.13B. Therefore, the gross margin over that period was 76.9%.
MSFT - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Microsoft Corporation reported an operating income of 38.40B and revenue of 82.89B, resulting in an operating margin of 46.3%.
CRM - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, salesforce.com, inc. reported an operating income of 2.35B and revenue of 11.13B, resulting in an operating margin of 21.1%.
MSFT - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Microsoft Corporation reported a net income of 31.78B and revenue of 82.89B, resulting in a net margin of 38.3%.
CRM - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, salesforce.com, inc. reported a net income of 2.11B and revenue of 11.13B, resulting in a net margin of 18.9%.
Frequently Asked Questions
MSFT and CRM have a correlation of 0.43, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
CRM has higher volatility (17.31%) compared to MSFT (9.95%). In terms of maximum drawdown, MSFT dropped -69.38% vs CRM's -70.50%.
MSFT currently has the higher Sharpe Ratio (-0.28 vs -0.73), 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 MSFT 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