Calculating stock or investment returns: the difference between ROI and IRR

Whether you are investing in the stock market or a business project, you need to understand rates of return. Stock gurus talk about things like ROI and IRR, but what do they mean? I’ll go through the logic of each method and explain why IRR is my preferred choice.

Rate of return (ROR, or more commonly called ROI)

ROI is the simplest return measure and also the most often quoted. ROI is defined as the percentage increase or decrease of an investment over a period of time. This method gives an idea of how much an investment is growing or declining.

Here’s an example. Imagine an investment started at $1,000 and grew to $1,100 by the end of the year. In this case, the ROI is equal to the percentage increase of 10 percent.

In general, you can calculate the ROI once you know:

  1. The starting investment value (C0)
  2. The ending investment value (C1)

The general formula is:

One thing you might notice is the ROI formula doesn’t include a time component. Mathematically, we would have gotten the same ROI had the investment taken place over 1 day, 1 month, 1 year, or even 10 years. This is why the ROI is usually stated with a time period, like “a 10 percent daily return” or “a 10 percent annual return.”

There are two reasons the ROI is useful.

First, ROI gives a quick assessment of investment performance, and it helps that ROI can be computed mentally.

Second, ROI is useful when comparing two investments over the same time period. If one mutual fund had an annual ROI of 15 percent compared to another that had 10 percent, you could conclude the first performed better.

Unfortunately, there are two fatal flaws with the simple rate of return method.

First, it does not allow you to compare investments over different time periods. Suppose you were trying to compare two investments, one that had a 5 percent return over 1 month versus another that had a 50 percent return over 1 year. Which is better? It is not easy to draw conclusions.

Second, what if you invested in several increments? Suppose you invested $100 monthly for one year and ended up at $1,300. What would you investment return have been over that time period?

These two issues are realistic concerns for the individual investor. And then there are other issues like taxes and dividends. How do you figure out investment performance then?

A more flexible framework is needed and this is where IRR comes in. While the IRR is mathematically more complicated, understanding it is vital for tracking investment return.

Internal rate of return (IRR, also called yield or APY)

I bet you are already familiar with IRR because it is given a special name when quoted on products like CDs or savings account. The IRR is called the APY, the annualized percentage yield.

IRR is a more sophisticated return measure and is widely used in the finance world for valuations. IRR is the annualized compound rate which can be earned on invested money, also known as the yield. IRR takes into account the investment growth but unlike ROI it also accounts for the timing of the cash flows.

Some examples are: a 5 percent monthly return is an IRR of about 80 percent. Making 12 monthly investments of $100 that accumulate to $1,300 is an IRR of about 15 percent.

How can you calculate those figures? In theory, one could go to the math formula and try to solve a complicated polynomial. The calculating complexity is probably one reason the IRR was not as widely quoted.

Nowadays, calculating the IRR has been made easy because of numerical methods. We can calculate IRR in spreadsheets fairly easily. The specific function is “XIRR” in Open Office Calc, Google Documents spreadsheet, and Microsoft Excel (*I think this requires the Analysis Toolpak add-in).

Calculating IRR is done by creating a time series of cash flows. One column is a listing of all the dates of cash flows-including investments, dividends, taxes, etc. The other column is the numerical values of those events. The IRR can then be calculated using the “XIRR” function in a spreadsheet with the appropriate ranges. Here are some examples of calculating IRR.

Example 1: converting monthly to annualized yield

Suppose you invested $1,000 on January 1, 2008 and got back $1,050 on February 1, 2008. What is the annualized yield of this investment (ignoring taxes, etc)?

Here is the IRR calculation:

Note that cash outflows (buying) are negative and cash inflows (selling) are positive.

Example 2: monthly investments

Suppose you invested $100 on the first of each month during 2007 and got back $1,300 at the end of the calendar year. What is the annualized yield of this investment (ignoring taxes, etc)?

Here is the IRR calculation:

Example 3: buying and selling

IRR is flexible enough to handle even harder problems. Take the example of buying and selling during the year.

Suppose you invested $100 on January 1, 2008, sold for $90 on June 1, 2008. You later bought back $100 on July 1, 2008 and then sold for $150 at the year end. What would the annualized investment return be here?

This situation can be solved using the IRR method:

Example 4: adding in taxes, dividends

The real beauty is IRR can measure performance with realistic factors like taxes and dividends. I’ve made up numbers in the next example of dividends and taxes. You can modify them for your actual performance.

