How it works
Enter what you started with, what the investment is worth now, and how long it took. The calculator finds the annual return: the steady yearly rate that would have turned one into the other. Real investments rarely grow at a steady rate, so this is a way to sum up a bumpy ride as one number you can compare with other investments or with an interest rate.
With no regular deposits, the annual return is the compound annual growth rate, or CAGR. If you also added money every month, the calculator finds the rate that makes your starting amount and all your deposits grow to the ending value. That’s called the money-weighted return: a deposit made last month counts for one month, not the whole time.
You’ll also see your total gain or loss, and the total return, which is the gain as a share of everything you put in.
The formula
Without deposits:
annual return = (ending value ÷ starting amount)^(1 ÷ years) − 1
- ending value ÷ starting amount is how much each 1 you invested grew to.
- ^(1 ÷ years) spreads that growth evenly over the years. Months count as part of a year: 2 years and 6 months is 2.5 years.
With a deposit at the end of each month: the calculator finds the monthly rate i that makes
P × (1 + i)^n + D × ((1 + i)^n − 1) ÷ i = ending value
- P is the starting amount, D the monthly deposit, and n the number of months.
- The first part is your starting amount after n months of growth. The second is what all your deposits grow to, each from the month it went in.
There’s no way to rearrange this to give i directly, so the calculator tries rates and narrows in until both sides match. Then it turns the monthly rate into a yearly one:
annual return = (1 + i)^12 − 1
Total return = (ending value − everything you put in) ÷ everything you put in.
Worked example
Want this with your own numbers? See Show the work above.
You invested $10,000, and 6 years later it’s worth $18,000.
- The gain is $18,000 − $10,000 = $8,000, a total return of 80%.
- Each $1 grew to $18,000 ÷ $10,000 = 1.8.
- Spread over 6 years: 1.8^(1 ÷ 6) = 1.102924.
- Take away 1: the annual return is 10.29%.
With deposits: you started with $10,000 and added $200 at the end of every month for 10 years (120 months), putting in $34,000 in all. At the end, the account holds $50,969.84. The monthly rate that makes $10,000 × (1 + i)^120 + $200 × ((1 + i)^120 − 1) ÷ i equal $50,969.84 comes to i = 0.005 (0.5% a month), so the annual return is (1.005)^12 − 1 = 6.17%.
FAQ
What’s the difference between CAGR and the average yearly return?
The average adds up each year’s return and divides by the number of years. CAGR is the steady rate that gets you from start to finish. They can be far apart: if $100 rises 50% to $150 and then falls 50% to $75, the average of the two years is 0%, but you lost money. The CAGR is (75 ÷ 100)^(1 ÷ 2) − 1 = −13.4% a year, which matches what happened.
Why is my return so high for a short time?
The annual return assumes the same pace for a full year. A 5% gain in 6 months becomes 1.05² − 1 = 10.25% a year. Over a few weeks or months, small ups and downs turn into big yearly numbers, so the annual return means most over a year or more.
What if I added money along the way?
Enter it as a monthly deposit. Comparing the ending value with the starting amount alone would count your deposits as growth. The calculator instead treats each deposit as invested only from the month it went in. If your deposits changed from month to month, entering the average gives an approximation. The calculator can’t account for money you took out.
Can the annual return be negative?
Yes. If the investment is worth less than you put in, the annual return is below 0%. If it’s worth nothing at all, or almost nothing, the return is −100% or very close to it.
Does it include fees, taxes, and inflation?
Only through the numbers you enter. If the ending value is after fees, so is the return. Inflation isn’t taken out, so the result is the return in money, not in what that money can buy.
Sources
- The CAGR formula and an example ($100 to $800 over 15 years is 14.9% a year): Wikipedia, “Compound annual growth rate”
- The money-weighted return, and the internal rate of return as one kind of it: Wikipedia, “Rate of return”
- Solving for the rate on a single amount, with worked examples: J. Olivier, Business Math: A Step-by-Step Handbook, section 9.5, “Determining the Interest Rate”
- Turning a monthly rate into a yearly one: J. Olivier, Business Math, section 9.6, “Equivalent and Effective Interest Rates”
- The rate with regular deposits, and why it’s found by trial: J. Olivier, Business Math, section 11.6, “Annuity Interest Rates”
Cite this page
APA (7th edition)
Mathlark. (2026, October 4). Investment return calculator. https://mathlark.com/finance/investment-return-calculator/
MLA (9th edition)
"Investment Return Calculator." Mathlark, 4 Oct. 2026, mathlark.com/finance/investment-return-calculator/.
Related calculators
For informational purposes only. This is not financial advice.