Week 5 — Portfolios, beta and CAPM

By the end of this week you can compute the return and the risk of two assets held together, explain why a low correlation makes the pair safer than its parts, measure a stock’s market risk as a beta, turn that beta into the return the stock must earn (CAPM), and compute the beta of your whole fund.

← Course map

From last week. Last week you measured one holding at a time. This week you put holdings together, and you find that a fund can be safer than its parts.

This week’s ideas

Open an idea, read it, try the tool and answer the questions. Then go on to the next one.

1Portfolio return and diversificationIf I split my money across several stocks, what return should I expect, and why is the portfolio's risk smaller than the average of the stocks' risks?

Start with two stocks. Their returns average out, but their risks do not simply add up.

Learning goals

After this idea, you can:

  • Compute a portfolio’s expected return as a weighted average, with weights given as percentages or worked out from dollar amounts.
  • Compute the standard deviation of a two-stock portfolio from the two standard deviations, the weights and the correlation.
  • Explain why a lower correlation lowers the risk of a portfolio but never changes its expected return.

The idea

At a county fair you own an ice-cream truck. Hot days are great. Cold days are terrible. Your daily income swings wildly. Your neighbor owns a hot-soup truck, and her income swings just as much, but on the opposite days. Now suppose each of you owns half of both trucks. The average income is the same as before. The swings almost disappear. A hot day for one truck is a cold day for the other.

One thing still hurts you both: a rainy day. Nobody comes to the fair, so both trucks earn little. Owning both trucks does not protect you from the risk they share.

Stocks work the same way.

Portfolio and weights. A portfolio is a group of investments that one person holds together. The weight of a stock is the share of your money that is in that stock. If you put $6,000 in one stock and $4,000 in another, the weights are 6,000 ÷ 10,000 = 60% and 40%. The weights always add up to 100%.

The return is a weighted average. The expected return of a portfolio is each stock’s expected return multiplied by its weight, then added up. Nothing else is in the formula.

Key formulas

Expected return: E(rp) = w₁ × E(r₁) + w₂ × E(r₂) + …

Risk of two stocks: σp = √( w₁²σ₁² + w₂²σ₂² + 2 × w₁ × w₂ × ρ × σ₁ × σ₂ )

w = weight · E(r) = expected return · σ = standard deviation · ρ = correlation between the two stocks

The risk is not a weighted average. Risk here means the standard deviation (σ) of the return. You might guess that the risk of a portfolio is the average of the stocks’ risks. It is almost always less. The reason is that the stocks do not move together all the time. When one has a bad month, the other may have a good one, and part of the swing cancels out. Spreading money over investments that do not move together is called diversification.

Correlation does the work. Correlation (ρ, the Greek letter rho) is a number from −1 to +1 that says how closely two returns move together.

Correlation What the two stocks do Benefit from mixing them
+1 always move together none: risk is the plain weighted average
0 no pattern large
−1 always move opposite the largest: risk can fall to zero

Real stocks usually have a correlation between 0.2 and 0.8 with each other. So mixing them gives some benefit, but never zero risk.

Read the risk formula term by term. The first two terms are each stock’s own risk, scaled by its weight. The last term, 2 × w₁ × w₂ × ρ × σ₁ × σ₂, is the cross term. It is the only place where the correlation appears. A small correlation makes the cross term small, and the risk falls. Diversification lives in that last term.

Now look at the return formula again. There is no ρ in it. Diversification lowers risk. It does not lower the expected return.

In Excel. The expected return is =SUMPRODUCT(weights, returns). The correlation of two columns of returns is =CORREL(returns A, returns B). Excel has no function for the risk of a two-stock portfolio. You type the square-root formula yourself.

Try it

Start with the two stocks of the worked example below: 60% in the first, correlation 0.25. Move only the correlation slider first.

What to notice:

  • Slide the correlation from +1 down to −1. The risk falls all the way. The expected return does not move.
  • The dashed grey line is a correlation of +1: no benefit. The green bar is the risk that diversification saved.
  • Move the weight slider. On the curve, some mixes have less risk than either stock alone.

The two food trucks, day by day. Tick the boxes and read the sentence.

Worked example

Problem. Ridgeline Outfitters has an expected return of 11% and a standard deviation of 22%. Harbor Coffee Co. has an expected return of 8% and a standard deviation of 14%. Their correlation is 0.25. You put 60% of your money in Ridgeline and 40% in Harbor Coffee. What are the portfolio’s expected return and standard deviation? (Both companies are fictional.)

Step 1. Expected return. 0.6 × 11% + 0.4 × 8% = 6.6% + 3.2% = 9.8%.

