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 20.81%/yr vs 23.89%/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 8.82% return, which is significantly lower than XLK's 22.34% return. Over the past 10 years, COST has underperformed XLK with an annualized return of 20.81%, while XLK has yielded a comparatively higher 23.89% annualized return.
COST
- 1D
- -0.54%
- 1M
- -1.64%
- 6M
- -2.61%
- YTD
- 8.82%
- 1Y
- -1.04%
- 3Y*
- 20.42%
- 5Y*
- 18.94%
- 10Y*
- 20.81%
- ALL TIME*
- 16.93%
XLK
- 1D
- 0.07%
- 1M
- -8.11%
- 6M
- 20.96%
- YTD
- 22.34%
- 1Y
- 35.41%
- 3Y*
- 26.73%
- 5Y*
- 19.16%
- 10Y*
- 23.89%
- ALL TIME*
- 10.23%
COST vs. XLK - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
COST Costco Wholesale Corporation | 8.82% | -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 | 22.34% | 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.22, 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.22 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.20 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.40 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.42 |
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.22 (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.
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.
| COST | XLK | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -1.50 | ||
| Sortino ratioReturn per unit of downside risk | -1.87 | ||
| Omega ratioGain probability vs. loss probability | 1.01 | 1.25 | -0.24 |
| Calmar ratioReturn relative to maximum drawdown | -0.06 | 2.23 | -2.30 |
| Martin ratioReturn relative to average drawdown | -0.14 | 6.53 | -6.67 |
Loading charts...
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 | -16.57% | -15.92% | -0.65% |
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 | -14.49% | -11.25% | -3.24% |
Average DrawdownAverage peak-to-trough decline | -13.36% | -34.83% | +21.47% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 7.38% | 5.43% | +1.95% |
Volatility
COST vs. XLK - Volatility Comparison
The current volatility for Costco Wholesale Corporation (COST) is 7.25%, while State Street Technology Select Sector SPDR ETF (XLK) has a volatility of 9.59%. 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.25% | 9.59% | -2.34% |
Volatility (6M)Calculated over the trailing 6-month period | 14.98% | 20.94% | -5.96% |
Volatility (1Y)Calculated over the trailing 1-year period | 19.74% | 24.61% | -4.87% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 22.90% | 25.57% | -2.67% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 22.02% | 24.81% | -2.79% |
Dividends
COST vs. XLK - Dividend Comparison
COST's dividend yield for the trailing twelve months is around 0.57%, more than XLK's 0.45% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
COST Costco Wholesale Corporation | 0.57% | 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.45% | 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.22, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
XLK has higher volatility (9.59%) compared to COST (7.25%). In terms of maximum drawdown, COST dropped -53.39% vs XLK's -82.05%.
XLK currently has the higher Sharpe Ratio (1.45 vs -0.05), 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