PairBook
HomeWMT › WMT vs XLP

WMT vs XLP: Correlation

Walmart (WMT) and Consumer Staples Select Sector SPDR Fund (XLP) show a moderate relationship: their 3-year correlation of weekly returns is 0.52.

Data as of 2026-08-27 · refreshed every trading day · weekly returns · methodology

Correlation (3Y)
0.52
moderate
Correlation (1Y)
0.63
last 12 months
Correlation (5Y)
0.62
long-run
Ann. covariance
133.2
%² · weekly, annualized

How correlated are WMT and XLP?

Over the past 3 years, WMT and XLP moved with a correlation of 0.52, which is moderate. The past 12 months show a tighter link (0.63) than the 3-year average (0.52). Over 5 years the correlation is 0.62, and the annualized covariance of weekly returns is 133.2 %².

Few assets follow WMT as closely as XLP, which ranks #2 of 33 tracked partners. Their 12-month results are close: +7.7% for WMT against +8.3% for XLP. This link changes with the market regime, having swung between 0.24 and 0.77 on a rolling one-year basis. Note the risk asymmetry: WMT runs 2.1 times the annualized volatility of the other leg, so equal-weighting the two is not an equal-risk position.

+1.0+0.50-0.5-1.020232026-08-27
Rolling one-year correlation of weekly returns over the past three years.
How is this computed?

Pearson correlation on weekly returns: ρ(A,B) = cov(rA, rB) / (σA · σB), over windows of 52, 156 and 260 weeks. Covariance is annualized (×52) and expressed in %². Full definitions on the methodology page.

WMT vs XLP: side by side

WMT (Walmart)XLP (Consumer Staples Select Sector SPDR Fund)
1-year return+7.7%+8.3%
5-year return+121.9%+34.7%
Volatility (ann.)23.0%11.1%
Beta vs S&P 5000.530.23
Max drawdown (3Y)-23.3%-9.7%
Market cap$816.7B
P/E (trailing)37.1
Dividend yield0.92%2.58%
Expense ratio0.08%
Assets under management$14.6B
Sector / categoryConsumer StaplesSector ETF
Higher yield: XLP 2.58% vs 0.92%Smaller drawdown: XLP -9.7% vs -23.3%Higher 5y return: WMT +121.9% vs +34.7%

On the fund side, XLP sits in the Consumer Defensive category at State Street Investment Management, with $14.6B under management, 35 holdings, a 0.08% expense ratio, a 2.58% trailing dividend yield.

-5%0%+34%2025-09-052026-08-27
Twelve months of weekly closes, each series rebased to 100. WMT · XLP

Year-by-year returns

YearWMTXLP
2022-0.5%-0.8%
2023+12.9%-0.8%
2024+74.0%+12.2%
2025+24.5%+1.5%
2026-7.3%+10.9%

Calendar-year price returns; the current year is year-to-date as of the data date above.

Fund exposure

Keep in mind that XLP holds WMT at a 9.62% weight, which makes a slice of this correlation mechanical rather than coincidental.

Are WMT and XLP good diversifiers for each other?

Only partially. A correlation of 0.52 means WMT and XLP share most of their swings. Pairing them dampens volatility somewhat, but it will not protect against a common drawdown.

FAQ

What is the correlation between WMT and XLP?

The WMT/XLP correlation stands at 0.52 on a 3-year window (1 year: 0.63, 5 years: 0.62), computed from weekly returns as of 2026-08-27.

Is XLP a good diversifier for WMT?

Only partially. A correlation of 0.52 means WMT and XLP share most of their swings. Pairing them dampens volatility somewhat, but it will not protect against a common drawdown.

What does a correlation of 0.52 mean?

A reading of 0.52 sits on a scale from −1 (opposite moves) through 0 (unrelated) to +1 (identical moves). Correlation captures direction, not magnitude or performance.

Use this data

JSON API · no key required
$ curl https://www.pairbook.io/api/v1/pairs/wmt-vs-xlp.json

WMT vs XLP: 3-year weekly correlation 0.52WMT vs XLP0.52

Markdown for the live badge, attribution link included:

[![WMT vs XLP correlation](https://www.pairbook.io/api/v1/badge/wmt-vs-xlp.svg)](https://www.pairbook.io/pair/wmt-vs-xlp/)

The core API is free. Terms and every endpoint in the API documentation.

Related comparisons

Hubs: WMT correlations · XLP correlations