XIRR Calculator

Investment Details

₹500₹5.00 L
1 Yr20 Yr
₹10,000₹3.00 Cr
Your XIRR15.03%
Total invested₹3.60 L
Final value₹4.50 L
Total gain₹90,000
Absolute return25.0%
Invested80%
Total invested
Returns
Invested 80%Returns 20%

Get the best of Fermor, free

Join to get financial tips, calculator updates, and insights in your inbox.

Are you a CA or financial advisor?

Generate branded Tax Optimization Reports for your clients.

Get started free

What is XIRR?

XIRR (Extended Internal Rate of Return) is the single annualised rate of return that makes the present value of every cash flow in a portfolio, each dated precisely, net to zero. It is the standard measure mutual fund apps and brokers use to show your SIP or recurring investment return.

XIRR stands for Extended Internal Rate of Return. It is the single annualised rate of return that, when applied to each individual investment on its specific date, makes the total present value of all cash flows equal to zero. In simpler terms, XIRR tells you how much your money grew per year on average, after accounting for the exact timing of every investment you made.

Every mutual fund Consolidated Account Statement mandated by SEBI shows an "Annualised Return" figure. That figure is XIRR, not CAGR.

AMFI-registered registrars CAMS and KFintech compute this XIRR from every dated transaction in your account before issuing the statement.

How can this XIRR calculator help you?

This calculator is designed for investors who want to evaluate the actual return on their SIP or recurring investment portfolio. It accepts four inputs: the amount invested per instalment, the investment frequency, the total duration, and the current portfolio value. The XIRR is then computed instantly using the Newton-Raphson method, which is the same algorithm used by Microsoft Excel.

•It calculates your actual annualised return, accounting for the timing of every instalment rather than treating all investments as a single lumpsum.
•It shows you the year-by-year growth of your portfolio, so you can see the compounding effect at each annual milestone.
•It works for any investment frequency, whether you invest monthly, quarterly, half-yearly, or yearly.
•It runs entirely in your browser, free to use, with an optional free account if you want to save your results.

The XIRR formula

XIRR is the value of rate r that satisfies the following equation:

Σ [Cⅰ / (1 + r) ^ ((dⅰ - d₀) / 365)] = 0

The variables represent the following:

VariableMeaning
rXIRR: the annualised rate being solved for
CiThe cash flow amount at period i (negative for investments, positive for the final value)
diThe date of cash flow i
d0The date of the first cash flow (start of the investment)

There is no closed-form solution for r when there are more than two cash flows. The equation must be solved iteratively. Excel and this calculator use the Newton-Raphson method, which converges to the answer in a few hundred iterations.

Worked example of XIRR calculation

Suppose an investor makes three yearly investments of Rs. 10,000 beginning on 1 January 2021, and receives Rs. 60,000 on 1 January 2024. The cash flows are:

DateCash FlowType
01 Jan 2021Rs. 10,000Investment (outflow)
01 Jan 2022Rs. 10,000Investment (outflow)
01 Jan 2023Rs. 10,000Investment (outflow)
01 Jan 2024Rs. 60,000Maturity amount (inflow)

Total invested is Rs. 30,000. Final value is Rs. 60,000. Absolute return is 100 percent. The XIRR for this scenario works out to approximately 39 percent per annum. The high XIRR reflects the fact that the earliest investment of Rs. 10,000 had only three years to grow, while the last investment had only one year. Each instalment contributed differently based on when it was deployed.

XIRR in Excel: =XIRR(B2:B5, C2:C5)

B2:B5 holds the four cash flows (10000, 10000, 10000, -60000), and C2:C5 holds the four dates above in the same row order.

XIRR versus CAGR

CAGR measures the annualised return between two fixed points in time for a single investment. If Rs. 1 lakh grew to Rs. 2 lakh in 5 years, the CAGR is 14.87 percent per annum. This is straightforward when there is only one initial cash flow.

