Investment performance

Return on Investment (ROI) Calculator

Calculate total return, gain or loss, and annualized return from the amount invested, amount returned, and investment length.

Investment inputs

Enter the investment outcome

ROI
$
$
years
Investment return summary

Total and annualized return

Your ROI result will appear here

Enter a positive invested amount, the nonnegative amount returned, and the investment length in years.

What Is Return on Investment (ROI)?

Return on investment, or ROI, measures gain or loss relative to the starting investment. Total ROI describes the whole holding period; annualized ROI expresses the same start-to-end growth as an equivalent compound yearly rate.

This ROI calculator takes an invested amount, a total returned amount and elapsed years. It shows total ROI, annualized ROI, gain or loss and input references. It assumes one starting investment and one ending value, without a dated schedule of contributions or withdrawals.

How to Calculate Total and Annualized ROI

  1. Enter positive Amount invested in dollars. Use the original capital amount, with a consistent treatment of costs.
  2. Enter Amount returned as the total ending value or proceeds, including the recovered capital, not just the gain. Zero is allowed for a complete loss.
  3. Enter positive Investment length in years. Decimal years are allowed; the form minimum is 0.000001 years and the server maximum is 1000.
  4. Select Calculate ROI. Compare the featured total return with Annualized ROI and the dollar gain or loss.

The invested and returned amounts cannot exceed $1 trillion each. The form minimum for investment is $0.01. Match currency and scope, and decide consistently whether the amounts include relevant fees, taxes or income. Those items are not added automatically.

Annualization assumes the start-to-end growth ratio applies over the supplied duration. It does not reconstruct the path or timing of intermediate cash flows. Very short positive periods can imply a rate beyond finite numeric range; the calculator rejects such a result rather than displaying infinity. Returned percentages and money round to two decimals.

ROI and Compound Annual Return Formulas

Gain G = total returned R − initial investment I

Total ROI (%) = (R−I)/I × 100, with I > 0

Annualized ROI (%) = [(R/I)^(1/y)−1] × 100, with years y > 0

Growth check: R = I × (1+annualized ROI/100)^y

Amount returned includes the starting capital when it is recovered. For example, investing 100 and receiving 120 produces 20% ROI, not 120%. Annualized return uses a compound root, so dividing total ROI by years usually does not reproduce it.

At zero returned value, both returns are −100% under this model. A negative returned amount is not accepted, so investments with losses beyond the entered starting capital are outside this form. Use a cash-flow-aware method when money enters or leaves at different dates.

The formulas above describe this calculator’s implemented model. For broader background, see FINRA: return and rate of return.

Invested Amount, Returned Amount and Years

Amount invested
Positive starting dollar capital, up to $1 trillion.
Amount returned
Nonnegative total ending amount, including any recovered starting capital.
Investment length
Positive elapsed years, up to 1000; decimal years are supported.
Total return on investment
Featured whole-period percentage gain or loss.
Annualized ROI
Equivalent compound yearly rate under the two-value model.
Investment gain or loss
Ending amount minus starting amount, rounded to cents.
Outcome and chart
Unrounded gain sign and a comparison of capital, proceeds and gain; not a forecast.

Return on Investment Worked Example

Illustrative example. You invest $8,000 and receive $10,648 after three years, with no intervening cash flows.

Gain is $10,648 − $8,000 = $2,648. Total ROI is $2,648/$8,000 × 100 = 33.1%. The growth ratio is 1.331, and its cube root is 1.10, so annualized ROI is 10%.

Checking forward, $8,000 × 1.10³ = $10,648. Dividing 33.1% by three would give about 11.03%, which does not account for compounding.

Calculation check. These illustrative values were checked independently against the formula and calculator response. Retain unrounded intermediate values when checking approximations.

Return on Investment Worked Example
MeasureValue
Starting investment$8,000.00
Total returned$10,648.00
Gain$2,648.00
Total ROI33.10%
Annualized ROI10.00%

Total ROI, Annualized Return and Cash Flow Timing

Choose a return measure that matches the question. The same total gain can represent very different yearly growth over different holding periods. A dated cash-flow model serves a different purpose from this two-value form.

Total ROI, Annualized Return and Cash Flow Timing
MeasureWhat it answersImportant limit
Total ROIGain relative to starting capitalDoes not express yearly growth
Annualized ROIEquivalent compound yearly rateAssumes the supplied start/end timeline
Dated cash-flow returnReturn with timed contributions or withdrawalsNot calculated by this form

How to Compare Returns Over Different Periods

A 33.1% total ROI means the ending amount is 133.1% of the starting investment. The annualized figure answers a different question: what constant compound rate would connect those values over the supplied years? It does not claim the investment earned that rate in every actual year.

Changing only the duration leaves total ROI unchanged but changes annualized ROI. Compare durations and cash-flow timing carefully, especially when assessing a short profitable trade against a multiyear holding. The result contains no risk, inflation or tax adjustment unless your inputs already reflect a chosen adjustment.

The chart includes the gain as a separate comparison bar; it is already included in total amount returned. Do not add it again. A positive calculated return does not establish that an investment is suitable or that the same outcome will continue.

Common ROI Calculation Mistakes

  • Entering only the gain as Amount returned.
  • Dividing total ROI by years and calling it compound annualized return.
  • Using months in a field labeled years.
  • Ignoring intermediate cash flows that the model does not track.
  • Comparing differently defined before-fee and after-fee returns.
  • Treating a historical or hypothetical result as a guaranteed future rate.

Frequently Asked Questions

How do I calculate return on investment?

Subtract invested capital from total returned value, divide that gain by invested capital, then multiply by 100. Keep the currency and cost treatment consistent.

Does Amount returned include the original investment?

Yes. Enter total proceeds or ending value, including recovered starting capital. Entering only the gain understates ROI.

What is the difference between ROI and annualized ROI?

ROI covers the full holding period. Annualized ROI is the constant compound yearly rate linking the two values over the entered years.

Can I divide ROI by the number of years?

That gives a simple yearly allocation, not the compound annualized return calculated here. Use the growth-ratio root formula for the latter.

Can return on investment be negative?

Yes. A returned amount below the investment gives a loss. Zero returned value produces a total and annualized return of minus 100% in this model.

Can I enter monthly investments or withdrawals?

No. There is no dated cash-flow schedule. Combining contributions into one initial amount does not preserve their timing; use a suitable cash-flow calculation separately.

Does the calculator include inflation, fees or taxes?

It adds none automatically. Include a consistent chosen adjustment in the two monetary inputs if appropriate and describe that basis when comparing returns.

Why can a very short holding period be rejected?

Annualizing a positive gain over an extremely short period can exceed finite numeric range. The calculator rejects that result; it does not display an infinite annual return.

Sources and References

  • FINRA: return and rate of return. Explains total investment return and annualized compound comparisons. This tool uses a simplified starting/ending-value model.