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

Performance

XLP vs. XLK - Performance Comparison

The chart below illustrates the hypothetical performance of a $10,000 investment in State Street Consumer Staples Select Sector SPDR ETF (XLP) 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, 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%
*Multi-year figures are annualized to reflect compound growth (CAGR)

XLP vs. XLK - Yearly Performance Comparison


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

99.0%

-

Consumer Cyclical

1.0%

-

Basic Materials

-

-

Communication Services

-

-

Energy

-

0.2%

Financial Services

-

-

Healthcare

-

-

Industrials

-

0.1%

Real Estate

-

-

Technology

-

99.7%

Utilities

-

-

Consumer Defensive

XLP
99.0%
XLK

-

Consumer Cyclical

XLP
1.0%
XLK

-

Basic Materials

XLP

-

XLK

-

Communication Services

XLP

-

XLK

-

Energy

XLP

-

XLK
0.2%

Financial Services

XLP

-

XLK

-

Healthcare

XLP

-

XLK

-

Industrials

XLP

-

XLK
0.1%

Real Estate

XLP

-

XLK

-

Technology

XLP

-

XLK
99.7%

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

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

XLP
XLP Risk / Return Rank: 1515
Overall Rank
XLP Sharpe Ratio Rank: 1616
Sharpe Ratio Rank
XLP Sortino Ratio Rank: 1515
Sortino Ratio Rank
XLP Omega Ratio Rank: 1515
Omega Ratio Rank
XLP Calmar Ratio Rank: 1616
Calmar Ratio Rank
XLP Martin Ratio Rank: 1414
Martin Ratio Rank

XLK
XLK Risk / Return Rank: 6969
Overall Rank
XLK Sharpe Ratio Rank: 7777
Sharpe Ratio Rank
XLK Sortino Ratio Rank: 6666
Sortino Ratio Rank
XLK Omega Ratio Rank: 7070
Omega Ratio Rank
XLK Calmar Ratio Rank: 6969
Calmar Ratio Rank
XLK Martin Ratio Rank: 6363
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.

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.


XLPXLKDifference
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

XLP vs. XLK - Sharpe Ratio Comparison

The current XLP Sharpe Ratio is 0.42, which is lower than the XLK Sharpe Ratio of 2.45. The chart below compares the historical Sharpe Ratios of XLP 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


XLPXLKDifference

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


XLPXLKDifference

Max Drawdown

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

Current decline from peak

-6.78%

-9.04%

+2.26%

Average Drawdown

Average peak-to-trough decline

-7.06%

-34.95%

+27.89%

Ulcer Index

Depth 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


XLPXLKDifference

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.


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

Portfolio Optimizer

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