PairBook
HomeMSFT › MSFT vs XLK

MSFT vs XLK: Correlation

Microsoft (MSFT) and Technology Select Sector SPDR Fund (XLK) show a strong relationship: their 3-year correlation of weekly returns is 0.62.

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

Correlation (3Y)
0.62
strong
Correlation (1Y)
0.46
last 12 months
Correlation (5Y)
0.73
long-run
Ann. covariance
407.2
%² · weekly, annualized

How correlated are MSFT and XLK?

Over the past 3 years, MSFT and XLK moved with a correlation of 0.62, which is strong. The link has loosened recently: the 1-year correlation (0.46) runs below the 3-year figure (0.62). Over 5 years the correlation is 0.73, and the annualized covariance of weekly returns is 407.2 %².

Among the 39 assets we track against MSFT, XLK ranks #10 by 3-year correlation. Their recent paths diverged sharply: over the last 12 months XLK outperformed by 42.9 percentage points (+0.5% for MSFT against +43.4% for XLK). On a rolling one-year basis the correlation drifted between 0.46 and 0.84, a moderate band.

+1.0+0.50-0.5-1.020232026-08-27
How the one-year correlation itself moved 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.

MSFT vs XLK: side by side

MSFT (Microsoft)XLK (Technology Select Sector SPDR Fund)
1-year return+0.5%+43.4%
5-year return+73.3%+145.2%
Volatility (ann.)27.5%24.0%
Beta vs S&P 5001.121.50
Max drawdown (3Y)-34.5%-25.7%
Market cap$3,750.3B
P/E (trailing)28.1
Dividend yield0.73%0.45%
Expense ratio0.08%
Assets under management$115.4B
Sector / categoryInformation TechnologySector ETF
Higher yield: MSFT 0.73% vs 0.45%Smaller drawdown: XLK -25.7% vs -34.5%Higher 5y return: XLK +145.2% vs +73.3%

On the fund side, XLK sits in the Technology category at State Street Investment Management, with $115.4B under management, 73 holdings, a 0.08% expense ratio, a 0.45% trailing dividend yield.

-28%0%+46%2025-09-052026-08-27
Price paths over the last 12 months, both indexed to 100 at the start (weekly closes). MSFT · XLK

Year-by-year returns

YearMSFTXLK
2022-28.0%-27.7%
2023+58.2%+56.0%
2024+12.9%+21.6%
2025+15.6%+24.6%
2026+5.1%+31.3%

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

Fund exposure

Keep in mind that XLK holds MSFT at a 10.1% weight, which makes a slice of this correlation mechanical rather than coincidental.

Are MSFT and XLK good diversifiers for each other?

To a limited degree. At 0.62 the two still catch most of the same waves, so the pair smooths returns a little without insulating either from a shared selloff.

FAQ

What is the correlation between MSFT and XLK?

Using weekly returns as of 2026-08-27: 0.62 over 3 years, with 0.46 over the last year and 0.73 over 5 years.

Is XLK a good diversifier for MSFT?

To a limited degree. At 0.62 the two still catch most of the same waves, so the pair smooths returns a little without insulating either from a shared selloff.

What does a correlation of 0.62 mean?

Correlation ranges from −1 to +1. Values near +1 mean two assets move together, near 0 that they move independently, and negative values that they tend to move in opposite directions. It measures co-movement, not performance.

Use this data

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

MSFT vs XLK: 3-year weekly correlation 0.62MSFT vs XLK0.62

Markdown for the live badge, attribution link included:

[![MSFT vs XLK correlation](https://www.pairbook.io/api/v1/badge/msft-vs-xlk.svg)](https://www.pairbook.io/pair/msft-vs-xlk/)

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

Related comparisons

Hubs: MSFT correlations · XLK correlations