Worked example: ROI Calculator
25 percent gain. This fixed reference example shows one complete scenario; the interactive results above use your current inputs.
View the example inputs
- ROI calculation
- Find return from invested and returned amounts
- Initial amount invested
- 100000 $
- Gross amount returned
- 125000 $
- Additional initial costs
- 0 $
- Exit costs
- 0 $
- Other cash received
- 0 $
- Holding-period input
- Enter years
- Holding period
- 1 years
| Calculated quantity | Example result |
|---|---|
| Total return on invested cost | 25 % |
| Net investment gain / loss | $25,000.00 |
| Equivalent annualized ROI | 25 % |
ROI Calculator: compare returns using a consistent cost basis and holding period
How do I calculate return on investment?
Compare what was received with what was invested. The ROI Calculator subtracts invested cost from terminal-equivalent proceeds, then divides the gain or loss by invested cost. Investing $1,000 and receiving $1,250 with no other costs or income gives $250 gain and 25% total ROI.
Amount returned is not another name for profit. Entering $250 as the returned amount in that example would describe receiving only $250 back from a $1,000 investment, a 75% loss. The reconciliation table exposes this distinction before a percentage is interpreted.
Should I include fees and other income in ROI?
Use a consistent basis. Additional initial costs increase invested basis; exit costs reduce proceeds; separately entered income increases proceeds. A $1,000 initial amount, $20 initial costs, $1,200 returned, $50 income and $30 exit costs give $1,020 basis, $1,220 net proceeds and $200 gain, or about 19.61% ROI.
Only enter fees and income that are absent from the main amounts, or they will be counted twice. The SEC’s fees resource explains why costs matter to investment outcomes. This calculator accepts your amounts; it does not infer account fees, tax treatment or product expenses.
What is the difference between total and annualized ROI?
Total ROI describes the complete holding-period change. The annualized equivalent is the constant compound rate that would connect the same invested basis and terminal-equivalent proceeds over the chosen duration. A $1,000 amount becoming $1,210 over two years is 21% total ROI but 10% annualized, because 1.10 × 1.10 = 1.21.
Dividing 21% by two gives a simple average, not that compound annual rate. The horizon table holds total ROI fixed and changes only the time used to annualize it. Its rows are comparisons, not forecasts of returns that can be earned.
How do dates and leap years affect annualized return?
Calendar mode counts actual elapsed days, including February 29, then divides by the explicitly selected 365 or 365.25 days per year. January 1, 2024 to January 1, 2025 contains 366 elapsed days, so those conventions produce slightly different year fractions.
The end date is not counted as an additional whole day after elapsed time. Equal dates allow a total ROI comparison but no annualized rate, because dividing the growth exponent by zero time is undefined. Match the day basis and dates before comparing another site’s annualized percentage.
Can ROI be negative or less than −100%?
Receiving less than the invested basis gives negative ROI. Zero net proceeds give −100% total ROI and −100% annualized return over a positive duration. If separately entered exit costs exceed everything received, net proceeds can be negative and total ROI can fall below −100%.
The conventional positive-base compound annual calculation is not assigned to a negative terminal value here. The total loss remains visible, while the annualized output explains why it is undefined. An extreme short-period annualization can also exceed finite numerical range rather than representing a realistic opportunity.
Is annualized ROI the same as IRR or investment performance?
Not when the timing of intermediate cash flows matters. This model aggregates other income as terminal-equivalent money. It does not reconstruct dividends received earlier, reinvestment dates, extra deposits, withdrawals or a time-weighted performance history.
The endpoint curve is an illustration of one constant annual equivalent, not an observed market path. Use a dated cash-flow model for timing-sensitive questions, and compare risk, liquidity, costs and consistent definitions separately from the return percentage. A target-return solver establishes arithmetic, not that an investment can deliver the target.
Formula and calculation method
Invested basis = initial amount + initial costs. Net terminal-equivalent proceeds = returned amount + other cash − exit costs. Net gain = proceeds − basis; ROI = net gain / basis × 100.
Annualized ROI = [(proceeds / basis)^(1/years) − 1] × 100. Zero terminal value gives −100% over a positive holding period. Negative terminal value has no conventional positive-base compound annual return here.
Zero holding time permits a total ROI but not annualization. Calendar mode divides actual elapsed days by the explicitly selected 365 or 365.25 day basis.
Income is aggregated as terminal-equivalent money. For dated intermediate contributions and withdrawals use a cash-flow model such as IRR; this is not a time-weighted or money-weighted return calculation.
Scope and Limitations
- No market forecast, risk score, automatic inflation adjustment, tax law, historical price lookup or reinvestment timing. Scenario curves merely connect the entered endpoints at a constant equivalent rate.
Reference Sources
Frequently asked questions
Is the amount returned the same as net profit?
No. It is the gross sale or ending amount. Net gain subtracts the full invested basis and accounts for separately entered income and exit costs.
What is 21% ROI over two years annually?
The compound annual equivalent is (1.21)^(1/2) − 1 = 10%, before any additional unentered costs.
Why can annualized ROI differ between calculators?
Check the holding period, actual dates, days-per-year convention, costs, income treatment and whether the model assumes terminal rather than dated intermediate cash flows.
Can a zero holding period have ROI?
It can have a total gain/loss comparison, but no annualized return is defined at zero time.
Does the endpoint graph show actual investment history?
No. It illustrates a constant-rate path connecting the entered basis and terminal-equivalent proceeds.