How the ROI calculator works
Return on investment (ROI) is the most
widely used measure of how well an investment performed, precisely because it's so simple:
it compares what you got back to what you put in, expressed as a percentage. The formula is
ROI = (Final Value − Initial Investment) / Initial Investment × 100. If you put in
$10,000 and it grew to $14,500, your gain is $4,500 and your ROI is 45% — you got back your
original $10,000 plus an extra 45 cents for every dollar invested.
This calculator also computes an annualized ROI when you provide a holding
period. Total ROI treats a quick 45% gain in six months the same as a slow 45% gain over ten
years, which makes it useless for comparing investments held for different lengths of time.
Annualized ROI fixes that by converting the total return into an equivalent constant yearly
rate: Annualized ROI = ((Final Value / Initial Investment)^(1 / Years) − 1) × 100.
This is the same underlying math as a CAGR
calculation — ROI and annualized ROI describe the same trade, just for different purposes: total
ROI answers "how much did I make overall," annualized ROI answers "what steady yearly rate would
have produced this."
Leave the years field at zero (or blank) if you only care about the total return, or if the holding period genuinely doesn't apply — for a quick flip or a one-time payout, annualized ROI isn't a meaningful number anyway.
Worked example
Suppose you invested $10,000 in a stock five years ago, and it's worth $14,500 today.
Total gain = $14,500 − $10,000 = $4,500
Total ROI = ($4,500 / $10,000) × 100 = 45%
Annualized ROI = (($14,500 / $10,000)^(1/5) − 1) × 100 ≈ 7.71% per year. That 7.71% figure is the one you'd actually want to compare against other investments' annualized returns, or against a benchmark like the S&P 500's long-run average — the raw 45% total figure looks more impressive but doesn't tell you whether this was actually a good use of your money over five full years.
ROI vs. annualized ROI: why the gap matters
The difference between total ROI and annualized ROI grows with the length of the holding period, and mixing them up is one of the easiest ways to misjudge an investment. A 100% total ROI sounds spectacular — until you learn it took 20 years to get there, which works out to only about 3.5% annualized, worse than a savings account might have paid over the same stretch. Conversely, a modest-sounding 20% total ROI achieved in a single year is an excellent 20% annualized rate, well above the long-run stock market average. Always ask "over what time period?" before judging an ROI figure, and prefer the annualized number whenever you're comparing two or more investments with different holding periods.
Using ROI to compare unlike investments
ROI's biggest strength is that it's unitless — a percentage works the same whether you're comparing a $500 position in a small-cap stock, a $50,000 real estate down payment, or a collectible you bought and sold. That makes it tempting to use ROI as the single number that decides which of several very different opportunities was "best." Used carefully, that's reasonable; used carelessly, it can mislead. Two investments with identical ROI can carry wildly different risk — a stock that returned 20% with steady, predictable price action is not equivalent to an option position that returned 20% only because a highly uncertain bet happened to pay off. ROI describes what happened to the money, not how risky the ride was to get there.
It's also worth distinguishing simple ROI (what this calculator computes) from more advanced measures professional investors use for portfolios with irregular cash flows, like the money-weighted return (which accounts for the timing and size of additions and withdrawals) or the time-weighted return (which strips out the effect of cash-flow timing to isolate pure investment performance). For a single lump-sum investment held from a clear start date to a clear end date — the most common personal-finance use case — simple ROI and these more advanced measures converge to the same answer, which is exactly the scenario this calculator is built for.
Common mistakes to avoid
1. Comparing total ROI figures across different holding periods
A 30% ROI over 2 years and a 30% ROI over 8 years are not comparable achievements — the first represents a much stronger annualized rate. Always convert to annualized ROI (or check the holding period) before comparing two total-ROI figures.
2. Forgetting dividends, interest, or other income
If your "final value" only reflects the price of the asset and ignores dividends or interest received along the way, your ROI understates your true total return. Add any cash income received during the holding period to your final value for an accurate total-return ROI.
3. Ignoring fees, taxes, and inflation
This calculator reports a simple, pre-tax, pre-fee, nominal ROI. Brokerage commissions reduce your real final value; capital gains taxes reduce what you actually keep; and inflation erodes the purchasing power of your gain. A 45% nominal ROI over five years is a meaningfully smaller real, after-tax return — see the inflation-adjusted return calculator to account for the inflation piece specifically.