How to Calculate Time Weighted Returns

Time-weighted returns (TWRs) measure the geometric average of a series of holding period returns (HPRs), in order to calculate the annualized compounding rate of return of a portfolio over time.

The following formula is used to calculate TWRs:

time-weighted

Let’s assume that an investor had a portfolio with the following beginning and ending market values over five periods:

Period Beg MV  End MV 
1 $    100,000.00 $          110,000.00
2 $    110,000.00 $          125,000.00
3 $    125,000.00 $          115,000.00
4 $    115,000.00 $          132,000.00
5 $    132,000.00 $          130,000.00
beginning and ending market values

In order to calculate the TWR, we must first calculate the HPRs for each of the individual periods:

Period Beg MV  End MV HPR
1 $    100,000.00 $          110,000.0010.00%
2 $    110,000.00 $          125,000.0013.64%
3 $    125,000.00 $          115,000.00-8.00%
4 $    115,000.00 $          132,000.0014.78%
5 $    132,000.00 $          130,000.00-1.52%
holding period returns

Once we know each of the individual HPRs, we can calculate the geometric average in order to determine the TWR:

time-weighted returns

Using an HP12C calculator, we can calculate the TWR using the following keystrokes:

hp12c

[1.10][ENTER]
[1.1364][*]
[0.92][*]
[1.1478][*]
[0.9848][*]
[5][1/x][y^x]

The Excel model used to calculate TWRs can be found here.

How to Calculate Net Present Value

The net present value (NPV) is the present value of a series of cash flows over a specified period of time. In the world of corporate finance, NPV is used to determine whether or not investment decisions in machinery or projects will add or subtract from shareholder wealth.

We can solve for NPV using the following formula:

NPV formula

where:

Assume that a manufacturer was looking to expand production in order to meet the need for increases in product demand. The new machinery would have an initial cash investment of $10,000; additionally, management makes the following projections for the incremental increase in annual cash flows once the machine is running:

 012345
Cashflow $      (10,000.00) $     3,000.00 $     3,250.00 $   3,500.00 $     3,750.00 $ 4,000.00
initial cash outlay and projected cash flows

Further, management expects that the required rate of return is 7%. Using these assumptions what is the NPV of the project? Utilizing the table above, we can discount each of the cash flows by the required return as follows:

 012345
Cashflow $      (10,000.00) $     3,000.00 $     3,250.00 $   3,500.00 $     3,750.00 $ 4,000.00
PV $      (10,000.00) $     2,803.74 $     2,838.68 $   2,857.04 $     2,860.86 $ 2,851.94
present values

In order to calculate NPV, we simply add all of the present values together then subject from the total the initial cash outlay:

 012345
Cashflow $      (10,000.00) $     3,000.00 $     3,250.00 $   3,500.00 $     3,750.00 $ 4,000.00
PV $      (10,000.00) $     2,803.74 $     2,838.68 $   2,857.04 $     2,860.86 $ 2,851.94
NPV $          4,212.26
NPV = $4,212.26

Generally speaking, projects that have a positive NPV add to shareholder wealth, while projects that have a negative NPV are detrimental to shareholder wealth.

Additionally, projects that have an NPV of $0 neither add or subtract to shareholder wealth and merely generate enough return to cover the costs of capital. The rate of return associated with an NPV of $0 is also referred to as the internal rate of return (IRR). In the world of fixed income investing, IRR is referred to as the yield-to-maturity (YTM).

Investment decisions may also be made by comparing IRR to the weighted average cost of capital (WACC). If the IRR is greater than the WACC, then management should move forward with the project. In instances where the decision made with IRR conflicts with NPV, then defer to NPV over IRR.

Using an HP12c, we can calculate the NPV of the project above using the following keystrokes:

hp12c

[10000][CHS][CF0]
[3000][CFj]
[3250][CFj]
[3500][CFj]
[3750][CFj]
[4000][CFj]
[7][i][f][NPV]

The Excel model used to calculate NPV can be found here.

How to Calculate the Geometric Mean

The formula used to calculate the geometric average is as follows:

geometric mean formula

Typically, the geometric mean is used to calculate investments returns on a compounded annualized basis.

Let’s assume an investor held a security that had the following return series:

{10%, 5%, -10%, 7%}

We can calculate the geometric average of this series as follows:

geometric mean calculation

Using an HP12C calculator, we can calculate the geometric mean using the series above with the following keystrokes:

hp12c

[1.1][ENTER]
[1.05][*]
[.9][*]
[1.07][*]
[4][1/x][y^x]
[1][-]

How to Calculate the Arithmetic Average

The formula used to calculate the arithmetic average is as follows:

arithmetic average formula

The arithmetic average is the sum of all of the values in a data set divided by the total number of observations.

Assume that you are presented with the following mutual fund expense ratios:

  • Fund One – 0.75%
  • Fund Two – 0.08%
  • Fund Three – 1.15%
  • Fund Four – 0.90%
  • Fund Five – 0.14%

