Return on Investment Calculator
ROI, net gain and annualised return with AI-powered step-by-step solutions
The ROI Formula
Return on investment is net gain expressed as a fraction of what you put in:
Multiply by 100 for a percentage. A complete net gain counts everything that moved:
Income means dividends, interest, coupons or rent collected while holding; costs mean commissions, spreads, management fees and any expense of owning the position. Leaving either out is the most common way an ROI figure ends up wrong.
The two useful rearrangements:
ROI is dimensionless and timeless — it says how much, never how fast. That is its central weakness, and the next section is the fix.
Annualising, and Comparing Investments Fairly
Putting returns on a per-year basis
Two returns are only comparable once they cover the same length of time:
with the holding period in years, fractions allowed. This is the compound annual growth rate — the constant yearly rate that reproduces the same ending value. Going the other way, .
Dividing total return by is not the same and always overstates the yearly figure, because it ignores compounding.
Total return versus price return
Price return counts only the change in price. Total return adds reinvested income, and over long horizons the gap is large. Say which one you are quoting.
Real return
To express a return in purchasing power, deflate it exactly rather than by subtraction:
Every figure here is arithmetic on numbers you supply. Past return is a measurement, not a projection, and this page makes no recommendation about any investment.
Common Mistakes to Avoid
- Dividing by the ending value: the denominator is what you invested. Using understates every positive return.
- Comparing returns over different horizons: 40% over 5 years is worse per year than 18% over 2. Annualise before ranking anything.
- Dividing total return by the number of years: over 3.5 years is not a year. Take the root of the growth factor instead.
- Ignoring fees and taxes: commissions and spreads come out of the gain; tax treatment depends on your jurisdiction, so enter your own figures.
- Forgetting dividends and interest: excluding income turns total return into price return and understates the result.
- Adding contributions to the numerator: money you paid in later is not a gain. Either treat each contribution as its own investment or use a money-weighted measure.
- Reporting ROI on a loss without the sign: a negative ROI is a negative number; dropping the minus sign inverts the meaning.
Examples
Frequently Asked Questions
ROI = (net gain) / (cost), where net gain is sale proceeds plus income received minus purchase cost and fees. $15,000 invested that returns $21,450 plus $900 of dividends less $120 of fees gives a net gain of $7,230 and an ROI of 7,230/15,000 = 48.2%.
Use (1 + ROI)^(1/t) − 1 with t in years. A 48.2% total return over 3.5 years annualises to 1.482^(1/3.5) − 1 ≈ 11.90%. Dividing 48.2 by 3.5 gives 13.77%, which overstates the result because it ignores compounding.
If you are quoting total return, yes — add all income received while holding. Price return excludes it. The two can differ substantially over long holding periods, so always state which measure you are reporting.
Yes. If net gain is negative, so is ROI: an $8,000 investment sold for $6,800 gives (6,800 − 8,000)/8,000 = −0.15, a −15% return. Keep the sign, since dropping it reverses the meaning entirely.
Related Solvers
Try AI-Math for Free
Get step-by-step solutions to any math problem. Upload a photo or type your question.
Start Solving