PairBook
HomeMSFT › MSFT vs XOM

MSFT vs XOM: Correlation

How closely do Microsoft (MSFT) and ExxonMobil (XOM) trade together? Their weekly returns over three years give a correlation of -0.22, which is negative.

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

Correlation (3Y)
-0.22
negative
Correlation (1Y)
-0.34
last 12 months
Correlation (5Y)
-0.09
long-run
Ann. covariance
-148.7
%² · weekly, annualized

How correlated are MSFT and XOM?

Over the past 3 years, MSFT and XOM moved with a correlation of -0.22, which is negative, meaning they tend to move in opposite directions. Lately the two have drifted apart, with the 1-year correlation at -0.34 versus -0.22 over 3 years. Over 5 years the correlation is -0.09, and the annualized covariance of weekly returns is -148.7 %².

Within MSFT's tracked universe of 39 assets, XOM comes in at #29 by 3-year correlation. The last year tells two different stories: XOM led by 42.3 percentage points, +0.5% for MSFT against +42.8% for XOM. The rolling one-year correlation moved between -0.42 and 0.07 over the past three years, a moderate range.

+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 XOM: side by side

MSFT (Microsoft)XOM (ExxonMobil)
1-year return+0.5%+42.8%
5-year return+73.3%+237.9%
Volatility (ann.)27.5%24.3%
Beta vs S&P 5001.120.01
Max drawdown (3Y)-34.5%-20.1%
Market cap$3,750.3B$643.3B
P/E (trailing)28.120.1
Dividend yield0.73%2.58%
Sector / categoryInformation TechnologyEnergy
Lower P/E: XOM 20.1 vs 28.1Higher yield: XOM 2.58% vs 0.73%Smaller drawdown: XOM -20.1% vs -34.5%Higher 5y return: XOM +237.9% vs +73.3%
-28%0%+59%2025-09-052026-08-27
Price paths over the last 12 months, both indexed to 100 at the start (weekly closes). MSFT · XOM

Year-by-year returns

YearMSFTXOM
2022-28.0%+87.4%
2023+58.2%-6.3%
2024+12.9%+11.3%
2025+15.6%+16.0%
2026+5.1%+32.6%

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

Are MSFT and XOM good diversifiers for each other?

By historical standards, yes. A correlation of -0.22 means the two rarely move for the same reasons.

FAQ

What is the correlation between MSFT and XOM?

The MSFT/XOM correlation stands at -0.22 on a 3-year window (1 year: -0.34, 5 years: -0.09), computed from weekly returns as of 2026-08-27.

Is XOM a good diversifier for MSFT?

By historical standards, yes. A correlation of -0.22 means the two rarely move for the same reasons.

What does a correlation of -0.22 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-xom.json

MSFT vs XOM: 3-year weekly correlation -0.22MSFT vs XOM-0.22

Markdown for the live badge, attribution link included:

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

Free with attribution; caching and terms are described in the API documentation.

Related comparisons

Hubs: MSFT correlations · XOM correlations