PortfoliosLab logoPortfoliosLab logo
XLP vs. WMT
Performance
Return for Risk
Drawdowns
Volatility
Dividends

Performance

XLP vs. WMT - Performance Comparison

The chart below illustrates the hypothetical performance of a $10,000 investment in State Street Consumer Staples Select Sector SPDR ETF (XLP) and Walmart Inc. (WMT). The values are adjusted to include any dividend payments, if applicable.

Loading charts...

Returns By Period

In the year-to-date period, XLP achieves a 7.13% return, which is significantly higher than WMT's 5.60% return. Over the past 10 years, XLP has underperformed WMT with an annualized return of 7.31%, while WMT has yielded a comparatively higher 19.22% annualized return.


XLP

1D
-0.66%
1M
-2.42%
YTD
7.13%
6M
6.85%
1Y
4.96%
3Y*
6.52%
5Y*
6.39%
10Y*
7.31%

WMT

1D
0.00%
1M
-2.57%
YTD
5.60%
6M
4.48%
1Y
22.93%
3Y*
32.69%
5Y*
22.48%
10Y*
19.22%
*Multi-year figures are annualized to reflect compound growth (CAGR)

XLP vs. WMT - Yearly Performance Comparison


2026 (YTD)202520242023202220212020201920182017
XLP
State Street Consumer Staples Select Sector SPDR ETF
7.13%1.52%12.20%-0.82%-0.81%17.20%10.11%27.43%-8.07%12.98%
WMT
Walmart Inc.
5.60%24.49%73.99%12.88%-0.46%1.97%23.32%30.16%-3.43%46.56%

Correlation

The correlation between XLP and WMT is 0.60, 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.60

Correlation (3Y)
Calculated over the trailing 3-year period

0.57

Correlation (5Y)
Calculated over the trailing 5-year period

0.60

Correlation (10Y)
Calculated over the trailing 10-year period

0.58

Correlation (All Time)
Calculated using the full available price history since Dec 22, 1998

0.55

The correlation between XLP and WMT has been stable across timeframes, ranging from 0.55 to 0.60 - 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

XLP vs. WMT — Risk / Return Rank

Compare risk-adjusted metric ranks to identify better-performing investments over the past 12 months.

XLP
XLP Risk / Return Rank: 1313
Overall Rank
XLP Sharpe Ratio Rank: 1414
Sharpe Ratio Rank
XLP Sortino Ratio Rank: 1313
Sortino Ratio Rank
XLP Omega Ratio Rank: 1313
Omega Ratio Rank
XLP Calmar Ratio Rank: 1414
Calmar Ratio Rank
XLP Martin Ratio Rank: 1313
Martin Ratio Rank

WMT
WMT Risk / Return Rank: 6969
Overall Rank
WMT Sharpe Ratio Rank: 7272
Sharpe Ratio Rank
WMT Sortino Ratio Rank: 6666
Sortino Ratio Rank
WMT Omega Ratio Rank: 6666
Omega Ratio Rank
WMT Calmar Ratio Rank: 6969
Calmar Ratio Rank
WMT Martin Ratio Rank: 7474
Martin Ratio Rank
The rank (0–100) shows how this investment's returns compare to the risk taken. Higher = better. Based on the past 12 months of data, combining Sharpe, Sortino, and other metrics used by quantitative funds and institutional investors.

XLP vs. WMT - Risk-Adjusted Trends Comparison

This table presents a comparison of risk-adjusted performance metrics for State Street Consumer Staples Select Sector SPDR ETF (XLP) and Walmart Inc. (WMT). 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.


XLPWMTDifference
Sharpe ratioReturn per unit of total volatility

-0.59

Sortino ratioReturn per unit of downside risk

-0.84

Omega ratioGain probability vs. loss probability

1.07

1.19

-0.12

Calmar ratioReturn relative to maximum drawdown

0.51

1.46

-0.95

Martin ratioReturn relative to average drawdown

0.98

4.42

-3.44

XLP vs. WMT - Sharpe Ratio Comparison

The current XLP Sharpe Ratio is 0.38, which is lower than the WMT Sharpe Ratio of 0.97. The chart below compares the historical Sharpe Ratios of XLP and WMT, calculated using daily returns over the previous 12 months. A higher Sharpe Ratio indicates better risk-adjusted performance relative to the risk-free rate.


Loading charts...

Drawdowns

XLP vs. WMT - Drawdown Comparison

The maximum XLP drawdown since its inception was -35.90%, smaller than the maximum WMT drawdown of -77.14%. Use the drawdown chart below to compare losses from any high point for XLP and WMT.


Loading charts...

Drawdown Indicators


XLPWMTDifference

Max Drawdown

Largest peak-to-trough decline

-35.90%

-77.14%

+41.24%

Max Drawdown (1Y)

Largest decline over 1 year

-9.69%

-15.75%

+6.06%

Max Drawdown (3Y)

Largest decline over 3 years

-12.39%

-21.93%

+9.54%

Max Drawdown (5Y)

Largest decline over 5 years

-16.30%

-25.74%

+9.44%

Max Drawdown (10Y)

Largest decline over 10 years

-24.51%

-25.74%

+1.23%

Current Drawdown

Current decline from peak

-7.55%

-12.68%

+5.13%

Average Drawdown

Average peak-to-trough decline

-7.06%

-14.63%

+7.57%

Ulcer Index

Depth and duration of drawdowns from previous peaks

5.08%

5.20%

-0.12%

Volatility

XLP vs. WMT - Volatility Comparison

The current volatility for State Street Consumer Staples Select Sector SPDR ETF (XLP) is 4.82%, while Walmart Inc. (WMT) has a volatility of 9.54%. This indicates that XLP experiences smaller price fluctuations and is considered to be less risky than WMT based on this measure. The chart below showcases a comparison of their rolling one-month volatility.


Loading charts...

Volatility by Period


XLPWMTDifference

Volatility (1M)

Calculated over the trailing 1-month period

4.82%

9.54%

-4.72%

Volatility (6M)

Calculated over the trailing 6-month period

10.38%

18.48%

-8.10%

Volatility (1Y)

Calculated over the trailing 1-year period

13.03%

23.80%

-10.77%

Volatility (5Y)

Calculated over the trailing 5-year period, annualized

13.34%

21.69%

-8.35%

Volatility (10Y)

Calculated over the trailing 10-year period, annualized

14.77%

21.75%

-6.98%

Dividends

XLP vs. WMT - Dividend Comparison

XLP's dividend yield for the trailing twelve months is around 3.35%, more than WMT's 0.82% yield.


PositionTTM20252024202320222021202020192018201720162015
WMT
Walmart Inc.
0.82%0.84%0.92%1.45%1.58%1.52%1.50%1.78%2.23%2.07%2.89%3.20%
XLP
State Street Consumer Staples Select Sector SPDR ETF
3.35%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


XLP and WMT have a correlation of 0.60, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.

WMT has higher volatility (9.54%) compared to XLP (4.82%). In terms of maximum drawdown, XLP dropped -35.90% vs WMT's -77.14%.

WMT currently has the higher Sharpe Ratio (0.97 vs 0.38), 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.

Portfolio Optimizer

Find the right allocation for XLP and WMT

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