CorrlensCorrlens
Correlate

Correlation Analysis

Microsoft Corp vs The Kraft Heinz Company Common Stock

MSFT vs KHC

-0.784

Strong inverse

When one moves up, the other tends to move down.

MSFT logo

Microsoft Corp

MSFT

Microsoft develops and licenses consumer and enterprise software. It is known for its Windows operating systems and Office productivity suite. The company is organized into three equally sized broad segments: productivity and business processes (legacy Microsoft Office, cloud-based Office 365, Exchange, SharePoint, Skype, LinkedIn, Dynamics), intelligence cloud (infrastructure- and platform-as-a-service offerings Azure, Windows Server OS, SQL Server), and more personal computing (Windows Client, Xbox, Bing search, display advertising, and Surface laptops, tablets, and desktops).

Market cap 2.8T

KHC logo

The Kraft Heinz Company Common Stock

KHC

In July 2015, Kraft merged with Heinz to create one of North America's largest food and beverage manufacturers. Beyond its namesake brands, its portfolio includes Oscar Mayer, Velveeta, and Philadelphia. While the retail channel drives around 85% of its total sales, the firm also maintains a growing foodservice presence. Outside North America, Kraft Heinz's global reach encompasses a distribution network in Europe and emerging markets, which accounts for around 25% of its consolidated sales base. The company's products are sold in more than 190 countries and territories.

Market cap 27.9B · 35,000 employees

Apr 9, 2021 — Apr 7, 2026Daily1,254 data pointsStockStockTechnology

Time Series

Relative Performance

Green: MSFTGray: KHC36 of 1,254 points (sampled)

Who Moves First

MSFT leads KHC by 6 days

MSFT tends to move before KHC.

After testing 13 timing shifts, the strongest relationship was -0.791 (they moved in opposite directions).

Do They Crash Together?

Correlation by Market Regime

How these series behave when markets are rising, falling, or diverging. A correlation that holds in drawdowns is very different from one that only works in rallies.

Both Rising

-0.495

8 periods · Return correlation when both series rose

Both Falling

-0.535

9 periods · Return correlation when both series fell

Diverging

-0.588

18 periods · Return correlation when series moved apart

R-Squared

61.5%

Share of variance in one series explained by the other.

Trend Agreement

49.2%

How often both series moved in the same direction period-to-period.

Overlap Quality

1,254

Deep shared window — 1,254 usable pairs.

Significance

p < 0.001

95% CI: [-0.805, -0.762]

Scatter

XY Regression

208.6250300350400450500549.321.53253035404545.5Microsoft CorpThe Kraft Heinz Company Common StockData pointsFit (r = -0.784)

Pipeline

Data quality details

Pipeline Summary

1,254 paired data points survived the daily window.

Raw input

1,254

1,254

Normalized

1,254

1,254

Prepared

1,254

1,254

Aligned

1,254

1,254

Invalid removed

0

A: 0 / B: 0

Duplicates removed

0

A: 0 / B: 0

Alignment drops

0

A: 0 / B: 0

Series A

MSFT logo

Microsoft Corp

MSFT

Market cap 2.8T

Stock · 1,254 raw → 1,254 prepared

Series B

KHC logo

The Kraft Heinz Company Common Stock

KHC

Market cap 27.9B · 35,000 employees

Stock · 1,254 raw → 1,254 prepared

Sign agreement

100.0%

How often both values share the same sign.

Zero crossings

3

Estimated crossover points between normalized spreads.

Slope

-0.0493

Linear regression slope.

Intercept

51.9867

Linear regression intercept.

Related Extremes

Highest and Lowest Correlated

Saved 5 hours ago · ID: stock-msft-vs-stock-khc-daily-20260408-z8qb8h