CAGR calculator and XIRR: what did you really earn?
This CAGR calculator measures the yearly growth rate between a start and an end value. If you added or took out money along the way, the XIRR part uses the dates of each payment to give a fair annualised return for your account.
On this page
How CAGR and XIRR work
CAGR = (end value ÷ start value)^(1 ÷ years) − 1. Total return = end value ÷ start value − 1.
CAGR only works when no money came in or out. Most P2P accounts have several deposits and withdrawals. XIRR solves that: it finds the single yearly rate at which the value of all dated cash flows sums to zero. Enter each deposit as a negative amount, each withdrawal as positive, and finish with today's account value as a positive amount dated today, for example:
2023-01-15 -5000
2024-03-01 -2000
2025-06-30 1000
2026-11-19 7300
Worked example: CAGR vs XIRR
You put €10,000 in and the account is worth €13,000 four years later, with nothing added or withdrawn. CAGR = (13,000 ÷ 10,000)^(1/4) − 1 = 6.78% a year. Total return: 30%.
If instead you deposited €5,000 at the start and another €5,000 two years later, a €13,000 end value means a much better result, because half the money worked for only two years. CAGR cannot show that; XIRR can.
Limits of CAGR and XIRR
The result is only as good as the end value. If part of your account is in late or defaulted loans, a platform may still count them at full value. For a cautious figure, enter the end value without loans more than 60 days late. Past returns also say little about the future; a platform's track record can change in a single bad year.
Questions
Is this an annualised return calculator?
Yes. Both CAGR and XIRR are annualised returns: they show the growth as a yearly rate, so periods of different lengths can be compared.
When should I use the XIRR calculator instead of CAGR?
Whenever money went in or out after the start. That is almost always the case with a P2P account, so XIRR is usually the right measure.
Why is my XIRR lower than the platform's stated return?
Platforms often show a rate on invested money only, ignore idle cash, or value late loans at full price. XIRR uses what actually went in and out of your bank account.