ROI Calculator

Measure an investment by what went in and what came out. Enter the amount invested, the amount returned and how long it was held — as years or as two dates — to get the total return on investment, the gain or loss, the investment multiple and the annualised return that lets you compare it with anything else.

$
$
Holding period as
years

Return on investment

50.00%

10.67% a year, annualised over 4.00 years

Invested 66.7%, Gain 33.3%67%33%Gain$5,000.00
  • Invested$10,000.00 · 66.7%
  • Gain$5,000.00 · 33.3%

 

  • Invested$10,000.00
  • Returned$15,000.00
  • Gain$5,000.00
  • Investment multiple1.50×
  • Total ROI50.00%
  • Annualised return (CAGR)10.67%
The same 50.0% total return, annualised over different holding periods
Held forAnnualised return
1 year50.00%
2 years22.47%
3 years14.47%
5 years8.45%
10 years4.14%

How this was calculated

ROI = (returned − invested) ÷ invested = ($15,000.00$10,000.00) ÷ $10,000.00 = 50.00%

Annualised = (returned ÷ invested)^(1 ÷ years) − 1 = 1.5000^(1 ÷ 4.00) − 1 = 10.67%

The ROI formula

Return on investment is the gain divided by the cost: ROI = (amount returned − amount invested) ÷ amount invested. Invest $10,000 and get $15,000 back and the ROI is 50%. It is a ratio, so it lets you compare investments of different sizes, and it is negative when the investment lost money. 'Amount returned' should include everything you received — sale proceeds plus dividends, interest or rent collected — net of selling costs; 'amount invested' should include purchase costs and any money added along the way.

ROI on a $10,000 investment
InvestedReturnedGain / lossROI
$10,000$8,000$-2,000-20%
$10,000$10,500$5005%
$10,000$12,000$2,00020%
$10,000$15,000$5,00050%
$10,000$20,000$10,000100%
$10,000$30,000$20,000200%

Why ROI alone is not enough: time

A 50% return is excellent over one year and unremarkable over ten. Plain ROI ignores how long the money was tied up, so to compare investments held for different periods you need the annualised return — the compound annual growth rate (CAGR) that would produce the same result: annualised = (returned ÷ invested)^(1 ÷ years) − 1. The table shows the same total returns annualised over different holding periods; the calculator reports both figures for every input.

Total return annualised over the holding period
Total ROI1 year2 years3 years5 years10 years
10%10.00%4.88%3.23%1.92%0.96%
25%25.00%11.80%7.72%4.56%2.26%
50%50.00%22.47%14.47%8.45%4.14%
100%100.00%41.42%25.99%14.87%7.18%
200%200.00%73.21%44.22%24.57%11.61%

A 50% return over different periods

The same $10,000 → $15,000 result looks very different once time is included. Over one year it beats almost any asset class; over ten years it is about 4.1% a year, below the long-run return on a broad stock index and not far above inflation.

$10,000 → $15,000
Held forTotal ROIAnnualised
1 years50%50.00%
2 years50%22.47%
3 years50%14.47%
5 years50%8.45%
7 years50%5.96%
10 years50%4.14%

Worked example: a rental property

Real investments have cash flows on both sides. Treat money you put in at any point as part of the amount invested and money you received at any point as part of the amount returned; the calculator then gives a fair total and annualised figure. (When the timing of the flows matters — large amounts early versus late — the internal rate of return handles it exactly; the compound interest calculator's rate mode covers regular contributions.)

Five-year rental property
ItemAmountNote
Purchase price$300,000
Closing and renovation costs$20,000Part of the amount invested
Net rent over 5 years$60,000Rent minus expenses, added to returns
Sale price after 5 years$380,000
Selling costs$22,8006% commission, deducted from returns
Amount invested$320,000
Amount returned$417,200380,000 − 22,800 + 60,000
ROI30.4%
Annualised5.45%Over 5 years

Using dates instead of years

Switch the holding period to dates and enter the purchase and sale dates. The calculator converts the gap to years (365.25-day years) so an investment held from 3 March 2021 to 15 November 2025 is annualised over 4.70 years, not rounded to 5. This matters most for short holdings: a 10% gain over four months is about 33% annualised, over eight months about 15%.

Limits

ROI is before tax; capital-gains tax on the gain reduces the after-tax return, and how much depends on the holding period and your bracket. It does not adjust for risk — a 12% return from a speculative venture and a 12% return from a bond fund are not equivalent — and it does not account for inflation; subtract the inflation rate from the annualised figure for a real return. Finally, it treats all cash in and out as if at the start and end. For irregular flows, an internal-rate-of-return calculation is the right tool.

  • ROI = (returned − invested) ÷ invested.
  • Annualised return = (returned ÷ invested)^(1 ÷ years) − 1.
  • Investment multiple = returned ÷ invested (2× means you doubled your money).
  • Real annualised return ≈ annualised return − inflation.

Frequently asked questions

What is a good ROI?

It depends on the period and the risk. The US stock market has returned about 10% a year over the long run, about 7% after inflation; a savings account pays a few percent with no risk. An annualised return well above 10% usually came with substantial risk or luck. Judge ROI against the return you could have had elsewhere for similar risk.

What is the difference between ROI and annualised return?

ROI is the total percentage gain over the whole holding period. Annualised return (CAGR) is the steady yearly rate that would compound to the same result. A 50% ROI over five years is an 8.45% annualised return.

How do I calculate ROI on a stock with dividends?

Add the dividends received to the sale proceeds in 'amount returned'. If you reinvested them, the reinvested shares are already in the sale proceeds; do not count them twice.

Can ROI be negative?

Yes. If the amount returned is less than the amount invested, ROI is negative and the annualised return is negative too. Getting $8,000 back on $10,000 is −20%.

Is ROI the same as IRR?

No. ROI compares totals in and out. IRR (internal rate of return) finds the discount rate at which a series of dated cash flows nets to zero, so it accounts for when each amount was paid or received. For a single purchase and a single sale they agree; with money added or withdrawn in between, IRR is more accurate.

How do I annualise a return over less than a year?

The same formula works with a fractional year: (returned ÷ invested)^(1 ÷ years) − 1 with years = days ÷ 365.25. A 5% gain in 3 months is (1.05)^4 − 1 = 21.6% annualised, which assumes the gain could be repeated every quarter.

Last reviewed . Results are estimates for informational purposes only.