ROI Calculator

Calculate Return on Investment (ROI), annualized return, and net gain or loss for any investment over any time period.

Input Type
$
$

The rule everyone repeats is that a higher ROI means a better investment. For two investments held the same length of time, it is true. It stops working the moment the holding periods differ: a 50% return sounds like it crushes a 20% return, yet the 20% can be the better deal if it took a third of the time. This page therefore reports two numbers side by side, the total ROI and an annualized ROI, so you can see exactly where the shortcut stops being reliable.

Total ROI versus annualized ROI, with real numbers

Total ROI = (final value − initial investment) ÷ initial investment × 100. Annualized ROI = ((final value ÷ initial investment)^(1 ÷ years) − 1) × 100, the single yearly rate that would turn the initial amount into the final value. In Gain / Loss mode the page first sets final value = initial investment + net gain, then uses the same two formulas. The year-by-year table grows the initial amount at the annualized rate, and its last row stops at the exact period you entered.

Scenario A is the page's starting setup: $10,000 grows to $15,000 over 3 years. The net gain is $5,000, total ROI is +50.00%, and annualized ROI is 1.5^(1/3) − 1 = 14.47%. Scenario B: $10,000 grows to $12,000 in 1 year. Total ROI is +20.00% and annualized ROI is also 20.00%. Ranked by total ROI, A wins by 30 points. Ranked per year, B wins by 5.53 points. Stretch A's 3 years to 10 and the same +50.00% falls to 4.14% a year. A loss shows the asymmetry: $10,000 falling to $5,000 over 2 years is −50.00% in total and −29.29% a year, and it takes a +100% gain just to get back to even.

Which one to trust? When both investments ran for the same period, either number ranks them the same way. When the periods differ, use annualized ROI. When money moved in or out along the way (extra deposits, dividends paid out, partial sales), neither number is right, because the annualized formula assumes one deposit at the start and one value at the end. The IRR calculator handles dated cash flows. In every case the final value should be after fees and taxes, otherwise the ROI flatters the result. Results are rounded to two decimal places, so a hand calculation may differ by a cent.

How to Use This Calculator

  1. Choose Input Type: Final Value if you know what the investment is worth now, or Gain / Loss if you know the profit or loss in dollars.
  2. Enter the Initial Investment. It must be greater than 0 and no more than $1,000,000,000,000.
  3. Enter the Final Value (between $0 and $1,000,000,000,000), or the Net Gain / Loss. A loss cannot be larger than the amount invested; the page shows an error if it is.
  4. Enter the Investment Period (Years), from 0.01 to 100. Use decimals for part-years, such as 2.5.
  5. Press Calculate. The banner shows Total ROI in green or red with the net gain or loss, four tiles repeat the inputs and show Annualized ROI, and the table lists Portfolio Value, Net Gain and ROI per year.
  6. Press Clear to return to Final Value mode with the starting numbers.

Frequently Asked Questions

What's considered a good ROI?

This varies significantly by investment type and time horizon. Comparing ROI against relevant benchmarks (like market averages for similar investments) provides more context than a universal number.

How can a 50% ROI be worse than a 20% ROI?

When the 50% took years and the 20% took one. Over 3 years, 50% is 14.47% a year, below the 20.00% a year of the one-year investment. Always compare the Annualized ROI tile when holding periods differ.

What should I enter as the final value if I received dividends or rent?

Add the income you received to the ending market value and subtract fees and taxes. The page has no separate income field, and it assumes all of the money arrives at the end of the period.

Can the ROI be worse than −100%?

No. You cannot lose more than you put in, so the page rejects a loss larger than the initial investment. A final value of $0 gives −100.00%, while gains have no ceiling, so a very short period with a large gain can produce an enormous annualized figure that should not be read as a repeatable yearly rate.

How is ROI different from IRR?

ROI is a simple percentage return over the whole period; IRR accounts for the timing of cash flows and effectively provides an annualized rate, useful for comparing investments with different cash flow patterns.