ROI, or return on investment, is the net gain from an investment divided by its cost, expressed as a percentage. If you put in $2,000 and get back $2,600, your gain is $600 and your ROI is 600 ÷ 2,000 = 30%.
The basic ROI formula
The top of the fraction is the net profit. The bottom is everything you paid to make the investment. A positive ROI means a gain, a negative ROI means a loss, and an ROI of 100% means you doubled your money.
The ROI calculator works this out and annualizes it if you give a time period.
Worked example 1: a simple purchase and sale
You buy shares for $2,000 and sell them three years later for $2,600.
- Net gain = 2,600 − 2,000 = $600
- ROI = 600 ÷ 2,000 = 0.30 = 30%
Worked example 2: including all costs and income
A small business spends $4,000 on equipment and $500 on installation. Over its life the equipment brings in $6,300 of extra profit, and it is then sold for $450.
- Total cost = 4,000 + 500 = $4,500
- Total return = 6,300 + 450 = $6,750
- Net gain = 6,750 − 4,500 = $2,250
- ROI = 2,250 ÷ 4,500 = 0.50 = 50%
Leaving out the $500 installation would give (6,750 − 4,000) ÷ 4,000 ≈ 68.8%, which overstates the result. ROI is only as accurate as the costs and returns you include.
Annualized ROI
Basic ROI ignores time. A 30% return in one year is very different from 30% over ten years. Annualized ROI converts a total return into the equivalent steady yearly rate, taking compounding into account.
Use the ROI as a decimal. Equivalently, annualized ROI = (final value ÷ cost)^(1 ÷ years) − 1. This is the same quantity often called the compound annual growth rate.
Worked example 3: annualizing 30% over 3 years
- 1 + ROI = 1.30
- 1 ÷ years = 1 ÷ 3 ≈ 0.3333
- 1.30^0.3333 ≈ 1.0914
- Annualized ROI ≈ 0.0914 = 9.14% per year
Check: 2,000 × 1.0914³ ≈ $2,600. Note that this is less than 30% ÷ 3 = 10%. Dividing by the number of years ignores compounding and overstates the yearly rate.
Worked example 4: comparing two investments
| Investment A | Investment B | |
|---|---|---|
| Total ROI | 30% | 50% |
| Holding period | 3 years | 5 years |
| Annualized ROI | 9.14% | 8.45% |
For B: 1.50^(1 ÷ 5) = 1.50^0.2 ≈ 1.0845, so 8.45% per year. B has the higher total return, but A grew faster per year. Without annualizing, B looks better than it is.
You can verify an annualized figure by putting it into the compound interest calculator with annual compounding and checking that you arrive at the final value.
Limits of the metric
ROI is popular because it is simple, and that simplicity hides several things:
- Time. Basic ROI has no time dimension. Always state the period or annualize.
- Risk. Two investments with the same ROI can carry very different chances of loss. ROI says nothing about how uncertain the outcome was.
- Timing of cash flows. ROI treats money received in year 1 the same as money received in year 10. Measures such as net present value and internal rate of return account for timing.
- Inflation and tax. A 5% return when prices rose 4% is a real gain of only about 1%. Tax on gains reduces it further.
- Inconsistent definitions. People include different costs and returns. Two ROI figures are comparable only if they were calculated the same way.
- Scale. A 50% ROI on $100 is $50. A 10% ROI on $100,000 is $10,000. The percentage alone does not show the size of the gain.
Common mistakes
- Dividing by the final value instead of the cost. 600 ÷ 2,600 is 23.1%, which is not ROI. That calculation is closer to a profit margin.
- Using revenue instead of net gain. Subtract the cost first.
- Leaving out fees, maintenance or your own added contributions.
- Dividing total ROI by years to annualize. Use the root formula above.
- Treating past ROI as a forecast. A historical return describes what happened, not what will happen.
This article explains how the calculation works. It is not advice about any specific investment.
Run the numbers yourself
Common questions
What is the formula for ROI?
ROI = (final value − cost) ÷ cost × 100%. An investment that costs $2,000 and returns $2,600 has an ROI of 30%.
How do I annualize ROI?
Add 1 to the ROI as a decimal, raise it to the power of 1 divided by the number of years, then subtract 1. A 30% return over 3 years is about 9.14% per year.
What does ROI not tell you?
It does not account for how long the investment took, how risky it was, when the cash flows arrived, or the effects of inflation and tax.