SAP vs. MSFT
SAP (SAP SE) and MSFT (Microsoft Corporation) are both stocks. Both are in the Technology sector — SAP in Software - Application, MSFT in Software - Infrastructure. Over the past 10 years, SAP returned 10.53%/yr vs 25.43%/yr for MSFT. At a 0.47 correlation, their price movements are largely independent.
Performance
SAP vs. MSFT - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, SAP achieves a -20.08% return, which is significantly lower than MSFT's -8.34% return. Over the past 10 years, SAP has underperformed MSFT with an annualized return of 10.53%, while MSFT has yielded a comparatively higher 25.43% annualized return.
SAP
- 1D
- -2.70%
- 1M
- 13.69%
- YTD
- -20.08%
- 6M
- -19.69%
- 1Y
- -36.28%
- 3Y*
- 14.25%
- 5Y*
- 8.40%
- 10Y*
- 10.53%
MSFT
- 1D
- -4.17%
- 1M
- 6.71%
- YTD
- -8.34%
- 6M
- -9.54%
- 1Y
- -3.71%
- 3Y*
- 10.44%
- 5Y*
- 13.35%
- 10Y*
- 25.43%
SAP vs. MSFT - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
SAP SAP SE | -20.08% | -0.48% | 61.27% | 52.30% | -24.64% | 9.22% | -1.28% | 36.43% | -10.04% | 31.25% |
MSFT Microsoft Corporation | -8.34% | 15.58% | 12.93% | 58.19% | -28.02% | 52.48% | 42.53% | 57.56% | 20.80% | 40.73% |
Correlation
The correlation between SAP and MSFT is 0.42, 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.42 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.47 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.53 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.54 |
Correlation (All Time) Calculated using the full available price history since Aug 10, 1998 | 0.47 |
The correlation between SAP and MSFT shifts across timeframes, from 0.42 (1 year) to 0.54 (10 years), reflecting how their relationship changes across market environments.
Fundamentals
SAP:
$222.88B
MSFT:
$3.29T
SAP:
$6.13
MSFT:
$16.79
SAP:
31.15
MSFT:
26.28
SAP:
0.66
MSFT:
1.84
SAP:
6.00
MSFT:
10.34
SAP:
4.97
MSFT:
7.93
SAP:
$37.34B
MSFT:
$318.27B
SAP:
$27.51B
MSFT:
$217.41B
SAP:
$12.97B
MSFT:
$200.96B
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
SAP vs. MSFT — Risk / Return Rank
SAP
MSFT
SAP vs. MSFT - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for SAP SE (SAP) and Microsoft Corporation (MSFT). 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.
| SAP | MSFT | Difference | |
|---|---|---|---|
Sharpe ratioReturn per unit of total volatility | -1.10 | -0.15 | -0.95 |
Sortino ratioReturn per unit of downside risk | -1.49 | -0.04 | -1.46 |
Omega ratioGain probability vs. loss probability | 0.80 | 1.00 | -0.19 |
Calmar ratioReturn relative to maximum drawdown | -0.75 | -0.10 | -0.65 |
Martin ratioReturn relative to average drawdown | -1.32 | -0.21 | -1.10 |
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
| SAP | MSFT | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | -1.10 | -0.15 | -0.95 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | 0.30 | 0.50 | -0.21 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.37 | 0.94 | -0.57 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.15 | 0.75 | -0.60 |
Drawdowns
SAP vs. MSFT - Drawdown Comparison
The maximum SAP drawdown since its inception was -87.91%, which is greater than MSFT's maximum drawdown of -69.38%. Use the drawdown chart below to compare losses from any high point for SAP and MSFT.
Loading charts...
Drawdown Indicators
| SAP | MSFT | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -87.91% | -69.38% | -18.53% |
Max Drawdown (1Y)Largest decline over 1 year | -47.71% | -33.91% | -13.80% |
Max Drawdown (3Y)Largest decline over 3 years | -47.71% | -33.91% | -13.80% |
Max Drawdown (5Y)Largest decline over 5 years | -47.71% | -37.15% | -10.56% |
Max Drawdown (10Y)Largest decline over 10 years | -51.31% | -37.15% | -14.16% |
Current DrawdownCurrent decline from peak | -37.76% | -18.07% | -19.69% |
Average DrawdownAverage peak-to-trough decline | -28.23% | -21.78% | -6.45% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 27.28% | 15.90% | +11.38% |
Volatility
SAP vs. MSFT - Volatility Comparison
SAP SE (SAP) has a higher volatility of 11.84% compared to Microsoft Corporation (MSFT) at 9.31%. This indicates that SAP's price experiences larger fluctuations and is considered to be riskier than MSFT based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| SAP | MSFT | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 11.84% | 9.31% | +2.53% |
Volatility (6M)Calculated over the trailing 6-month period | 29.34% | 22.14% | +7.20% |
Volatility (1Y)Calculated over the trailing 1-year period | 33.16% | 24.92% | +8.24% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 28.50% | 26.59% | +1.91% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 28.25% | 27.03% | +1.22% |
Dividends
SAP vs. MSFT - Dividend Comparison
SAP's dividend yield for the trailing twelve months is around 1.53%, more than MSFT's 0.81% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
MSFT Microsoft Corporation | 0.81% | 0.70% | 0.73% | 0.74% | 1.06% | 0.68% | 0.94% | 1.20% | 1.69% | 1.86% | 2.37% | 2.33% |
SAP SAP SE | 1.53% | 1.05% | 0.97% | 1.41% | 2.05% | 1.56% | 1.31% | 1.27% | 1.73% | 0.87% | 1.08% | 1.11% |
Financials
SAP vs. MSFT - Financials Comparison
This section allows you to compare key financial metrics between SAP SE and Microsoft Corporation. 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
SAP vs. MSFT - Profitability Comparison
SAP - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, SAP SE reported a gross profit of 6.97B and revenue of 9.56B. Therefore, the gross margin over that period was 73.0%.
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%.
SAP - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, SAP SE reported an operating income of 2.75B and revenue of 9.56B, resulting in an operating margin of 28.8%.
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%.
SAP - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, SAP SE reported a net income of 1.93B and revenue of 9.56B, resulting in a net margin of 20.2%.
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%.
Frequently Asked Questions
SAP and MSFT have a correlation of 0.42, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
SAP has higher volatility (11.84%) compared to MSFT (9.31%). In terms of maximum drawdown, SAP dropped -87.91% vs MSFT's -69.38%.
MSFT currently has the higher Sharpe Ratio (-0.15 vs -1.10), 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 SAP and MSFT
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