ROI Calculator
This calculator measures investment profit, simple return on investment and annualized ROI from an initial investment and final value. Enter the holding period in years or use start and end dates to compare returns over different lengths of time.
By Dr. Hassan Khames EliwaLast updated
Result
- Net profit
- $2,100.00
- Holding periodDate mode uses actual elapsed days divided by 365.
- 2 years
- Initial investment$10.0k
- Final value$12.1k
How it works
Separate the gain from the growth rate
Simple ROI answers how much you gained relative to what you put in. Subtract the initial investment from the final value to find profit, then divide that profit by the initial investment. A positive result is a gain; a negative result is a loss. The initial investment must be above zero because it is the denominator.
Put different holding periods on one basis
Annualized ROI is the constant compound growth rate that would connect the starting and ending values. It is not simple ROI divided by years. This distinction matters most for long holding periods and large gains. A two-year gain of 21% corresponds to 10% compounded each year, rather than 10.5% each year.
Date mode counts elapsed calendar days between the dates at midnight UTC and divides by 365. It includes leap days in the elapsed day count but keeps a fixed 365-day year. Enter decimal years when a different reporting convention is required. Both modes require a positive holding period; they do not count the starting date as an extra day.
Define the cash flows before calculating
Use a final value that includes sale proceeds and any cash distributions you want included. For a simple comparison, subtract disposal costs from proceeds and include acquisition costs in the initial amount. This treatment does not model the timing of interim dividends, contributions or withdrawals. Material cash flows at different dates call for a money-weighted return calculation instead. Inflation and taxes are not automatically deducted.
Worked example
A two-year investment
Suppose you invest $10,000 and receive $12,100 after two years, with no interim deposits or withdrawals. Profit is $12,100 − $10,000 = $2,100. Divide $2,100 by $10,000 to obtain a simple ROI of 21.00%.
For annualized ROI, take the square root of 1.21 and subtract one. The result is 10.00% per year. The calculator reports net profit of $2,100.00 and a holding period of 2 years. Its value comparison chart places the initial $10,000 beside the final $12,100; it does not suggest that growth occurred smoothly along the way.
If the same ending value arrived after one year, simple ROI would still be 21.00%, but annualized ROI would become 21.00%. Time changes the annualized comparison, not the cash profit.
Expert tips
Common mistakes
- Dividing total ROI by years. That produces an arithmetic average, not a compound annualized return. Use the growth-factor formula when comparing single starting and ending values.
- Treating borrowed money as free. If you measure return on your own cash, include debt payments and borrowing costs consistently. This form does not build a leveraged cash-flow schedule.
- Calling a historical annualized rate a forecast. The calculation describes the supplied endpoints. It says nothing about volatility between them or the likelihood of future returns.
For education, not financial advice. Results are estimates based on the inputs you give. Lenders, tax authorities and advisers may use different rules, fees and rounding. Check the numbers with a qualified professional before you commit to anything.
Frequently asked questions
Can the calculator show a loss?
Yes. A final value below the initial investment produces negative profit and ROI. A final value of zero represents a complete loss and produces both simple and annualized ROI of −100%.
Why do dates and whole years sometimes differ?
Date mode uses actual elapsed days divided by 365. A period spanning a leap day may be slightly longer than an integer number of years under this convention.
Should dividends go into the final value?
You may include cash distributions in total proceeds for a simple return. Annualized ROI then treats those proceeds as an ending value, so it does not account for the dates when dividends were received.
Can I enter extra contributions?
Not as separate dated cash flows. Combining contributions with the initial amount ignores their timing. Use an internal rate of return method when deposits or withdrawals occur during the investment.
Does this account for inflation?
No. The output is nominal. A positive nominal return can still mean lower purchasing power when prices rise faster than the investment. Keep inflation assumptions separate from the historical cash return.
Related calculators
Related guides
FinancialMargin vs markup: the pricing mistake that eats profitA percentage added to cost is not the same percentage retained from sales. That denominator mistake can quietly undermine a pricing plan.14 November 2026 · 7 min read
FinancialCompound interest: three real savings scenariosThree practical savings examples show what comes from your deposits, what comes from growth, and which assumptions deserve scrutiny.14 November 2026 · 7 min read
MathPercentages people get wrong: change, difference and pointsThe denominator determines the answer. Learn to distinguish percentage change, symmetric difference and percentage-point movements.14 November 2026 · 7 min readAbout the author
Dr. Hassan Khames Eliwa holds a PhD in Construction & Built Environment and has more than 20 years of international project controls experience. He is Director of Eliwa Project Controls Limited in Auckland and founder of PMMilestone.org and PMMilestone.com.
Buy me a coffee