Step 2. The three terms under the square root. Write the percentages as decimals.

  • First stock: 0.6² × 0.22² = 0.36 × 0.0484 = 0.017424
  • Second stock: 0.4² × 0.14² = 0.16 × 0.0196 = 0.003136
  • Cross term: 2 × 0.6 × 0.4 × 0.25 × 0.22 × 0.14 = 0.003696

Step 3. Add and take the square root. 0.017424 + 0.003136 + 0.003696 = 0.024256. √0.024256 = 0.1557, so σp = 15.57%.

Step 4. Compare with the simple average. 0.6 × 22% + 0.4 × 14% = 18.8%. The portfolio’s risk is 15.57%, so diversification saved 18.8 − 15.57 = about 3.2 percentage points.

Step 5. Change only the correlation. With the same weights:

Correlation Portfolio risk Expected return
+1 18.80% (the simple average: no benefit) 9.8%
0.25 15.57% 9.8%
−1 7.60% 9.8%

Answer. The portfolio expects 9.8% a year with a standard deviation of 15.57%. That is 3.2 points less risk than the simple average, and the expected return is 9.8% at every correlation.

Check yourself · 5 questions
Check 1.

You put half your money in a stock with expected return 8% and half in a stock with expected return 14%. The portfolio’s expected return is

Portfolio expected return = Σ wᵢ × E(rᵢ): a weighted average, nothing more.

Check 2.

The correlation between two stocks in your portfolio falls from +0.6 to 0. Nothing else changes. The portfolio’s expected return

Correlation changes σ_p, never E(r_p). That is why diversification is a free lunch on risk.

Check 3.

Two stocks have standard deviations of 20% and 30%. You hold 50% in each and their correlation is exactly +1. The portfolio standard deviation is

ρ = +1 is the only case where portfolio risk equals the weighted average of the risks — no benefit at all.

Check 4.

Which correlation between two stocks gives the LARGEST reduction in portfolio risk?

The lower the correlation, the smaller the cross term 2w₁w₂ρσ₁σ₂, and the lower σ_p.

Check 5.

At a county fair you own an ice-cream truck (sells on hot days) and a hot-soup truck (sells on cold days). Compared with owning only the ice-cream truck, owning both

Diversification lowers variation; the shared ‘rainy-day’ risk that hits both trucks is the systematic part that stays.

Optional reading: Smart & Zutter ch. 5, §5.1 · Open this idea as its own page

2Systematic risk and betaWhich part of a stock's risk will nobody pay me for, and how do I measure the part that counts?

Some risk disappears when you mix stocks. The rest stays, and beta measures it.

Learning goals

After this idea, you can:

  • Classify a news event as systematic risk (it hits every company) or unsystematic risk (it hits one company), and explain why only the first kind earns a higher expected return.
  • Read the diversification curve: risk falls fast up to about 20 to 30 stocks, then flattens at a floor.
  • Estimate beta with Excel’s SLOPE function, read it as a multiplier on market moves, and compute the beta of a portfolio.

The idea

Think of a fishing town. Every boat depends on the weather. A season of storms hurts all the boats at once. Each boat also has its own engine, and an engine can break. The town can run an insurance pool for engines: when one boat’s engine breaks, the other boats are having a normal day and can pay for the repair. No pool can insure against the weather, because a storm hits every boat on the same day.

A stock has the same two kinds of risk.

Two kinds of risk. Systematic risk is risk that hits almost every company at once: a recession, a jump in interest rates, inflation, a war. It is also called market risk. It is the weather. Unsystematic risk is risk that hits one company: a product recall, a strike, a lawsuit, a new chief executive. It is also called firm-specific risk. It is the engine.

Total risk = systematic risk + unsystematic risk

Diversification removes only one kind. In a portfolio of many stocks, one company’s bad news is offset by another company’s normal day, so unsystematic risk fades away. Systematic risk stays, because it hits all the stocks together. As you add stocks, the risk of the portfolio falls quickly at first. After about 20 to 30 stocks the curve is almost flat. The flat part is the systematic floor.

Why this matters for return. Investors can remove unsystematic risk almost for free, just by holding many stocks. So the market does not pay anyone to carry it. A higher expected return is the reward for systematic risk only. That is why we need a measure of systematic risk.

Beta measures systematic risk. Beta (β) says how much a stock tends to move when the whole market moves 1%. The market itself has a beta of 1.

Beta When the market moves 1%, the stock tends to move
0.5 0.5%: half as much
1.0 1%: the same as the market
2.0 2%: twice as much, up and down

Beta is a multiplier. With a beta of 1.5, a market fall of 4% suggests a fall of about 1.5 × 4% = 6% for the stock.

Beta is a slope. Put the market’s monthly returns on the horizontal axis and the stock’s monthly returns on the vertical axis. Each month is one dot. Draw the straight line that fits the dots best. The slope of that line is beta.

