XLP vs. XLK
XLP (State Street Consumer Staples Select Sector SPDR ETF) and XLK (State Street Technology Select Sector SPDR ETF) are both exchange-traded funds - XLP is a Consumer Staples Equities fund tracking the Consumer Staples Select Sector 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, XLP returned 7.37%/yr vs 24.71%/yr for XLK. At a 0.43 correlation, their price movements are largely independent. Both charge a 0.08% expense ratio.
Performance
XLP vs. XLK - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, XLP achieves a 8.02% return, which is significantly lower than XLK's 25.39% return. Over the past 10 years, XLP has underperformed XLK with an annualized return of 7.37%, while XLK has yielded a comparatively higher 24.71% annualized return.
XLP
- 1D
- 1.71%
- 1M
- -0.95%
- YTD
- 8.02%
- 6M
- 7.80%
- 1Y
- 5.30%
- 3Y*
- 7.46%
- 5Y*
- 5.88%
- 10Y*
- 7.37%
XLK
- 1D
- -6.66%
- 1M
- 6.04%
- YTD
- 25.39%
- 6M
- 23.33%
- 1Y
- 53.58%
- 3Y*
- 30.43%
- 5Y*
- 21.75%
- 10Y*
- 24.71%
XLP vs. XLK - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
XLP State Street Consumer Staples Select Sector SPDR ETF | 8.02% | 1.52% | 12.20% | -0.82% | -0.81% | 17.20% | 10.11% | 27.43% | -8.07% | 12.98% |
XLK State Street Technology Select Sector SPDR ETF | 25.39% | 24.61% | 21.63% | 56.02% | -27.73% | 34.74% | 43.62% | 49.86% | -1.68% | 34.26% |
Correlation
The correlation between XLP and XLK is -0.23, 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.23 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.02 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.22 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.33 |
Correlation (All Time) Calculated using the full available price history since Dec 23, 1998 | 0.43 |
The correlation between XLP and XLK shifts across timeframes, from -0.23 (1 year) to 0.43 (all time), reflecting how their relationship changes across market environments.
XLP vs. XLK - Sectors Allocation Comparison
Sectors
XLP
XLK
Consumer Defensive
-
Consumer Cyclical
-
Basic Materials
-
-
Communication Services
-
-
Energy
-
Financial Services
-
-
Healthcare
-
-
Industrials
-
Real Estate
-
-
Technology
-
Utilities
-
-
Consumer Defensive
XLP
XLK
-
Consumer Cyclical
XLP
XLK
-
Basic Materials
XLP
-
XLK
-
Communication Services
XLP
-
XLK
-
Energy
XLP
-
XLK
Financial Services
XLP
-
XLK
-
Healthcare
XLP
-
XLK
-
Industrials
XLP
-
XLK
Real Estate
XLP
-
XLK
-
Technology
XLP
-
XLK
Utilities
XLP
-
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
XLP vs. XLK — Risk / Return Rank
XLP
XLK
XLP vs. XLK - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for State Street Consumer Staples Select Sector SPDR ETF (XLP) 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.
| XLP | XLK | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -2.03 | ||
| Sortino ratioReturn per unit of downside risk | -2.29 | ||
| Omega ratioGain probability vs. loss probability | 1.08 | 1.41 | -0.33 |
| Calmar ratioReturn relative to maximum drawdown | 0.55 | 3.38 | -2.83 |
| Martin ratioReturn relative to average drawdown | 1.07 | 11.25 | -10.17 |
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
| XLP | XLK | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | 0.42 | 2.45 | -2.03 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | 0.44 | 0.87 | -0.43 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.50 | 1.01 | -0.51 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.44 | 0.40 | +0.03 |
Drawdowns
XLP vs. XLK - Drawdown Comparison
The maximum XLP drawdown since its inception was -35.90%, smaller than the maximum XLK drawdown of -82.05%. Use the drawdown chart below to compare losses from any high point for XLP and XLK.
Loading charts...
Drawdown Indicators
| XLP | XLK | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -35.90% | -82.05% | +46.15% |
Max Drawdown (1Y)Largest decline over 1 year | -9.69% | -15.92% | +6.23% |
Max Drawdown (3Y)Largest decline over 3 years | -12.39% | -25.66% | +13.27% |
Max Drawdown (5Y)Largest decline over 5 years | -16.30% | -33.56% | +17.26% |
Max Drawdown (10Y)Largest decline over 10 years | -24.51% | -33.56% | +9.05% |
Current DrawdownCurrent decline from peak | -6.78% | -9.04% | +2.26% |
Average DrawdownAverage peak-to-trough decline | -7.06% | -34.95% | +27.89% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 4.95% | 4.78% | +0.17% |
Volatility
XLP vs. XLK - Volatility Comparison
The current volatility for State Street Consumer Staples Select Sector SPDR ETF (XLP) is 4.29%, while State Street Technology Select Sector SPDR ETF (XLK) has a volatility of 10.28%. This indicates that XLP 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
| XLP | XLK | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 4.29% | 10.28% | -5.99% |
Volatility (6M)Calculated over the trailing 6-month period | 9.98% | 18.21% | -8.23% |
Volatility (1Y)Calculated over the trailing 1-year period | 12.76% | 21.96% | -9.20% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 13.31% | 25.07% | -11.76% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 14.74% | 24.59% | -9.85% |
XLP vs. XLK - Expense Ratio Comparison
Both XLP and XLK 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
XLP vs. XLK - Dividend Comparison
XLP's dividend yield for the trailing twelve months is around 2.61%, more than XLK's 0.42% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
XLK State Street Technology Select Sector SPDR ETF | 0.42% | 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.61% | 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
XLP and XLK have a correlation of -0.23, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
XLK has higher volatility (10.28%) compared to XLP (4.29%). In terms of maximum drawdown, XLP dropped -35.90% vs XLK's -82.05%.
On 10-year performance, XLK leads with 24.71% vs 7.37% for XLP. Both ETFs have the same 0.08% expense ratio. On volatility, XLP has been the lower-risk option at 4.29%. 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 24.71% return vs 7.37%. Past performance does not guarantee future results, so compare this with risk, fees, and fund exposure.
XLP and XLK have the same expense ratio: 0.08% per year.
XLP has the higher dividend yield at 2.61%, compared with 0.42% for XLK.
XLP is categorized as Consumer Staples Equities, while XLK is Technology Equities. XLP tracks Consumer Staples Select Sector Index, while XLK tracks S&P Technology Select Sector Daily Capped 35/20 Index.
XLK currently has the higher Sharpe Ratio (2.45 vs 0.42), 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 XLP 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