An iterative approach to calculating the Internal Rate of Return (IRR)
Web Resources
Web Resources
Web Resources
Web Resources
Web Resources
Web Resources
Web Resources
Web Resources
Web Resources
Web Resources
Web Resources
Web Resources
Web Resources
all posts
-
Conferences
- Terrapinn Corporate Finance World, Sydney – Project finance modelling
- Excellence in oil and gas – Sydney 2009
- Corality’s Liam Bastick discusses presenting at the CPA Management Conference and CPA Congress around Australia
- Summer Drinks in Sydney - You're Invited!
- CPA Australia Congress, Dr. Liam Bastick
- Modelling Risk, Return and Ranking
- Cash Flow Management For Critical Decision Making
- Key Driver Analysis Modelling
- Forecasting Techniques and Financial Modelling
- The ICAA Accounting Conference 2011
- The Newcastle Convention 2011
- National Infrastructure Awards 2011 - The Oscars of Infrastructure
- EuSpRIG: Corality presents SMART financial modelling in London, Greenwich
- Corality presents seminar on Business Analytics and Decision Analysis for the Institute of Chartered Accountants
- CPA Sydney Congress
- Financial modelling for gold projects and flying sharks at The Gold Symposium
- Strong speaker line up at The Gold Symposium, Sydney
- Corality continues its seminars on best practice standards in financial modelling for CPA Australia
- The CFO Crystal Ball: Powerful Financial Modelling for Strategic Planning
-
Corporate News
- Corality is a BRW 2011 Fast Starter
- SMART, Navigator’s best practise modelling methodology is here!
- Corality Gallery Opening - 16th of June, Sydney
- Corality hosts seminar at the London Business School
- Corality Gallery Opening
- Corality clients nominated in the Ernst & Young ‘Entrepreneur of the Year’
- Strategic merger - Corality and Navigator form the Corality Financial Group
- Excel workshops and live model builds with Corality at the CPA Expo
- Mines and Money Conference and Exhibition
- Peter Weatherston: Head of Consulting, financial modelling expert and whisky connoisseur
- Corality Financial Group - the start of a new era
- Banks approve US$138 million for the Wetar copper project
- Corality wins high profile Desertec equity model build job
- Rickard Warnelid – Top 40 business leader under 40
- Corality writes article series about financial modelling for CIMA
- Solar flair – Corality in the press
- Corality sponsors Macquarie University with award for academic excellence
- Investing in iron ore projects – Corality in the press
- Corality’s new MD, Rickard Warnelid
- Corality celebrates rapid growth nomination - BRW 2012 Fast Starter
- Corality attends The Resources and Energy Symposium, Broken Hill
- Corality is building its global presence with an office in Perth
-
Excel
- Corality check-lists in Excel using Webdings
- Are you using the Share Workbook functionality in Excel?
- What level of input Data Validation is needed in Excel?
- Excel lovers celebrate like crazy - Day 40,000 is here!
- ‘Zoom to selection’ with VBA to improve presentation of Excel financial models
- “Input cell reference is not valid” – how to create a Data Table in ANY sheet
- Scenario analysis for freaks - 13 silly options
- Excel and VBA password security
- VBA and Conditional Formatting in Excel
- OFFSET function and tracing formulae
- Financial model review – try this at home!
- IF-fetishism and named-range-bonanza
- Excel forecasting methods and how to assess forecast accuracy
- Full article now published: Reducing Risk in Excel Modelling
- CPA - Excel Secrets and Shortcuts
- Excel 2007 vs. 2010 – What's new
- Spreadsheet skills: hiding formulae
- Worst practice financial modelling
- Spreadsheet skills: Being Sensitive with data tables
- Excel shortcuts – get your Excel shortcuts cheat sheet
- Make Excel history and win a free financial modelling course!
- Corality Excel challenge - Congratulations Daniel Ferry!
- Spreadsheet Errors – Research by Professor Panko
- Sumwise – will it start a spreadsheet revolution?
- Should we use SUMPRODUCT?
- Desktop sharing – Using Skype to get Excel help from your friends
- So what can you do with an Excel spreadsheet
- Your guide to Excel Mapping Software
- Edward Tufte: Information Design and Data Visualisation
- Best practice financial modelling - Dilbert you should try it!
- Three simple ways to improve communication in your financial model
-
Financial model audit
- What is ‘Usual Practice’ for Calculating Project NPV?
- The time zone advantage in financial model audit iterations
- Do you love clients? Join the team.
- Sorry, but your financial model looks like Berlin (before 1989)!
- Can new spreadsheet infrastructure assist financial model audits in real-time?
- 4 Free alternatives to a financial model audit
- What is an ‘iteration’ in a financial model audit?
- Controlling costs in the financial model audit process
- Top 10 tips to reduce errors in excel modelling
- Seasons Greetings
-
Financial modelling industry
- Stand-alone financial modelling can destroy your company
- Charles Darwin, genetics and financial modelling
- www.fimodo.com – New financial modelling website
- 14 steps to improved marketing in your financial model
- You have an ugly baby!
- ‘Financial Modelling Expertise’ – Digit Advisory in Sydney
- “I built the worst financial model in the world!”
- Financial model audit analyst - What is the ideal background?
- What is the ideal background of a financial model audit analyst?
- Recruiting two financial modelling analysts in Sydney
- Does the world need pro bono financial modelling?
- My top 3 ‘Cityboy’ moments
- Career booster for senior financial model auditor
- Leighton and CBA win Queensland school PPP Project
- Australia’s fantastic internet infrastructure project
- Operis Analysis Kit (OAK 4.00) – time to upgrade?
- Rock Financial Modelling – Emma McPherson goes independent
- New Member of the Corality Team
- We’re recruiting!
- New Royal Adelaide Hospital PPP Project
- London – New financial model audit specialist in town!
- LinkedIn Group – Financial Modelling in Excel
- Pitfalls of utilising Cloud computing for spreadsheet modelling
- Debt Service Cover Ratio (DSCR) sculpting in Project Finance Modelling - the easy way!
- Regulatory change makes financial planning sector ripe for M&A
-
Training
- Debt-sculpting using VBA and Goal Seek
- Public training courses for financial model auditors?
- Financial modelling training on a shoestring
- Corality Financial Group hosts seminar at the Frankfurt School of Finance & Management
- Business Case Modelling Sydney - 6 & 7 December 2011
- Financial Modelling for Mining Projects training
- Corality training - lunchtime training sessions for PKF Australia
tags
all tutorials
-
Excel - Advanced
- Calculate NPV without Excel formulae
- LOOKUP instead of VLOOKUP and HLOOKUP
- Custom formats in Excel
- Data Validation in Excel
- Goal Seek function in Excel
- Range names in Excel
- Excel Data Tables in any sheet
- An iterative approach to calculating the Internal Rate of Return (IRR)
- How to use SUMPRODUCT
- Custom number formats - Formatting decimals
- Cashflow Available for Debt Service (CFADS)
- Benefits of using Excel shortcuts: get your shortcut sheet
- Cash Sweep Analysis in Project Finance
- Circular Interest – Interest on average balances
- Project Life Cover Ratio
-
Excel - Basic
- Array formulas in Excel
- ICAA Conference: Get Corality’s presentation and excel files
- Excel 2007 Styles Shortcut Tool
- Using trend lines to analyse patterns in historical data
- Excel offset function increases modelling risk
- Custom number formats - Formatting text
- Debt Sculpting to Target DSCR without VBA
- Calculate IRR in Excel
- Debt Service Reserve Account
- Organisational benefits of implementing best practice financial modelling
- Visual Basic for Applications (VBA)
An iterative approach to calculating the Internal Rate of Return (IRR)
Downloads for this Tutorial:
PDF VersionDownload Now Excel WorkBook
Download Now
Are you a member?
Get full access to our FREE downloads Register Now
One function in Microsoft Excel that calculates the IRR is the IRR function. One of the disadvantages of the IRR function is that it assumes an annual cashflow and most financial model these days are generally monthly or quarterly. This is where the XIRR comes into play. XIRR allows for uneven cashflow intervals by taking into account the dates of which a cashflow occurs.
However, a recent discussion online raised the issue that XIRR is calculated based on the assumption that there are 365 days a year (i.e. (d1 – d2) / 365), a reasonable assumption in most cases. However, it causes issues when there is a leap year or when assessing the IRR of financial instruments that are calculated using different measurements of durations, such as the 30/360 day count or actual/360 day count.
How then should IRR be calculated?
For a truly dynamic and robust method of calculating IRR, one has to understand how IRRs are being calculated in the first place.
The IRR (and XIRR) function in Excel uses what is called as an iterative technique to arrive at an answer. An iterative technique works as follows:
- Start with a guesstimate
- Based on that guesstimate, work out the next, more accurate estimate
- Rinse and repeat step 2 until the resulting estimate is reasonably accurate
This method is the commonly used method among IRR calculations methodologies, and that includes the IRR and XIRR function.
The iterative process mentioned above is the general outline of how the process works. One of the biggest issues with the iterative process is how quickly does a particular iterative process takes to arrive at an accurate answer. Mathematicians have come up with a multitude of iterative techniques to quickly arrive at an answer. Some examples are, but not limited to, the bisection method, the secant method, Newton’s method (a.k.a. Newton-Raphson method), Inverse Quadratic method and Brent’s method. The method that we will be focusing on to calculate IRR in this article is the Newton-Raphson method. Other methods are shown in the accompanying excel spreadsheet.
For the purposes of this article, we will attempt to achieve the same result as per the IRR or XIRR function in Excel. This would mean achieving an estimate within 0.00001% accuracy.
The Newton-Raphson method in detail (technical & boring)
Methodology
The Newton-Raphson method requires a mathematical function f(x) to be solved such that f(x) = 0 and with an initial estimate of e0. A new estimate can then be found using the algorithm:
e1 = e0 - f(e0) / f’(e0) where f’(x) is the first order differentiation of f(x) with respect to x.
In simpler terms, f’(e0) is the slope of the graph at e0. A more accurate answer can then be found by reiterating the algorithm above to get e2, e3, e4… until desired accuracy.
To translate the mathematical jargon above into something related to the calculation of IRR, we need to understand that IRR is a discount rate such that the NPV is 0. In other words; NPV( IRR ) = 0 (look familiar?)
Replacing f(x) with NPV(r) where r is the discount rate, we can see that the IRR can be calculated by solving NPV(r) such that NPV(r) = 0. I.e., the iterative algorithm to find the IRR will then be: r1 = r0 - NPV(r0) / NPV’(r0)
In the interest of transparency, the accompanying model will use an estimate of the slope by using NPV calculation from first principles, rather than using the first derivative of NPV with respect to the discount rate. An estimate of the slope can be found by taking the slope of two sufficiently close points on the NPV curve. In the example, we used +0.025% as the second point.
In English please
In simpler terms, you get the curve of the NPV vs. discount rate, pick an estimate discount rate, and draw the tangent line. The new estimate will then be where the tangent line crosses the horizontal axis. (Refer chart below)
Newton Iteration
Image source: Wikipedia, by Ralf Pfeifer
Results
The example model contains the calculations using the Newton-Raphson Method, the bisection method, and the secant method. Details of the other two methods can be found on Wikipedia (a great source for information, regardless of what one thinks of its reliability). Using the initial estimates of 10%, for the Newton-Raphson method, 10% and 50% for the Bisection method, and 9.5% and 10.5% for the Secant method, the results are as follows.

