Finance & money

What Is ROI and How Is It Calculated?

What return on investment (ROI) means, the simple formula behind it, a full worked example, the difference between total and annualized ROI, and the costs and blind spots the raw number leaves out.

5 min readUpdated Jul 7, 2026

Return on investment - ROI - is the most widely quoted measure of whether something you put money into actually paid off. It answers one plain question: for every unit of money you committed, how much did you get back on top? Because it boils any investment down to a single percentage, ROI lets you line up wildly different things - a stock, a rental flat, a marketing campaign, a course - on the same scale and see which one worked hardest for your money. This guide explains exactly how ROI is worked out, so you can reproduce and sanity-check every figure the ROI Calculator shows.

The ROI formula

ROI needs only two numbers: what you put in, and what you ended up with. Everything else is arithmetic.

  • Net gain = Final value − Amount invested
  • ROI = (Net gain / Amount invested) × 100
  • which is the same as ROI = ((Final value − Amount invested) / Amount invested) × 100.

The net gain is the raw profit in currency - simply what you got back minus what you put in. Dividing that gain by the amount invested rescales it relative to the size of the bet, and multiplying by 100 turns the ratio into a percentage. Expressing profit as a percentage of the outlay is the whole point: a 20,000 gain sounds identical whether you risked 40,000 or 4,00,000, but the first is a 50% ROI and the second only 5%. That is why the ROI Calculator always reports the percentage alongside the raw gain rather than the gain alone.

A worked example

Suppose you invested 1,00,000 and it is now worth 2,50,000. Drop the numbers straight in:

  • Net gain = 2,50,000 − 1,00,000 = 1,50,000.
  • ROI = (1,50,000 / 1,00,000) × 100 = 150%.

So you more than doubled your money: a 150% return means you got back your original 1,00,000 plus another 1,50,000 in profit. A useful mental check is that a 100% ROI is exactly doubling your money, so anything above 100% means you made more in profit than you originally put in. Enter your own amount invested and final value in the ROI Calculator to see the return for any investment.

Negative ROI: measuring a loss

ROI is not always positive, and the formula handles losses without any change. If you invested 1,20,000 and the position is now worth 96,000, the net gain is 96,000 − 1,20,000 = −24,000, so ROI = (−24,000 / 1,20,000) × 100 = −20%. The minus sign is the whole story: a negative ROI means you ended with less than you started, and its size tells you how much of your capital was eroded. Note the floor - the worst possible ROI is −100%, which is losing everything; you cannot lose more than you invested, so ROI on a simple long investment never goes below −100%.

Total ROI vs annualized ROI

Plain ROI has one big blind spot: it says nothing about how long the money was tied up. A 150% return is spectacular in three years and mediocre across thirty, yet both show the same 150% ROI. To compare investments held for different lengths of time you need to spread the return across the years it took, and the correct way to do that is not to divide by the number of years - that ignores compounding - but to take the geometric annual rate:

  • Annualized ROI = ((Final value / Amount invested)^(1 / years) − 1) × 100

Take the 1,00,000 growing to 2,50,000, but say it happened over 4 years. The total ROI is still 150%, but the annualized ROI is (2,50,000 / 1,00,000)^(1/4) − 1 = 2.5^0.25 − 1 ≈ 25.74% per year. That per-year figure is what makes different holding periods comparable. To see how much the horizon matters, consider two investments that both returned 50% in total: earned over 2 years that is about 22.47% a year, but stretched over 5 years the same 50% is only about 8.45% a year - less than half the annual rate for an identical headline return. Whenever you enter a holding period, the ROI Calculator shows this annualized figure next to the total so you can rank investments fairly.

What ROI leaves out

ROI is a clean summary, and like any summary it hides things you should not ignore. First, it is only as honest as the two numbers you feed it: if the amount invested leaves out fees, brokerage, taxes or the value of your own time, the ROI will be flattered. A true final value should also be net of any exit costs. Second, plain ROI ignores time entirely - always reach for the annualized figure when comparing across different periods. Third, it says nothing about risk or volatility: a steady 12% and a white-knuckle ride that happened to end at 12% look identical, so ROI should never be read without some sense of how bumpy the journey was. Finally, for investments where you add or withdraw money over time - a SIP, a drip-fed campaign - a single ROI on the start and end values is misleading, and you need a cash-flow measure such as XIRR instead. Treat ROI as the honest headline it is: quick, comparable and clear, but best read alongside the time taken, the costs involved and the risk you carried. Reach for the ROI Calculator whenever you need the return for an amount invested and a final value.

Frequently asked questions

How is ROI calculated?
ROI = ((Final value − Amount invested) / Amount invested) × 100. You subtract what you put in from what you got back to get the net gain, divide that by the amount invested, and multiply by 100. For example, 1,00,000 growing to 2,50,000 gives a net gain of 1,50,000 and an ROI of (1,50,000 / 1,00,000) × 100 = 150%. Expressing the profit as a percentage of the outlay lets you compare investments of very different sizes on the same scale.
What is the difference between total ROI and annualized ROI?
Total ROI is the overall percentage return across the whole holding period and ignores how long it took, so 150% looks the same over 3 years or 30. Annualized ROI spreads that return across the years using the geometric rate ((Final / Invested)^(1/years) − 1) × 100, giving a per-year figure that makes different periods comparable. For instance, 1,00,000 to 2,50,000 is 150% total, but over 4 years that is about 25.74% a year.
Can ROI be negative?
Yes. If the final value is less than the amount invested, the net gain is negative and so is the ROI. Investing 1,20,000 that falls to 96,000 gives a net loss of 24,000 and an ROI of −20%. The most you can lose on a simple long investment is your whole outlay, so ROI has a floor of −100%, which represents losing everything.