ROI Calculator: Total and Annualized Return on Investment
By FindMySum · Last reviewed
An ROI calculator measures how much an investment earned compared with what it cost. Return on investment is the simplest performance number there is, which makes it useful for comparing very different things, from a stock position to a renovation or a piece of equipment for a small business. This calculator takes the amount invested, the final value and how long you held it, and gives three answers: the total gain in dollars, the total ROI as a percentage, and the annualized ROI that puts investments held for different lengths of time on an equal footing.
The two formulas
Total ROI compares the gain with the cost:
ROI = (final value − amount invested) ÷ amount invested × 100
Annualized ROI asks what constant yearly return would have produced the same result:
annualized ROI = ((final value ÷ amount invested)^(1 ÷ years) − 1) × 100
The ratio final value ÷ amount invested is the return multiple. For a holding period of exactly one year the two figures are the same. If the final value is zero, the investment lost everything and the annualized figure is −100% however long you held it. The holding period can be fractional, so 0.5 means six months.
Worked example: the calculator's defaults
The defaults are $10,000 invested, a final value of $15,000 and a five-year holding period.
- Total gain: $15,000 − $10,000 = $5,000.
- Total ROI: $5,000 ÷ $10,000 × 100 = 50.00%.
- Return multiple: $15,000 ÷ $10,000 = 1.5.
- Annualized ROI: 1.5^(1/5) − 1 = 0.0845, or 8.45% a year.
The annualized figure is not 50% ÷ 5 = 10%. Gains compound, so each year's 8.45% is earned on a larger balance than the year before. Growing $10,000 by 8.45% a year for five years gets you back to about $15,000. Dividing the total by the number of years would overstate the yearly rate.
How the holding period changes the picture
The same $10,000 turning into $15,000 tells a different story depending on how long it took:
| Holding period | Total ROI | Annualized ROI |
|---|---|---|
| 6 months | 50.00% | 125.00% |
| 1 year | 50.00% | 50.00% |
| 5 years (default) | 50.00% | 8.45% |
| 10 years | 50.00% | 4.14% |
The six-month line shows why annualizing very short holds can mislead. Earning 50% in six months is equivalent to 125% a year only if you could repeat that six-month result back to back, which is rarely realistic. For holds under a year, the total ROI is usually the more honest number to quote. Try a 10-year hold.
Losses work the same way. If the $10,000 is worth $8,000 after five years, the ROI is −20.00% and the annualized ROI is −4.36% a year. Try the loss example.
Getting the inputs right
Most ROI mistakes come from what is left out rather than from the arithmetic.
Amount invested should be the full cost: the purchase price plus commissions, account transfer fees and, for property or a business asset, closing costs and any improvements. If you added money over time, ROI treats it as if it had all been invested on day one, which understates the annualized return. For a starting amount plus regular contributions, the investment return calculator models each deposit separately and fits better.
Final value should be what you could actually walk away with: the sale price or current market value after selling costs, plus any income you received, such as dividends, interest or rent that you did not reinvest.
Taxes are not deducted. In Canada, half of a capital gain is included in taxable income, and dividends and interest are taxed in their own ways, unless the investment is in a TFSA or RRSP. To compare after-tax results, reduce the final value by the tax you would owe on selling.
What ROI does not tell you
ROI ignores risk: a 50% gain from a volatile stock and a 50% gain from a guaranteed investment look identical. It ignores inflation, so a positive ROI can still mean a loss of purchasing power if prices rose faster. And it ignores the timing of cash flows in between, which is why it is best for a single purchase and a single sale.
Using the result
To compare an investment with what the same money could have earned elsewhere, run the alternative through the compound interest calculator at its rate for the same number of years. The CAGR calculator gives the same annualized rate when you only know a start and end value, and the inflation calculator shows how much of a nominal gain was simply rising prices.
More questions
What final value should I enter for a stock I still own?
Use what you would get if you sold today, after the commission or spread, plus any dividends you received and did not reinvest. If you reinvested dividends, they are already in the share count and the market value. Leaving out cash dividends understates the return, and leaving out selling costs overstates it.
How do I measure ROI on a rental property?
Use everything you put in as the amount invested, including the down payment, closing costs, land transfer tax and renovation spending. The final value is the sale price after commission and legal fees, minus the mortgage balance paid off at closing, plus the total net rental income you kept over the years. A simple ROI ignores when the rent arrived, so it is a rough measure for long holds.
Is annualized ROI the same as CAGR?
Yes, for a single amount invested at the start and valued at the end. Both are the constant yearly rate that turns the starting value into the final value over the holding period. The CAGR calculator gives the same answer for these inputs; the names differ mostly by convention, with CAGR used more for revenue and index growth.
Why can two investments with the same ROI be very different?
Because ROI ignores time and risk. A 50% gain in one year is an annualized 50%, while the same gain over ten years is about 4.14% a year, less than many savings accounts have paid at times. Two investments with the same return can also differ greatly in how much they swung along the way and how likely a loss was.
Should I include the interest on money I borrowed to invest?
Yes, if you want the return on your own money. Add the interest you paid to the amount invested, or subtract it from the final value, and enter only your own cash as the amount invested. Borrowing magnifies ROI in both directions, so a leveraged gain looks larger and a leveraged loss can exceed what you put in.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.