What is xirr
Last updated: April 1, 2026
Key Facts
- XIRR is an Excel financial function that computes Internal Rate of Return for non-uniform cash flows
- The formula requires cash flow amounts and their corresponding exact dates as inputs
- XIRR returns an annual percentage rate showing the true investment performance over time
- It uses iterative calculations to find the discount rate where Net Present Value equals zero
- XIRR is more accurate than simple ROI calculations for investments with multiple transactions
Overview
XIRR stands for Extended Internal Rate of Return and is a powerful financial function primarily available in Microsoft Excel and Google Sheets. Unlike the standard IRR function which assumes periodic cash flows, XIRR handles irregular and non-periodic transactions. This makes it essential for analyzing real-world investments where deposits and withdrawals occur at unpredictable intervals.
How XIRR Works
XIRR calculates the discount rate at which the Net Present Value (NPV) of all cash flows equals zero. The function requires two inputs: an array of cash amounts and an array of corresponding dates. By matching each transaction with its exact occurrence date, XIRR provides a precise annualized return percentage that accounts for timing.
Formula and Syntax
In Excel, the XIRR function uses the syntax: =XIRR(values, dates, [guess]). The 'values' parameter contains all cash flows (negative for investments, positive for returns), 'dates' contains the corresponding transaction dates, and 'guess' is an optional starting estimate. The function iteratively calculates the rate that satisfies the NPV equation.
Practical Applications
XIRR is widely used to measure portfolio returns, mutual fund performance, and venture capital investments. Financial advisors use XIRR to compare investment returns fairly across different time periods and investment amounts. It's particularly useful for investors who make periodic contributions at varying intervals.
XIRR vs. Other Return Metrics
Unlike simple return percentages that ignore timing, XIRR accounts for when money enters and exits an investment. This makes it more accurate than basic ROI calculations. Simple Dietz method is faster but less precise. XIRR provides the most accurate representation of actual investment performance for irregular cash flows.
Related Questions
What is the difference between XIRR and IRR?
IRR calculates returns assuming periodic cash flows at regular intervals, while XIRR handles irregular, non-periodic transactions with specific dates. XIRR is more precise for real-world investments with variable timing.
How do I calculate XIRR in Google Sheets?
Google Sheets uses the same XIRR function syntax as Excel. Simply enter =XIRR(cash_flows, dates) with your transaction amounts and their corresponding dates in separate columns.
What does a negative XIRR mean?
A negative XIRR indicates that your investment has lost money overall. The negative rate shows the annualized percentage loss when accounting for all cash flows and their timing.
More What Is in Daily Life
Also in Daily Life
More "What Is" Questions
Trending on WhatAnswers
Browse by Topic
Browse by Question Type
Sources
- Microsoft Office - XIRR FunctionCC-BY-4.0
- Wikipedia - Internal Rate of ReturnCC-BY-SA-4.0