CAGR & XIRR Calculator
See what your investment earned. Add contributions and withdrawals to account for their timing.
Your investment
The slider moves your start date. Type dates or use the calendars for an exact period.
Contributions & withdrawals
Optional. Add money invested or received during the period.
Your initial corpus and final value are enough for CAGR. Add transactions to calculate XIRR.
Get new calculators & videos
OptionalPractical updates from Amit, straight to your inbox.
Your money and its return
Your transaction timeline
Explore contribution timing
Move one contribution while holding every amount and the final value constant.
Add a contribution during the period to explore its timing.
Review all transactions
How the calculation works
CAGR and XIRR
With one initial investment and a final value, CAGR is (final value ÷ initial corpus) raised to the power of (365 ÷ elapsed days), minus one. With additional transactions, XIRR uses the amount and actual date of every cash flow. Investments are money paid out. Withdrawals are money received. Your final corpus is the investment's value on the valuation date, even if it is still invested.
Dates and regular transactions
Calculations use actual elapsed days with a 365-day year, including leap years. Type dates as DD/MM/YYYY or choose them from a calendar. The slider sets one month to 30 years. Typed dates retain day-level precision. Regular payments use the day of the first payment. In shorter months, the payment falls on the month's last day.
Reading the visuals
Overall gain or loss equals current value plus withdrawals, less all money invested. The timeline shows entered cash flows grouped into periods. Contribution timing is a hypothetical comparison with the final value held fixed. The comparison does not predict investment growth.
Cash-flow patterns
Some contribution and withdrawal patterns can produce multiple XIRRs or no usable XIRR. The calculator displays these cases when detected. For longer series with repeated changes between investing and withdrawing, it flags when additional solutions cannot be ruled out. Annualised returns over short periods can be large even when the rupee gain is small.
Enter fees or taxes paid separately as contributions if they belong in the investment's cost. Cash dividends can be entered as withdrawals. Reinvested distributions stay within the investment value. The exported CSV includes the initial and final cash flows for use in a spreadsheet.