Week 4 — Return and risk
Measure how much an investment earned, how bumpy it was, and whether it paid you enough for the bumps.
From last week. Last week you learned to read a quote and place an order. This week you measure what a position earned and how bumpy the ride was.
This week’s ideas
Open an idea, read it, try the tool and answer the questions. Then go on to the next one.
1Realized and expected returnWhat did I actually earn on a stock, and what should I expect to earn next year?
Start with the number the game shows you: what a position earned, and what you expected it to earn.
Learning goals
After this idea, you can:
- Compute a realized return from a buy price, a sell price and a dividend, and split it into capital gain yield and dividend yield.
- Compute an expected return from a table of scenarios with Excel’s
SUMPRODUCT, and explain why it is not the simple average of the outcomes. - Tell a realized return (measured, looks backward) from an expected return (estimated, looks forward).
The idea
A student buys one share of Ridgeline Outfitters for $62.00 in March. In the fall the company pays her a $1.40 dividend. The next March she sells the share for $69.50. Her roommate says, “You made $7.50.” Her mother asks, “But what percent?” And both forget the dividend. Then the roommate asks a harder question: what will the stock earn next year?
These are two different questions. One looks back. One looks forward.
Looking back: realized return. A realized return is the percent you actually earned over a period that is already over. It is also called the holding-period return. You need three numbers: the price at the start (P₀), the price at the end (P₁), and the dividend (D), which is cash the company paid you while you held the share.
rate of return = (P₁ + D − P₀) ÷ P₀
P₀ = price you paid · P₁ = price at the end · D = dividend received
The same return in two parts: (P₁ − P₀) ÷ P₀ + D ÷ P₀
The two parts have names. The capital gain yield is the price change divided by the price you paid. The dividend yield is the dividend divided by the price you paid. A stock can pay you in both ways. Always divide by the beginning price, because that is the money you put in.
A realized return can be negative. If the price falls by more than the dividend, you lost money.
One practical note. Price websites often show two columns, “Close” and “Adj Close”. The adjusted close is a closing price that has already been corrected for dividends and stock splits. So the ratio of two adjusted closes, minus 1, is the total return for that period. The dividend is already inside. With plain closing prices you would lose every dividend.
Looking forward: expected return. Nobody knows next year’s return. So we list a few possible states of the economy. For each state we write a probability (how likely it is) and the return we think the stock would earn in that state. The probabilities must add to 100%.
The expected return is the average of the possible returns, where each return is weighted by its probability. Likely states count more. Unlikely states count less.
E(r) = p₁ × r₁ + p₂ × r₂ + … + pₙ × rₙ
pᵢ = probability of state i · rᵢ = return in state i
Excel: =SUMPRODUCT(probabilities, returns)
SUMPRODUCT multiplies two columns row by row and adds the results. That is the whole formula in one function.
The expected return is not a promise. It is often not even one of the possible outcomes. It is the center of the possible outcomes. How far the real result can land from that center is called risk, and it has its own page.
Realized or expected? A realized return is measured from prices and dividends. It is a fact. An expected return is built from scenarios and probabilities. It is an estimate. The gap between what you expected and what you got is what makes investing risky.
Try it
Part A starts with the Ridgeline share. Part B starts with a three-state table for a fictional company, Harbor Coffee Co. Change one number at a time and read the sentence.
What to notice:
- In part A, tick “Ignore the dividend”. The return drops. That is the mistake most people make.
- In part A, type a sell price of 58. The return turns negative, and the dividend makes the loss a little smaller.
- In part B, change the recession probability to 30. The tool stops and tells you that the probabilities no longer add to 100%. Fix it by lowering another one.
Worked example
Part 1. What did the Ridgeline share earn?
Step 1. Write the three numbers. P₀ = 62.00, P₁ = 69.50, D = 1.40.
Step 2. Cash return. Price change plus dividend: 69.50 − 62.00 + 1.40 = $8.90.
Step 3. Divide by the price paid. 8.90 ÷ 62.00 = 0.1435 = 14.35%.
Step 4. Split it. Capital gain yield: 7.50 ÷ 62.00 = 12.10%. Dividend yield: 1.40 ÷ 62.00 = 2.26%. (The two rounded parts add to 14.36%. The exact total is 14.35%.) Without the dividend the student would report only 12.10%.
Part 2. What should Harbor Coffee Co. earn next year?
| State | Probability | Return | Probability × return |
|---|---|---|---|
| Recession | 20% | −15% | −3.0% |
| Normal | 55% | +8% | +4.4% |
| Boom | 25% | +24% | +6.0% |
| Total | 100% | 7.4% |
Step 1. Check the probabilities. 20% + 55% + 25% = 100%.
Step 2. Multiply and add. 0.20 × (−15%) + 0.55 × 8% + 0.25 × 24% = −3.0% + 4.4% + 6.0% = 7.40%. In Excel, with the probabilities in B2:B4 and the returns in C2:C4: =SUMPRODUCT(B2:B4, C2:C4).
Step 3. Compare with the simple average. (−15% + 8% + 24%) ÷ 3 = 5.67%. That is not the expected return. The simple average treats the three states as equally likely. They are not: “normal” is more than twice as likely as either of the others.
Answer. The Ridgeline share earned a realized return of 14.35%. Harbor Coffee’s expected return for next year is 7.40%.
Check yourself · 5 questions
You bought a share for $25, received a $1 dividend, and sold it a year later for $27. Your rate of return was:
Rate of return = (P₁ + D − P₀) ÷ P₀ = capital gain yield + dividend yield.
You bought a share for $80, received a $2 dividend, and sold it for $72. The realized return was:
A realized return can be negative; the dividend is added before dividing by P₀.
Next year Harbor Coffee Co. stock returns 2% with probability 30% and 12% with probability 70%. The expected return is:
Expected return = Σ probability × return; Excel =SUMPRODUCT(p, r).
Which statement about realized and expected returns is correct?
Realized = what actually happened; expected = probability-weighted forecast.
For the company you follow, 61 month-end ‘Adj Close’ prices give 60 monthly returns. Why ‘Adj Close’ rather than ‘Close’?
Adj Close turns the price ratio into a total return — dividends included — in one formula.
Optional reading: Smart & Zutter ch. 4, §4.1–4.3 · Open this idea as its own page
2Variance and standard deviationHow far can the actual return land from what I expect, and how do I put one number on that spread?
Now measure the bumps. One number says how far a monthly return usually strays from its average.
Learning goals
After this idea, you can:
- Compute the variance and the standard deviation of a scenario table in five steps, and in one Excel line.
- Compute the standard deviation of a list of past returns with
STDEV.S, find the best and worst period, and turn monthly numbers into yearly numbers. - Read a standard deviation correctly: it is a spread around the average, not a return.
The idea
Two stocks both averaged 6% a year over five years. The yearly returns of Bluestem Dental were 14%, −9%, 22%, 6% and −3%. The yearly returns of a quiet electric utility were 5%, 7%, 6%, 6% and 6%. Same average. Very different sleep. An average tells you where the returns are centered. It does not tell you how far they jump around. We need a second number for that.
Risk as spread. In finance, risk means that the actual return can be different from the return you expect. The wider the possible results spread around the center, the more risk. The usual measure of that spread is the standard deviation, written σ (the Greek letter sigma). It is roughly the typical distance between a result and the average.
From a scenario table: five steps. Start with a table of states, probabilities and returns, and its expected return E.
- Deviation. For each state, take the return minus E.
- Square each deviation. Squaring makes every number positive, so results above and below the center do not cancel.
- Weight each squared deviation by the probability of its state.
- Add them up. The total is the variance, written σ².
- Take the square root. That is the standard deviation.
variance σ² = p₁ × (r₁ − E)² + p₂ × (r₂ − E)² + … + pₙ × (rₙ − E)²
standard deviation σ = √σ²
Excel: =SQRT(SUMPRODUCT((returns − E)^2, probabilities))
The variance is in “percent squared”, which nobody can picture. The square root brings it back to percent. So the standard deviation has the same unit as the return.
From history. With a list of past returns there are no probabilities. Every past period counts the same. Excel does the work:
=AVERAGE(returns)for the center,=STDEV.S(returns)for the standard deviation,=MAX(returns)and=MIN(returns)for the best and the worst period.
STDEV.S is the sample formula. A sample is a part of the story, not the whole story: five years of returns are only a small piece of everything the stock could do. The sample formula divides the sum of squared deviations by n − 1, not by n. That makes the answer a little larger, which is the honest choice when you have only a sample. (STDEV.P divides by n. Do not use it for past returns.)
From monthly to yearly. Monthly returns are easy to collect, but people compare stocks with yearly numbers. Two rules:
yearly average = monthly average × 12
yearly σ = monthly σ × √12 (√12 is about 3.46)
Why not × 12 for both? Average returns add up month after month. Swings do not: a good month and a bad month partly cancel. So risk grows more slowly than time.
How to read it. A standard deviation of 20% does not mean “the stock earns 20%”. It means that results 20 points above or below the average are quite normal. A stock with an average of 9% and σ of 30% will land much farther from 9%, above or below, than a stock with σ of 12%.
Two kinds of risk. Part of a stock’s spread comes from news about that one company: a product recall, a new chief executive. This is firm-specific risk. An investor who holds many stocks sees most of it wash out, so it is also called diversifiable risk. The rest comes from news that hits almost every company at once, such as a recession or a jump in interest rates. This is systematic risk, or market risk. Holding more stocks does not remove it.
Try it
First, the scenario table. Change a return or a probability and watch the five steps update.
Next, real history. This tool is built for five years of month-end prices for one company and for a fund that follows the whole market (SPY follows the S&P 500 index). It starts with fictional prices. Copy a column of adjusted closing prices from your spreadsheet, oldest first, and paste it into each box. The tool never downloads prices.
What to notice:
- 61 prices give 60 returns. The tool counts for you and warns you when the two lists do not match.
- The shaded band in the left chart is the company’s average plus and minus one standard deviation. Most months fall inside it. The months outside it are the ones investors remember.
- In the right chart, a dot further right has more risk. A dot higher up earned more. Compare the two dots before you read the sentence.
Worked example
Part 1. Scenario table. Harbor Coffee Co. (fictional): recession 20% → −15%, normal 55% → +8%, boom 25% → +24%. The expected return is 7.40%.
| State | p | r | r − E | (r − E)² | p × (r − E)² |
|---|---|---|---|---|---|
| Recession | 0.20 | −15% | −22.4% | 0.050176 | 0.010035 |
| Normal | 0.55 | +8% | +0.6% | 0.000036 | 0.000020 |
| Boom | 0.25 | +24% | +16.6% | 0.027556 | 0.006889 |
| Variance | 0.016944 |
Standard deviation = √0.016944 = 0.1302 = 13.02%.
Part 2. A list of past returns. Bluestem Dental (fictional): +14%, −9%, +22%, +6%, −3%.
Step 1. Average. (14 − 9 + 22 + 6 − 3) ÷ 5 = 30 ÷ 5 = 6.00%.
Step 2. Deviations and squares (in percent): 8, −15, 16, 0, −9 → 64, 225, 256, 0, 81. Sum = 626.
Step 3. Divide by n − 1. 626 ÷ 4 = 156.5.
Step 4. Square root. √156.5 = 12.51%. Excel: =STDEV.S(A1:A5). The best year was +22%, the worst −9%.
This small tool does the same for any list.
Part 3. Monthly to yearly. A stock has a monthly average of 1.2% and a monthly σ of 6.5%. Yearly average: 1.2% × 12 = 14.4%. Yearly σ: 6.5% × √12 = 6.5% × 3.464 = 22.5%. For comparison, the whole U.S. stock market has had a yearly σ of roughly 17%.
Answer. Harbor Coffee: σ = 13.02%. Bluestem Dental: average 6.00%, σ = 12.51%. The monthly stock: 14.4% a year with σ of 22.5%.
Check yourself · 5 questions
A stock returns −10% or +30% with equal probability. Expected return 10%. Its standard deviation is:
Variance = Σ p × (r − E)²; standard deviation = √variance, in the same units as the return.
Three annual returns: 10%, 20%, 30%. Using the sample formula (Excel STDEV.S), the standard deviation is:
Historical returns are a sample: =STDEV.S divides by n − 1.
A stock’s monthly returns have a standard deviation of 5%. The annualized standard deviation is about:
Average × 12; standard deviation × √12 (variance adds, σ is its square root).
Two stocks both have an expected return of 9%. Stock A has σ = 12%, Stock B has σ = 30%. Which is true?
Standard deviation measures how far outcomes spread around the expected return — total risk.
Ridgeline Outfitters’ stock drops 6% the day a product is recalled; the market is flat. For a diversified investor this is:
Diversifiable risk comes from one-company events and disappears in a portfolio; systematic risk does not.
Optional reading: Smart & Zutter ch. 4, §4.4–4.6 · Open this idea as its own page
4The risk–return trade-off and the coefficient of variationBetween two investments, which one pays me more for each unit of risk I take, and where does each one sit on the risk–return map?
Put return and risk on one chart, and see which holdings pay enough for their risk.
Learning goals
After this idea, you can:
- State the risk–return trade-off, and explain why a promise of high return with no risk is a warning sign.
- Compute the coefficient of variation and rank assets by return per unit of risk.
- Place an asset on a risk–return map against a benchmark and name its corner.
- Decide which holding in a list is the weakest, by corner and by coefficient of variation.
The idea
Two friends both say they “made 12%” last year. One kept a boring index fund and never looked at it. The other was up 40% in March, down 30% in June, and lost sleep every week. Same return. Very different ride. Risk is the ride. The question is whether the ride paid enough.
The trade-off. The risk–return trade-off says that a higher expected return normally comes only with more risk. Investors do not like risk, so a risky asset must offer more to find buyers. Read it in the other direction too: an offer of a high return with no risk breaks the rule. That is what a scam looks like.
One number for the deal. We measure risk with the standard deviation, written σ: the typical distance between a return and the average. To compare two assets, divide the risk by the return. The result is the coefficient of variation (CV): the units of risk you carry for each unit of return.
CV = σ ÷ mean return
Lower is better. A CV of 1.0 means one unit of risk for each unit of return.
Excel: =STDEV.S(range) for σ · =AVERAGE(range) for the mean · =σ/mean for CV
With the two friends: say the index fund had a σ of 10% and the wild portfolio a σ of 36%. The CVs are 10 ÷ 12 = 0.83 and 36 ÷ 12 = 3.00. The second friend carried more than three times the risk for the same 12%.
Two cautions. Use the same time unit for both numbers. Monthly figures become yearly figures with mean × 12 and σ × √12, so do that before you compare with yearly numbers. And CV has no meaning when the mean is zero or negative.
The risk–return map. Draw a chart with risk (σ) on the horizontal axis and average return on the vertical axis. Every asset is one dot. A dot further right had a bumpier ride. A dot higher up earned more.
Now add a benchmark: a point to compare with, usually a fund that follows the whole market. Draw one vertical and one horizontal line through it. This crosshair cuts the map into four corners.
| Corner | Where | What it means |
|---|---|---|
| Good corner | top-left | more return and less risk than the benchmark |
| Paid for risk | top-right | more risk, but more return too |
| Safe but slow | bottom-left | less risk, and less return |
| Bad corner | bottom-right | less return and more risk than the benchmark |
The top-right and bottom-left corners are the normal trade-off. The good corner is rare. The bad corner is the one to fix first: the asset took more risk than the market and was paid less for it.
CV on the map. Draw a line from the origin to a dot. Its slope is mean ÷ σ, which is 1 ÷ CV. A steeper line is a better deal: more return for each unit of risk.
Try it
The table starts with nine U.S. tickers (course data: monthly closing prices, Aug 2023–Aug 2026, no dividends, rounded). SPY, a fund that follows the S&P 500 index, is the benchmark. Change any number, or clear the table and type your own assets.
What to notice:
- Switch from monthly to annual. Every dot moves, but no dot changes its corner, and no CV changes.
- Pick another row as the benchmark. The crosshair moves and the corners are dealt again. A corner is always “compared with what?”
- Click the CV heading to sort. The asset with the highest return is not always the one with the lowest CV.
Worked example
Four mutual funds, with yearly numbers. The benchmark is the market index: mean 10%, σ 15%.
| Fund | Mean | σ |
|---|---|---|
| Maple | 9% | 12% |
| Cedar | 14% | 24% |
| Birch | 6% | 5% |
| Oak | 8% | 20% |
Step 1. CV of each. Maple 12 ÷ 9 = 1.33. Cedar 24 ÷ 14 = 1.71. Birch 5 ÷ 6 = 0.83. Oak 20 ÷ 8 = 2.50. The index: 15 ÷ 10 = 1.50.
Step 2. Corner of each. Compare the return with 10% and the risk with 15%.
- Maple: lower return, lower risk → safe but slow.
- Cedar: higher return, higher risk → paid for risk.
- Birch: lower return, lower risk → safe but slow.
- Oak: lower return, higher risk → bad corner.
Step 3. Rank by CV, lowest first. Birch 0.83, Maple 1.33, index 1.50, Cedar 1.71, Oak 2.50.
To see it, switch the tool above to annual, clear the table, and type the five rows with the index as the benchmark.
Answer. Oak is the weakest fund on both tests: it sits in the bad corner and has the highest CV (2.50). Birch gives the most return per unit of risk (CV 0.83), even though its return is the lowest. Cedar earned the most, but carried 1.71 units of risk for each unit of return. An investor who holds Oak would sell it first.
Check yourself · 5 questions
An online ad promises “16% a year, guaranteed, zero risk.” What does the risk–return trade-off tell you?
More expected return costs more risk; “high return, no risk” is a red flag.
Fund Harbor: average return 11%, standard deviation 22%. Fund Meadow: average return 7%, standard deviation 7%. Which fund gives more return per unit of risk?
CV = standard deviation ÷ mean; the lower CV pays more per unit of risk.
The benchmark index has an average return of 9% and a standard deviation of 14%. Stock Pine has an average return of 7% and a standard deviation of 19%. Where is Pine on the risk–return map?
Less return and more risk than the crosshair = bad corner.
Two assets have the same average return of 10%. Asset Ridge has a standard deviation of 9%; asset Canyon has a standard deviation of 25%. On the risk–return scatter, which statement is correct?
Same height, further left = less risk for the same return = better.
A portfolio has five holdings. Four are near the benchmark crosshair; one sits deep in the bad corner with the highest CV of the five. Using the risk–return map, which action is the best first step?
Fix the bad corner first: it is the holding that was paid least for its risk.
Optional reading: Smart & Zutter ch. 4, §4.4–4.6 · Open this idea as its own page
· · Your progress is saved in this browser only.
Every formula the homework uses is inside these four ideas. The book is not required.
Review: two ideas from earlier courses
- Discounting and present value: what a future sum is worth today, and what $10,000 grows to at 7% over 40 years.
- Solving for the rate and the time: how long money takes to double, and how to solve for a rate with
=RATE. Homework CH4 uses the same function for the geometric average.
In class
Both labs run in Excel. In the first lab you compute holding period returns, an average and a standard deviation for three tickers. In the second lab you build the nine-ticker table and the risk–return chart. Then you do the same with your own fund, in the next section.
Your fund this week
Which of your positions is closest to the bad corner? The bad corner is less return and more risk than the index. Press Use my numbers, find that holding, and it becomes this week’s trade.
Open this week’s taskClose this week’s taskthe tool and the steps
- Press Use my numbers. The tool makes one row for each holding in My Portfolio. For the nine course tickers it fills in the mean and the standard deviation. For any other ticker, type the monthly mean (your holding period return since you bought ÷ months held) and, if you have it, the monthly standard deviation.
- Read the sentence under the table. Find your bad-corner holdings and your highest CV.
- Press Save to My Portfolio. This stores each holding’s monthly standard deviation, and the chart’s inputs for Report 1, Question 2.
- Press Export PNG. The picture prints your fund nickname, every input row and the benchmark. It is the picture Report 1 asks for.
- Open My Portfolio and add your first check-in row, “Check 1”: your fund value and the SPY close on the same day. The Copy as table button there gives you the holdings table for Report 1.
Your numbers stay in your browser. The site never downloads prices.
The course’s nine tickers: the data table and what it says
These are the course’s own nine tickers (course data: monthly closing prices, Aug 2023–Aug 2026, no dividends, rounded). The monthly numbers feed the tool. The annual numbers are the monthly ones × 12 for the mean and × √12 for the standard deviation (σ).
| Ticker | Monthly mean | Monthly σ | Annual mean | Annual σ | CV (annual) | Corner vs SPY |
|---|---|---|---|---|---|---|
| AAPL | 1.65% | 6.30% | 19.8% | 21.8% | 1.10 | paid for risk |
| JNJ | 1.52% | 5.29% | 18.2% | 18.3% | 1.00 | bad corner |
| JPM | 2.65% | 5.56% | 31.8% | 19.3% | 0.61 | paid for risk |
| KO | 1.20% | 4.57% | 14.4% | 15.8% | 1.10 | bad corner |
| MSFT | 1.54% | 8.25% | 18.5% | 28.6% | 1.55 | bad corner |
| NVDA | 4.81% | 11.12% | 57.7% | 38.5% | 0.67 | paid for risk |
| SPY | 1.56% | 3.77% | 18.7% | 13.1% | 0.70 | benchmark (crosshair) |
| WMT | 2.02% | 5.90% | 24.2% | 20.4% | 0.84 | paid for risk |
| XOM | 1.23% | 6.41% | 14.8% | 22.2% | 1.50 | bad corner |
The annual columns are computed from the rounded monthly numbers, so a last digit can differ from your Excel lab.
What the table says. SPY is the crosshair. Four of the eight stocks sit in the bad corner: less return and more risk than the index. None sits in the good corner. A plain index fund is hard to beat on both axes at once. JPM has the lowest CV (0.61): the most return for each unit of risk in this table. MSFT has the highest (1.55): about SPY’s return with more than twice SPY’s risk.
The same data in this week’s four ideas.
- Holding period return. Over the whole period a share of SPY went from about $450 to about $767, with no dividends counted: 767 ÷ 450 − 1 ≈ 70%. One bad month: AAPL fell from about $188 to about $171, which is 171 ÷ 188 − 1 ≈ −9% in one month. The Fund Game reports this same number for every position (gain or loss ÷ what you paid). So “HPR since I bought” is a number you already see on your fund page.
- Two averages. Arithmetic average = the typical year. Geometric average (CAGR) = the growth of one dollar. The geometric one is always lower or equal. Homework CH4 asks for both, from yearly prices, with a dividend or a coupon added to the price change.
- Standard deviation. SPY’s 36 monthly returns have a standard deviation of about 3.8% per month. Times √12, that is about 13.1% per year. For NVDA the numbers are about 11.1% per month and about 38.5% per year: about three times SPY’s bumpiness.
- The course convention. Monthly to yearly: mean × 12, standard deviation × √12 (√12 ≈ 3.46). In Excel:
=STDEV.S(range)and then=B6*SQRT(12). - Required return. After class, open the stacked-bar tool in idea 3 once, with the current Treasury-bill rate as the risk-free rate.
Class experiment
Your move of the week: tell the class what you did, with one anonymous click.
In Moodle
- Homework CH4
- Trade Log Week 4
- Lab worksheets 1 and 2
Due dates and points are in Moodle.
This week’s formulas
Holding period return = (ending price + income − beginning price) ÷ beginning price
Real rate ≈ nominal rate − inflation rate
Risk-free rate = real rate + expected inflation premium
Required return = real rate + expected inflation premium + risk premium
Decision rule: invest only if expected return ≥ required return
Past returns: =AVERAGE(returns) and =STDEV.S(returns)
Monthly to yearly: mean × 12 · standard deviation × √12
Coefficient of variation: CV = σ ÷ mean (lower is better)
Common mistakes
- Dividing by the ending price. Always divide by the beginning price.
- Leaving out the dividend or the coupon in a holding period return.
- Adding inflation to the nominal rate. Subtract it to get the real rate.
- Calling the real rate the risk-free rate. The risk-free rate already includes expected inflation.
- Multiplying a monthly standard deviation by 12. Multiply by √12.
- Turning CV upside down. The standard deviation goes on top.
- Comparing a monthly number with a yearly number. Put both in the same unit first.
- Calling the highest return the best holding. Check its corner and its CV.
Next week. You can measure one holding’s return and risk. Next week you put holdings together and see why a fund can be safer than its parts. Week 5 — Portfolios, beta and CAPM →