Return on Investment Calculator: What Your Money Really Earned
A return on investment calculator answers one plain question: for every dollar you put in, how much came back, and was it worth the wait? You type in what you invested, what you got back, and how long the money was tied up, and it turns those three numbers into one comparable percentage.
What ROI actually measures, in plain English
Say you lend a friend $100 and she hands you $110 a month later. You made $10 on $100, which is 10%. That's ROI in its simplest form: profit divided by cost, shown as a percentage. It doesn't care what you invested in. Stocks, a rental flat, a market stall, a training course that raised your salary: if money went in and money came out, ROI judges it with one number.
That simplicity is also its limit. ROI says nothing about risk, nothing about how bumpy the ride was, and nothing about cash you pulled out along the way. A 44% return that took a decade is a very different result from a 44% return that took a year, which is why this calculator also shows an annualized figure.
Every input, explained
Amount invested. Everything you put in at the start. If you bought shares for $5,000 and paid a $50 dealing fee, your honest invested amount is $5,050, not $5,000. Leaving fees out flatters your own returns.
Amount returned. Everything you got back by the end: the sale price, plus any dividends, rent, or payouts along the way if you're counting them. Sold for $7,000 with $200 in dividends? The returned amount is $7,200. Keep it consistent: fees counted on the way in count on the way out too.
Investment period. How long the money was at work. Enter it two ways: pick start and end dates, or type the length directly in years. The page counts a year as 365 days, so a 1,095 day stretch comes out as exactly 3 years. Short periods under a year work too.
What you get back. Four outputs. Gain (or loss) is the dollar difference between returned and invested. ROI % is that difference as a percentage of what you put in. Annualized ROI spreads the result evenly across each year, so a three year win can sit next to a one year win. Period length confirms the stretch of time used.
A worked example: $5,000 grows to $7,200 in 3 years
You put $5,000 into an index fund, leave it alone, and sell three years later for $7,200. No extra deposits, no withdrawals.
- Find the gain. $7,200 minus $5,000 equals $2,200. That's the profit in dollars.
- Turn it into ROI. $2,200 divided by $5,000 equals 0.44, or 44%. Every dollar you invested came back as $1.44.
- Annualize it. A 44% gain over three years isn't 44% a year. The yearly rate that compounds $5,000 into $7,200 over three years is (7200 divided by 5000) to the power of one third, minus one, which comes out at 12.92% a year. Check it backwards: $5,000 grown at 12.92% a year for three years lands just above $7,200, with the small gap down to rounding.
- Read the result honestly. 44% sounds big. 12.92% a year sounds ordinary, and it's a solid result, roughly a good run for stock markets, but not the windfall the headline number suggests. That gap is exactly why the annualized number exists.
Why time changes everything
Take the same $2,200 profit on the same $5,000 and stretch it over different periods. Total ROI never moves: it stays 44% whether the money was tied up for one year or five. The annualized rate tells a different story each time, and that story matters when you compare investments.
| Time invested | Total ROI | Annualized ROI |
|---|---|---|
| 1 year | 44% | 44.00% a year |
| 3 years | 44% | 12.92% a year |
| 5 years | 44% | 7.57% a year |
Same profit, three verdicts. Over one year, 44% a year is outstanding. Over five years, 7.57% a year is respectable but unremarkable. Anyone quoting a total ROI without the time frame gives you half the picture, so always ask how long the money was locked up first.
A misleading ROI, and how to spot one
Now suppose that same investment carried $200 in fees you forgot to count: a purchase fee and a selling fee. Your true returned amount was $7,000 after fees, and the honest ROI drops from 44% to 40%, with annualized ROI falling from 12.92% to 11.87% a year. Four percentage points of headline return, gone, just by counting costs you actually paid.
This is how glossy returns get made. Sellers quote the gross figure, before fees, taxes, and inflation, because the gross figure is always bigger. Your calculator doesn't know about fees you never typed in, so its answer is only as honest as the numbers you feed it. When someone shows you a return, ask: does it include fees, does it include tax, and over how long? If any answer is missing, it's a sales pitch, not a measurement.
Common mistakes
- Comparing total ROI across different time frames. A 44% gain in one year beats a 60% gain over ten years. Annualize first, compare second.
- Leaving fees and taxes out. Dealing charges, fund fees, and capital gains tax all come off the real return. Put them in the invested or returned figure, or the answer flatters you.
- Forgetting money taken out midway. Dividends or rent withdrawn during the period are part of what came back. Leave them out and a good investment looks mediocre.
- Treating a past ROI as a promise. A fund that returned 12.92% a year for three years might return far less, or lose money, in the next three. ROI describes what happened. It never guarantees what's next.
- Using ROI alone for big decisions. It ignores risk, timing, and cash flow. A flat with a modest ROI but steady monthly rent can suit you better than a volatile stock with a higher one.
Practical tips
Run the numbers before you commit, not after, by testing a realistic selling price rather than the hopeful one. Keep a simple record of every fee and payout from day one, because reconstructing them years later is where most ROI errors creep in. When you compare two options, force both onto the same time frame and the same fee treatment, or the comparison means nothing. And revisit old investments with fresh eyes: an asset that earned 12.92% a year in its first three years may be coasting now. Finally, remember inflation: a 7.57% annual return when prices rose 3% leaves you about 4.5% ahead in real terms, still a gain, just smaller than the headline.
Frequently asked questions
What is a good ROI for a personal investment?
There's no single good number, because it depends on the time frame and the risk. As a rough yardstick, stock markets have averaged around 7 to 10% a year over long stretches, so an annualized ROI in that range is solid, while anything far above it usually came with far more risk. Judge your return against similar investments over the same period.
How is annualized ROI different from simple ROI?
Simple ROI is the total gain as a percentage of what you put in: $2,200 on $5,000 is 44%, whatever the time frame. Annualized ROI spreads that gain evenly across each year using compounding, so the same 44% becomes 12.92% a year over three years and 7.57% a year over five. Use simple ROI for one holding, annualized ROI to compare holdings.
Can ROI be negative, and what does that mean?
Yes. If you invested $5,000 and got back $4,500, your gain is minus $500 and your ROI is minus 10%. A negative ROI simply means you got back less than you put in. The calculator shows losses the same way it shows gains, and the annualized figure goes negative too.
Should I include dividends or rent in the amount returned?
Yes, if you want the full picture. Total return counts everything that came back to you: sale price plus dividends, rent, or interest collected along the way. If you leave payouts out, you'll understate the investment.
Why does the calculator ask for dates instead of just years?
Because people usually remember when they bought and sold, not the exact year count. Dates let the calculator work out the period precisely, including odd stretches like two years and seven months, instead of forcing you to round. If you only know the length, the years option covers that too.
Related calculators: IRR Calculator, NPV Calculator and Finance Calculator.
An ROI figure earns its keep when it stops a bad decision, not when it decorates a good story. Run your own numbers through this calculator before the next pitch lands, fees and dates included, and let the annualized rate do the talking.
These are worked examples for learning the formula, not a suggestion to buy or sell anything. Returns vary with markets, fees, and taxes, so check your own costs before acting on any result here.
Further reading: the US Treasury runs TreasuryDirect, where you can read up on savings bonds and other Treasury securities and see how a government backed return is put together.