Early Retirement Forums

Go Back   Early Retirement Forums > General > FIRE and Money






Reply
 
Thread Tools Search this Thread Display Modes
Old 01-03-2008, 10:49 AM   #1
jIMOh
Thinks s/he gets paid by the post
 
jIMOh's Avatar
 
Join Date: Apr 2007
Location: Milford, OH
Posts: 1,333
Rates of return calculation

I am working on 2007 IRR.

The equation I have (from other forums, similar to this) is

([starting value-.5*deposits]/[ending value+.5*desposits])-1

is this the formula you use?

__________________
Light travels faster than sound. That is why some people appear bright until you hear them speak. One person's stupidity is another person's job security.
jIMOh is offline   Reply With Quote
Old 01-03-2008, 10:53 AM   #2
LOL!
Thinks s/he gets paid by the post
 
Join Date: Jun 2005
Posts: 2,670
You gotta use the XIRR() function of excel.
XIRR stuff
LOL! is offline   Reply With Quote
Old 01-03-2008, 10:57 AM   #3
jIMOh
Thinks s/he gets paid by the post
 
jIMOh's Avatar
 
Join Date: Apr 2007
Location: Milford, OH
Posts: 1,333
Quote:
Originally Posted by LOL! View Post
You gotta use the XIRR() function of excel.
XIRR stuff
my function wizard does not have XIRR

running excel 2003.

the link does not show the math behind the calculation, can you display it here? thx
__________________
Light travels faster than sound. That is why some people appear bright until you hear them speak. One person's stupidity is another person's job security.
jIMOh is offline   Reply With Quote
Old 01-03-2008, 10:59 AM   #4
LOL!
Thinks s/he gets paid by the post
 
Join Date: Jun 2005
Posts: 2,670
I don't know the math. I'm sure you can find out how to download/install the XIRR() function with a little typing
LOL! is offline   Reply With Quote
Old 01-03-2008, 11:01 AM   #5
audreyh1
Thinks s/he gets paid by the post
 
Join Date: Jan 2006
Posts: 2,470
For ROI (that's not the same as IRR, but it's what I use when looking at my YTD performance), Quicken does the calculation like this:

[Ending Value + all withdrawals]/[Starting Value + all deposits] - 1

This is a somewhat conservative approach, as if you made some deposits late in the year, the remainder of the portfolio would have supplied most of the return (assuming a linearly positive year), but it's good enough for me!

Audrey
audreyh1 is offline   Reply With Quote
Old 01-03-2008, 11:18 AM   #6
SecondCor521
Thinks s/he gets paid by the post
 
SecondCor521's Avatar
 
Join Date: Jun 2006
Location: Boise
Posts: 1,426
Quote:
Originally Posted by jIMOh View Post
my function wizard does not have XIRR

running excel 2003.

the link does not show the math behind the calculation, can you display it here? thx
I'm pretty sure the math for XIRR is not a simple equation. I believe Excel starts with a guess (of 10%, unless you give it a different guess) and tweaks it slightly up or down until it gets the correct answer.

2Cor521
__________________
"At times the world can seem an unfriendly and sinister place, but believe us when we say there is much more good in it than bad. All you have to do is look hard enough, and what might seem to be a series of unfortunate events, may in fact be the first steps of a journey." Violet Baudelaire.
SecondCor521 is offline   Reply With Quote
Old 01-03-2008, 11:45 AM   #7
Rustic23
Thinks s/he gets paid by the post
 
Rustic23's Avatar
 
Join Date: Dec 2005
Location: Lake Livingston, Tx
Posts: 1,504
From Microsoft:
Excel uses an iterative technique for calculating XIRR. Using a changing rate (starting with guess), XIRR cycles through the calculation until the result is accurate within 0.000001 percent. If XIRR can't find a result that works after 100 tries, the #NUM! error value is returned. The rate is changed until:
where:
di = the ith, or last, payment date.
d1 = the 0th payment date.
Pi = the ith, or last, payment.

Good Luck! I use an HP calculator.
Rustic23 is offline   Reply With Quote
Old 02-01-2008, 03:23 PM   #8
podey
Recycles dryer sheets
 
Join Date: Dec 2007
Posts: 102
Quote:
Originally Posted by audreyh1 View Post
For ROI (that's not the same as IRR, but it's what I use when looking at my YTD performance), Quicken does the calculation like this:

[Ending Value + all withdrawals]/[Starting Value + all deposits] - 1