Key formulas

Beta of a stock: β = slope of the stock’s returns on the market’s returns = covariance(stock, market) ÷ variance(market)

Beta of a portfolio: βp = w₁ × β₁ + w₂ × β₂ + … (a weighted average)

In Excel. Beta is =SLOPE(stock returns, market returns). The stock comes first and the market comes second. If you swap them, you get a different and wrong number. Sixty monthly returns (five years) is a common choice. A fund that follows a broad stock index can stand in for “the market”. For a portfolio, =SUMPRODUCT(weights, betas) gives the portfolio beta.

Try it

The chart starts with twelve months of a fictional stock. Read the slope, then paste your own two columns: the stock first, the market second.

What to notice:

  • The orange line is steeper than the dashed grey line (a beta of 1). This stock moves more than the market.
  • The dots sit close to the line, so the correlation is high. Most of this stock’s swings come from the market.
  • Beta and correlation are different things. Correlation says how tightly the dots follow the line. Beta says how steep the line is.

Now add stocks to a portfolio, one at a time.

  • From 1 stock to 10 stocks the risk falls a lot. From 30 to 50 it hardly moves.
  • The shaded band is systematic risk. No number of stocks goes below it.
Worked example

Problem. Northwind Robotics is a fictional company. Here are twelve monthly returns for the market and for Northwind. What is Northwind’s beta, and what does it mean?

Month 1 2 3 4 5 6
Market 2.0% −1.5% 3.0% 0.5% −2.5% 1.0%
Northwind 3.10% −2.75% 4.10% 1.65% −3.75% 1.30%
Month 7 8 9 10 11 12
Market 4.0% −3.0% 1.5% 2.5% −1.0% 0.0%
Northwind 4.20% −3.30% 2.25% 2.85% −0.40% −0.20%

Step 1. The slope. Put the Northwind returns in one column and the market returns in the next. =SLOPE(Northwind, market) gives 1.24. By hand it is the same number: the covariance of the two columns is 6.075 and the variance of the market column is 4.884, and 6.075 ÷ 4.884 = 1.24.

Step 2. How tight is the fit? =CORREL(Northwind, market) gives 0.97. The dots sit very close to the line.

Step 3. Read it. When the market moves 1%, Northwind tends to move about 1.24%. That is more than the market, so its beta is above 1. In a month when the market falls 3%, expect Northwind to fall about 1.24 × 3% = 3.7%.

Step 4. A portfolio beta. You hold 50% in Northwind (use a beta of 1.3), 30% in Harbor Coffee Co. (beta 0.7) and 20% in an index fund (beta 1.0). βp = 0.5 × 1.3 + 0.3 × 0.7 + 0.2 × 1.0 = 0.65 + 0.21 + 0.20 = 1.06.

Step 5. How many stocks? Suppose every stock has a standard deviation of 40% and the average correlation between stocks is 0.3. One stock: 40%. Ten stocks: 24.3%. Thirty stocks: 22.7%. The floor is √0.3 × 40% = 21.9%. Going from one stock to thirty removes 17.3 of the 18.1 points that can be removed.

Answer. Northwind’s beta is 1.24: it tends to move about 1.24% for each 1% move of the market. The three-stock portfolio has a beta of 1.06.

Check yourself · 5 questions
Check 6.

A hurricane destroys Harbor Coffee Co.’s only roasting plant; the stock market index is unchanged that day. Harbor’s price drop is

Company-only news is unsystematic risk; it diversifies away and is not rewarded with higher expected return.

Check 7.

You have 60 monthly returns for a stock in column K and 60 for a market index fund in column L. Which Excel formula gives the stock’s beta?

Beta = SLOPE(stock returns, market returns): company first, market second.

Check 8.

Northwind Robotics has a beta of 1.5. If the market falls 4%, you expect Northwind to

Expected move ≈ beta × market move. Beta 1.5 amplifies both gains and losses.

Check 9.

Your portfolio is 40% in a stock with beta 0.5 and 60% in a stock with beta 1.5. The portfolio beta is

β_p = Σ wᵢ βᵢ — same recipe as portfolio expected return.

Check 10.

You already hold 30 different stocks. Adding 30 more will most likely

The diversification curve flattens at the systematic floor; more stocks buy very little after 30.

Optional reading: Smart & Zutter ch. 5, §5.2 · Open this idea as its own page

3The CAPM and the security market lineGiven a stock's beta, what return should shareholders demand, and is a stock with a higher expected return a bargain or just riskier?

Beta is the risk that stays. The CAPM turns it into the return a stock must earn.

Learning goals

After this idea, you can:

  • Compute the required return on a stock with the CAPM: the risk-free rate plus beta times the market risk premium. This number is the cost of equity.
  • Draw the security market line, plot a stock by its beta and its expected return, and say whether it looks underpriced or overpriced.
  • Work the line backwards: find the market risk premium from one point on the line, and find how a change in beta changes the required return.

The idea

Two friends each want to borrow $5,000 from you. The first has a steady paycheck and always pays on time. The second changes jobs every few months. You would charge both of them at least what a savings account pays you, because that is what your money earns with no risk. You would charge the second friend more on top.

Investors price a stock the same way. They start from a safe rate. Then they add a premium for risk. The riskier the stock, the bigger the premium.

The safe rate. The risk-free rate (rf) is the return on an investment with no risk of default. For stocks, people usually use the yield on a 10-year U.S. Treasury bond.

The premium for the market. The market risk premium (MRP) is the extra return investors expect from the whole stock market above the risk-free rate. If the market is expected to return 9.6% and the risk-free rate is 4.1%, the premium is 9.6 − 4.1 = 5.5%. The examples on this page use a premium of 5.5%.

Scale the premium by beta. Beta measures how much market risk a stock carries. A stock with a beta of 1 carries the same market risk as the market, so it earns the full premium. A stock with a beta of 0.5 earns half of it. A stock with a beta of 2 earns twice the premium. Only the premium is scaled. The risk-free rate is not.

This rule is the capital asset pricing model (CAPM). The return it gives is the required return: the lowest return that makes shareholders willing to hold the stock. For the company, the same number is the cost of equity.

Key formulas

Required return = rf + β × (E(rm) − rf) = rf + β × MRP

Market risk premium: MRP = E(rm) − rf = (required return − rf) ÷ β

Change in required return = change in beta × MRP

rf = risk-free rate · β = beta · E(rm) = expected return on the market

Excel has no CAPM function. You type the line yourself, for example =0.041 + 0.85*0.055.

The CAPM as a picture. Put beta on the horizontal axis and return on the vertical axis. Mark the risk-free asset at beta 0. Mark the market at beta 1. The straight line through the two points is the security market line (SML). It starts at the risk-free rate and its slope is the market risk premium. The line shows the required return for every beta.

Above or below the line. The line says what a stock should return. A forecast says what somebody expects it to return. Compare the two.

The stock plots Expected return is The stock looks
above the line higher than required underpriced (a bargain)
on the line equal to required fairly priced
below the line lower than required overpriced

A bargain does not last. Investors buy a stock that sits above the line. Buying pushes the price up. A higher price today means a lower return from here on, so the stock moves back down toward the line. So a higher expected return alone does not make a stock a bargain. It is a bargain only if the return is higher than its beta requires.

Try it

The dot starts on a fictional coffee company with a beta of 0.85 and a forecast return of 9.5%. Move the beta slider, then change the forecast.

What to notice:

  • Move beta up. The black dot climbs the line: more market risk, more required return.
  • Lower the forecast to 8%. The colored dot drops below the line and the verdict flips to overpriced.
  • Raise the risk-free rate. The whole line moves up, but its slope stays the same. Raise the premium and the line gets steeper.
Worked example

Problem. Harbor Coffee Co. has a beta of 0.85. The risk-free rate is 4.1% and the market risk premium is 5.5%. An analyst expects the stock to return 9.5%. What return do shareholders require, and is the stock a bargain? (All three companies in this example are fictional.)

Step 1. The premium for this stock. 0.85 × 5.5% = 4.675%.

Step 2. Add the risk-free rate. Required return = 4.1% + 4.675% = 8.78% (8.775% before rounding to two decimals). In Excel: =0.041 + 0.85*0.055.

Step 3. Compare with the forecast. Expected − required = 9.5 − 8.78 = +0.72 points, a little over 0.7 of a point. The forecast is higher than the required return, so the stock plots above the security market line. It looks underpriced.

Step 4. Read the line backwards. Northwind Robotics has a beta of 1.3 and a required return of 11.25%. What premium does that imply? MRP = (11.25 − 4.1) ÷ 1.3 = 7.15 ÷ 1.3 = 5.5%. It is the same premium, so both stocks sit on the same line.

Step 5. A change in beta. Ridgeline Outfitters opens forty stores with borrowed money, and its beta rises from 1.1 to 1.4. The change in its required return is 0.3 × 5.5 = 1.65 points. You do not need the risk-free rate for this step. It is the same before and after.

Answer. Shareholders require about 8.78% from Harbor Coffee. The forecast of 9.5% is about 0.7 points higher, so the stock plots above the line and looks underpriced.

Check yourself · 5 questions
Check 11.

Risk-free rate 3%, market risk premium 5%, beta 1.2. The CAPM required return is

r = r_f + β × MRP: scale only the premium by beta, then add the risk-free rate.

