XLK vs. XLP
XLK (State Street Technology Select Sector SPDR ETF) and XLP (State Street Consumer Staples Select Sector SPDR ETF) are both exchange-traded funds - XLK is a Technology Equities fund tracking the S&P Technology Select Sector Daily Capped 35/20 Index, while XLP is a Consumer Staples Equities fund tracking the Consumer Staples Select Sector Index. Both are passively managed. Over the past 10 years, XLK returned 25.48%/yr vs 7.51%/yr for XLP. At a 0.43 correlation, their price movements are largely independent. Both charge a 0.08% expense ratio.
Performance
XLK vs. XLP - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, XLK achieves a 28.25% return, which is significantly higher than XLP's 9.13% return. Over the past 10 years, XLK has outperformed XLP with an annualized return of 25.48%, while XLP has yielded a comparatively lower 7.51% annualized return.
XLK
- 1D
- -4.14%
- 1M
- 2.23%
- YTD
- 28.25%
- 6M
- 26.51%
- 1Y
- 52.47%
- 3Y*
- 30.61%
- 5Y*
- 21.34%
- 10Y*
- 25.48%
XLP
- 1D
- 1.87%
- 1M
- -0.59%
- YTD
- 9.13%
- 6M
- 9.37%
- 1Y
- 5.70%
- 3Y*
- 7.18%
- 5Y*
- 6.68%
- 10Y*
- 7.51%
XLK vs. XLP - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
XLK State Street Technology Select Sector SPDR ETF | 28.25% | 24.61% | 21.63% | 56.02% | -27.73% | 34.74% | 43.62% | 49.86% | -1.68% | 34.26% |
XLP State Street Consumer Staples Select Sector SPDR ETF | 9.13% | 1.52% | 12.20% | -0.82% | -0.81% | 17.20% | 10.11% | 27.43% | -8.07% | 12.98% |
Correlation
The correlation between XLK and XLP is -0.29, meaning they tend to move in opposite directions. This is especially valuable for risk management - when one declines, the other has historically tended to hold steady or rise.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | -0.29 |
Correlation (3Y) Calculated over the trailing 3-year period | -0.01 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.20 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.32 |
Correlation (All Time) Calculated using the full available price history since Dec 22, 1998 | 0.43 |
The correlation between XLK and XLP shifts across timeframes, from -0.29 (1 year) to 0.43 (all time), reflecting how their relationship changes across market environments.
XLK vs. XLP - Sectors Allocation Comparison
Sectors
XLK
XLP
Technology
-
Energy
-
Industrials
-
Basic Materials
-
-
Communication Services
-
-
Consumer Cyclical
-
Consumer Defensive
-
Financial Services
-
-
Healthcare
-
-
Real Estate
-
-
Utilities
-
-
Technology
XLK
XLP
-
Energy
XLK
XLP
-
Industrials
XLK
XLP
-
Basic Materials
XLK
-
XLP
-
Communication Services
XLK
-
XLP
-
Consumer Cyclical
XLK
-
XLP
Consumer Defensive
XLK
-
XLP
Financial Services
XLK
-
XLP
-
Healthcare
XLK
-
XLP
-
Real Estate
XLK
-
XLP
-
Utilities
XLK
-
XLP
-
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
XLK vs. XLP — Risk / Return Rank
XLK
XLP
XLK vs. XLP - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for State Street Technology Select Sector SPDR ETF (XLK) and State Street Consumer Staples Select Sector SPDR ETF (XLP). 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.
| XLK | XLP | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | +1.81 | ||
| Sortino ratioReturn per unit of downside risk | +2.06 | ||
| Omega ratioGain probability vs. loss probability | 1.38 | 1.08 | +0.29 |
| Calmar ratioReturn relative to maximum drawdown | 3.31 | 0.59 | +2.72 |
| Martin ratioReturn relative to average drawdown | 10.56 | 1.12 | +9.44 |
Loading charts...
Drawdowns
XLK vs. XLP - Drawdown Comparison
The maximum XLK drawdown since its inception was -82.05%, which is greater than XLP's maximum drawdown of -35.90%. Use the drawdown chart below to compare losses from any high point for XLK and XLP.
Loading charts...
Drawdown Indicators
| XLK | XLP | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -82.05% | -35.90% | -46.15% |
Max Drawdown (1Y)Largest decline over 1 year | -15.92% | -9.69% | -6.23% |
Max Drawdown (3Y)Largest decline over 3 years | -25.66% | -12.39% | -13.27% |
Max Drawdown (5Y)Largest decline over 5 years | -33.56% | -16.30% | -17.26% |
Max Drawdown (10Y)Largest decline over 10 years | -33.56% | -24.51% | -9.05% |
Current DrawdownCurrent decline from peak | -6.96% | -5.82% | -1.14% |
Average DrawdownAverage peak-to-trough decline | -34.90% | -7.06% | -27.84% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 4.98% | 5.09% | -0.11% |
Volatility
XLK vs. XLP - Volatility Comparison
State Street Technology Select Sector SPDR ETF (XLK) has a higher volatility of 12.51% compared to State Street Consumer Staples Select Sector SPDR ETF (XLP) at 5.13%. This indicates that XLK's price experiences larger fluctuations and is considered to be riskier than XLP based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| XLK | XLP | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 12.51% | 5.13% | +7.38% |
Volatility (6M)Calculated over the trailing 6-month period | 19.70% | 10.52% | +9.18% |
Volatility (1Y)Calculated over the trailing 1-year period | 23.48% | 13.13% | +10.35% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 25.37% | 13.36% | +12.01% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 24.71% | 14.77% | +9.94% |
XLK vs. XLP - Expense Ratio Comparison
Both XLK and XLP have an expense ratio of 0.08%, making them cost-effective options compared to the broader market, where average expense ratios typically range from 0.3% to 0.9%.
Dividends
XLK vs. XLP - Dividend Comparison
XLK's dividend yield for the trailing twelve months is around 0.43%, less than XLP's 2.62% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
XLK State Street Technology Select Sector SPDR ETF | 0.43% | 0.54% | 0.66% | 0.76% | 1.04% | 0.65% | 0.92% | 1.16% | 1.60% | 1.37% | 1.74% | 1.79% |
XLP State Street Consumer Staples Select Sector SPDR ETF | 2.62% | 2.75% | 2.77% | 2.63% | 2.47% | 2.28% | 2.50% | 2.57% | 3.04% | 2.62% | 2.53% | 2.52% |
Frequently Asked Questions
XLK and XLP have a correlation of -0.29, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
XLK has higher volatility (12.51%) compared to XLP (5.13%). In terms of maximum drawdown, XLK dropped -82.05% vs XLP's -35.90%.
On 10-year performance, XLK leads with 25.48% vs 7.51% for XLP. Both ETFs have the same 0.08% expense ratio. On volatility, XLP has been the lower-risk option at 5.13%. 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.48% return vs 7.51%. Past performance does not guarantee future results, so compare this with risk, fees, and fund exposure.
XLK and XLP have the same expense ratio: 0.08% per year.
XLP has the higher dividend yield at 2.62%, compared with 0.43% for XLK.
XLK is categorized as Technology Equities, while XLP is Consumer Staples Equities. XLK tracks S&P Technology Select Sector Daily Capped 35/20 Index, while XLP tracks Consumer Staples Select Sector Index.
XLK currently has the higher Sharpe Ratio (2.25 vs 0.44), 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 XLK and XLP
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