MDY vs. XLK
MDY (SPDR S&P MidCap 400 ETF) and XLK (State Street Technology Select Sector SPDR ETF) are both exchange-traded funds - MDY is a Small Cap Growth Equities fund tracking the S&P MidCap 400 Index, while XLK is a Technology Equities fund tracking the S&P Technology Select Sector Daily Capped 35/20 Index. Both are passively managed. Over the past 10 years, MDY returned 11.05%/yr vs 25.97%/yr for XLK. A 0.74 correlation means they provide meaningful diversification when combined. MDY charges 0.23%/yr vs 0.08%/yr for XLK.
Performance
MDY vs. XLK - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, MDY achieves a 14.02% return, which is significantly lower than XLK's 37.85% return. Over the past 10 years, MDY has underperformed XLK with an annualized return of 11.05%, while XLK has yielded a comparatively higher 25.97% annualized return.
MDY
- 1D
- 0.90%
- 1M
- 3.28%
- YTD
- 14.02%
- 6M
- 15.05%
- 1Y
- 26.67%
- 3Y*
- 15.81%
- 5Y*
- 8.07%
- 10Y*
- 11.05%
XLK
- 1D
- 1.25%
- 1M
- 22.45%
- YTD
- 37.85%
- 6M
- 37.41%
- 1Y
- 71.15%
- 3Y*
- 34.35%
- 5Y*
- 24.55%
- 10Y*
- 25.97%
MDY vs. XLK - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
MDY SPDR S&P MidCap 400 ETF | 14.02% | 7.19% | 13.64% | 16.07% | -13.28% | 24.53% | 13.50% | 25.78% | -11.29% | 15.93% |
XLK State Street Technology Select Sector SPDR ETF | 37.85% | 24.61% | 21.63% | 56.02% | -27.73% | 34.74% | 43.62% | 49.86% | -1.68% | 34.26% |
Correlation
The correlation between MDY and XLK is 0.58, which is moderate. They share some common price drivers but move independently often enough to provide real diversification benefit when combined.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | 0.58 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.59 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.68 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.67 |
Correlation (All Time) Calculated using the full available price history since Dec 23, 1998 | 0.75 |
The correlation between MDY and XLK shifts across timeframes, from 0.58 (1 year) to 0.74 (all time), reflecting how their relationship changes across market environments.
MDY vs. XLK - Sectors Allocation Comparison
Sectors
MDY
XLK
Industrials
Technology
Financial Services
-
Consumer Cyclical
-
Healthcare
-
Real Estate
-
Energy
Basic Materials
-
Consumer Defensive
-
Utilities
-
Communication Services
-
Industrials
MDY
XLK
Technology
MDY
XLK
Financial Services
MDY
XLK
-
Consumer Cyclical
MDY
XLK
-
Healthcare
MDY
XLK
-
Real Estate
MDY
XLK
-
Energy
MDY
XLK
Basic Materials
MDY
XLK
-
Consumer Defensive
MDY
XLK
-
Utilities
MDY
XLK
-
Communication Services
MDY
XLK
-
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
MDY vs. XLK — Risk / Return Rank
MDY
XLK
MDY vs. XLK - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for SPDR S&P MidCap 400 ETF (MDY) and State Street Technology Select Sector SPDR ETF (XLK). 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.
| MDY | XLK | Difference | |
|---|---|---|---|
Sharpe ratioReturn per unit of total volatility | 1.73 | 3.44 | -1.71 |
Sortino ratioReturn per unit of downside risk | 2.52 | 4.12 | -1.60 |
Omega ratioGain probability vs. loss probability | 1.31 | 1.55 | -0.24 |
Calmar ratioReturn relative to maximum drawdown | 3.01 | 4.56 | -1.55 |
Martin ratioReturn relative to average drawdown | 10.99 | 15.32 | -4.33 |
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
| MDY | XLK | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | 1.73 | 3.44 | -1.71 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | 0.41 | 0.99 | -0.58 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.52 | 1.06 | -0.54 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.53 | 0.42 | +0.11 |
Drawdowns
MDY vs. XLK - Drawdown Comparison
The maximum MDY drawdown since its inception was -55.33%, smaller than the maximum XLK drawdown of -82.05%. Use the drawdown chart below to compare losses from any high point for MDY and XLK.
Loading charts...
Drawdown Indicators
| MDY | XLK | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -55.33% | -82.05% | +26.72% |
Max Drawdown (1Y)Largest decline over 1 year | -8.82% | -15.92% | +7.10% |
Max Drawdown (3Y)Largest decline over 3 years | -24.03% | -25.66% | +1.63% |
Max Drawdown (5Y)Largest decline over 5 years | -24.03% | -33.56% | +9.53% |
Max Drawdown (10Y)Largest decline over 10 years | -42.22% | -33.56% | -8.66% |
Current DrawdownCurrent decline from peak | 0.00% | 0.00% | 0.00% |
Average DrawdownAverage peak-to-trough decline | -7.03% | -34.96% | +27.93% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 2.42% | 4.74% | -2.32% |
Volatility
MDY vs. XLK - Volatility Comparison
The current volatility for SPDR S&P MidCap 400 ETF (MDY) is 4.40%, while State Street Technology Select Sector SPDR ETF (XLK) has a volatility of 6.74%. This indicates that MDY experiences smaller price fluctuations and is considered to be less risky than XLK based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| MDY | XLK | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 4.40% | 6.74% | -2.34% |
Volatility (6M)Calculated over the trailing 6-month period | 11.30% | 16.64% | -5.34% |
Volatility (1Y)Calculated over the trailing 1-year period | 15.48% | 20.80% | -5.32% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 19.77% | 24.90% | -5.13% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 21.19% | 24.49% | -3.30% |
MDY vs. XLK - Expense Ratio Comparison
MDY has a 0.23% expense ratio, which is higher than XLK's 0.08% expense ratio. However, both funds are considered low-cost compared to the broader market, where average expense ratios usually range from 0.3% to 0.9%.
Dividends
MDY vs. XLK - Dividend Comparison
MDY's dividend yield for the trailing twelve months is around 1.04%, more than XLK's 0.39% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
MDY SPDR S&P MidCap 400 ETF | 1.04% | 1.15% | 1.18% | 1.21% | 1.37% | 0.96% | 1.12% | 1.34% | 1.39% | 1.18% | 1.31% | 1.35% |
XLK State Street Technology Select Sector SPDR ETF | 0.39% | 0.54% | 0.66% | 0.76% | 1.04% | 0.65% | 0.92% | 1.16% | 1.60% | 1.37% | 1.74% | 1.79% |
Frequently Asked Questions
MDY and XLK have a correlation of 0.58, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
XLK has higher volatility (6.74%) compared to MDY (4.40%). In terms of maximum drawdown, MDY dropped -55.33% vs XLK's -82.05%.
On 10-year performance, XLK leads with 25.97% vs 11.05% for MDY. On fees, XLK is cheaper at 0.08% per year. On volatility, MDY has been the lower-risk option at 4.40%. The better choice depends on whether you care most about return, fees, risk, or income.
Over the 10-year period, XLK has performed better with a 25.97% return vs 11.05%. Past performance does not guarantee future results, so compare this with risk, fees, and fund exposure.
XLK is cheaper with a 0.08% expense ratio, compared with 0.23% for MDY.
MDY has the higher dividend yield at 1.04%, compared with 0.39% for XLK.
MDY is categorized as Small Cap Growth Equities, while XLK is Technology Equities. MDY tracks S&P MidCap 400 Index, while XLK tracks S&P Technology Select Sector Daily Capped 35/20 Index. Their fees differ too: 0.23% for MDY and 0.08% for XLK.
XLK currently has the higher Sharpe Ratio (3.44 vs 1.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 MDY and XLK
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