The table above shows the number of iterations each method requires to achieving 0.00001% accuracy. Even though the results from the table above are not directly comparable, the Newton-Raphson method is still a preferred method since it is relatively easy to implement, quick to achieve desired results (in the case of IRR), and only requires one initial estimate.
Conclusion
Couple this method with NPV calculations from first principles; one can easily manipulate any assumptions made in the IRR (or XIRR) function, e.g. the duration between dates.
Find out more
Bing is a firm supporter of Wikipedia. A lot of these information can be found on Wikipedia.
- Bisection Method
- Secant Method
- Newton’s (or Newton-Raphson) Method
- Inverse Quadratic Method
- Brent’s Method
To find out about the method of calculating NPV used in the example model (first principles), visit Navigator Project Finance's tutorial
Not a member?
Register now to get full access to our FREE Tutorials and workbooks.
Register Now
Login
Downloads for this Tutorial:
PDF VersionDownload Now Excel WorkBook
Download Now
Are you a member?
Get full access to our FREE downloads Register Now
COMMENTS
Upcoming Courses
Testimonials
"Corality completed a model audit for Jemena on a strategic water project in December 2008. Throughout the audit work, the Corality staff were thorough and diligent. Despite being the holiday season, the job was completed efficiently and on time. We were impressed with the high level of “Corality professionalism” throughout the audit process."
Vincent Leong, Financial Analyst Commercial Strategy




Post new comment