Sub topic 3
Measuring returns: price return versus total return
This chapter assumes you know what dividends, indexes and funds are, and that you can compute a percentage return and compound returns over several periods. A basic grasp of pandas helps with the code, but you can follow the ideas without it.
Every later chapter compares a portfolio return with a benchmark return. That comparison only works if both numbers are measured the same way. The most common way to break it is to compare a total return with a price return. This chapter defines both, shows how far apart they can drift, and explains how to line them up.
Price return and total return
A price return is the change in an asset's price over a period, ignoring any cash it paid out.
price return = (P_end - P_start) / P_startA total return adds the income the asset paid during the period, such as dividends or interest, and assumes that income was reinvested.
total return = (P_end + income - P_start) / P_start (income not reinvested)Most index providers publish more than one version of the same index. The names vary by provider, but the pattern is consistent:
| Version | What it measures | Typical use |
|---|---|---|
| Price return index | Price changes only | Headline "the market is up 1%" figures |
| Total return index | Price changes plus reinvested gross dividends | Comparing against a fund or portfolio |
| Net total return index | Price changes plus reinvested dividends after withholding tax | Comparing against a fund that pays foreign withholding tax |
A fund's reported performance normally includes income. If you compare it with a price return index, you subtract the index's missing dividend yield from the benchmark and make the portfolio look better than it is.
A worked example
Suppose a stock starts the year at 100, ends at 104, and pays a dividend of 3 at the end of the year.
- Price return: (104 - 100) / 100 = 4.0%
- Total return: (104 + 3 - 100) / 100 = 7.0%
The 3-point gap is the dividend yield. If the benchmark is a price index that rose 4% and your portfolio earned 7% in total, the 3% of apparent outperformance is only dividends. No skill was involved.
Why the gap matters over time
The gap looks small in one year but compounds. Consider an index with a 6% annual price return and a 2% dividend yield. Treat the total return as roughly 8% a year.
| Years | Price return growth of 100 | Total return growth of 100 |
|---|---|---|
| 1 | 106.0 | 108.0 |
| 10 | 179.1 | 215.9 |
| 20 | 320.7 | 466.1 |
After 20 years the total return series is about 45% larger. A manager who only matches the index would appear to beat a price benchmark by roughly 2% a year, every year, for no reason except dividends.
How reinvestment is handled
Total return indexes assume each dividend is reinvested in the index on the ex-dividend date. This is the first day on which a buyer no longer receives the upcoming dividend, so the price typically drops by about the dividend amount that day. The index adds the dividend back so that the drop does not appear as a loss.
Your own portfolio rarely does exactly this. You may receive cash and leave it uninvested for weeks. That cash earns little, so a portfolio with cash drag lags the index slightly. This is a real difference in results, and it belongs in your analysis rather than being hidden.
To include income in a return calculation, treat each period's return as:
r_t = (P_t + D_t) / P_(t-1) - 1where D_t is the cash income paid during period t. Compound these period returns as shown in the next chapter.
Computing both in Python
The code below builds a small monthly series with a price column and a dividend column. It computes the price return and the total return per month, then compounds each over the whole span.
import pandas as pd
data = pd.DataFrame(
{
"price": [100.0, 101.0, 99.0, 102.0, 103.0],
"dividend": [0.0, 0.0, 1.5, 0.0, 0.0],
},
index=pd.period_range("2025-01", periods=5, freq="M"),
)
prev_price = data["price"].shift(1)
data["price_return"] = data["price"] / prev_price - 1
data["total_return"] = (data["price"] + data["dividend"]) / prev_price - 1
data = data.dropna()
cumulative_price = (1 + data["price_return"]).prod() - 1
cumulative_total = (1 + data["total_return"]).prod() - 1
print(data[["price_return", "total_return"]].round(4))
print("Cumulative price return:", round(cumulative_price, 4))
print("Cumulative total return:", round(cumulative_total, 4))
print("Difference:", round(cumulative_total - cumulative_price, 4))The dividend of 1.5 is paid in March. The price falls from 101 to 99 that month, so the price return is negative (about -2.0%), while the total return is slightly better (about -0.5%). Over the four monthly returns the price return compounds to 3.0% and the total return to about 4.5%. The difference of about 1.5 percentage points is the dividend.
Note that pct_change() in the previous chapter's example only works on a price series. Once you have income, compute returns directly from price and income as above.
Gross versus net total return
Total return indexes differ in how they treat taxes on dividends.
- Gross total return reinvests the full dividend before any tax.
- Net total return reinvests the dividend after withholding tax at a stated rate, often the rate that applies to a non-resident investor from a particular country.
For a domestic investor holding domestic stocks, the gross version is often the closer match. For a fund that holds foreign stocks and pays foreign withholding tax, the net version is usually the fairer benchmark. The two can differ by 0.2 to 0.5 percentage points a year for markets with high dividend yields and high withholding rates. Check which one your benchmark uses, and record it in your reporting.
Fixed income and other assets
The price/total distinction applies beyond equities.
- Bonds: the price excludes accrued interest and coupons. A bond's total return is the price change plus coupon income plus the change in accrued interest. Bond indexes are published almost entirely on a total return basis for this reason.
- Real estate funds and REITs: distributions are a large part of the return, so a price-only series understates it badly.
- Commodities and currencies: these pay no income, but futures-based indexes include a roll return and collateral return. Check the index methodology.
Common errors
- Mixing bases. Comparing a total return portfolio with a price return benchmark overstates the portfolio's result by roughly the dividend yield.
- Mixing bases the other way. Comparing a price-only portfolio series with a total return index understates the portfolio. This happens when you track your holdings from a price feed and ignore received dividends.
- Double counting. Adding dividends to a series that already includes them, such as a fund's adjusted close price, inflates the return.
- Ignoring the ex-dividend date. Booking dividends on the payment date rather than the ex-date misplaces income between periods. This distorts monthly returns but not long-run totals.
- Using adjusted prices without knowing it. Many data sources provide an "adjusted close" that already folds in dividends. It is a total return series in disguise. Using it for one side of the comparison and an unadjusted price for the other recreates error 1 without any visible sign.
A quick check you can run
A fast test for whether two series use the same basis is to compare their long-run growth with the known dividend yield. If your portfolio and a supposed total return benchmark differ by about the dividend yield per year with no change in holdings, one of them is probably price-only.
import numpy as np
def annualized_gap(series_a, series_b, periods_per_year=12):
"""Average yearly return difference between two aligned return series."""
a = np.asarray(series_a, float)
b = np.asarray(series_b, float)
years = len(a) / periods_per_year
growth_a = np.prod(1 + a) ** (1 / years) - 1
growth_b = np.prod(1 + b) ** (1 / years) - 1
return growth_a - growth_b
# Hypothetical: the same index as price return and as total return.
monthly_price = [0.005] * 24
monthly_total = [0.005 + 0.02 / 12] * 24
print(round(annualized_gap(monthly_total, monthly_price), 4)) # about 0.0206A gap near 2% with identical holdings points to a basis mismatch, not skill.
Summary of the rules
- Use total return for performance comparison unless you have a specific reason not to.
- Match gross or net treatment of taxes to the portfolio's real tax position.
- Match currency and fixed income conventions, which later chapters treat in more detail.
- Keep a short written note of the basis you used so that later reviews are repeatable.
Exercise
A stock rises from 50 to 52 over a year and pays a dividend of 1.50 at the end of the year, which is not reinvested. A portfolio holding it is compared with a price return index that rose 4%. (a) What are the stock's price return and total return? (b) By how many percentage points does the comparison with the price index overstate the result, and why?
Show answer
(a) Price return = (52 - 50) / 50 = 4.0%. Total return = (52 + 1.50 - 50) / 50 = 7.0%. (b) The portfolio's total return of 7.0% is compared with the index's 4%, so the apparent outperformance is 3.0 percentage points. All of it comes from the 3.0% dividend yield, which the price index leaves out. Against a total return index with the same 4% price move and a similar yield, the stock would show no outperformance from income alone.
Exercise
A data source gives an "adjusted close" column for a fund, and you compute the fund's monthly returns from it. You then add the fund's dividends to those returns to get a total return. What is wrong, and how do you fix it?
Show answer
Adjusted close prices already include reinvested dividends, so the returns computed from them are total returns. Adding dividends again counts income twice and overstates the return. Fix it by either using the adjusted close returns alone, or by using the unadjusted close price together with the dividend column as in rt = (Pt + Dt) / P(t-1) - 1.