# Time-weighted return

The time-weighted return (TWR)[1][2] is a method of calculating investment return. To apply the time-weighted return method, combine the returns over sub-periods, by compounding them together, resulting in the overall period return. The rate of return over each different sub-period is weighted according to the duration of the sub-period.

The time-weighted method differs from other methods of calculating investment return only in the particular way it compensates for external flows - see below.

## External flows

The time-weighted return is a measure of the historical performance of an investment portfolio which compensates for external flows. External flows are net movements of value which result from transfers of cash, securities or other instruments, into or out of the portfolio, with no simultaneous equal and opposite movement of value in the opposite direction, as in the case of a purchase or sale, and which are not income from the investments in the portfolio, such as interest, coupons or dividends.

To compensate for external flows, the overall time interval under analysis is divided into contiguous sub-periods at each point in time within the overall time period whenever there is an external flow. In general, these sub-periods will be of unequal lengths. The returns over the sub-periods between external flows are linked geometrically (compounded) together, i.e. by multiplying together the growth factors in all the sub-periods. (The growth factor in each sub-period is equal to 1 plus the return over the sub-period.)

### The problem of external flows

To illustrate the problem of external flows, consider the following example.

#### Example 1

Suppose an investor transfers $500 into a portfolio at the beginning of Year 1, and another$1,000 at the beginning of Year 2, and the portfolio has a total value of $1,500 at the end of the Year 2. The net gain over the two-year period is zero, so intuitively, we might expect that the return over the whole 2-year period to be 0% (which is incidentally the result of applying one of the money-weighted methods). If the cash flow of$1,000 at the beginning of Year 2 is ignored, then the simple method of calculating the return without compensating for the flow will be 200% ($1,000 divided by$500). Intuitively, 200% is incorrect.

If we add further information however, a different picture emerges. If the initial investment gained 100% in value over the first year, but the portfolio then declined by 25% during the second year, we would expect the overall return over the two-year period to be the result of compounding a 100% gain ($500) with a 25% loss (also$500). The time-weighted return is found by multiplying together the growth factors for each year, i.e. the growth factors before and after the second transfer into the portfolio, then subtracting one, and expressing the result as a percentage:

${\displaystyle (1+1.0)(1-0.25)-1=2.0\times 0.75-1=1.5-1=0.5=50\%}$ .

We can see from the time-weighted return that the absence of any net gain over the two-year period was due to bad timing of the cash inflow at the beginning of the second year.

The time-weighted return appears in this example to overstate the return to the investor, because he sees no net gain. However, by reflecting the performance each year compounded together on an equalized basis, the time-weighted return recognizes the performance of the investment activity independently of the poor timing of the cash flow at the beginning of Year 2. If all the money had been invested at the beginning of Year 1, the return by any measure would most likely have been 50%. $1,500 would have grown by 100% to$3,000 at the end of Year 1, and then declined by 25% to $2,250 at the end of Year 2, resulting in an overall gain of$750, i.e. 50% of \$1,500. The difference is a matter of perspective.

Measuring the performance of a portfolio in the absence of flows is trivial:

${\displaystyle r={\frac {M_{2}-M_{1}}{M_{1}}}}$

where ${\displaystyle M_{2}}$  is the portfolio's final value, ${\displaystyle M_{1}}$  is the portfolio's initial value, and ${\displaystyle r}$  is the portfolio's return over the period.

The growth factor is:

${\displaystyle 1+r={\frac {M_{2}}{M_{1}}}}$

External flows during the period being analyzed complicate the performance calculation. If external flows are not taken into account, the performance measurement is distorted: a flow into the portfolio would cause this method to overstate the true performance, while flows out of the portfolio would cause it to understate the true performance.

To compensate for an external flow ${\displaystyle C_{1}}$  into the portfolio at the beginning of the period, adjust the portfolio's initial value ${\displaystyle M_{1}}$  by adding ${\displaystyle C_{1}}$ . The return is:

${\displaystyle r={\frac {M_{2}-(M_{1}+C_{1})}{M_{1}+C_{1}}}}$

and the corresponding growth factor is:

${\displaystyle 1+r={\frac {M_{2}}{M_{1}+C_{1}}}}$

To compensate for an external flow ${\displaystyle C_{2}}$  into the portfolio just before the valuation ${\displaystyle M_{2}}$  at the end of the period, adjust the portfolio's final value ${\displaystyle M_{2}}$  by subtracting ${\displaystyle C_{2}}$ . The return is:

${\displaystyle r={\frac {(M_{2}-C_{2})-M_{1}}{M_{1}}}}$

and the corresponding growth factor is:

${\displaystyle 1+r={\frac {M_{2}-C_{2}}{M_{1}}}}$

### Time-weighted return compensating for external flows

Suppose that the portfolio is valued immediately after each external flow. The value of the portfolio at the end of each sub-period is adjusted for the external flow which takes place immediately before. External flows into the portfolio are considered positive and flows out of the portfolio are negative.

${\displaystyle 1+r={\frac {M_{1}-C_{1}}{M_{0}}}\times {\frac {M_{2}-C_{2}}{M_{1}}}\times {\frac {M_{3}-C_{3}}{M_{2}}}\times \cdots \times {\frac {M_{n-1}-C_{n-1}}{M_{n-2}}}\times {\frac {M_{n}-C_{n}}{M_{n-1}}}}$

where

${\displaystyle r}$  is the "true time-weighted return" of the portfolio,
${\displaystyle M_{0}}$  is the initial portfolio value,
${\displaystyle M_{t}}$  is the portfolio value at the end of sub-period ${\displaystyle t}$ , immediately after external flow ${\displaystyle C_{t}}$ ,
${\displaystyle M_{n}}$  is the final portfolio value,
${\displaystyle C_{t}}$  is the net external flow into the portfolio which occurs just before the end of sub-period ${\displaystyle t}$ ,

and

${\displaystyle n}$  is the number of sub-periods.

If there is an external flow occurring at the end of the overall period, then the number of sub-periods ${\displaystyle n}$  matches the number of flows. However, if there is no flow at the end of the overall period, then ${\displaystyle C_{n}}$  is zero, and the number of sub-periods ${\displaystyle n}$  is one greater than the number of flows.

If the portfolio is valued immediately before each flow instead of immediately after, then each flow should be used to adjust the starting value within each sub-period, instead of the ending value, resulting in a different formula:

${\displaystyle 1+r={\frac {M_{1}}{M_{0}+C_{0}}}\times {\frac {M_{2}}{M_{1}+C_{1}}}\times {\frac {M_{3}}{M_{2}+C_{2}}}\times ...\times {\frac {M_{n-1}}{M_{n-2}+C_{n-2}}}\times {\frac {M_{n}}{M_{n-1}+C_{n-1}}}}$

where

${\displaystyle r}$  is the "true time-weighted return" of the portfolio,
${\displaystyle M_{0}}$  is the initial portfolio value,
${\displaystyle M_{t}}$  is the portfolio value at the end of sub-period ${\displaystyle t}$ , immediately before external flow ${\displaystyle C_{t}}$ ,
${\displaystyle M_{n}}$  is the final portfolio value,
${\displaystyle C_{t}}$  is the net external flow into the portfolio which occurs at the beginning of sub-period ${\displaystyle {t+1}}$ ,

and

${\displaystyle n}$  is the number of sub-periods.

## Explanation

### Why it is called "time-weighted"

The term time-weighted is best illustrated with continuous (logarithmic) rates of return. The overall rate of return is the time-weighted average of the continuous rate of return in each sub-period.

In the absence of flows,

${\displaystyle {\text{End value}}={\text{start value}}\times e^{rt}}$