Check 12.

An analyst expects a stock to return 10%. The CAPM says investors require only 8% for its beta. The stock plots

Above the SML = expected > required = underpriced; below = overpriced.

Check 13.

A stock with beta 2.0 has a required return of 15%; the risk-free rate is 5%. The market risk premium implied by the CAPM is

MRP = (required − r_f) ÷ β: the SML’s slope read off one point.

Check 14.

A company sells its riskiest division and its beta falls from 1.4 to 1.0. The market risk premium is 6%. Its CAPM required return

Change in required return = Δβ × MRP; the risk-free rate drops out.

Check 15.

For the company you follow, the CAPM gives a required return of 9.2%. In the cost-of-capital (WACC) chapter this number is used as the company’s

CAPM required return = cost of equity: the shareholders’ side of the WACC.

Optional reading: Smart & Zutter ch. 5, §5.2 · Open this idea as its own page

4Portfolio beta and my fundHow risky is my whole fund compared with the market, and what return does the CAPM say the whole fund must earn?

Now do the same for the whole fund: one beta, and one return the fund must earn.

Learning goals

After this idea, you can:

  • Compute a portfolio’s beta as the weighted average of its holdings’ betas, with the cash counted in the total at a beta of 0.
  • Turn the portfolio beta into a required return with the CAPM, and say whether the portfolio is riskier or safer than the market.
  • Explain why beta averages but standard deviation does not.
  • Name the two ways to build a portfolio: the traditional way and the modern way.

The idea

You pack a cooler for a picnic: three heavy bottles, two light sandwiches, and a lot of empty space. The cooler’s weight is not the average of one bottle and one sandwich. It depends on how much of each is inside.

A fund is a cooler. A fund, or portfolio, is all of an investor’s holdings taken together, plus the cash. Each holding counts in proportion to the money in it. The cash is the empty space: it weighs nothing.

One beta for the whole fund. The beta of one stock says how much the stock tends to move when the market moves 1%. The portfolio beta says the same thing for the whole fund. It is a weighted average of the holdings’ betas: an average in which a holding with more money in it counts more.

The weight of a holding is its market value divided by the total value of the fund. The total includes the cash. Cash does not move when the market moves, so cash is a holding with a beta of 0. It adds nothing to the sum. But it makes the total larger, so it pulls the fund’s beta down.

Key formula: portfolio beta

βp = w₁ × β₁ + w₂ × β₂ + … + wn × βn

w = market value of the holding ÷ total value of the fund (all holdings + cash)

Cash: β = 0

Required return of the fund = rf + βp × (rm − rf)

rf = risk-free rate · rm − rf = market risk premium

Four steps. Add up the total. Divide each holding by the total to get its weight. Multiply each weight by the holding’s beta. Add the results.

Read the number against 1. The market itself has a beta of 1. A fund with a beta above 1 is riskier than the market: it tends to rise more and to fall more. Below 1, the fund is safer than the market. At exactly 1, it moves with the market. Two kinds of holding pull the number down: a bond fund, with a beta close to 0, and the few stocks that have a negative beta.

What the whole fund must earn. The CAPM turns a beta into a required return. It works for a fund as it works for one stock: put the fund’s beta into the formula. The answer is the return to demand for that much market risk. It is not a forecast.

Beta averages. Standard deviation does not. The fund’s beta is always the weighted average of the holdings’ betas. The fund’s standard deviation also depends on the correlations: with a low correlation it is smaller than the average. That is the lesson of diversification. So use beta for market risk, and standard deviation with correlation for total risk.

Two ways to build a fund. Traditional portfolio management spreads the money over many industries and countries, and looks for good companies. Modern portfolio theory looks for the right combination: it measures how the holdings move together (correlation) and how they move with the market (beta). A good fund does both.

In Excel. Put the market values in B6:B9 and the betas in C6:C9, with the cash in the last of these rows at a beta of 0. The total is =SUM(B6:B9) in B10. A weight is =B6/$B$10. The fund’s beta is =SUMPRODUCT(B6:B9,C6:C9)/B10, and the required return is =rf+beta*premium. Check: the weights in D6:D9 must add to 100%.

Try it

The table starts with a sample fund: five holdings and some cash (course data: prices Aug 2023–Aug 2026, monthly). Change any market value or any beta, or press a preset.

What to notice:

  • NVDA holds 22% of the money, but it adds 0.44 of the fund’s 0.59. A high-beta stock is the loud one in a fund.
  • XOM’s bar points to the left: a negative beta lowers the fund’s beta. Press All-in, no cash: without the cash, the same five holdings have a beta of 0.68, not 0.59.
  • Press Market tracker. A fund that holds only the market index has a beta of 1.00.
Worked example

