This ROI calculator shows how much an investment gained or lost as a percentage of what you put in. Enter the amount invested, the amount returned and how long you held it, and it gives you the total ROI, the gain or loss in money, and the annualized ROI so you can compare investments held for different lengths of time.
How to use the ROI calculator
- Enter the Amount invested, the total you put in.
- Enter the Amount returned, the final value. Include any dividends, interest or rent you received along the way.
- Enter the Holding period in years. Decimals are fine, so 18 months is 1.5.
- Pick your Currency. The results show ROI, the gain or loss, and the annualized ROI.
If you leave the holding period empty, you still get the total ROI, but not the yearly rate.
The formula
ROI = (Amount returned − Amount invested) ÷ Amount invested × 100
Annualized ROI = ((Amount returned ÷ Amount invested)1 ÷ t − 1) × 100
- Amount invested is your starting cost.
- Amount returned is the final value, including income received.
- t is the holding period in years.
The annualized figure assumes your gain compounded at a steady rate each year. It is the same calculation as CAGR.
Worked example
You invest 10,000 and three years later it is worth 15,000.
- Gain: 15,000 − 10,000 = 5,000.
- ROI: 5,000 ÷ 10,000 × 100 = 50%.
- Annualized ROI: 1.51/3 − 1 = about 14.47% a year.
If the same 50 percent gain had taken only 2.5 years, the annualized ROI would be about 17.61 percent. Same total return, better yearly rate.
Total ROI versus annualized ROI
Total ROI tells you how much you made overall. It does not care how long it took. That makes it misleading when you compare two investments. A 50 percent gain over three years is good. A 50 percent gain over fifteen years is about 2.7 percent a year, which is weak.
Annualized ROI fixes this by turning any gain into a yearly rate. Use it when you want to compare a stock you held for four years with a property you held for ten, or to check an investment against a savings account rate.
Neither number includes risk, fees or inflation unless you build them in. Subtract fees and taxes from the amount returned to get a more honest result. To see how much of your gain inflation ate, try the inflation calculator. If you only care about the yearly growth rate between two values, the CAGR calculator also shows a year-by-year table.
Frequently asked questions
What is a good ROI?
It depends on the risk and the time involved. Compare your annualized ROI with what you could have earned elsewhere with similar risk, such as a broad index fund or a savings account.
Can ROI be negative?
Yes. If the amount returned is less than the amount invested, the calculator shows a negative ROI and a loss.
Should I include dividends or rent?
Yes. Add any income you received to the amount returned, otherwise the ROI will understate your real return.
What if I added money over time?
This calculator assumes one amount invested at the start. If you added money at different times, the result is only a rough guide, because later money had less time to grow.
Is annualized ROI the same as CAGR?
Yes. Both find the steady yearly rate that turns the starting amount into the ending amount over the holding period.
This calculator gives estimates for education only and is not financial advice.
