ROI Calculator: Return on Investment, Total and Per Year
Put in $10,000, get back $14,000, and your return on investment is 40%, a gain of $4,000; spread over 3 years that is 11.869% a year, the number worth comparing.
ROI is the fish story of finance. The gain gets a little bigger every time it is told, and how long it took quietly falls out of the story.
Plain ROI is fine for a quick check on one deal. Comparing two investments held for different lengths of time needs the yearly rate as well, so the calculator gives you both, with the working written out underneath.
Return on investment
40%
Gain of $4,000.00
- Invested
- $10,000.00
- Returned
- $14,000.00
- Gain
- $4,000.00
- ROI
- 40%
- Per year over 3 years
- 11.87%
Show the numbers behind the chart
Show the working
- ROI = ($14,000.00 - $10,000.00) / $10,000.00 = 40%
- Per year = ($14,000.00 / $10,000.00)^(1/3.00) - 1 = 11.8689%
- Plain ROI ignores time: 40% over 3 years and over 30 years read the same. The yearly rate fixes that. Fees and taxes are not taken off unless you count them in the amounts.
An estimate from the numbers you entered and the rules listed below, not tax, legal or financial advice.
How we calculate it
ROI = (amount returned - amount invested) / amount invested. A gain comes out positive, a loss negative.
The yearly figure is the steady compound rate that turns the first amount into the second over the years you held it: (returned / invested)^(1 / years) - 1. It is the compound growth formula from SEC Investor.gov, Compound Interest Calculator, solved backwards.
Put fees, commissions and any tax into the amounts if you want a net ROI. If you sell something in a taxable account for more than you paid, the IRS treats the gain as a capital gain, and whether you held it more than a year changes how it is taxed.
Worked example: $8,000 in, $11,000 out, 5 years later
You put $8,000 into something and sold it for $11,000 after 5 years. ROI = ($11,000 - $8,000) / $8,000 = 37.5%, a gain of $3,000.
Per year: ($11,000 / $8,000)^(1/5) - 1 = 6.576%.
Now put it next to the numbers in the calculator box: 40% over 3 years works out to 11.869% a year. The two total ROIs look close, but one got there much faster. That speed is what the yearly rate shows and plain ROI hides.
The bar under the calculator splits the amount returned into what you put in and what you gained.
FAQ
How do you calculate ROI?
Subtract what you invested from what you got back, then divide by what you invested. With $10,000 in and $14,000 out, that is $4,000 / $10,000 = 40%. Multiply by 100 if you are doing it by hand with decimals.
What is a good ROI?
One that beats the safe alternative over the same time, after fees and tax, for a risk you were comfortable with. That is why the yearly rate matters: compare it with what an insured savings account would have paid over those years, and with what else you could have done with the money.
Can ROI be negative?
Yes, when you get back less than you put in. Put in $10,000 and get back $7,000 and the ROI is -30%, a loss of $3,000. Over 3 years that is -11.21% a year. The calculator shows a loss the same way it shows a gain.
What is the difference between ROI and annualized return?
ROI is the total change from start to end, whatever the time. The annualized return, also called the compound annual growth rate, is the steady yearly rate that would produce the same result. Two deals with the same ROI can have very different annualized returns if one took twice as long.
Should dividends or interest count in ROI?
Yes, if you received them. Add every payment you got along the way to the amount returned, and subtract fees you paid. For a holding that pays dividends over many years, the dividend calculator models the payments and reinvesting them year by year.