PairBook
HomeHSY › HSY vs PEP

HSY vs PEP: Correlation

Measured on weekly returns over the past three years, Hershey Company (The) (HSY) and PepsiCo (PEP) carry a correlation of 0.48, a moderate link.

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

Correlation (3Y)
0.48
moderate
Correlation (1Y)
0.57
last 12 months
Correlation (5Y)
0.53
long-run
Ann. covariance
233.6
%² · weekly, annualized

How correlated are HSY and PEP?

Over the past 3 years, HSY and PEP moved with a correlation of 0.48, which is moderate. Recent behaviour matches the longer record: 0.57 over 1 year against 0.48 over 3. Over 5 years the correlation is 0.53, and the annualized covariance of weekly returns is 233.6 %².

Few assets follow HSY as closely as PEP, which ranks #2 of 30 tracked partners. Neither side won the trailing year by much: +2.8% against -1.6%. Across three years, the rolling one-year figure varied moderately, from 0.31 to 0.64.

+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.

HSY vs PEP: side by side

HSY (Hershey Company (The))PEP (PepsiCo)
1-year return+2.8%-1.6%
5-year return+16.5%+4.9%
Volatility (ann.)25.6%19.1%
Beta vs S&P 5000.030.13
Max drawdown (3Y)-31.2%-27.5%
Market cap$36.4B$190.9B
P/E (trailing)25.318.6
Dividend yield3.05%4.04%
Sector / categoryConsumer StaplesConsumer Staples
Lower P/E: PEP 18.6 vs 25.3Higher yield: PEP 4.04% vs 3.05%Smaller drawdown: PEP -27.5% vs -31.2%Higher 5y return: HSY +16.5% vs +4.9%
-8%0%+29%2025-09-052026-08-27
Twelve months of weekly closes, each series rebased to 100. HSY · PEP

Year-by-year returns

YearHSYPEP
2022+21.9%+6.8%
2023-17.9%-3.3%
2024-6.5%-7.6%
2025+11.0%-1.8%
2026+1.9%-0.7%

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

Are HSY and PEP good diversifiers for each other?

Yes, to a useful degree: a correlation of 0.48 leaves real independence between the two, which historically damped combined volatility.

FAQ

What is the correlation between HSY and PEP?

Using weekly returns as of 2026-08-27: 0.48 over 3 years, with 0.57 over the last year and 0.53 over 5 years.

Is PEP a good diversifier for HSY?

Yes, to a useful degree: a correlation of 0.48 leaves real independence between the two, which historically damped combined volatility.

What does a correlation of 0.48 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/hsy-vs-pep.json

HSY vs PEP: 3-year weekly correlation 0.48HSY vs PEP0.48

Markdown for the live badge, attribution link included:

[![HSY vs PEP correlation](https://www.pairbook.io/api/v1/badge/hsy-vs-pep.svg)](https://www.pairbook.io/pair/hsy-vs-pep/)

No key needed, free to use. Full endpoint list in the API documentation.

Related comparisons

Hubs: HSY correlations · PEP correlations