This is a somewhat conservative approach, as if you made some deposits late in the year, the remainder of the portfolio would have supplied most of the return (assuming a linearly positive year), but it's good enough for me!

Audrey
Audrey - Is it ending value PLUS or MINUS all withdrawals. I have been staring at this and its starting to go fuzzy. In other words, does my ending balance go up or down after I factor in withdrawals?
podey is offline   Reply With Quote
Old 02-01-2008, 04:23 PM   #9
audreyh1
Thinks s/he gets paid by the post
 
Join Date: Jan 2006
Posts: 2,470
PLUS (ending balance goes up).

You have to give yourself credit for withdrawals, otherwise your ROI is artificially lowered.

Audrey
audreyh1 is offline   Reply With Quote
Old 02-02-2008, 04:12 AM   #10
ExHermit
Dryer sheet wannabe
 
Join Date: Mar 2007
Posts: 22
Here are some handy calculations and approximations that make sense to me. Maybe someone else will find them useful. Or maybe not. DW claims that I do everything backward.:confused:

S = Starting portfolio value.
E = Ending portfolio value
F = net cash Flow = deposits - withdrawals

F must include all money moving in or out of the portfolio. I need to track this anyway, since this is the Withdrawal part of Safe Withdrawal Rate.

G = Gain = E-S-F (Will be negative in the case of a loss.)

If you made all deposits or withdrawals at the end of the period, your percentage gain or loss, also called Return On Investment (ROI), would be G / S. If you made all deposits or withdrawals at the start of the period ROI would be G / (S+F). If your deposits and/or withdrawals are made evenly over the period, a reasonable approximation is

ROI = G / (S+(F/2)).

To obtain an annualized rate of return (IRR) from ROI the formula is

IRR = ((1+ROI)^(d/365)) - 1

Where d = number of days between the start date and the end date and "^" is used as in spread sheet functions to mean "to the power of".

ExHermit
ExHermit is offline   Reply With Quote
Old 02-02-2008, 06:52 AM   #11
saluki9
Thinks s/he gets paid by the post
 
saluki9's Avatar
 
Join Date: Feb 2005
Posts: 1,882
The most common method of performance calculation used in the investment industry is the Modified Dietz Method

Modified-Dietz Method
r(T) = {MV(T)-MV(0)-sum[C(t)]}/{MV(0)+sum[w(t)*C(t)]}
r(T)... Modified Dietz Return
MV(T)... Ending market value
MV(0)... Beginning market value
C(t)... Net contribution occurring on day t
w(t)... weight of the net contribution on day t...
w(i) = {T - t} / T
T... Total number of days
t... day the net contribution occurs
The Modified Dietz method assumes that net contributions are invested at the end of the respective day they occur.
saluki9 is offline   Reply With Quote
Old 02-02-2008, 06:59 AM   #12
Alan
Thinks s/he gets paid by the post
 
Alan's Avatar
 
Join Date: Jul 2005
Location: Baton Rouge
Posts: 1,758
Send a message via MSN to Alan
Quote:
Originally Posted by ExHermit View Post
Here are some handy calculations and approximations that make sense to me. Maybe someone else will find them useful. Or maybe not. DW claims that I do everything backward.:confused:

S = Starting portfolio value.
E = Ending portfolio value
F = net cash Flow = deposits - withdrawals

F must include all money moving in or out of the portfolio. I need to track this anyway, since this is the Withdrawal part of Safe Withdrawal Rate.

G = Gain = E-S-F (Will be negative in the case of a loss.)

If you made all deposits or withdrawals at the end of the period, your percentage gain or loss, also called Return On Investment (ROI), would be G / S. If you made all deposits or withdrawals at the start of the period ROI would be G / (S+F). If your deposits and/or withdrawals are made evenly over the period, a reasonable approximation is

ROI = G / (S+(F/2)).

To obtain an annualized rate of return (IRR) from ROI the formula is

IRR = ((1+ROI)^(d/365)) - 1

Where d = number of days between the start date and the end date and "^" is used as in spread sheet functions to mean "to the power of".

ExHermit
This is similar to what I use except I estimate avg monthly balance.
G = Gain = E-S-F (Will be negative in the case of a loss.)
AvgBal = S+(E-F)/2

ROI = G/AvgBal
__________________
Put the key of despair into the lock of apathy. Turn the knob of mediocrity slowly and open the gates of despondency - welcome to a day at the average office.

