Why you should always use XIRR instead of IRR in financial modeling
Over 1.8 million professionals use CFI to learn accounting, financial analysis, modeling and more. Start with a free account to explore 20+ always-free courses and hundreds of finance templates and cheat sheets.
In financial modeling and valuation, it’s critical to understand why to use XIRR vs IRR. Using the simple =IRR function in Excel can be misleading, as it assumes all the time periods in a series of cash flows are equal. This is frequently not the case, especially if you have an initial investment up front, and which is almost never on December 31.
XIRR gives you the flexibility to assign specific dates to each individual cash flow, making it a much more accurate calculation.
What is Internal Rate of Return (IRR)?
The Internal Rate of Return is the discount rate that sets the Net Present Value (NPV) of all future cash flows of an investment to zero. If the NPV of an investment is zero, that doesn’t mean it’s a good or bad investment, it just means you will earn the IRR (discount rate) as your rate of return.
What is IRR in Excel?
If you use the =IRR() formula in Excel, then you are using equal time periods between each cell (cash flow). This makes it challenging when you expect to enter an investment in the middle of a year. For this reason, (as outlined below) always use XIRR instead.
What is XIRR in Excel?
If you use the =XIRR() formula in Excel, then you have complete flexibility over the time periods of the cash flows. In order to do this, enter two series in your formula:
The series of cash flows
The corresponding dates of each of the cash flows
Example of XIRR vs IRR calculation
Below is an example of regular IRR versus XIRR, with a series of six cash flows. With regular IRR, it assumes all cash flows occur on Dec 31, but with XIRR, we can tell Excel that the first cash flow is in the middle of the year. This has a substantial impact on the internal rate of return calculation.
As you can see in the result below, using XIRR vs IRR produces 16.25% as compared to 13.45%, which is a material difference!
Download the Free Template
Enter your name and email in the form below and download the free template now!
Additional resources
Thank you for reading this guide to XIRR vs IRR in Excel. To keep learning and advancing your career, we highly recommend the additional CFI resources below:
Below is a break down of subject weightings in the FMVA® financial analyst program. As you can see there is a heavy focus on financial modeling, finance, Excel, business valuation, budgeting/forecasting, PowerPoint presentations, accounting and business strategy.
A well rounded financial analyst possesses all of the above skills!
Additional Questions & Answers
CFI is the global institution behind the financial modeling and valuation analyst FMVA® Designation. CFI is on a mission to enable anyone to be a great financial analyst and have a great career path. In order to help you advance your career, CFI has compiled many resources to assist you along the path.
In order to become a great financial analyst, here are some more questions and answers for you to discover:
Take your learning and productivity to the next level with our Premium Templates.
Upgrading to a paid membership gives you access to our extensive collection of plug-and-play Templates designed to power your performance—as well as CFI's full course catalog and accredited Certification Programs.
Gain unlimited access to more than 250 productivity Templates, CFI's full course catalog and accredited Certification Programs, hundreds of resources, expert reviews and support, the chance to work with real-world finance and research tools, and more.