Using these values, we can calculate the arithmetic average as follows:

arithmetic average calculation

Using an HP12C calculator, we can calculate the arithmetic average using the following keystrokes:

hp12c

[.75][Σ+]
[.08][Σ+]
[.015][Σ+]
[.009][Σ+]
[.0014][Σ+]
[g][x-bar]

How to Calculate the Weighted Mean

The formula used to calculate the weighted mean is as follows:

weighted average formula

Let’s assume you have two portfolios, an Roth IRA and a Traditional IRA. The Roth IRA has an average expense ratio of 0.15% and a total portfolio value of $7,000, while the the Traditional IRA has an average expense ratio of 0.47% and a total portfolio value of $3,000.

Using these values we can calculate the weighted average expense ratio as follows:

weighted average calculation

Using an HP12C calculator, we can calculate the weighted average using the following keystrokes:

hp12c

[.0015][ENTER]
[7000][Σ+]
[.0047][ENTER]
[3000][Σ+]
[g][x-bar w]

This formula is commonly used to calculate the weighted average expense ratio of a portfolio of investments.

How to Calculate the Present Value of an Annuity Due

Recall, that the present value of an ordinary annuity formula can be used to calculate the present value of a stream of payments received at the end of each year. The formula is as follows:

present value of an ordinary annuity formula

Compared to an ordinary annuity, the present value of an annuity due can be calculate by modifying the formula above with the addition of the quantity
(1 + r) as follows:

present value of annuity due formula

Where:
PMT = payment
r = rate
n = periods

Assume an individual won the lottery and the prize was to be a series of $1,000 payments received at the beginning of each year, over a ten year period. The winner has the option of choosing between the stream of payments or a lump sum discounted at a required rate of 7%, we can calculate what the present value of the stream of payments is as follows:

where; PMT = $1,000, r = 0.07, n = 10

Using an HP12C calculator, we can solve the equation above using the following keystrokes:

hp12c

[g][BEG]
[1000][PMT]
[7][i]
[10][n][PV]

How to Calculate the Future Value of an Annuity Due

Recall, that the future value of an ordinary annuity can be used to calculate the future value of a stream of payments that are received at the end of each year, using the following formula:

future value of an ordinary annuity formula

Compared to an ordinary annuity, payments for an annuity due are received at the beginning of each period. Due to this extra time that the payments have to compound, we can modify the ordinary annuity formula with the addition of the quantity (1 + r) to calculate the future value of an annuity due as follows:

future value of an annuity due formula

Where:
PMT = payment
r = rate
n = periods

Assume that an individual was to invest $1,000 over a period of 10 years, in a security with a 7% rate of return, and the investment was made at the beginning of each year. We can calculate the future value of the investment as follows:

where; PMT = $1,000, r = 0.07, n = 10

Using an HP12C calculator, we can calculate the future value of an annuity due using the variables above as follows:

hp12c

[g][BEG]
[1000][PMT]
[7][i]
[10][n][FV]

How to Calculate the Present Value of an Ordinary Annuity

The present value of an ordinary annuity formula can be used to calculate the present value of a stream of income payments, the formula is as follows:

present value of an ordinary annuity formula

Where:
PMT = payment
r = rate
n = periods

Assume you won the lottery and the prize is a $1,000 series of payments to be received over the next ten years, at the end of each year. As the winner you could choose either the $1,000 stream of payments or a lump sum discounted at a required rate of 7%. We can calculate the lump sum as follows:

where; PMT = $1,000, r = 0.07, n = 10

Give the result above, as long as the lump sum is exactly $7,023.58, and assuming you could realize a 7% return over ten years, you should be indifferent to receiving a lump sum or the stream of payments. If the lump sum offered is less than $7,023.58, you should chose the income; however, if the lump sum offered is greater than $7,023.58 you should choose the lump sum over the payment stream.

Using an HP12C calculator, you can calculate the present value of an ordinary annuity with the variables above using the following keystrokes:

hp12c

[1000][PMT]
[7][i]
[10][n][PV]

How to Calculate the Future Value of an Ordinary Annuity

The future value of an ordinary annuity formula can be used to calculate the future value of a stream of payments over time, the formula is as follows:

future value of ordinary annuity formula

Where:
PMT = payment
r = rate
n = periods

Assume you were to invest $1,000 per year, in an investment that would grow at a 7% rate of return over ten years. What would the future value be at the end of the 10th year?

We can solver for the future value by plugging in the variables as follows:

where; PMT = $1,000, r = 0.07, n = 10

You can calculate the value above with an HP12C using the following keystrokes:

hp12c

[1000][PMT]
[7][i]
[10][n][FV]

Using Excel, we can model the growth of the investment at different PMTs and rates of growth over time.

Assuming the same variables above we can construct a table of values for each of the periods:

