MSFT vs. SHY
MSFT (Microsoft Corporation) is a stock, while SHY (iShares 1-3 Year Treasury Bond ETF) is Government Bonds fund tracking the ICE US Treasury 1-3 Year Index. Over the past 10 years, MSFT returned 24.39%/yr vs 1.65%/yr for SHY. At a correlation of -0.15, they often move in opposite directions.
Performance
MSFT vs. SHY - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, MSFT achieves a -18.85% return, which is significantly lower than SHY's 0.55% return. Over the past 10 years, MSFT has outperformed SHY with an annualized return of 24.39%, while SHY has yielded a comparatively lower 1.65% annualized return.
MSFT
- 1D
- 0.10%
- 1M
- -3.36%
- YTD
- -18.85%
- 6M
- -17.98%
- 1Y
- -17.75%
- 3Y*
- 6.16%
- 5Y*
- 9.56%
- 10Y*
- 24.39%
SHY
- 1D
- -0.02%
- 1M
- 0.15%
- YTD
- 0.55%
- 6M
- 0.80%
- 1Y
- 3.22%
- 3Y*
- 4.15%
- 5Y*
- 1.74%
- 10Y*
- 1.65%
MSFT vs. SHY - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
MSFT Microsoft Corporation | -18.85% | 15.58% | 12.93% | 58.19% | -28.02% | 52.48% | 42.53% | 57.56% | 20.80% | 40.73% |
SHY iShares 1-3 Year Treasury Bond ETF | 0.55% | 4.95% | 3.92% | 4.16% | -3.88% | -0.71% | 3.03% | 3.38% | 1.46% | 0.26% |
Correlation
The correlation between MSFT and SHY is 0.00, 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.00 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.00 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.06 |
Correlation (10Y) Calculated over the trailing 10-year period | -0.03 |
Correlation (All Time) Calculated using the full available price history since Jul 26, 2002 | -0.15 |
The correlation between MSFT and SHY shifts across timeframes, from -0.15 (all time) to 0.06 (5 years), reflecting how their relationship changes across market environments.
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. SHY — Risk / Return Rank
MSFT
SHY
MSFT vs. SHY - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Microsoft Corporation (MSFT) and iShares 1-3 Year Treasury Bond ETF (SHY). 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.
Values are calculated on a 1-year rolling basis and updated daily. Risk-adjusted metrics are more stable over longer periods — use the period switch above to explore them.
| MSFT | SHY | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -3.13 | ||
| Sortino ratioReturn per unit of downside risk | -4.82 | ||
| Omega ratioGain probability vs. loss probability | 0.89 | 1.50 | -0.61 |
| Calmar ratioReturn relative to maximum drawdown | -0.53 | 3.64 | -4.16 |
| Martin ratioReturn relative to average drawdown | -1.08 | 14.45 | -15.53 |
Loading charts...
Drawdowns
MSFT vs. SHY - Drawdown Comparison
The maximum MSFT drawdown since its inception was -69.38%, which is greater than SHY's maximum drawdown of -5.71%. Use the drawdown chart below to compare losses from any high point for MSFT and SHY.
Loading charts...
Drawdown Indicators
| MSFT | SHY | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -69.38% | -5.71% | -63.67% |
Max Drawdown (1Y)Largest decline over 1 year | -33.91% | -0.89% | -33.02% |
Max Drawdown (3Y)Largest decline over 3 years | -33.91% | -0.97% | -32.94% |
Max Drawdown (5Y)Largest decline over 5 years | -37.15% | -5.71% | -31.44% |
Max Drawdown (10Y)Largest decline over 10 years | -37.15% | -5.71% | -31.44% |
Current DrawdownCurrent decline from peak | -27.46% | -0.18% | -27.28% |
Average DrawdownAverage peak-to-trough decline | -21.78% | -0.52% | -21.26% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 16.48% | 0.22% | +16.26% |
Volatility
MSFT vs. SHY - Volatility Comparison
Microsoft Corporation (MSFT) has a higher volatility of 10.52% compared to iShares 1-3 Year Treasury Bond ETF (SHY) at 0.40%. This indicates that MSFT's price experiences larger fluctuations and is considered to be riskier than SHY based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| MSFT | SHY | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 10.52% | 0.40% | +10.12% |
Volatility (6M)Calculated over the trailing 6-month period | 22.31% | 0.95% | +21.36% |
Volatility (1Y)Calculated over the trailing 1-year period | 25.42% | 1.33% | +24.09% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 26.66% | 1.99% | +24.67% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 27.06% | 1.57% | +25.49% |
Dividends
MSFT vs. SHY - Dividend Comparison
MSFT's dividend yield for the trailing twelve months is around 0.91%, less than SHY's 3.68% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
MSFT Microsoft Corporation | 0.91% | 0.70% | 0.73% | 0.74% | 1.06% | 0.68% | 0.94% | 1.20% | 1.69% | 1.86% | 2.37% | 2.33% |
SHY iShares 1-3 Year Treasury Bond ETF | 3.68% | 3.81% | 3.92% | 2.99% | 1.30% | 0.26% | 0.94% | 2.12% | 1.72% | 0.98% | 0.71% | 0.54% |
Frequently Asked Questions
MSFT and SHY have a correlation of 0.00, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
MSFT has higher volatility (10.52%) compared to SHY (0.40%). In terms of maximum drawdown, MSFT dropped -69.38% vs SHY's -5.71%.
SHY currently has the higher Sharpe Ratio (2.43 vs -0.70), 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 SHY
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