XIRR Calculator

The XIRR calculator computes the Extended Internal Rate of Return — an annualised rate of return on an investment that accounts for multiple deposits and withdrawals made at irregular intervals, giving you a reliable return figure even when you invest and redeem money several times before maturity.

XIRR Calculator

Current Value

Add every investment as Invest and every withdrawal, dividend, or your current portfolio value (if not fully redeemed) as Withdraw.

Your XIRR
+57.39%
annualised return
Total Invested
₹1,00,000
Current / Redeemed
₹1,95,000
Absolute Profit
₹95,000
Absolute Return
95.00%
Duration
2.0 yrs
Avg Holding
1.5 yrs

XIRR vs other return metrics

XIRR
+57.39%
CAGR
+39.64%
Absolute
+95.00%

Cash-flow timeline

Investments below the line, withdrawals above. This is the shape XIRR reads.

InvestedReceived
1/1/2022: invested ₹10,0001/2/2022: invested ₹10,0001/3/2022: invested ₹10,0001/6/2022: invested ₹50,0001/9/2022: invested ₹10,0001/3/2023: received ₹20,0001/9/2023: invested ₹10,0001/1/2024: received ₹1,75,0001 Jan 221 Jan 24
This calculator is built by:
Author
Mohnish Maurya
Mohnish Maurya|Editor
Sunder Subramaniam
Sunder Subramaniam|Updated on

What is the XIRR Calculator?

The XIRR calculator is a digital investment return calculation tool that allows investors to calculate annualised return on investments involving multiple transactions done at irregular intervals. When you make multiple deposits and withdrawals in an investment, it becomes quite confusing to compute the expected returns. The XIRR calculator has been designed to help you make such calculations without much trouble.

The XIRR calculator is different from simple interest or compound interest calculators, given the number of times the cash flow occurs and the time periods when they occur. Whether you invest in stocks, mutual funds, Systematic Investment Plans (SIPs), or any investment involving multiple transactions within a period, this calculator can compute returns that you can rely on.

Why Do We Need to Calculate XIRR?

We need to calculate XIRR because it takes into account the different amounts invested and withdrawn at different times.

  • Tracks irregular cash flows: XIRR is generated based on the cash flows, both inflow and outflow, related to an investment as recorded from time to time.
  • Clearly specifies expected returns: Though the cash flow figures are different for different periods, calculating the extended internal rate of return specifies reliable expected returns, while accounting for all irregularities.
  • Helps make better comparisons: When you calculate the XIRR for two investments, you get clarity on the one that is supposed to perform better in the long term, helping you compare portfolio performance against other investments.
  • Monitors wealth creation: XIRR, when calculated, helps you keep a check on how much profit you are making, what losses you incur, and the exact status of the wealth you have been creating over the long term.

What Formula We Used to Calculate XIRR?

The formula we used to calculate XIRR involves solving the following equation to obtain the value of r, i.e., the XIRR.

Σ [CashFlow_i ÷ (1 + r)^(days_i ÷ 365)] = 0

Here,

  • CashFlow_i = Each cash flow (investment or redemption), whether in or out
  • days_i = Number of days from the first cash flow to transaction i

This formula works in an iterative manner, as the number of transactions and the time period differ in each instance — our calculator solves it for you instantly.

How XIRR Calculation Works for SIP vs Lumpsum?

XIRR calculation works for SIP and lumpsum in completely different ways, given the difference in the nature of the investments.

In a lumpsum investment, where you invest the money only once, XIRR is equivalent to the absolute return. But in SIPs or multiple cash-flow investments, XIRR provides an accurate measure of performance because each investment has a different holding period.

Suppose you started investing in a mutual fund through lumpsums and SIPs in 2023.

DateTransaction TypeAmount
01-Jan-2023Initial Investment−₹50,000
15-Mar-2023Additional Investment−₹20,000
01-Jul-2023SIP Investment−₹10,000
10-Dec-2023Partial Withdrawal+₹15,000
15-Feb-2024Additional Investment−₹25,000
01-Aug-2024Dividend Received+₹3,000
01-Jan-2025SIP Investment−₹15,000
30-Jun-2025Current Portfolio Value+₹1,40,000

Step 1: Understand the Cash Flows

Money Going Out (Investments) = 50,000 + 20,000 + 10,000 + 25,000 + 15,000 = ₹1,20,000

Money Coming In = Partial Withdrawal + Dividend + Current Portfolio Value = 15,000 + 3,000 + 1,40,000 = ₹1,58,000

Step 2: Check the Absolute Gain and Absolute Return

Absolute Gain = 1,58,000 − 1,20,000 = ₹38,000

Absolute Return = (38,000 ÷ 1,20,000) × 100 = 31.67%

The investment, as a lumpsum, generates a return of 31.67%. However, this calculation is incomplete for an SIP as it does not take into consideration the multiple transactions made at different dates.