Countown clock is at 28 weeks to be SIRE'd

Last edited by Alan; 02-02-2008 at 07:35 AM. Reason: corrected my formula
Alan is offline   Reply With Quote
Old 02-02-2008, 03:43 PM   #13
ExHermit
Dryer sheet wannabe
 
Join Date: Mar 2007
Posts: 22
Quote:
Originally Posted by saluki9 View Post
The most common method of performance calculation used in the investment industry is the Modified Dietz Method

Modified-Dietz Method
r(T) = {MV(T)-MV(0)-sum[C(t)]}/{MV(0)+sum[w(t)*C(t)]}
r(T)... Modified Dietz Return
MV(T)... Ending market value
MV(0)... Beginning market value
C(t)... Net contribution occurring on day t
w(t)... weight of the net contribution on day t...
w(i) = {T - t} / T
T... Total number of days
t... day the net contribution occurs
The Modified Dietz method assumes that net contributions are invested at the end of the respective day they occur.
We are on the same page here. If it is assumed that all deposits and withdrawals are made in one lump sum in the middle of the period then the formula I posted is numerically identical to the Modified Dietz Return formula you posted

Clearly, the Modified Dietz Return is more accurate if this is not a reasonable assumption. The more the cash flow is skewed toward one end or the other of the period, the more error my simplifying assumption introduces.

Even the Modified Dietz Return is slightly off, in that it does not quite account correctly for compounding effects. I don't think that there is a closed function that is 100% accurate, hence the use of XIRR iterative numerical approximation.
ExHermit is offline   Reply With Quote
Old 02-02-2008, 04:24 PM   #14
ExHermit
Dryer sheet wannabe
 
Join Date: Mar 2007
Posts: 22
Quote:
Originally Posted by Alan View Post
This is similar to what I use except I estimate avg monthly balance.
G = Gain = E-S-F (Will be negative in the case of a loss.)
AvgBal = S+(E-F)/2

ROI = G/AvgBal
I'm not sure that I follow your computations, Alan.

Let's take an example:

Starting value = S = $100
Ending value = E = $125
$10 was deposited half way through the period, F =10$

You, I and saluki9 all agree on the numerator, G = E - S - F = $15

Using your formula, the denominator would be
AvgBal = S+(E-F)/2 = 100+(125-10)/2 = 100+(115)/2 = 100+57.5 =157.5

and ROI would be G/AvgBal = 15/157.5 = 9.52%

I would use a denominator of S+(F/2) = 100+(10/2) = 105

giving a ROI of 15/105 = 14.29%

We have made $15, having put in a total of $110, $100 at the start plus $10 halfway through. I would think that the rate of return would be at least 15/110 = 13.64%. Allowing some credit for the fact the the $10 deposit was only earning returns for half the period, 14.29% seems to me more reasonable than 9.25% as an estimated rate of return.

Am I missing something?
ExHermit is offline   Reply With Quote
Old 02-02-2008, 06:38 PM   #15
kaneohe
Recycles dryer sheets
 
Join Date: Jan 2006
Posts: 397
Quote:
Originally Posted by jIMOh View Post
my function wizard does not have XIRR

running excel 2003.

the link does not show the math behind the calculation, can you display it here? thx
Perhaps your software has the IRR function?
ExcelTips: Using the IRR Function

I guess you'd set up the time scale as months and the IRR would be the
monthly return so probably not as accurate as XIRR. I'm assuming the annual return would be the monthly return compounded for 12 mos and you could set up the spreadsheet to calculate that.
kaneohe is online now   Reply With Quote
Old 12-23-2008, 02:25 PM   #16
jIMOh
Thinks s/he gets paid by the post
 
jIMOh's Avatar
 
Join Date: Apr 2007
Location: Milford, OH
Posts: 1,333
Bumping this with a question.

Using this formula:
([starting value-.5*deposits]/[ending value+.5*desposits])-1

My 401k IRR is -29.6%
According to my 401k provider my loss was twice that (-58.8%).

**edit** this 401k transferred custodians from Vanguard (old employer) to current employer (self maintained plan with institutional funds)- could this be causing the issue?

Thoughts?
__________________
Light travels faster than sound. That is why some people appear bright until you hear them speak. One person's stupidity is another person's job security.
jIMOh is offline   Reply With Quote
Old 12-23-2008, 03:22 PM   #17
Alan
Thinks s/he gets paid by the post
 