where ${\displaystyle r}$  is the continuous rate of return and ${\displaystyle t}$  is the length of time.

#### Example 2

Over a period of a decade, a portfolio grows by a continuous rate of return of 5% p.a. (per annum) over three of those years, and 10% p.a. over the other seven years.

${\displaystyle {\text{End value}}={\text{start value}}\times e^{0.05\times 3}\times e^{0.10\times 7}}$
${\displaystyle ={\text{start value}}\times e^{\left(0.05\times {\frac {3}{10}}+0.10\times {\frac {7}{10}}\right)\times 10}}$

The continuous time-weighted rate of return over the ten-year period is the time-weighted average:

${\displaystyle 5\%\times {\frac {3}{10}}+10\%\times {\frac {7}{10}}={\frac {5\%\times 3+10\%\times 7}{10}}=8.5\%}$

### Ordinary time-weighted rate of return

#### Example 3

Consider another example to calculate the annualized ordinary rate of return over a five-year period of an investment which returns 10% p.a. for two of the five years, and -3% p.a. for the other three. The ordinary time-weighted return over the five-year period is:

${\displaystyle (1+0.10)(1+0.10)(1-0.03)(1-0.03)(1-0.03)-1}$
${\displaystyle =1.1^{2}\times 0.97^{3}-1}$
${\displaystyle =0.104334\ldots }$
${\displaystyle =10.4334\ldots \%}$

and after annualization, the rate of return is:

${\displaystyle (1.1^{2}\times 0.97^{3})^{1/(2+3)}-1}$
${\displaystyle =1.0200\ldots -1}$
${\displaystyle =2.00\ldots \%{\text{ p.a.}}}$

The length of time over which the rate of return was 10% was two years, which appears in the power of two on the 1.1 factor:

${\displaystyle 1.1^{2}}$

Likewise, the rate of return was -3% for three years, which appears in the power of three on the 0.97 factor. The result is then annualized over the overall five-year period.

## Portfolio performance measurement

Investment managers are judged on investment activity which is under their control. If they have no control over the timing of flows, then compensating for the timing of flows, applying the true time-weighted return method to a portfolio, is a superior measure of the performance of the investment manager, at the overall portfolio level.

### Internal flows and the performance of elements within a portfolio

Internal flows are transactions such as purchases and sales of holdings within a portfolio, in which the cash used for purchases, and the cash proceeds of sales, is also contained in the same portfolio, so there is no external flow. A cash dividend on a stock in a portfolio, which is retained in the same portfolio as the stock, is a flow from the stock to the cash account within the portfolio. It is internal to the portfolio, but external to both the stock and the cash account when they are considered individually, in isolation from one another.

The time-weighted method only captures the effect attributable to the size and timing of internal flows in aggregate, i.e. insofar as they result in the overall performance of the portfolio. This is for the same reason, which is the time-weighted method neutralizes the effect of flows. It therefore does not capture the performance of parts of a portfolio, such as the performance due to individual security-level decisions, so effectively as it captures the overall portfolio performance.

The time-weighted return of a particular security, from initial purchase to eventual final sale, is the same, regardless of the presence or absence of interim purchases and sales, their timing, size and the prevailing market conditions. It always matches the share price performance (including dividends, etc.). Unless this feature of the time-weighted return is the desired objective, it arguably makes the time weighted method less informative than alternative methodologies for investment performance attribution at the level of individual instruments. For performance attribution at individual security level to be meaningful in many cases depends on the return being different from the share price return. If the individual security return matches the share price return, the transaction timing effect is zero.

See Example 4 below, which illustrates this feature of the time-weighted method.

#### Example 4

Let us imagine an investor purchases 10 shares at 10 dollars per share. Then the investor adds another 5 shares in the same company bought at the market price of 12 dollars per share (ignoring transaction costs). The entire holding of 15 shares is then sold at 11 dollars per share.

