TenX Investment

Home › Calculators › XIRR calculator

Calculator · updated 25 November 2026

XIRR calculator

The yearly return on a set of cash flows with different dates: SIP instalments, top-ups, partial redemptions and the value of what you still hold. Type your own rows, or start from the example.

XIRR calculator

Type each cash flow with its date: money paid in, money received, and the value of what you still hold as the last row, received on today's date. Add or remove rows as you need.

DatePaid in or receivedAmount, ₹

Paid inReceived, or the value today

How it works: XIRR is the yearly rate at which every amount, counted from its own date, has to be discounted for the paid-in and received flows to balance. Time is counted in days divided by 365, as the spreadsheet function does, and the rate is found by bisection: 200 halvings between −99.99% and 1,000% a year. A description of what the flows earned, not a forecast or a recommendation.

How the formula works

XIRR is the yearly return of a set of cash flows that happened on different dates: money paid in, money taken out, and the value of what is left. It is the rate at which every rupee, counted from the day it moved, grew to make the flows balance. For a SIP, a top-up, a partial redemption or a holding you still own, it is the honest answer to "what did I earn a year".

Write each cash flow as CFi on date di: paid in as negative, received as positive, and today's value as the last positive flow. Measured in days from the first flow, XIRR is the rate x that makes the discounted flows add up to zero:

0 = Σ CFi / (1 + x)(di − d0) / 365

Each flow is shrunk back to the first date at the rate x. The early investments shrink little, the later ones more, and the value at the end most of all. There is no formula that gives x directly; it has to be found by trial.

How the calculator finds it

It uses bisection. It starts with two rates that must sit either side of the answer, −99.99% and 1,000% a year, and checks the sign of the sum at each. Then it takes the midpoint, sees which side of zero the sum falls, and keeps the half that still brackets the answer. Each step halves the gap; after 200 halvings the rate is fixed to far more decimal places than are shown. Spreadsheets reach the same answer with a faster method that can fail to converge on unusual flows; bisection always lands, as long as there is at least one amount paid in and one received, on different dates.

The day count

Time is measured in days divided by 365, the same convention as the XIRR function in a spreadsheet, so the two agree. Leap years move the result in the fourth decimal place at most.

What XIRR is, and is not

XIRR is a money-weighted return: it rewards the rupees that were invested longest and at the right time. It is therefore your return, not the fund's. A fund can report a 12% CAGR while your SIP into it shows 9% or 15%, depending on when your instalments went in and what the market did after each. A negative XIRR means that, at the end, the value is below the money put in once time is allowed for. XIRR says nothing about risk, and a figure over a few months is annualised, so a short period can show an alarming-looking rate either way.

Worked example: five dated cash flows

1 Jan 2024: paid in₹1,00,000
1 Jul 2024: paid in₹50,000
1 Jan 2025: paid in₹50,000
1 Jul 2025: received (a partial redemption)₹20,000
1 Nov 2026: received (the value of the holding that day)₹2,30,000
Paid in, in all₹2,00,000
Received, in all₹2,50,000
Absolute gain, ignoring time₹50,000, or 25%
XIRR, the rate that balances the five flows9.94% a year

These are the rows the calculator starts with. The 25% absolute gain was earned by money that had been invested for between 1.8 and 2.8 years by the last date, which is why the yearly rate is far below the absolute figure.

What this SIP actually did in real funds

XIRR tells you the return your own flows earned. The fund explorer shows what a regular monthly SIP earned in every real fund, for comparison. The fund explorer on our homepage takes a monthly amount or a lump sum and a period, and runs them through the actual NAV history of every mutual fund that has one for the period, using AMFI's month-start NAVs: what the money grew to in each fund and each category, and how many month-starts it was worth less than the money put in.

Run a SIP through real funds

Questions people ask

What is the difference between XIRR and CAGR?

CAGR takes one amount in and one amount out and gives the steady yearly rate between them. XIRR takes any number of amounts on any dates and gives the single yearly rate at which all of them balance. For one payment and one value, the two are the same number. For a SIP, a top-up or a withdrawal, only XIRR is right.

Why is my SIP's XIRR lower than the fund's CAGR?

The fund's CAGR is for money invested on the first day and left alone. Your instalments went in over time; the recent ones have had little time to grow, and if the market rose early and flattened later, they bought at higher prices. The reverse also happens: a fall early in a SIP, followed by a recovery, gives an XIRR above the fund's CAGR, because the early instalments bought cheaply.

How do I enter the current value of my holding?

As a row marked Received, on today's date, for the value shown on your statement or app. It is treated as if you had sold everything today. Without that row, XIRR measures only the flows that actually happened.

Where do I find the dates and amounts?

Your consolidated account statement (CAS) from CAMS or KFintech lists every purchase, SIP instalment and redemption with its date and amount, folio by folio. Our Mutual Fund X-Ray reads a CAS and values every holding at today's NAV. For an even SIP with many instalments, the XIRR page in the glossary has a small calculator that needs only the monthly amount, the number of months and the value now.

What does a negative XIRR mean?

That the money received, including today's value, is worth less than the money paid in once time is allowed for: the holding has lost ground. Over a few months this can swing either way with the market, and the annualised figure exaggerates a short period. Over several years a negative XIRR is the plain statement that the investment has not grown.

Read next

In the glossary

Money Stories that use this arithmetic

Other calculators

TenX Investment is an AMFI-registered mutual fund distributor (ARN-185393), not an investment adviser, and does not provide investment or tax advice. This page and its calculator are general information for education only, based on stated assumptions, and are not a recommendation to buy or sell any scheme. The page describes the arithmetic; it does not advise. Every rate on it is your assumption, not a forecast: no mutual fund return is assured, and past performance may or may not be sustained in future. Check your own situation before acting. Nothing you type is sent anywhere or saved. Mutual Fund investments are subject to market risks, read all scheme related documents carefully.