How the ROI Calculator Works
Updated
The ROI calculator takes three inputs: the amount invested, the amount returned and the investment period. From these it works out five results. Every figure is plain arithmetic, so you can check any of them by hand.
The calculation, step by step
- Total gain = Amount returned − Amount invested.
- ROI = Total gain ÷ Amount invested × 100.
- CAGR = ((Amount returned ÷ Amount invested) ^ (1 ÷ years) − 1) × 100.
- Monthly return = ROI ÷ number of months.
- Annual return = ROI ÷ number of years.
If you enter the period in years, months are years × 12. If you enter months, years are months ÷ 12.
Worked example
Invest ₹10,00,000, get back ₹12,20,000 after 5 years. The total gain is ₹2,20,000 and the ROI is 22%. The annual return is 4.40% (22% ÷ 5), the monthly return is about 0.37% (22% ÷ 60) and the CAGR is about 4.06% a year. Try it in the ROI calculator, or read What is ROI? for the full guide.
Frequently asked questions
What is the formula for ROI?
ROI (%) = (Amount returned − Amount invested) ÷ Amount invested × 100. A positive result is a gain and a negative result is a loss.
How is CAGR calculated in this calculator?
CAGR (%) = ((Amount returned ÷ Amount invested) ^ (1 ÷ years) − 1) × 100. If you enter the period in months, the calculator divides the months by 12 to get years.
How are monthly return and annual return calculated?
Monthly return is the ROI divided by the number of months, and annual return is the ROI divided by the number of years. They are simple averages and are not compounded, so the annual return can differ from the CAGR.
Can the ROI be negative?
Yes. If the amount returned is less than the amount invested, the total gain and the ROI are negative and are shown in red.
Why is CAGR much higher than ROI for a short period?
CAGR is a yearly rate. For a period under one year the calculator annualises the return, so a 10% gain in 6 months shows a CAGR of about 21%. For short holdings, the ROI is usually the more useful figure.
What if I lost the whole amount?
Enter 0 as the amount returned. The total gain equals the full amount invested as a loss, and the ROI and CAGR are both −100%.
Does the calculator include taxes, fees or inflation?
No. It only uses the amounts and the period you enter. If you want an after-tax or after-fee result, enter the amount you actually received after those costs.
Can I download my result?
Yes. The Download PDF Report button creates a PDF with your inputs, the results, the formulas used and a year-by-year growth table at a constant CAGR.