For a SIP, using CAGR produces an incorrect result. If you invested Rs. 5,000 per month for 5 years and your portfolio is now worth Rs. 4 lakh, a naive CAGR calculation treating Rs. 3 lakh as the starting amount and Rs. 4 lakh as the end would give a misleading figure. The first instalment had 5 years to compound, but the last instalment was deployed just one month ago. XIRR accounts for every single instalment date, making it the accurate measure for SIP returns.

XIRRCAGR
Designed forMultiple cash flows at different datesSingle lumpsum investment
Accounts for timingYes: each cash flow dated preciselyNo: single start and end date
Used for SIP returnsYes: the correct measureNo: gives inaccurate result
Used for lumpsum returnsWorks but same as CAGRYes: the standard measure
Solvable by handNo: requires iterationYes: simple formula

Once you know your actual annualised return from XIRR, use that figure as the return rate in the Wealth Growth Calculator to project your corpus forward at that same pace, combined with any existing wealth.

CAGR Calculator

Made a single lumpsum investment instead of a SIP? Get the annualised return for that instead.

Open calculator

When should you use XIRR?

Use XIRR any time your money went in or came out on more than one date, such as a SIP, a portfolio with top-ups or partial withdrawals, or two investments made months apart.

SIP and recurring investments

Use XIRR whenever you are evaluating a portfolio built through regular investments over time. Monthly SIPs, quarterly contributions, or any recurring investment plan requires XIRR to measure returns accurately. The SIP Calculator uses the XIRR-equivalent formula internally to project returns.

Checking your mutual fund portfolio return

When your fund house or broker app shows your portfolio return as a percentage, that number is XIRR. To verify or recalculate it independently, enter the total amount invested per instalment, the frequency, the duration, and your current portfolio value into this calculator.

Comparing two SIP investments

If you want to compare two funds where you made the same SIP amount and duration but received different final values, XIRR gives you a like-for-like annualised return for each, making the comparison accurate.

When to use CAGR instead

Use the CAGR Calculator when you made a single lumpsum investment at one point in time and want the annualised return up to today or a future date, with no interim investments or withdrawals.

How to calculate XIRR in Microsoft Excel

Excel has a built-in XIRR function that calculates the result directly. The following steps apply to any SIP portfolio:

•In column A, list all your investment dates in chronological order, followed by today's date in the last row.
•In column B, enter each investment amount as a negative number (outflow). In the last row, enter your current portfolio value as a positive number (inflow).
•In an empty cell, type the formula: =XIRR(B1:B37, A1:A37) where B1:B37 are your cash flow amounts and A1:A37 are the corresponding dates. Adjust the range to match your actual number of rows.
•Press Enter. Excel returns the XIRR as a decimal. Multiply by 100 or format the cell as a percentage to display it correctly.
•If Excel returns a #NUM! error, the cash flows may not have a valid solution or the guess rate needs adjustment. Try adding a third argument such as =XIRR(B1:B37, A1:A37, 0.15) to provide a starting estimate.

How to use this XIRR calculator

The calculator requires four inputs:

•Instalment Amount: The fixed amount you invest in each instalment. Use the slider or click the value to type directly.
•Investment Frequency: Select how often you make each investment: Monthly, Quarterly, Half-Yearly, or Yearly.
•Investment Duration: The total number of years you have been investing.
•Final Portfolio Value: The current or maturity value of your portfolio. This is the amount you received or your portfolio is worth today.

The XIRR, total gain, absolute return, and donut chart update instantly as you adjust any input. Expand the year-by-year growth table to see how your portfolio compounded at the calculated XIRR rate across each year.

Are you a CA or financial advisor?

Generate branded Tax Optimization Reports for your clients.

Get started free

Frequently asked questions

XIRR stands for Extended Internal Rate of Return. It is the single annualised rate of return that, when applied to each individual cash flow on its specific date, produces a net present value of zero across all transactions. XIRR is used to measure the actual return on investments where cash flows occur at multiple, different points in time, such as monthly SIP instalments and systematic withdrawal plans.