Step 3: Calculate the XIRR

The XIRR for SIPs is calculated using the formula above, accounting for different transactions at different durations in separate stages. This considers your exact dates of transactions, the duration of every cash flow, inflows and outflows, and annualisation of return.

When you enter these inputs into the calculator, the result obtained is 16.62%, which is far off from the absolute return of 31.67% calculated for a lumpsum.

How to Use an XIRR Calculator?

To use the XIRR calculator on Strike Money, follow the six steps mentioned below.

  1. Enter all investment amounts: Add each investment transaction separately, including SIPs and other investments, as "Invested".
  2. Enter the date of each investment: Provide the exact date on which each amount was invested.
  3. Enter withdrawals or redemption amounts: Record any partial withdrawals, dividend receipts, or redemption values along with their dates, as "Received".
  4. Add the current portfolio value: Enter the latest value of your investment as a "Received" row if it has not been fully redeemed.
  5. Let the calculator process the inputs: It processes all cash flows and dates using iterative calculations.
  6. Read the XIRR result: The final value is shown as the annualised return, reflecting the true performance of the investment after considering the timing of all cash flows.

XIRR Calculation Example for Stock Investment

The XIRR calculation example for stock investment is no different from how it is calculated for other investments.

Suppose you buy shares of a company at different times and later sell part of the investment while still holding some shares.

DateTransactionAmount
01-Jan-2023Bought Shares−₹50,000
01-Jun-2023Bought More Shares−₹30,000
15-Dec-2023Partial Sale of Shares+₹20,000
01-Apr-2024Dividend Received+₹5,000
30-Jun-2025Current Portfolio Value+₹95,000

Total Investment = 50,000 + 30,000 = ₹80,000

Total Value Received = 20,000 + 5,000 + 95,000 = ₹1,20,000

Absolute Return = (1,20,000 − 80,000) ÷ 80,000 × 100 = 50%

However, this 50% return does not consider the timing of your investments, partial sales, or dividend income. When you enter the amounts separately using the XIRR calculator, you get the extended internal rate of return accurately, which comes to approximately 22.52%.

This XIRR considers multiple buy and sell transactions, includes dividend income, adjusts for different holding periods, and annualises the overall return so that you can feasibly compare one investment with others.

Download XIRR Calculator Excel

Click here to download the XIRR calculator in Excel format.

What is a Good XIRR Value?

A good XIRR value differs based on the type of investment.

Type of InvestmentGood XIRR RangeBelow ThisAbove This
Fixed Deposits (FDs)6% – 8%Lower than traditional savings returnsUnusually high for low-risk products
Debt Mutual Funds7% – 10%Weak debt fund performanceStrong performance for debt category
Hybrid Mutual Funds10% – 12%Moderate returnVery good risk-adjusted return
Equity Mutual Funds12% – 15%Underperforming long-term expectationExcellent long-term performance
Direct Stock Investments15% – 20%Average market performanceStrong stock-picking performance

Can XIRR Value Become Negative?

Yes, the XIRR value can become negative. This happens when the current value of one's investment is lower than the total amount invested initially. The negative value indicates an overall financial loss on the investment made.

Difference between XIRR and Absolute Return

The difference between XIRR and absolute return lies in the type of investment they are calculated for.

While calculating the XIRR for a lumpsum amount, where the invested amount remains the same throughout the investment period, the extended internal rate of return and the absolute return remain the same.

On the contrary, when calculating the XIRR for an SIP or any investment that involves multiple investments, redemptions or withdrawals, the extended internal rate of return is not the same as the absolute return, as the latter does not consider:

  • Each investment amount that differs
  • Timing of cash flows
  • Withdrawals and dividends

This makes the absolute return incomplete for any investment with multiple transactions to track and record at irregular intervals. Refer to the calculation shared above in the "How XIRR Calculation Works for SIP vs Lumpsum?" section for better clarity.

Should You Measure XIRR or CAGR?

You should measure XIRR or CAGR depending on the type of investment and the pattern of cash flows involved.

BasisXIRRCAGR
Best ForSIPs and multiple cash-flow investmentsSingle lumpsum investments
Cash FlowsHandles multiple investments and withdrawalsAssumes one-time investment
Time ConsiderationConsiders exact transaction datesAssumes fixed investment period
AccuracyMore accurate for irregular investmentsSuitable for simple investments
Common UsageMutual funds, stock portfolios, SIPsFixed deposits, single stock holding

In short, by considering irregular cash flows, withdrawals, dividends, and varying holding periods, the XIRR calculator provides a more accurate return figure than absolute return or CAGR. This helps you compare investment performance better, track long-term wealth creation, and make more informed investment decisions across stocks, mutual funds, SIPs, and other market-linked investments.

Other Free Tools

Scan High Performing Value Stocks
Visit Analytics