IYM vs. XLK
IYM (iShares U.S. Basic Materials ETF) and XLK (State Street Technology Select Sector SPDR ETF) are both exchange-traded funds - IYM is a Materials fund tracking the Dow Jones U.S. Basic Materials 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, IYM returned 10.92%/yr vs 25.62%/yr for XLK. A 0.59 correlation means they provide meaningful diversification when combined. IYM charges 0.42%/yr vs 0.08%/yr for XLK.
Performance
IYM vs. XLK - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, IYM achieves a 22.18% return, which is significantly lower than XLK's 34.34% return. Over the past 10 years, IYM has underperformed XLK with an annualized return of 10.92%, while XLK has yielded a comparatively higher 25.62% annualized return.
IYM
- 1D
- 0.10%
- 1M
- 3.09%
- YTD
- 22.18%
- 6M
- 27.03%
- 1Y
- 37.82%
- 3Y*
- 16.01%
- 5Y*
- 7.84%
- 10Y*
- 10.92%
XLK
- 1D
- -1.56%
- 1M
- 16.63%
- YTD
- 34.34%
- 6M
- 33.10%
- 1Y
- 64.08%
- 3Y*
- 33.46%
- 5Y*
- 23.44%
- 10Y*
- 25.62%
IYM vs. XLK - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
IYM iShares U.S. Basic Materials ETF | 22.18% | 20.41% | -4.54% | 12.83% | -9.15% | 25.62% | 17.87% | 19.22% | -16.63% | 24.83% |
XLK State Street Technology Select Sector SPDR ETF | 34.34% | 24.61% | 21.63% | 56.02% | -27.73% | 34.74% | 43.62% | 49.86% | -1.68% | 34.26% |
Correlation
The correlation between IYM and XLK 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.45 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.54 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.56 |
Correlation (All Time) Calculated using the full available price history since Jun 21, 2000 | 0.59 |
The correlation between IYM and XLK shifts across timeframes, from 0.43 (1 year) to 0.59 (all time), reflecting how their relationship changes across market environments.
IYM vs. XLK - Sectors Allocation Comparison
Sectors
IYM
XLK
Basic Materials
-
Industrials
Consumer Cyclical
-
Communication Services
-
-
Consumer Defensive
-
-
Energy
-
Financial Services
-
-
Healthcare
-
-
Real Estate
-
-
Technology
-
Utilities
-
-
Basic Materials
IYM
XLK
-
Industrials
IYM
XLK
Consumer Cyclical
IYM
XLK
-
Communication Services
IYM
-
XLK
-
Consumer Defensive
IYM
-
XLK
-
Energy
IYM
-
XLK
Financial Services
IYM
-
XLK
-
Healthcare
IYM
-
XLK
-
Real Estate
IYM
-
XLK
-
Technology
IYM
-
XLK
Utilities
IYM
-
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
IYM vs. XLK — Risk / Return Rank
IYM
XLK
IYM vs. XLK - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for iShares U.S. Basic Materials ETF (IYM) 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.
| IYM | XLK | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -1.05 | ||
| Sortino ratioReturn per unit of downside risk | -1.06 | ||
| Omega ratioGain probability vs. loss probability | 1.34 | 1.49 | -0.15 |
| Calmar ratioReturn relative to maximum drawdown | 2.79 | 4.04 | -1.25 |
| Martin ratioReturn relative to average drawdown | 10.62 | 13.55 | -2.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
| IYM | XLK | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | 2.04 | 3.09 | -1.05 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | 0.39 | 0.95 | -0.56 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.50 | 1.05 | -0.54 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.34 | 0.41 | -0.08 |
Drawdowns
IYM vs. XLK - Drawdown Comparison
The maximum IYM drawdown since its inception was -67.78%, smaller than the maximum XLK drawdown of -82.05%. Use the drawdown chart below to compare losses from any high point for IYM and XLK.
Loading charts...
Drawdown Indicators
| IYM | XLK | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -67.78% | -82.05% | +14.27% |
Max Drawdown (1Y)Largest decline over 1 year | -13.61% | -15.92% | +2.31% |
Max Drawdown (3Y)Largest decline over 3 years | -23.62% | -25.66% | +2.04% |
Max Drawdown (5Y)Largest decline over 5 years | -29.94% | -33.56% | +3.62% |
Max Drawdown (10Y)Largest decline over 10 years | -42.76% | -33.56% | -9.20% |
Current DrawdownCurrent decline from peak | -0.78% | -2.54% | +1.76% |
Average DrawdownAverage peak-to-trough decline | -11.45% | -34.95% | +23.50% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 3.57% | 4.74% | -1.17% |
Volatility
IYM vs. XLK - Volatility Comparison
The current volatility for iShares U.S. Basic Materials ETF (IYM) is 6.34%, while State Street Technology Select Sector SPDR ETF (XLK) has a volatility of 7.27%. This indicates that IYM 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
| IYM | XLK | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 6.34% | 7.27% | -0.93% |
Volatility (6M)Calculated over the trailing 6-month period | 14.85% | 16.76% | -1.91% |
Volatility (1Y)Calculated over the trailing 1-year period | 18.64% | 20.86% | -2.22% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 20.37% | 24.90% | -4.53% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 21.70% | 24.49% | -2.79% |
IYM vs. XLK - Expense Ratio Comparison
IYM has a 0.42% expense ratio, which is higher than XLK's 0.08% expense ratio.
Dividends
IYM vs. XLK - Dividend Comparison
IYM's dividend yield for the trailing twelve months is around 1.24%, more than XLK's 0.40% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
IYM iShares U.S. Basic Materials ETF | 1.24% | 1.51% | 1.65% | 1.77% | 2.14% | 1.48% | 1.39% | 2.08% | 1.68% | 1.43% | 1.47% | 2.04% |
XLK State Street Technology Select Sector SPDR ETF | 0.40% | 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
IYM and XLK 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.
XLK has higher volatility (7.27%) compared to IYM (6.34%). In terms of maximum drawdown, IYM dropped -67.78% vs XLK's -82.05%.
On 10-year performance, XLK leads with 25.62% vs 10.92% for IYM. On fees, XLK is cheaper at 0.08% per year. On volatility, IYM has been the lower-risk option at 6.34%. 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.62% return vs 10.92%. 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.42% for IYM.
IYM has the higher dividend yield at 1.24%, compared with 0.40% for XLK.
IYM is categorized as Materials, while XLK is Technology Equities. IYM tracks Dow Jones U.S. Basic Materials Index, while XLK tracks S&P Technology Select Sector Daily Capped 35/20 Index. They also come from different issuers: iShares and State Street. Their fees differ too: 0.42% for IYM and 0.08% for XLK.
XLK currently has the higher Sharpe Ratio (3.09 vs 2.04), 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 IYM 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