Nadia’s fund has four holdings and some cash. The risk-free rate is 4.13% and the market risk premium is 4.46%.

Holding Market value Beta
Fernridge Semiconductors $26,000 1.70
Oldport Water $19,500 0.35
Castlebay Airlines $14,500 1.40
A bond fund $10,000 0.10
Cash $5,000 0

Step 1. Total. 26,000 + 19,500 + 14,500 + 10,000 + 5,000 = $75,000. The cash counts.

Step 2. Weights. Divide each market value by the total. Fernridge: 26,000 ÷ 75,000 = 0.3467. The five weights add to 1.0000.

Step 3. Weight × beta. Keep the weights unrounded, as Excel does.

Holding Weight Beta Weight × beta
Fernridge 0.3467 1.70 0.5893
Oldport 0.2600 0.35 0.0910
Castlebay 0.1933 1.40 0.2707
Bond fund 0.1333 0.10 0.0133
Cash 0.0667 0 0

Step 4. Add. 0.5893 + 0.0910 + 0.2707 + 0.0133 + 0 = 0.9643, or 0.96. Just under 1: a little safer than the market, mostly because of the bond fund and the cash.

Step 5. Required return. 4.13 + 0.9643 × 4.46 = 4.13 + 4.3008 = 8.43%. The market, at a beta of 1, must earn 4.13 + 4.46 = 8.59%.

Step 6. What if? Nadia moves the $5,000 of cash into Fernridge. Fernridge is now 31,000 ÷ 75,000 = 0.4133 of the fund, and it adds 0.7027. The fund’s beta becomes 0.7027 + 0.0910 + 0.2707 + 0.0133 = 1.0777, or 1.08: riskier than the market. The required return is 4.13 + 1.0777 × 4.46 = 8.94%.

To check the steps, press Clear the table in the tool above, then Add a row, and type the four holdings and the cash.

Answer. Fund beta 0.96, required return 8.43%. With the cash moved into the high-beta stock: 1.08 and 8.94%.

Check yourself · 5 questions
Check 16.

A portfolio holds $40,000 of a stock with beta 1.50 and $60,000 of a stock with beta 0.50, and no cash. What is the portfolio’s beta?

Portfolio beta = Σ (weight × beta), with weight = market value of the holding ÷ total value.

Check 17.

A fund holds $80,000 of stocks whose weighted beta (among the stocks only) is 1.20, plus $20,000 of cash. What is the beta of the whole fund?

Cash is a holding with beta 0: it enters the total value and dilutes the fund’s beta.

Check 18.

A fund’s beta is 1.30. The risk-free rate is 3% and the market risk premium is 6%. Which statement is correct?

Required return of a fund = rf + fund beta × (rm − rf); beta > 1 means riskier than the market.

Check 19.

Two investors compare their funds. Each holds the same two stocks, 50/50. Investor A says: ‘Our fund betas are equal, so our fund standard deviations are equal too.’ Is A right?

Beta averages; standard deviation does not — it needs the correlations as well. Same holdings and weights give the same of both.

Check 20.

A fund holds four stocks from four industries, each from a different country, and the manager has never computed a correlation or a beta. Which description fits?

Traditional = many industries and countries, good companies; modern = the right combination by correlation and beta. Use both.

Optional reading: Smart & Zutter ch. 5, §5.2 and §5.3 · Open this idea as its own page

· · Your progress is saved in this browser only.

Every formula the homework uses is inside these ideas. The book is not required.

In class

The lecture goes from one stock to a whole fund. Both labs run in Excel, and right after the second lab you open the portfolio beta tool below with your own holdings. On the Trading Floor, add an asset that has a low correlation with what you already hold: XOM, JNJ or a bond ETF.

What the two labs do, and Report 1

The lecture covers what two assets do together, what beta measures, and what return the CAPM asks for. In the first lab you compute the correlation of two stocks with =CORREL, then the risk of five mixes of the two, and you draw the diversification curve. In the second lab you compute nine betas with =SLOPE and nine required returns with the CAPM. Then the class walks through Report 1: where each table and each picture comes from.

Where the pieces of Report 1 come from.

  • The holdings table: My Portfolio, button Copy table for Report 1.
  • The picture for Question 2: the tool on the risk–return page. Press Use my numbers, then Export PNG.
  • The fund beta from this page is an optional number for Report 1, Question 3, and the Final Portfolio Memo uses it again.

Your fund this week

Is your fund riskier or safer than the market, and which holding carries most of its beta? Press Use my numbers in the portfolio beta tool. You get your fund’s beta, the return it must earn, and the picture for Report 1.