The second purchase appears to be badly timed, compared with the first. Is this poor timing apparent, from the time-weighted (holding-period) return of the shares, in isolation from the cash in the portfolio?

To calculate the time-weighted return of these particular shareholdings, in isolation from the cash used to purchase the shares, treat the purchase of shares as an external inflow. Then the first sub-period growth factor, preceding the second purchase, when there are just the first 10 shares, is:

${\displaystyle {\frac {\text{End value}}{\text{start value}}}={\frac {10\times 12}{10\times 10}}={\frac {120}{100}}=1.2}$

and growth factor over the second sub-period, following the second purchase, when there are 15 shares altogether, is:

${\displaystyle {\frac {\text{End value}}{\text{start value}}}={\frac {15\times 11}{15\times 12}}={\frac {165}{180}}=0.91666\ldots }$

so the overall period growth factor is:

${\displaystyle {\text{Product of sub-period growth factors}}={\text{first sub-period growth factor}}\times {\text{second sub-period growth factor}}}$
${\displaystyle ={\frac {120}{100}}\times {\frac {165}{180}}}$
${\displaystyle ={\frac {120\times 165}{100\times 180}}}$
${\displaystyle ={\frac {19,800}{18,000}}}$
${\displaystyle =1.1}$

and the time-weighted holding-period return is:

${\displaystyle {\text{Growth factor}}-1=0.1=10\%}$

which is the same as the simple return calculated using the change in the share price:

${\displaystyle ={\frac {{\text{End value}}-{\text{start value}}}{\text{start value}}}={\frac {11-10}{10}}}$

The poor timing of the second purchase has made no difference to the performance of the investment in shares, calculated using the time-weighted method, compared for instance with a pure buy-and-hold strategy (i.e. buying all the shares at the beginning, and holding them until the end of the period).

## Comparison with other returns methods

Other methods exist to compensate for external flows when calculating investment returns. Such methods are known as "money-weighted" or "dollar-weighted" methods. The time-weighted return is higher than the result of other methods of calculating the investment return when external flows are badly timed - refer to Example 4 above.

### Internal rate of return

One of these methods is the internal rate of return. Like the true time-weighted return method, the internal rate of return is also based on a compounding principle. It is the discount rate that will set the net present value of all external flows and the terminal value equal to the value of the initial investment. However, solving the equation to find an estimate of the internal rate of return generally requires an iterative numerical method and sometimes returns multiple results.

The internal rate of return is commonly used for measuring the performance of private equity investments, because the principal partner (the investment manager) has greater control over the timing of cash flows, rather than the limited partner (the end investor).

### Simple Dietz method

The Simple Dietz method[3] applies a simple rate of interest principle, as opposed to the compounding principle underlying the internal rate of return method, and further assumes that flows occur at the midpoint within the time interval (or equivalently that they are distributed evenly throughout the time interval). However, the Simple Dietz method is unsuitable when such assumptions are invalid, and will produce different results to other methods in such a case.

The simple Dietz returns of two or more different constituent assets in a portfolio over the same period can be combined together to derive the simple Dietz portfolio return, by taking the weighted average. The weights are the start value plus half the net inflow.

#### Example 5

Applying the Simple Dietz method to the shares purchased in Example 4 (above):

${\displaystyle {\text{Simple Dietz return}}={\frac {\text{gain or loss}}{{\text{start value}}+{\frac {1}{2}}\times {\text{net inflow}}}}}$
${\displaystyle {\text{Gain or loss}}={\text{end value}}-{\text{start value}}-{\text{net inflow}}}$
${\displaystyle =165-100-60}$
${\displaystyle =5}$

so

${\displaystyle {\text{Simple Dietz return}}={\frac {5}{100+{\frac {1}{2}}\times 60}}}$
${\displaystyle ={\frac {5}{130}}}$
${\displaystyle =3.86\%{\text{ (2 d. p.)}}}$

