COST vs. XLK
COST (Costco Wholesale Corporation) is a stock, while XLK (State Street Technology Select Sector SPDR ETF) is Technology Equities fund tracking the S&P Technology Select Sector Daily Capped 35/20 Index. Over the past 10 years, COST returned 22.25%/yr vs 25.04%/yr for XLK. At a 0.46 correlation, their price movements are largely independent.
Performance
COST vs. XLK - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, COST achieves a 13.35% return, which is significantly lower than XLK's 28.09% return. Over the past 10 years, COST has underperformed XLK with an annualized return of 22.25%, while XLK has yielded a comparatively higher 25.04% annualized return.
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
- 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 vs. XLK - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
COST Costco Wholesale Corporation | 13.35% | -5.39% | 39.62% | 49.00% | -19.05% | 51.82% | 32.67% | 45.70% | 10.60% | 22.37% |
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% |
Correlation
The correlation between COST and XLK 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 22, 1998 | 0.46 |
The correlation between COST and XLK 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
COST vs. XLK — Risk / Return Rank
COST
XLK
COST vs. XLK - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Costco Wholesale Corporation (COST) 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.
| COST | XLK | 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 | 0.98 | 1.42 | -0.43 |
| Calmar ratioReturn relative to maximum drawdown | -0.22 | 3.50 | -3.72 |
| Martin ratioReturn relative to average drawdown | -0.51 | 11.58 | -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
| COST | XLK | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | -0.18 | 2.53 | -2.71 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | 0.98 | 0.89 | +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.59 | 0.41 | +0.18 |
Drawdowns
COST vs. XLK - Drawdown Comparison
The maximum COST drawdown since its inception was -53.39%, smaller than the maximum XLK drawdown of -82.05%. Use the drawdown chart below to compare losses from any high point for COST and XLK.
Loading charts...
Drawdown Indicators
| COST | XLK | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -53.39% | -82.05% | +28.66% |
Max Drawdown (1Y)Largest decline over 1 year | -15.38% | -15.92% | +0.54% |
Max Drawdown (3Y)Largest decline over 3 years | -20.74% | -25.66% | +4.92% |
Max Drawdown (5Y)Largest decline over 5 years | -31.40% | -33.56% | +2.16% |
Max Drawdown (10Y)Largest decline over 10 years | -31.40% | -33.56% | +2.16% |
Current DrawdownCurrent decline from peak | -10.93% | -7.08% | -3.85% |
Average DrawdownAverage peak-to-trough decline | -13.36% | -34.95% | +21.59% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 7.15% | 4.80% | +2.35% |
Volatility
COST vs. XLK - Volatility Comparison
The current volatility for Costco Wholesale Corporation (COST) is 7.71%, while State Street Technology Select Sector SPDR ETF (XLK) has a volatility of 10.42%. This indicates that COST 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
| COST | XLK | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 7.71% | 10.42% | -2.71% |
Volatility (6M)Calculated over the trailing 6-month period | 14.53% | 18.32% | -3.79% |
Volatility (1Y)Calculated over the trailing 1-year period | 18.79% | 22.08% | -3.29% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 22.71% | 25.10% | -2.39% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 21.95% | 24.60% | -2.65% |
Dividends
COST vs. XLK - Dividend Comparison
COST's dividend yield for the trailing twelve months is around 0.55%, more than XLK's 0.41% 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
COST and XLK 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, COST dropped -53.39% vs XLK's -82.05%.
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 COST 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