XLK vs. COST
XLK (State Street Technology Select Sector SPDR ETF) is Technology Equities fund tracking the S&P Technology Select Sector Daily Capped 35/20 Index, while COST (Costco Wholesale Corporation) is a stock. Over the past 10 years, XLK returned 25.04%/yr vs 22.25%/yr for COST. At a 0.46 correlation, their price movements are largely independent.
Performance
XLK vs. COST - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, XLK achieves a 28.09% return, which is significantly higher than COST's 13.35% return. Over the past 10 years, XLK has outperformed COST with an annualized return of 25.04%, while COST has yielded a comparatively lower 22.25% annualized return.
XLK
- 1D
- 2.15%
- 1M
- 4.93%
- YTD
- 28.09%
- 6M
- 25.10%
- 1Y
- 55.42%
- 3Y*
- 31.33%
- 5Y*
- 22.26%
- 10Y*
- 25.04%
COST
- 1D
- 0.30%
- 1M
- -3.37%
- YTD
- 13.35%
- 6M
- 10.14%
- 1Y
- -3.42%
- 3Y*
- 25.18%
- 5Y*
- 22.05%
- 10Y*
- 22.25%
XLK vs. COST - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
XLK State Street Technology Select Sector SPDR ETF | 28.09% | 24.61% | 21.63% | 56.02% | -27.73% | 34.74% | 43.62% | 49.86% | -1.68% | 34.26% |
COST Costco Wholesale Corporation | 13.35% | -5.39% | 39.62% | 49.00% | -19.05% | 51.82% | 32.67% | 45.70% | 10.60% | 22.37% |
Correlation
The correlation between XLK and COST is -0.16, 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.16 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.25 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.42 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.44 |
Correlation (All Time) Calculated using the full available price history since Dec 23, 1998 | 0.46 |
The correlation between XLK and COST shifts across timeframes, from -0.16 (1 year) to 0.46 (all time), reflecting how their relationship changes across market environments.
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. COST — Risk / Return Rank
XLK
COST
XLK vs. COST - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for State Street Technology Select Sector SPDR ETF (XLK) and Costco Wholesale Corporation (COST). 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.
| XLK | COST | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | +2.71 | ||
| Sortino ratioReturn per unit of downside risk | +3.19 | ||
| Omega ratioGain probability vs. loss probability | 1.42 | 0.98 | +0.43 |
| Calmar ratioReturn relative to maximum drawdown | 3.50 | -0.22 | +3.72 |
| Martin ratioReturn relative to average drawdown | 11.58 | -0.51 | +12.09 |
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
| XLK | COST | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | 2.53 | -0.18 | +2.71 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | 0.89 | 0.98 | -0.08 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 1.02 | 1.02 | 0.00 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.41 | 0.59 | -0.18 |
Drawdowns
XLK vs. COST - Drawdown Comparison
The maximum XLK drawdown since its inception was -82.05%, which is greater than COST's maximum drawdown of -53.39%. Use the drawdown chart below to compare losses from any high point for XLK and COST.
Loading charts...
Drawdown Indicators
| XLK | COST | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -82.05% | -53.39% | -28.66% |
Max Drawdown (1Y)Largest decline over 1 year | -15.92% | -15.38% | -0.54% |
Max Drawdown (3Y)Largest decline over 3 years | -25.66% | -20.74% | -4.92% |
Max Drawdown (5Y)Largest decline over 5 years | -33.56% | -31.40% | -2.16% |
Max Drawdown (10Y)Largest decline over 10 years | -33.56% | -31.40% | -2.16% |
Current DrawdownCurrent decline from peak | -7.08% | -10.93% | +3.85% |
Average DrawdownAverage peak-to-trough decline | -34.95% | -13.36% | -21.59% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 4.80% | 7.15% | -2.35% |
Volatility
XLK vs. COST - Volatility Comparison
State Street Technology Select Sector SPDR ETF (XLK) has a higher volatility of 10.42% compared to Costco Wholesale Corporation (COST) at 7.71%. This indicates that XLK's price experiences larger fluctuations and is considered to be riskier than COST based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| XLK | COST | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 10.42% | 7.71% | +2.71% |
Volatility (6M)Calculated over the trailing 6-month period | 18.32% | 14.53% | +3.79% |
Volatility (1Y)Calculated over the trailing 1-year period | 22.08% | 18.79% | +3.29% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 25.10% | 22.71% | +2.39% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 24.60% | 21.95% | +2.65% |
Dividends
XLK vs. COST - Dividend Comparison
XLK's dividend yield for the trailing twelve months is around 0.41%, less than COST's 0.55% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
COST Costco Wholesale Corporation | 0.55% | 0.59% | 0.49% | 2.87% | 0.76% | 0.54% | 3.38% | 0.86% | 1.08% | 4.81% | 1.09% | 4.06% |
XLK State Street Technology Select Sector SPDR ETF | 0.41% | 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
XLK and COST have a correlation of -0.16, 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.42%) compared to COST (7.71%). In terms of maximum drawdown, XLK dropped -82.05% vs COST's -53.39%.
XLK currently has the higher Sharpe Ratio (2.53 vs -0.18), 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 COST
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