Open this week’s taskClose this week’s tasktwo tools and the steps
  1. Press Use my numbers. The tool makes one row for each holding in My Portfolio and fills in the betas of the nine course tickers. For any other row (“n/a”), type its beta from the stock’s quote page.
  2. Read the sentence under the table. It answers the question above.
  3. Press Save to My Portfolio. This writes each holding’s beta, the risk-free rate and the market risk premium into My Portfolio, and stores your fund’s beta and its required return.
  4. Press Export PNG. The picture holds your fund’s table and a chart on the security market line.

One holding on the security market line. The second tool takes one stock at a time.

  1. In this second tool, press Use my numbers. The list now shows your own holdings, and the two rates come from My Portfolio, where step 3 saved them.
  2. Pick one holding in the list. The tool takes its beta from My Portfolio: if the beta box turns orange, that holding has no beta yet, so type it from the stock’s quote page.
  3. Read the formula line under the boxes: the CAPM with your numbers, and the return the stock must earn. Is it higher or lower than the market’s 8.59%? You can also type the return you expect, and the tool says if the stock sits above or below the line.
  4. Press Save to My Portfolio, then Export PNG. Report 2 asks for this picture later, in its CAPM section.
  5. After the Trading Floor, add your new holding to My Portfolio. Then press Use my numbers and Save to My Portfolio again in the portfolio beta tool, and download a backup with the Backup button on the My Portfolio page.

Your numbers stay in your browser. The site never downloads prices.

Idea 1: two stocks, five mixes, one safer portfolio

The numbers in these boxes follow the week’s four ideas in order, with the course’s own nine tickers (course data: monthly closing prices, Aug 2023–Aug 2026; 36 monthly returns).

Goes with idea 1, diversification. Coca-Cola (KO) and Nvidia (NVDA) hardly move together. The correlation of their monthly returns is −0.1115: about zero, slightly negative. The yearly numbers (monthly mean × 12, monthly σ × √12) are:

Return per year σ per year
KO 14.39% 15.82%
NVDA 57.76% 38.51%

Now mix them. Every number below is computed from these four inputs and the correlation, then rounded to one decimal.

Weight in KO Portfolio return Portfolio σ, with the correlation Weighted average of the two σ
0% 57.8% 38.5% 38.5%
25% 46.9% 28.7% 32.8%
50% 36.1% 20.0% 27.2%
75% 25.2% 14.4% 21.5%
100% 14.4% 15.8% 15.8%

What the table says. Adding 25% Nvidia to an all-Coca-Cola portfolio lowered the risk from 15.8% to 14.4% and raised the return from 14.4% to 25.2%. A risky stock made the portfolio safer, because the correlation is below +1. The gap between the last two columns is the diversification benefit: at 75% KO it is 21.5 − 14.4 = 7.1 points.

The first lab builds this table in Excel: =CORREL for the correlation, then the three-part risk formula under =SQRT. Draw the curve. It bends to the left before it rises.

Other correlations with SPY on the same data: KO 0.1500, NVDA 0.6725, XOM −0.2615, JNJ 0.0514. Homework CH5 uses the same skill with invented stocks: the portfolio return, the two-asset σ, and the diversification benefit in points.

Ideas 2 and 3: the nine betas and the CAPM table

Goes with ideas 2 and 3, beta and the CAPM. A beta is the slope of a stock’s monthly returns on SPY’s monthly returns: =SLOPE(stock returns, SPY returns). The course uses two numbers for the CAPM: a risk-free rate of 4.13% (the 1-year Treasury yield on the course data date) and a market risk premium of 4.46% (the U.S. equity risk premium in the course data). So:

required return = 4.13 + beta × 4.46

For Nvidia: 4.13 + 1.9828 × 4.46 = 12.97%.

Ticker Beta Required return (CAPM) Average return per year Above the line by
NVDA 1.9828 12.97% 57.76% 44.79 points
MSFT 1.1851 9.42% 18.53% 9.11 points
SPY 1.0000 8.59% 18.70% 10.11 points
JPM 0.8917 8.11% 31.76% 23.65 points
AAPL 0.8556 7.95% 19.81% 11.86 points
WMT 0.3955 5.89% 24.22% 18.33 points
KO 0.1817 4.94% 14.39% 9.45 points
JNJ 0.0720 4.45% 18.29% 13.84 points
XOM −0.4446 2.15% 14.75% 12.60 points

The average return per year is the monthly mean × 12, on the same three years of prices.

Reading the betas. Nvidia moves about twice as much as the market. Johnson & Johnson (JNJ) barely moves with it. Exxon (XOM) moved against the market in these three years. A negative beta is rare. Here it comes from oil doing its own thing. The second lab computes all nine betas with one copied formula, and checks that SPY’s own beta is exactly 1.00.