Period PV rate FV  PMT 
1 $   1,000.00
2 $   1,000.007.00% $   1,070.00 $   2,070.00
3 $   2,070.007.00% $   2,214.90 $   3,214.90
4 $   3,214.907.00% $   3,439.94 $   4,439.94
5 $   4,439.947.00% $   4,750.74 $   5,750.74
6 $   5,750.747.00% $   6,153.29 $   7,153.29
7 $   7,153.297.00% $   7,654.02 $   8,654.02
8 $   8,654.027.00% $   9,259.80 $ 10,259.80
9 $ 10,259.807.00% $ 10,977.99 $ 11,977.99
10 $ 11,977.997.00% $ 12,816.45 $ 13,816.45
FV of an annuity table; PMT = $1,000, r = 0.07

How would these values look if we reduced the return from 7% to 4%:

Period PV rate FV  PMT 
1 $   1,000.00
2 $   1,000.004.00% $   1,040.00 $   2,040.00
3 $   2,040.004.00% $   2,121.60 $   3,121.60
4 $   3,121.604.00% $   3,246.46 $   4,246.46
5 $   4,246.464.00% $   4,416.32 $   5,416.32
6 $   5,416.324.00% $   5,632.98 $   6,632.98
7 $   6,632.984.00% $   6,898.29 $   7,898.29
8 $   7,898.294.00% $   8,214.23 $   9,214.23
9 $   9,214.234.00% $   9,582.80 $ 10,582.80
10 $ 10,582.804.00% $ 11,006.11 $ 12,006.11
FV of an annuity table; PMT = $1,000, rate = 0.04

We can illustrate the two tables graphically as well:

FV of an annuity chart

Generally speaking, over longer periods of time, the higher the rate of return, or the larger the annual contributions, the larger the difference between the two ending values will become.

In the world of financial planning, this formula can be applied to determine the approximate amount of money you will have at retirement on a pre-tax basis.

The variables will be defined by the amount of money you are contributing into your employer sponsored 401(k) plan (a type of tax-deferred account), Roth IRA or Traditional IRA, on an annual basis, any company matching contributions you may receive, and the number of years until you reach your retirement age.

A copy of the Excel model used to calculate the future value of an annuity can be found here:

How to Calculate Future Value and Present Value Interest Factors

The concept of future value and present value interest factors is an important one to understand when you begin to calculate future and present values which take into account more complex forms of taxation.

For instance, to determine the future value of an account that taxes interest or dividends on an annual basis at some specified rate would require you to calculate the future value interest factor using a formula that solves for such method of taxation.

Before the age of calculators and computers, solving future value and present value equations required the use of interest factor tables. Fortunately, solving for the factors is easier than in sounds.

The future value interest factor (FVIF) is simply the quantity that the present value is compounded by:

future value interest factor formula

Let’s construct a future value interest factor table using an assumed annual rate of 7%:

Rate
2.00%3.00%4.00%5.00%6.00%7.00%
Year
11.02001.03001.04001.05001.06001.0700
21.04041.06091.08161.10251.12361.1449
31.06121.09271.12491.15761.19101.2250
41.08241.12551.16991.21551.26251.3108
51.10411.15931.21671.27631.33821.4026
61.12621.19411.26531.34011.41851.5007
71.14871.22991.31591.40711.50361.6058
81.17171.26681.36861.47751.59381.7182
91.19511.30481.42331.55131.68951.8385
101.21901.34391.48021.62891.79081.9672
future value interest factor table

Let’s assume you wanted to calculate the future value interest factor for an investment that will grow at 7% for ten years, plugging those values into the future value interest factor equation will yield the following:

where; r = 0.07, n = 10

Using the table above and finding the area where n = 10 and r = 7% intersect indicates that the FVIF is 1.9672. Any dollar amount multiplied by the FVIF of 1.9672 will yield the future value of an investment that grew at 7% for ten years.

Present value interest factors (PVIF) are simply the inverse of FVIFs:

present value interest factor formula

We can construct a PVIF table in the same manner:

Rate
2%3%4%5%6%7%
Year
10.98040.97090.96150.95240.94340.9346
20.96120.94260.92460.90700.89000.8734
30.94230.91510.88900.86380.83960.8163
40.92380.88850.85480.82270.79210.7629
50.90570.86260.82190.78350.74730.7130
60.88800.83750.79030.74620.70500.6663
70.87060.81310.75990.71070.66510.6227
80.85350.78940.73070.67680.62740.5820
90.83680.76640.70260.64460.59190.5439
100.82030.74410.67560.61390.55840.5083
present value interest factor table

Notice, if you multiply any FVIF by its corresponding PVIF the product of the two numbers will equal one:

FVIF * PVIF

Using an HP12C calculator, we can solve for the FVIF in the example above using the following keystrokes:

hp12c

[1][.][0][7][ENTER]
[10][y^x]

The Excel model for FVIF and PVIF table construction can be found here.