Alan's Avatar
 
Join Date: Jul 2005
Location: Baton Rouge
Posts: 1,758
Send a message via MSN to Alan
Quote:
Originally Posted by jIMOh View Post
Bumping this with a question.

Using this formula:
([starting value-.5*deposits]/[ending value+.5*desposits])-1

My 401k IRR is -29.6%
According to my 401k provider my loss was twice that (-58.8%).

**edit** this 401k transferred custodians from Vanguard (old employer) to current employer (self maintained plan with institutional funds)- could this be causing the issue?

Thoughts?
I think your formula is wrong. I just tried your formula on my 401k data for the year and compared it with my 401k website and also my own IRR calculation (using the Excel function).

Using your calculation I get a number wildly different from mine.

Am I using your formula wrong?

Starting value = $373,467, Ending value = $287,890.
Total deposits = $25,383

your calculation gives 20% while website gives -29%
__________________
Put the key of despair into the lock of apathy. Turn the knob of mediocrity slowly and open the gates of despondency - welcome to a day at the average office.

Countown clock is at 28 weeks to be SIRE'd
Alan is offline   Reply With Quote
Old 12-23-2008, 07:24 PM   #18
FIREdreamer
Thinks s/he gets paid by the post
 
FIREdreamer's Avatar
 
Join Date: May 2007
Posts: 2,076
Is your 401K provider quoting you an IRR?

As I understand it, the XIRR formula is based on cash flow, i.e. how much went into / out of the account and when did that transaction occur. XIRR calculations give you an annualized rate of return, so your account has to be opened at least 1 year for your results to be accurate.

So my guess is, if your transferred your 401K from one institution to another during the last 12 months, then the IRR quoted by the new institution is probably meaningless because they have less than 1 year worth of cash flow data to work with.
__________________
"Fortune favors the brave" - Virgil

DINKs, age 35.
Portfolio = 14 x annual living expenses. On track to FIRE by the age of 45.
FIREdreamer is offline   Reply With Quote
Old 01-02-2009, 01:17 PM   #19
jIMOh
Thinks s/he gets paid by the post
 
jIMOh's Avatar
 
Join Date: Apr 2007
Location: Milford, OH
Posts: 1,333
Quote:
Originally Posted by Alan View Post
I think your formula is wrong. I just tried your formula on my 401k data for the year and compared it with my 401k website and also my own IRR calculation (using the Excel function).

Using your calculation I get a number wildly different from mine.

Am I using your formula wrong?

Starting value = $373,467, Ending value = $287,890.
Total deposits = $25,383

your calculation gives 20% while website gives -29%
Yeah I think my forumula is wrong too.

starting value 41202
ending value 33226
deposits 10741
I have the equation as [33226/ (41202+10741)]-1= -36.03%

or
starting value 167,685
ending value 120,496
desposits 27720

Which is [120496/ (167685+27720]-1= -36.29%

Do both equations look accurate now?
__________________
Light travels faster than sound. That is why some people appear bright until you hear them speak. One person's stupidity is another person's job security.
jIMOh is offline   Reply With Quote
Old 01-02-2009, 02:19 PM   #20
Free To Canoe
Recycles dryer sheets
 
Free To Canoe's Avatar
 
Join Date: May 2008
Location: Cooksburg,PA
Posts: 254
Quote:
Originally Posted by ExHermit View Post
Here are some handy calculations and approximations that make sense to me.....

...ROI = G / (S+(F/2)).

ExHermit
Thanks ExHermit,

I do the same except I just use G/S for the ROI.

Yours is better, of course.

Free
Free To Canoe is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nominal rates of return & SD for asset classes walkinwood FIRE and Money 5 04-26-2007 10:54 AM
calculation help pinkmali Young Dreamers 7 08-02-2006 03:35 PM
FV calculation ferco FIRE and Money 6 12-31-2005 06:16 AM
SS Calculation jodz FIRE and Money 14 08-31-2004 08:07 PM


All times are GMT -6. The time now is 07:22 PM.

Other Social Knowledge forum communities:
Cooking Forum - Sailing Forum - Early Retirement - Airstream Trailer - Aquarium Forum - Royal Forum - Book Forum - Volkswagen Touareg Forum - Jeep Wrangler Forum - Whitewater Kayaking & Rafting Forum - Fiberglass RV Forum - RV Forum - Truck Conversion - U2 Music Forum
Social Knowledge Networks
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Forums Directory