Skip to content
thecalculatorstudio

ROI Calculator

Enter what you put in, what it is worth, any income and costs, and how long you held it. You will see the total return and the yearly rate, and can set two investments side by side.

Last reviewed

Investment A
$
$
$
$
years
months
Investment B
$
$
$
$
years
months

Return on investment

49.5%

a profit of $4,950, or 14.34% a year

Investment B earned the higher yearly rate, even though investment A made the bigger total return. It simply took longer.

AB
Net profit$4,950$900
Total ROI49.5%9%
Per year, compounded14.34%18.81%
Per year, simple average16.5%18%

What ROI measures

Return on investment answers one question: for every dollar you put in, how much did you end up with or without? It is a percentage.

ROI = net profit ÷ amount invested × 100

Net profit counts everything that came back and everything that went out:

net profit = value now + income received − amount invested − costs

Say you invested $10,000. It is now worth $14,500. Along the way it paid $600 of dividends, and fees and taxes cost you $150.

  • Net profit: 14,500 + 600 − 10,000 − 150 = $4,950
  • ROI: 4,950 ÷ 10,000 = 49.5%

That is the whole formula. The reason ROI needs a second number beside it is time.

The number that makes investments comparable

A 49.5% return sounds the same whether it took one year or ten. It is not. Annualized ROI converts the total into the steady yearly rate that would have produced it:

annualized ROI = (1 + ROI)^(1 ÷ years) − 1

Held for three years, the 49.5% above becomes 14.34% a year.

The difference matters when you compare:

Total ROI Held for Per year
Investment A 49.5% 3 years 14.34%
Investment B 9% 6 months 18.81%

Investment A made the bigger total return. Investment B earned the higher yearly rate, 18.81% against 14.34%, because it did it in half a year. Which is better depends on what you could do with the money afterwards, but the comparison is only fair on the yearly figure.

An even starker pair: 40% over ten years is only 3.42% a year. 15% in one year is 15% a year. The ten-year investment has the bigger number and is more than four times slower.

Why not just divide by the years?

Because returns compound. Dividing 49.5% by three gives 16.5% a year, and that looks reasonable until you check: earning 16.5% a year for three years produces 58.1%, not 49.5%. The yearly rate that truly produces 49.5% is 14.34%.

The simple average always overstates, and the longer the period, the worse it gets. The calculator shows both so you can see the gap.

The other direction is a good sanity check. A steady 12% a year for ten years is a total ROI of 210.58%. Annualize 210.58% over ten years and you get exactly 12% back.

Steady 12% a year for Total ROI
1 year 12.00%
5 years 76.23%
10 years 210.58%
20 years 864.63%

Twenty years of 12% is not 240%. It is more than nine and a half times your money, which is what compounding does.

Losses are harder to recover than they look

A loss and the gain needed to undo it are not the same size, because the gain applies to a smaller amount.

You lose You need to gain
10% 11.11%
20% 25%
25% 33.33%
30% 42.86%
50% 100%
75% 300%
90% 900%

Invest $8,000 and watch it fall to $5,000 over two years. That is a −37.5% return, or −20.94% a year, and to get back to $8,000 it would have to gain 60%.

The calculator shows the recovery figure whenever your investment is down.

Income and costs change the answer

Price is not the whole return. An investment that paid income can be a gain even when its price fell:

  • Invest $1,000, it is now worth $900, and it paid $250 in dividends: net profit is +$150, an ROI of 15%

And costs can turn a small gain into a loss. Include dealing fees, fund charges and any tax due, or the figure flatters you. The mutual fund calculator shows what a 1% annual fee costs over time.

What ROI does not tell you

  • Risk. A 20% return from a volatile bet and a 20% return from a stable asset look identical here. They are not.
  • Whether you could have done better. ROI does not compare with what else you could have done with the money.
  • Timing of cash flows. If money went in and out at different times, ROI muddles it. For that, use the IRR calculator, which handles uneven cash flows.
  • Inflation. A 5% return in a year when prices rose 5% left you no better off. Compare against inflation when it matters.

How it is calculated

The calculator works in exact decimal arithmetic. Net profit is value now plus income, less the amount invested and the costs. ROI is the profit divided by the amount invested. The annual rate raises (1 + ROI) to the power 1 ÷ years and subtracts one. When the whole investment is lost, the annual rate is −100%; when costs push the loss beyond the amount invested, a yearly rate has no meaning and the calculator says so rather than showing a number.

Frequently asked questions

How do you calculate ROI?

ROI = net profit ÷ amount invested × 100. Net profit is what it is worth now, plus any income received, minus what you put in and any costs. Putting $10,000 in and ending with $14,500, after $600 of income and $150 of costs, gives a profit of $4,950 and an ROI of 49.5%.

What is annualized ROI and why use it?

It is the steady yearly rate that would produce the same total return over the time you held the investment: (1 + ROI)^(1 ÷ years) − 1. A plain ROI cannot compare investments of different lengths. A 40% return over ten years is 3.42% a year; 15% in one year is 15% a year.

Why is the annualized figure lower than ROI divided by years?

Because returns compound. Dividing 49.5% by three years gives 16.5% a year, but earning 16.5% each year for three years would produce 58.1%, which is more than you made. The yearly rate that actually produces 49.5% is 14.34%. The simple average overstates it, and the longer the period, the bigger the overstatement.

How much do I need to gain to recover from a loss?

More than you lost, because the gain applies to a smaller amount. After a 20% loss you need a 25% gain. After 50%, you need 100%. After 75%, you need 300%. The calculator shows the figure whenever your investment has lost money.

Should I include fees and taxes?

Yes. They are real money you did not keep. This calculator subtracts them from the profit but measures ROI against the amount you put in. Include dealing fees, fund charges you paid and any tax due on the gain, so that the figure reflects what you actually walked away with.

Is a high ROI always good?

No. ROI ignores risk and the time it took. A high return on a very risky bet may be worse than a modest one on a safe asset, and a return earned over many years may be smaller per year than it sounds. Compare the annualized figure, and consider how uncertain each return was.

Related calculators

Sources

This tool is for information only and is not financial advice. Figures are estimates, confirm anything you act on with your lender or a qualified adviser.