ROI and annualized return, worked through
ROI answers one question: for every unit you put in, how much did you gain? Put 10,000 into an investment and sell it later for 15,000. The gain is 5,000, and 5,000 / 10,000 = 0.5, so the ROI is 50%. If you sold it for 8,000 instead, the gain is −2,000 and the ROI is −20%. The formula works the same for shares, property, a piece of equipment or a marketing campaign, as long as both numbers cover the same costs.
What ROI leaves out is time. A 50% return in 2 years is a far better result than a 50% return in 10 years. To compare them, turn each into a yearly rate. The fair way is the annualized return, (final / invested)^(1 / years) − 1. For 50% over 4 years that is 1.5^(1/4) − 1 = 10.67% a year. Over 2 years it is 1.5^(1/2) − 1 = 22.47% a year.
Dividing the ROI by the years gives a different and less useful number. 50% / 4 = 12.5% a year looks reasonable, but it ignores compounding. Check it: 10,000 growing at 12.5% a year for 4 years becomes 16,018, not 15,000. Growing at 10.67% it becomes 15,000, which is why that is the rate the calculator shows. The annualized return is the same figure finance calls the compound annual growth rate, or CAGR.
A few habits keep the figure honest. Add the costs of buying, such as fees and taxes, to the amount invested. Take the costs of selling off the final value. Add any income received along the way, such as dividends, interest or rent, to the final value. For a loss over several years, the annualized return is negative too: 10,000 falling to 8,000 over 2 years is −10.56% a year.
The calculator has limits. It assumes one amount at the start and one value at the end. When money goes in or out at different times, ROI and this annualized return can both mislead, and a money-weighted measure such as IRR is the better tool. It does not adjust for inflation, tax or risk, and two investments with the same ROI can carry very different risks. Use it to measure and compare results, not to predict them. It is arithmetic, not financial advice.