XHB vs. XLP
XHB (SPDR S&P Homebuilders ETF) and XLP (State Street Consumer Staples Select Sector SPDR ETF) are both exchange-traded funds - XHB is a Building & Construction fund tracking the S&P Homebuilders Select Industry Index, while XLP is a Consumer Staples Equities fund tracking the Consumer Staples Select Sector Index. Both are passively managed. Over the past 10 years, XHB returned 13.53%/yr vs 7.60%/yr for XLP. At a 0.50 correlation, their price movements are largely independent. XHB charges 0.35%/yr vs 0.08%/yr for XLP.
Performance
XHB vs. XLP - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, XHB achieves a 4.66% return, which is significantly lower than XLP's 11.10% return. Over the past 10 years, XHB has outperformed XLP with an annualized return of 13.53%, while XLP has yielded a comparatively lower 7.60% annualized return.
XHB
- 1D
- -0.22%
- 1M
- 7.49%
- YTD
- 4.66%
- 6M
- 0.06%
- 1Y
- 14.89%
- 3Y*
- 12.84%
- 5Y*
- 9.05%
- 10Y*
- 13.53%
XLP
- 1D
- 0.65%
- 1M
- 0.99%
- YTD
- 11.10%
- 6M
- 9.54%
- 1Y
- 8.93%
- 3Y*
- 8.26%
- 5Y*
- 6.65%
- 10Y*
- 7.60%
XHB vs. XLP - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
XHB SPDR S&P Homebuilders ETF | 4.66% | -0.69% | 9.87% | 60.10% | -28.93% | 49.70% | 27.97% | 41.30% | -25.73% | 31.80% |
XLP State Street Consumer Staples Select Sector SPDR ETF | 11.10% | 1.52% | 12.20% | -0.82% | -0.81% | 17.20% | 10.11% | 27.43% | -8.07% | 12.98% |
Correlation
The correlation between XHB and XLP is 0.37, which is low. Their price movements are largely independent, making them effective diversification partners.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | 0.37 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.35 |
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 Feb 6, 2006 | 0.50 |
The correlation between XHB and XLP shifts across timeframes, from 0.35 (3 years) to 0.50 (all time), reflecting how their relationship changes across market environments.
XHB vs. XLP - Sectors Allocation Comparison
Sectors
XHB
XLP
Consumer Cyclical
Industrials
-
Real Estate
-
Basic Materials
-
-
Communication Services
-
-
Consumer Defensive
-
Energy
-
-
Financial Services
-
-
Healthcare
-
-
Technology
-
-
Utilities
-
-
Consumer Cyclical
XHB
XLP
Industrials
XHB
XLP
-
Real Estate
XHB
XLP
-
Basic Materials
XHB
-
XLP
-
Communication Services
XHB
-
XLP
-
Consumer Defensive
XHB
-
XLP
Energy
XHB
-
XLP
-
Financial Services
XHB
-
XLP
-
Healthcare
XHB
-
XLP
-
Technology
XHB
-
XLP
-
Utilities
XHB
-
XLP
-
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
XHB vs. XLP — Risk / Return Rank
XHB
XLP
XHB vs. XLP - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for SPDR S&P Homebuilders ETF (XHB) 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.
| XHB | XLP | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -0.17 | ||
| Sortino ratioReturn per unit of downside risk | -0.07 | ||
| Omega ratioGain probability vs. loss probability | 1.09 | 1.11 | -0.01 |
| Calmar ratioReturn relative to maximum drawdown | 0.55 | 0.79 | -0.24 |
| Martin ratioReturn relative to average drawdown | 1.13 | 1.52 | -0.39 |
Loading charts...
Drawdowns
XHB vs. XLP - Drawdown Comparison
The maximum XHB drawdown since its inception was -81.61%, which is greater than XLP's maximum drawdown of -35.90%. Use the drawdown chart below to compare losses from any high point for XHB and XLP.
Loading charts...
Drawdown Indicators
| XHB | XLP | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -81.61% | -35.90% | -45.71% |
Max Drawdown (1Y)Largest decline over 1 year | -21.71% | -9.69% | -12.02% |
Max Drawdown (3Y)Largest decline over 3 years | -30.53% | -12.39% | -18.14% |
Max Drawdown (5Y)Largest decline over 5 years | -39.46% | -16.30% | -23.16% |
Max Drawdown (10Y)Largest decline over 10 years | -49.57% | -24.51% | -25.06% |
Current DrawdownCurrent decline from peak | -13.34% | -4.12% | -9.22% |
Average DrawdownAverage peak-to-trough decline | -27.58% | -7.06% | -20.52% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 10.51% | 5.01% | +5.50% |
Volatility
XHB vs. XLP - Volatility Comparison
SPDR S&P Homebuilders ETF (XHB) has a higher volatility of 9.42% compared to State Street Consumer Staples Select Sector SPDR ETF (XLP) at 4.53%. This indicates that XHB'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
| XHB | XLP | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 9.42% | 4.53% | +4.89% |
Volatility (6M)Calculated over the trailing 6-month period | 20.63% | 10.14% | +10.49% |
Volatility (1Y)Calculated over the trailing 1-year period | 28.30% | 12.90% | +15.40% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 27.77% | 13.34% | +14.43% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 27.47% | 14.75% | +12.72% |
XHB vs. XLP - Expense Ratio Comparison
XHB has a 0.35% expense ratio, which is higher than XLP's 0.08% expense ratio.
Dividends
XHB vs. XLP - Dividend Comparison
XHB's dividend yield for the trailing twelve months is around 0.60%, less than XLP's 2.53% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
XHB SPDR S&P Homebuilders ETF | 0.60% | 0.78% | 0.59% | 0.77% | 1.06% | 0.51% | 0.73% | 0.89% | 1.25% | 0.72% | 0.67% | 0.50% |
XLP State Street Consumer Staples Select Sector SPDR ETF | 2.53% | 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
XHB and XLP have a correlation of 0.37, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
XHB has higher volatility (9.42%) compared to XLP (4.53%). In terms of maximum drawdown, XHB dropped -81.61% vs XLP's -35.90%.
On 10-year performance, XHB leads with 13.53% vs 7.60% for XLP. On fees, XLP is cheaper at 0.08% per year. On volatility, XLP has been the lower-risk option at 4.53%. The better choice depends on whether you care most about return, fees, risk, or income.
Over the 10-year period, XHB has performed better with a 13.53% return vs 7.60%. Past performance does not guarantee future results, so compare this with risk, fees, and fund exposure.
XLP is cheaper with a 0.08% expense ratio, compared with 0.35% for XHB.
XLP has the higher dividend yield at 2.53%, compared with 0.60% for XHB.
XHB is categorized as Building & Construction, while XLP is Consumer Staples Equities. XHB tracks S&P Homebuilders Select Industry Index, while XLP tracks Consumer Staples Select Sector Index. Their fees differ too: 0.35% for XHB and 0.08% for XLP.
XLP currently has the higher Sharpe Ratio (0.59 vs 0.42), 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 XHB 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