COST vs. XLP
COST (Costco Wholesale Corporation) is a stock, while XLP (State Street Consumer Staples Select Sector SPDR ETF) is Consumer Staples Equities fund tracking the Consumer Staples Select Sector Index. Over the past 10 years, COST returned 21.11%/yr vs 7.14%/yr for XLP. A 0.51 correlation means they provide meaningful diversification when combined.
Performance
COST vs. XLP - Performance Comparison
Loading charts...
Returns By Period
The year-to-date returns for both investments are quite close, with COST having a 10.19% return and XLP slightly higher at 10.62%. Over the past 10 years, COST has outperformed XLP with an annualized return of 21.11%, while XLP has yielded a comparatively lower 7.14% annualized return.
COST
- 1D
- -0.29%
- 1M
- -2.51%
- 6M
- 6.87%
- YTD
- 10.19%
- 1Y
- -3.97%
- 3Y*
- 23.38%
- 5Y*
- 19.69%
- 10Y*
- 21.11%
XLP
- 1D
- 0.90%
- 1M
- 2.41%
- 6M
- 10.92%
- YTD
- 10.62%
- 1Y
- 6.22%
- 3Y*
- 7.82%
- 5Y*
- 6.78%
- 10Y*
- 7.14%
COST vs. XLP - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
COST Costco Wholesale Corporation | 10.19% | -5.39% | 39.62% | 49.00% | -19.05% | 51.82% | 32.67% | 45.70% | 10.60% | 22.37% |
XLP State Street Consumer Staples Select Sector SPDR ETF | 10.62% | 1.52% | 12.20% | -0.82% | -0.81% | 17.20% | 10.11% | 27.43% | -8.07% | 12.98% |
Correlation
The correlation between COST and XLP is 0.54, which is moderate. They share some common price drivers but move independently often enough to provide real diversification benefit when combined.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | 0.54 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.53 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.58 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.57 |
Correlation (All Time) Calculated using the full available price history since Dec 22, 1998 | 0.51 |
The correlation between COST and XLP has been stable across timeframes, ranging from 0.51 to 0.58 - a consistent structural relationship.
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. XLP — Risk / Return Rank
COST
XLP
COST vs. XLP - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Costco Wholesale Corporation (COST) and State Street Consumer Staples Select Sector SPDR ETF (XLP). 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 | XLP | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -0.68 | ||
| Sortino ratioReturn per unit of downside risk | -0.93 | ||
| Omega ratioGain probability vs. loss probability | 0.98 | 1.09 | -0.11 |
| Calmar ratioReturn relative to maximum drawdown | -0.26 | 0.64 | -0.90 |
| Martin ratioReturn relative to average drawdown | -0.58 | 1.20 | -1.78 |
Loading charts...
Drawdowns
COST vs. XLP - Drawdown Comparison
The maximum COST drawdown since its inception was -53.39%, which is greater than XLP's maximum drawdown of -35.90%. Use the drawdown chart below to compare losses from any high point for COST and XLP.
Loading charts...
Drawdown Indicators
| COST | XLP | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -53.39% | -35.90% | -17.49% |
Max Drawdown (1Y)Largest decline over 1 year | -15.50% | -9.69% | -5.81% |
Max Drawdown (3Y)Largest decline over 3 years | -20.74% | -12.39% | -8.35% |
Max Drawdown (5Y)Largest decline over 5 years | -31.40% | -16.30% | -15.10% |
Max Drawdown (10Y)Largest decline over 10 years | -31.40% | -24.51% | -6.89% |
Current DrawdownCurrent decline from peak | -13.42% | -4.53% | -8.89% |
Average DrawdownAverage peak-to-trough decline | -13.36% | -7.05% | -6.31% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 6.92% | 5.19% | +1.73% |
Volatility
COST vs. XLP - Volatility Comparison
Costco Wholesale Corporation (COST) and State Street Consumer Staples Select Sector SPDR ETF (XLP) have volatilities of 5.44% and 5.31%, respectively, indicating that both stocks experience similar levels of price fluctuations. This suggests that the risk associated with both stocks, as measured by volatility, is nearly the same. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| COST | XLP | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 5.44% | 5.31% | +0.13% |
Volatility (6M)Calculated over the trailing 6-month period | 14.85% | 10.92% | +3.93% |
Volatility (1Y)Calculated over the trailing 1-year period | 19.12% | 13.33% | +5.79% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 22.79% | 13.43% | +9.36% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 21.95% | 14.78% | +7.17% |
Dividends
COST vs. XLP - Dividend Comparison
COST's dividend yield for the trailing twelve months is around 0.57%, less than XLP's 2.59% 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% |
XLP State Street Consumer Staples Select Sector SPDR ETF | 2.59% | 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
COST and XLP have a correlation of 0.54, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
COST has higher volatility (5.44%) compared to XLP (5.31%). In terms of maximum drawdown, COST dropped -53.39% vs XLP's -35.90%.
XLP currently has the higher Sharpe Ratio (0.47 vs -0.21), 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 XLP
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