CAGR and XIRR Calculator: Calculate Annualized Investment Returns
What is my yearly return when I added money on different days?
What this tells you: This finds your yearly return when you put money in or took it out on different dates.
Go to the calculatorAlso called: annualised return calculator · CAGR calculator · irregular cash flow return Read the guide Last updated
Result
Your yearly return is 21.0%.
Method: XIRR is the single yearly rate that makes every dated amount, moved to its own date, add up to zero; money paid in is negative and money received or the value now is positive.
This tool shows math, not advice.
Details
| Yearly return (XIRR) | 21.00% |
|---|---|
| Total money in | 1,000 |
| Total money out and value now | 1,210 |
| Gain | 210 |
| Simple return (not yearly) | 21.0% |
| Years covered | 1 |
| Years to double at this rate | 3.64 |
Use the left and right arrow keys to read the values.
| x | Value at this yearly rate | Money put in |
|---|---|---|
| 0.0 years | 0 | 1,000 |
| 1.0 years | 1,210 | 1,000 |
How we got this
- 2 amounts: 1,000 went in, 1,210 came out or is the value now.
- XIRR is the one yearly rate that makes all the amounts, moved to their dates, add up to zero: 21.00%.
- Simple return = 210 ÷ 1,000 = 21.0%.
About this answer
- XIRR uses the exact dates. Each year counts as 365 days.
Did this calculator help?
Keep this calculator. Your numbers are in the address, so a bookmark brings them back exactly as you left them. Press Ctrl + D · ⌘ + D
What to do next
Calculators that usually come after this one.
Not quite what you need?
Type your question in plain words and get the calculators that answer it.
No exact match. Try other words, or browse every calculator. Browse all calculators
How to use it
- Add each date and amount. Money you put in is a minus. Money you take out, and today's value, is a plus.
- Press Calculate.
- Read the yearly return (XIRR) and compare it with the benchmark.
Example
You put in 1,000 on 1 Jan 2025. On 1 Jan 2026 it is worth 1,210. Your yearly return is 21%.
Type these numbers into the boxes
- What are you starting from?
- Dated amounts (XIRR)
- Dates and amounts
- 2025-01-01, -1000 2026-01-01, 1210
What you get: Your yearly return is 21.0%.
What your answer means
XIRR is a yearly rate that counts the dates. If it is more than 2 points below the benchmark you typed, the page shows a note.
Why dates change the return
CAGR measures growth between one starting amount and one ending amount. XIRR handles money arriving and leaving on different dates. It weights each amount by how long it was actually there. An amount invested five years ago cannot count the same as one from last month.
Most real portfolios need the second. Regular contributions, the odd withdrawal and partial sales all break the single-purchase assumption. XIRR has no closed-form answer. It gets solved by iteration, the same way spreadsheet functions do it.
Words explained
How we calculate · the conventions behind every answer, in one place.
CAGR and XIRR calculator: annualized return and ROI
Use this CAGR and XIRR calculator to work out investment returns, annualized growth and overall profit or loss. This online CAGR calculator measures the compound annual growth rate of a single investment from its starting value, ending value and investment period. For investments with several deposits or withdrawals on different dates, use the XIRR calculator to estimate your annualized return from the timing of each cash flow.
Whether you are calculating stock investment returns, evaluating mutual fund performance, analyzing SIP investments or comparing your portfolio's performance against a benchmark, this investment return calculator shows how your money has performed over time. Enter your dated investment amounts, withdrawals and current portfolio value, or switch to the single-investment CAGR calculation. Review the annualized return, the total money invested, the total value, the profit or loss and the simple return to read the results. This tool also explains the difference between ROI, CAGR and XIRR so you can pick the right return calculation for your investment. Results are based on the figures and dates you provide and do not predict future performance or recommend specific investments.
Questions about return on investment
What does XIRR work out?
XIRR is the one yearly rate that makes all your dated amounts add up to zero once each is moved to its date. Money in is typed as a minus, money out or today's value as a plus. In the default run, 1,000 goes in on 2025-01-01 and 1,210 is the value on 2026-01-01, so the yearly return is 21%.
What is the difference between ROI, CAGR and XIRR?
ROI (return on investment) is the gain over the money in, with no time in it. CAGR (the compound annual growth rate) turns one start value and one end value into a yearly rate. XIRR does the same for many amounts on different dates. Over exactly one year with one amount in, all three agree: the default run shows a simple return of 21% and an XIRR of 21%.
Why does XIRR differ from the simple return over longer periods?
The simple return ignores time, while XIRR spreads the gain over the years the money was invested. Over the default run's 1 year they match: 210 ÷ 1,000 = 21% either way. Over more than a year, the same simple gain gives a lower yearly rate, and amounts added part-way through are weighted by how long each was invested.
Can I calculate the return of my whole portfolio?
Yes, if you type every amount you put in and took out with its date, then today's total value as the last line. XIRR then gives one yearly rate for the whole record. The page also shows the totals: in the default run, 1,000 went in and 1,210 came out or is the value now, a gain of 210.
What does years to double show?
It is how long money takes to double if it keeps growing at the yearly return found. At the default run's 21%, doubling takes 3.64 years. It is a reading of the rate, not a forecast: past returns say nothing certain about future ones.
What happens if all the amounts have the same sign?
XIRR needs at least one amount going in and one coming out, or there is no rate that brings the total to zero. Type money you paid in with a minus, as in the default run's -1000 on 2025-01-01, and money received or today's value as a plus, as with 1,210 on 2026-01-01.
Ask about this calculator
Something the page does not answer? Ask it here. A person reads every question, and the useful ones are answered on this page.
Embed this calculator
Put this calculator in your own post. Copy the code, paste it into your page, and it works straight away — nothing to sign up for.
Code to paste
The line under the frame is a plain link on your own page, so readers and search engines both see where the calculator came from. Keep it, change the wording, or drop it — the widget works either way.
Cite this page
Copy this line into a reference list, a report or a spreadsheet note.
Investment Math Calculator. “CAGR and XIRR Calculator: Calculate Annualized Investment Returns”. Updated 2026-11-29. https://investmentmathcalculator.com/tools/xirr-cagr/
This tool shows math, not advice.
Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.