Skip to content
Criée

Correlation and beta

A share’s covariance with its index gives its correlation and its beta, its sensitivity to the market.

Lesson 79 min

By the end of this lesson

  • Calculate a beta from the covariance and the index’s variance
  • Interpret a beta and a correlation against the index’s movements
  • Calculate an expected return with the CAPM
In this lesson3

When the stock market rises, some shares rise more, others barely, others go their own way. Two numbers describe this link with the market: correlation says whether it exists, beta says how large it is. What you will learn: calculate a share's covariance, correlation and beta from its returns and those of an index.

Covariance, the starting point

The Investing section gave the intuition behind correlation: from − 1 (opposite movements) to + 1 (perfectly linked movements) (OpenStax, Principles of Finance, 15.2). To calculate it, you go through covariance.

Covariance

The average of the products of two series' deviations from their means, month by month (dividing by N − 1 for a sample). If positive, the two series stray from their averages in the same direction.

Correlation = covariance ÷ (standard deviation of A × standard deviation of B). Dividing by both standard deviations brings the result between − 1 and + 1.

Writing AiA_i and BiB_i for the returns of the two series in month ii, over NN months, Aˉ\bar{A} and Bˉ\bar{B} for their averages, σA\sigma_A and σB\sigma_B for their standard deviations and ρ\rho for the correlation:

cov⁡(A,B)=1N−1∑i=1N(Ai−Aˉ)(Bi−Bˉ)ρ=cov⁡(A,B)σA σB\operatorname{cov}(A, B) = \frac{1}{N - 1} \sum_{i=1}^{N} \left(A_i - \bar{A}\right)\left(B_i - \bar{B}\right) \qquad \rho = \frac{\operatorname{cov}(A, B)}{\sigma_A \, \sigma_B}

Beta, the slope against the market

OpenStax defines beta as the measure of how much a stock moves with the market, and calculates it as the slope of the line fitting the share's returns to the index's: beta 1, the share follows the market; 2, it moves about twice as much; 0.5, about half as much (OpenStax, 15.3). The slope of this least-squares line equals covariance ÷ variance of the index.

Beta

A share's sensitivity to its market: by how many points its return moves, on average, when the index return moves by one point. It equals covariance with the index ÷ variance of the index.

In plain wordsThe shops and the big market

When trade picks up across the big market, not every stall gains as much. The seller of party fabrics sees sales jump far more than the market; the salt seller barely moves. Beta measures this: how much a share moves, on average, when the whole stock market moves by one point. Beta 2, twice as much; beta 0.5, half as much. Correlation only says whether the two move together, not by how much.

Writing β\beta for beta, RR for the share's returns and RMR_M for the index's:

β=cov⁡(R,RM)var⁡(RM)\beta = \frac{\operatorname{cov}(R, R_M)}{\operatorname{var}(R_M)}

Six months of the fictitious share Okoumé against a fictitious indexFictional

Monthly returns (%) of the index: 2; − 1; 3; − 2; 4; 0. Of Okoumé: 5; − 1; 4; − 2; 6; 0.

  1. Averages: index 6 ÷ 6 = 1; Okoumé 12 ÷ 6 = 2.
  2. Index deviations: 1; − 2; 2; − 3; 3; − 1. Okoumé deviations: 3; − 3; 2; − 4; 4; − 2.
  3. Products month by month: 3; 6; 4; 12; 12; 2. Sum: 39. Covariance: 39 ÷ 5 = 7.8.
  4. Variance of the index: (1 + 4 + 4 + 9 + 9 + 1) ÷ 5 = 28 ÷ 5 = 5.6.
  5. Beta: 7.8 ÷ 5.6 = 1.39. When the index gains 1 point, Okoumé gains about 1.4.
  6. Correlation: standard deviations √5.6 = 2.37 and √(58 ÷ 5) = 3.41; 7.8 ÷ (2.37 × 3.41) = 0.97. The points almost sit on the line.

A share has a correlation of 0.9 with the index and a beta of 0.5. What does it usually do when the index falls by 4%?

Switch company in the animation: Moabi tracks the index closely but more calmly, Iroko has almost no link with it.

The beta scatter
indexOkoumé

Covariance

7.80

Index variance

5.60

Beta = cov ÷ var

1.39

Correlation

0.97

Okoumé amplifies the index: when the index gains 1 point, it gains about 1.4.

Fictitious companies, index and returns; only six months, so the calculation can be followed by hand. Sample covariance and variance (÷ N − 1).

What beta is for

The 1990 Nobel Prize press release credits William Sharpe with the capital asset pricing model (CAPM), built on Markowitz's portfolio theory (Royal Swedish Academy of Sciences, 16/10/1990). This model links a share's expected return to its beta: expected return = risk-free rate + beta × (market return − risk-free rate). OpenStax applies it to an airline with a beta of 1.39, a risk-free rate of 3.36% and a market at 11.64%: 3.36 + 1.39 × 8.28 ≈ 14.87% (OpenStax, 15.3).

Writing E(R)E(R) for the share's expected return, rfr_f for the risk-free rate and RMR_M for the market return:

E(R)=rf+β (RM−rf)E(R) = r_f + \beta \, (R_M - r_f)

CAPM

The model that links the return to expect from an asset to its beta: the risk-free rate plus beta times the market risk premium.

A beta is an estimate, not a constant: OpenStax notes that it changes with the period chosen and the frequency of the data (monthly or weekly). Six months, as in the example, is far too short for a real estimate. Our sources give no published beta for BVMAC securities; with six listed companies at the end of 2025 and few trades (BVMAC, 2025 annual report), a beta computed from those prices would be very fragile. The CAPM is a model: it promises no return.

From memory: write the formula for beta and the one for correlation, with the same ingredients.

Your turn

Covariance with the index 6, variance of the index 4. Beta is...

1Covariance with the index 6, variance of the index 4. Beta is...

Beta of 2, the index rises 3%. The share rises, on average, by about...

2Beta of 2, the index rises 3%. The share rises, on average, by about...

A correlation close to zero with the index means the share...

3A correlation close to zero with the index means the share...

Risk-free rate 4%, market 10%, beta 1.5. The CAPM gives an expected return of...

4Risk-free rate 4%, market 10%, beta 1.5. The CAPM gives an expected return of...

Read next: OpenStax, Principles of Finance 2e, 15.3 « The Capital Asset Pricing Model (CAPM) »

A question? Ask your teacher, or an AI assistant, giving it the title of this lesson.

Share:WhatsAppLinkedIn

Going further