Reading the last column. All nine sit above the security market line: NVDA by 44.79 points, the most, and MSFT by 9.11 points, the least. The reason is the market itself. SPY earned 18.70% a year when the CAPM asked for 8.59%. These were three strong years. The CAPM is the return you should demand, not a forecast. In three bad years most of these dots would sit below the line.

Homework CH5 asks for a beta from a covariance and a variance, and from a short table of returns. It also asks for a CAPM required return, and for the distance above or below the line in points.

To put one stock on the line, use the second tool in “Your fund this week” above, the security market line tool. Its list starts with the nine course tickers. Pick a ticker in its list. The tool fills in the beta from the table, also XOM’s negative one. Then type the stock’s average return per year in the box for the return you expect. The tool says if the stock sits above or below the line, and shows the distance from the line in points, as in the last column of the table. The tool in the CAPM idea draws the same line for a made-up company. Its beta slider goes from 0 to 2.5 in steps of 0.05, so it cannot show a negative beta such as XOM’s.

What the security market line picture prints. It marks your holding on the line, and prints your fund nickname, the ticker, the beta, the two rates and the required return.

Idea 4: the sample fund with a beta of 0.59

Goes with idea 4, portfolio beta. A $100,000 fund, built from the course’s own betas:

Holding Market value Weight Beta Weight × beta
KO $18,000 18% 0.1817 0.0327
NVDA $22,000 22% 1.9828 0.4362
JPM $20,000 20% 0.8917 0.1783
XOM $15,000 15% −0.4446 −0.0667
BND, a bond ETF $12,000 12% 0.1 0.0120
Cash $13,000 13% 0 0
Total $100,000 100% 0.5926

The last column adds up to the fund’s beta: 0.5926, or 0.59. (The table shows rounded numbers. Added as shown, they give 0.5925. The exact sum is 0.5926.) The return the whole fund must earn is 4.13 + 0.5926 × 4.46 = 6.77%.

What the table says. Nvidia is 22% of the money but 74% of the beta (0.4362 ÷ 0.5926). Exxon’s negative beta and the cash pull the fund below the market. Now a what-if: put the $13,000 of cash into Nvidia. The fund’s beta rises by 0.13 × 1.9828 = 0.2578, from 0.59 to 0.85. (Nvidia would then be 35% of the fund, which breaks the 30% rule below.)

Fund rules. A fund holds at least five positions, and no position is more than 30% of the fund. This week’s move adds an asset with a low correlation: XOM, JNJ or a bond ETF. In the tool, market value = shares × price.

The beta of a bond ETF. A data provider’s beta for a bond ETF is measured against the stock market over its own window and is not stable, so this course uses fixed convention values in My Portfolio: BND 0.1, AGG 0.1, TLT 0.3, SHY 0.0. The portfolio beta tool fills in these values, and the row says so.

What the portfolio beta picture prints. Your fund nickname, every row, the cash, the two rates, the fund beta and the required return. Its second chart puts each holding, and the whole fund, on the security market line.

Class experiment

Your move of the week: tell the class what you did, with one anonymous click.

In Moodle

  1. Homework CH5
  2. Trade Log Week 5
  3. Lab worksheets 1 and 2
  4. Report 1
This week’s formulas

Portfolio return = w₁ × r₁ + w₂ × r₂

Risk of two assets: σp = √( w₁²σ₁² + w₂²σ₂² + 2 × w₁ × w₂ × ρ × σ₁ × σ₂ )

Diversification benefit = weighted average of the two σ − σp (in points)

Correlation: =CORREL(returns A, returns B)

Beta = covariance of the stock with the market ÷ variance of the market · =SLOPE(stock returns, market returns)

CAPM: required return = rf + β × (rm − rf)

Distance from the line = actual return − required return (in points)

Portfolio beta: βp = w₁ × β₁ + w₂ × β₂ + … · w = market value ÷ total fund value (cash included, cash β = 0)

Fund required return = rf + βp × (rm − rf)

Course numbers: rf = 4.13% · market risk premium (rm − rf) = 4.46%

Common mistakes
  • Using the weighted average of the two σ as the risk of the portfolio. The correlation term is missing.
  • Forgetting the square root at the end of the risk formula.
  • Putting the ranges of =SLOPE in the wrong order. The stock goes first, the market second.
  • Multiplying beta by the market return. Beta multiplies the premium: market return − risk-free rate.
  • Reading the CAPM number as a forecast. It is the return to demand.
  • Taking a plain average of the betas. Weight each beta by the money in the holding.
  • Leaving the cash out of the total. Cash has a beta of 0, but it counts in the total.
  • Adding betas. A fund’s beta is an average, never a sum.

Due dates and points are in Moodle.

Next week. You can now measure the risk of your whole fund. Next week you look inside the stocks themselves: what they pay you, and what kind of stock each one is. Week 6 — Common stocks →