which is noticeably lower than the 10% time-weighted return.

### Modified Dietz method

The Modified Dietz method is another method which, like the Simple Dietz method, applies a simple rate of interest principle. Instead of comparing the gain in value (net of flows) with the initial value of the portfolio, it compares the net gain in value with average capital over the time interval. Average capital allows for the timing of each external flow. As the difference between the Modified Dietz method and the internal rate of return method is that the Modified Dietz method is based on a simple rate of interest principle, whereas the internal rate of return method applies a compounding principle, the two methods produce similar results over short time intervals, if the rates of return are low. Over longer time periods, with significant flows relative to the size of the portfolio, and where the returns are not low, then the differences are more significant.

Like the simple Dietz method, the Modified Dietz returns of two or more different constituent assets in a portfolio over the same period can be combined together to derive the Modified Dietz portfolio return, by taking the weighted average. The weight to be applied to the return on each asset in this case is the average capital of the asset.

#### Example 6

Referring again to the scenario described in Examples 4 and 5, if the second purchase occurs exactly halfway through the overall period, the Modified Dietz method has the same result as the Simple Dietz method.

If the second purchase is earlier than halfway through the overall period, the gain, which is 5 dollars, is still the same, but the average capital is greater than the start value plus half the net inflow, making the denominator of the Modified Dietz return greater than that in the Simple Dietz method. In this case, the Modified Dietz return is less than the Simple Dietz return.

If the second purchase is later than halfway through the overall period, the gain, which is 5 dollars, is still the same, but the average capital is less than the start value plus half the net inflow, making the denominator of the Modified Dietz return less than that in the Simple Dietz method. In this case, the Modified Dietz return is greater than the Simple Dietz return.

No matter how late during the period the second purchase of shares occurs, the average capital is greater than 100, and so the Modified Dietz return is less than 5 percent. This is still noticeably less than the 10 percent time weighted return.

Calculating the "true time-weighted return" depends on the availability of portfolio valuations during the investment period. If valuations are not available when each flow occurs, the time-weighted return can only be estimated by linking returns for contiguous sub-periods together geometrically, using sub-periods at the end of which valuations are available. Such an approximate time-weighted return method is prone to overstate or understate the true time-weighted return.

Linked Internal Rate of Return (LIROR) is another such method which is sometimes used to approximate the true time-weighted return. It combines the true time-weighted rate of return method with the internal rate of return (IRR) method. The internal rate of return is estimated over regular time intervals, and then the results are linked geometrically. For example, if the internal rate of return over successive years is 4%, 9%, 5% and 11%, then the LIROR equals 1.04 x 1.09 x 1.05 x 1.11 – 1 = 32.12%. If the regular time periods are not years, then either calculate the un-annualized holding period version of the IRR for each time interval, or calculate the IRR for each time interval firstly, and then convert each one to a holding period return over the time interval, then link together these holding period returns to obtain the LIROR.

### Returns methods in the absence of flows

If there are no external flows, then all these methods (time-weighted return, internal rate of return, Modified Dietz Method etc.) give identical results - it is only the various ways they handle flows which makes them different from each other.

## Logarithmic returns

The continuous or logarithmic return method is not a competing method of compensating for flows. It is simply the natural logarithm ${\displaystyle ln\left({\frac {M_{2}}{M_{1}}}\right)}$  of the growth factor.

## Fees

To measure returns net of fees, allow the value of the portfolio to be reduced by the amount of the fees. To calculate returns gross of fees, compensate for them by treating them as an external flow, and exclude the negative effect of accrued fees from valuations.

## Annual rate of return

Return and rate of return are sometimes treated as interchangeable terms, but the return calculated by a method such as the time-weighted method is the holding period return per dollar (or per some other unit of currency), not per year (or other unit of time), unless the holding period happens to be one year. Annualization, which means conversion to an annual rate of return, is a separate process. Refer to the article rate of return.