PortfoliosLab logoPortfoliosLab logo
MDY vs. XLK
Performance
Return for Risk
Drawdowns
Volatility
Dividends

Performance

MDY vs. XLK - Performance Comparison

The chart below illustrates the hypothetical performance of a $10,000 investment in SPDR S&P MidCap 400 ETF (MDY) and State Street Technology Select Sector SPDR ETF (XLK). The values are adjusted to include any dividend payments, if applicable.

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%
*Multi-year figures are annualized to reflect compound growth (CAGR)

MDY vs. XLK - Yearly Performance Comparison


2026 (YTD)202520242023202220212020201920182017
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

25.1%
0.1%

Technology

15.4%
99.7%

Financial Services

13.9%

-

Consumer Cyclical

10.8%

-

Healthcare

8.7%

-

Real Estate

7.7%

-

Energy

5.6%
0.2%

Basic Materials

4.8%

-

Consumer Defensive

3.8%

-

Utilities

3.1%

-

Communication Services

1.0%

-

Industrials

MDY
25.1%
XLK
0.1%

Technology

MDY
15.4%
XLK
99.7%

Financial Services

MDY
13.9%
XLK

-

Consumer Cyclical

MDY
10.8%
XLK

-

Healthcare

MDY
8.7%
XLK

-

Real Estate

MDY
7.7%
XLK

-

Energy

MDY
5.6%
XLK
0.2%

Basic Materials

MDY
4.8%
XLK

-

Consumer Defensive

MDY
3.8%
XLK

-

Utilities

MDY
3.1%
XLK

-

Communication Services

MDY
1.0%
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

Compare risk-adjusted metric ranks to identify better-performing investments over the past 12 months.

MDY
MDY Risk / Return Rank: 5454
Overall Rank
MDY Sharpe Ratio Rank: 4949
Sharpe Ratio Rank
MDY Sortino Ratio Rank: 5151
Sortino Ratio Rank
MDY Omega Ratio Rank: 4848
Omega Ratio Rank
MDY Calmar Ratio Rank: 6060
Calmar Ratio Rank
MDY Martin Ratio Rank: 6161
Martin Ratio Rank

XLK
XLK Risk / Return Rank: 8686
Overall Rank
XLK Sharpe Ratio Rank: 9393
Sharpe Ratio Rank
XLK Sortino Ratio Rank: 8989
Sortino Ratio Rank
XLK Omega Ratio Rank: 8787
Omega Ratio Rank
XLK Calmar Ratio Rank: 8484
Calmar Ratio Rank
XLK Martin Ratio Rank: 7878
Martin Ratio Rank
The rank (0–100) shows how this investment's returns compare to the risk taken. Higher = better. Based on the past 12 months of data, combining Sharpe, Sortino, and other metrics used by quantitative funds and institutional investors.

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.


MDYXLKDifference

Sharpe ratio

Return per unit of total volatility

1.73

3.44

-1.71

Sortino ratio

Return per unit of downside risk

2.52

4.12

-1.60

Omega ratio

Gain probability vs. loss probability

1.31

1.55

-0.24

Calmar ratio

Return relative to maximum drawdown

3.01

4.56

-1.55

Martin ratio

Return relative to average drawdown

10.99

15.32

-4.33

MDY vs. XLK - Sharpe Ratio Comparison

The current MDY Sharpe Ratio is 1.73, which is lower than the XLK Sharpe Ratio of 3.44. The chart below compares the historical Sharpe Ratios of MDY and XLK, calculated using daily returns over the previous 12 months. A higher Sharpe Ratio indicates better risk-adjusted performance relative to the risk-free rate.


Loading charts...

Sharpe Ratios by Period


MDYXLKDifference

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


MDYXLKDifference

Max Drawdown

Largest 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 Drawdown

Current decline from peak

0.00%

0.00%

0.00%

Average Drawdown

Average peak-to-trough decline

-7.03%

-34.96%

+27.93%

Ulcer Index

Depth 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


MDYXLKDifference

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.


PositionTTM20252024202320222021202020192018201720162015
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.

Portfolio Optimizer

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