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 22.25%/yr vs 7.21%/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
In the year-to-date period, COST achieves a 13.35% return, which is significantly higher than XLP's 7.54% return. Over the past 10 years, COST has outperformed XLP with an annualized return of 22.25%, while XLP has yielded a comparatively lower 7.21% 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%
XLP
- 1D
- -0.44%
- 1M
- -1.32%
- YTD
- 7.54%
- 6M
- 8.22%
- 1Y
- 4.50%
- 3Y*
- 7.23%
- 5Y*
- 6.10%
- 10Y*
- 7.21%
COST vs. XLP - 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% |
XLP State Street Consumer Staples Select Sector SPDR ETF | 7.54% | 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.52 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.57 |
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.57 - 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.
| COST | XLP | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -0.54 | ||
| Sortino ratioReturn per unit of downside risk | -0.73 | ||
| Omega ratioGain probability vs. loss probability | 0.98 | 1.07 | -0.08 |
| Calmar ratioReturn relative to maximum drawdown | -0.22 | 0.47 | -0.69 |
| Martin ratioReturn relative to average drawdown | -0.51 | 0.91 | -1.42 |
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 | XLP | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | -0.18 | 0.36 | -0.54 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | 0.98 | 0.46 | +0.51 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 1.02 | 0.49 | +0.53 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.59 | 0.44 | +0.15 |
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.38% | -9.69% | -5.69% |
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 | -10.93% | -7.19% | -3.74% |
Average DrawdownAverage peak-to-trough decline | -13.36% | -7.06% | -6.30% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 7.15% | 4.97% | +2.18% |
Volatility
COST vs. XLP - Volatility Comparison
Costco Wholesale Corporation (COST) has a higher volatility of 7.71% compared to State Street Consumer Staples Select Sector SPDR ETF (XLP) at 4.30%. This indicates that COST's price experiences larger fluctuations and is considered to be riskier than XLP based on this measure. 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 | 7.71% | 4.30% | +3.41% |
Volatility (6M)Calculated over the trailing 6-month period | 14.53% | 9.97% | +4.56% |
Volatility (1Y)Calculated over the trailing 1-year period | 18.79% | 12.75% | +6.04% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 22.71% | 13.31% | +9.40% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 21.95% | 14.74% | +7.21% |
Dividends
COST vs. XLP - Dividend Comparison
COST's dividend yield for the trailing twelve months is around 0.55%, less than XLP's 2.62% 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% |
XLP State Street Consumer Staples Select Sector SPDR ETF | 2.62% | 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 (7.71%) compared to XLP (4.30%). In terms of maximum drawdown, COST dropped -53.39% vs XLP's -35.90%.
XLP currently has the higher Sharpe Ratio (0.36 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 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