ROI Calculator
Enter the amount you invested, the value it grew to and how many years it took, and this ROI calculator works out the total return on investment and the annualized return — the yearly rate that turns the starting amount into the ending amount.
Use the ROI Calculator
On this page
It uses the standard return-on-investment formula, then converts the total return into an annualized rate so investments held for different lengths of time can be compared fairly.
What this calculator does
Return on investment, or ROI, answers a plain question: for every dollar you put in, how much did you get back? It is the simplest way to judge whether an investment, a business project or a purchase paid off, and it works for anything with a starting amount and an ending value — a stock, a rental property, a savings account, a piece of equipment. You put in the initial investment, the final value and the holding period in years. The calculator works out the gain or loss in dollars, the total ROI as a percentage, and the annualized ROI: the steady yearly rate that would turn the starting amount into the ending amount over the same period.
The annualized figure is the one that lets you compare. A 50% return sounds better than a 24% return, but if the 50% took five years and the 24% took three, the three-year investment actually grew faster per year. This calculator shows both numbers so the comparison is honest. It is a general-purpose arithmetic tool, not investment advice, and it does not predict future returns.
How this is calculated
Total ROI is (final value − initial investment) ÷ initial investment, expressed as a percentage. Annualized ROI is (final value ÷ initial investment)1/years − 1, also as a percentage — the compound annual growth rate of the investment. The gain or loss is simply the final value minus the initial investment. A final value below the initial investment gives a negative ROI, and a final value of zero gives an annualized ROI of −100%.
Source
The ROI and compound annual growth rate formulas are the standard definitions used in investment analysis and taught in introductory finance. They are arithmetic identities, not program rules, so no agency source sets them; the figures you enter decide the result.
Limitations
This calculator assumes a single lump sum invested at the start and a single value at the end, with no money added or taken out in between. It does not account for taxes, fees, inflation or risk, and it does not handle investments with regular contributions or withdrawals — for a series of cash flows over time, an internal rate of return calculation fits better. The annualized rate also assumes smooth growth; a real investment may have risen and fallen along the way.
What each input means
Initial investment. The amount you put in at the start. Include the full cost — for a property, the purchase price plus closing costs; for a stock, the price paid plus any commission. Final value. What the investment is worth at the end of the period. If it paid out income along the way, such as dividends or rent, include that income in the final value if you want the ROI to reflect the total return. Holding period. How long the money was invested, in years. Use decimals for part of a year.
How to read your result
Start with the gain or loss in dollars: that is the money made or lost. Then look at total ROI, which puts that gain in proportion to what you put in — a $5,000 gain on a $10,000 investment is a 50% return, while the same $5,000 on a $100,000 investment is only 5%. Finally, use the annualized ROI to compare investments held for different lengths of time: it is the yearly pace of growth, and it is the number to set against other options, such as a savings account rate or another investment's return. A positive annualized ROI means the investment grew; a negative one means it shrank.
Worked example
You invest $10,000 and it grows to $15,000 over 5 years. The gain is $5,000, the total ROI is $5,000 ÷ $10,000 = 50%, and the annualized ROI is ($15,000 ÷ $10,000)1/5 − 1 = 8.45% a year. A second example: $5,000 grows to $6,200 over 3 years, a gain of $1,200, a total ROI of 24% and an annualized ROI of 7.43% a year. The first investment returned more in total, but the gap in yearly pace is smaller than the totals suggest — that is what the annualized figure is for.
Common questions
What is the difference between ROI and annualized ROI?
Total ROI is the return over the whole holding period, whatever its length. Annualized ROI is the steady yearly rate that produces the same result over the same period. Two investments with the same total ROI can have very different annualized ROIs if one took longer — the annualized figure is the fair comparison.
What counts as the initial investment?
Everything you paid to get into the investment: the purchase price plus any fees, commissions or closing costs. Leaving costs out makes the return look better than it was. For a fair comparison, count costs the same way on every investment you compare.
Does ROI include dividends, rent or other income?
Only if you include that income in the final value. This calculator treats the final value as everything you end up with, so add income received along the way to the ending value if you want the ROI to reflect the total return rather than the price change alone.
Can ROI be negative?
Yes. If the final value is below the initial investment, the gain is negative and so is the ROI. A final value of zero — a total loss — gives an ROI of -100% and an annualized ROI of -100%.
Why does the annualized rate matter more than the total?
Because time is part of the return. A dollar earned in one year is worth more than a dollar earned in ten, since the money could have been put to work again. Annualizing puts every investment on the same yearly footing, which is how you compare a five-year return with a three-year return.