Suppose you invested $100 on January 1, 2008, received a $3 dividend on June 1, 2008. You sold at the year end for $105 but had to pay taxes of $1 for the dividend and capital gains. What is your net annualized yield?

Here is the IRR calculation:

I hope these examples give you can idea of the flexibility of the IRR. It’s okay if you still have questions about how to calculate it. Just ask any of your competent friends with economics or accounting degrees and they should be able to run the numbers.

In summary, the IRR is harder to compute but it gives a more accurate picture. Plus, in some cases it is the only way to figure out the return. For my money, I focus on the IRR.

(optional) Math of IRR:

In general, you can calculate the ROI once you know:

  1. The cash flows of the investment (C0, C1, …)
  2. The time elapsed in years after the first cash flow (t1, t2 …) where (t0=0)

The IRR is the value (or values) that solve the following equation:

The IRR cannot always be solved analytically so we rely on numerical methods, like financial calculators or spreadsheets.

Related articles on the web

Tracking your success–a nice article from fool.com on why IRR is the appropriate metric

How to calculate your return on investment–a step by step explanation from Fat Pitch Financial on how to get IRR…plus a free spreadsheet

Disclaimer: This explanation is for educational and recreational purposes only. Every attempt has been made to make the article accurate for the time of writing. Do your own research or consult a professional before making an investment decision.



Share this post:

| More

Previous post:

Next post:



  • http://www.oldschoolvalue.com Jae Jun

    This is a good reminder.

    Another way is to get the online systems such covestor or icarra to do the work for you. Just enter in the details of your trade and it will draw benchmark comparisons, different types of returns etc etc

  • Pingback: Calculating The Return On Investments: ROI vs IRR | Simoleon Sense

  • http://www.mindyourdecisions.com/blog/ Presh Talwalkar

    Thanks for the tips on those websites…Yes, it is a good idea to get computers to do the messy computations.

  • John

    Thank you for this information. It will help me track the ROI on our retirement accounts.

    Cheers,

    John

    P.S. I like “messy” computations :-)

  • http://www.numericalexample.com/ numericalexample.com

    The explanation of the difference between APY and ROI is very useful. For ignorance and convenience many people, like me, use the term ROI when they actually mean APY or IRR.

    As you have explained APY/IRR is what you usually want to compute. Doing these calculations by hand this can be difficult and/or time consuming. Therefore I have made several free online calculators that can be used to compute the APY on savings and brokerage accounts, see for instance:
    http://www.numericalexample.com/content/view/85/27/
    and http://www.numericalexample.com/content/view/43/27/

    The second calculator is similar to your spreadsheet method. Hope this helps.

  • Victor

    I am just wondering, if we take the NPV of all cash returns as C1 in the ROI formula, would that resolve the issue of ROI not taking into account the concept of time?

  • Thiago Christofoletti

    The most usefull post I found about this topic, after hours and hours of research. Thank you!

  • Mohammed

    as far as i know is that IRR is flawed meausre of return because it is affected by the timing of cash flow.supposed you invested big money after your investment grew up in value.this will distort your return while in fact you were growing befor the cash flow injection.as far as i know is that Geometric rte of return is the prefered method as it handle the cash flow timing problem in the IRR.

    Regards,

  • divaykanotra

    dear
    I think NPV will score over the IRR as it can give dicier results and in some cases give two rates of returns . for further reading one can ” read brealy & myers

  • sanjay bakshi

    Thanks a lot. i really got enlightened with the wisdom of IRR. i work as a trainer for NEW YORK LIFE INSURANCE. this concept will definitely help me make my financial advisors understand the same. thanks a lot.

  • http://businessfinanceloans.finance-vault.com///boost+profits+with+invoice+finance+2.php Rob

    Ta for giving the link ? but sadly it looks to be unable to pull up? Does anyone have a another link or otherwise source?

  • hs rajpal

    Explained quite simply

  • dave

    In example 4, are those dividends reinvested into the investment? if not how are those calculated? that is if you are paid a dividend from the investment then you immediately reinvest it?

  • http://www.mindyourdecisions.com/blog/ Presh Talwalkar

    Dave, the dividends in example 4 are paid out as cash. If you reinvest the dividends, then you don’t need to include the transaction–the extra profit will be reflected in your final sale price.

    (I am fairly sure this is true, but remember this is friendly advice and not to be taken as professional advice).





Previous post:

Next post:

Other posts you may enjoy reading: