Return on Investment (ROI) Calculator

Enter what you put in and what came back to get the return on investment. Because a 60% return means something very different over one year than over ten, the annualized figure is worked out alongside it — from real dates or from a length you type in.

Just enter your values below — results update automatically.

The investment

Give the two amounts, then the dates you held it between.

$
$
$
Reading the two numbers
  • ROI is the whole gain as a share of what you put in. It says nothing about how long it took.
  • Annualized ROI is the steady yearly rate that would have produced the same result. It is the same thing as CAGR.
  • Compare on the annualized figure. A 60% return over ten years is 4.8% a year — worse than a savings account in most years.
  • Subtract what it cost you. Commissions, fund fees and tax all come out of the return before it is really yours.
Enter the two amounts on the left to see the return.
What ROI cannot tell you
  • Risk. Two investments with the same return are not the same investment if one could have gone to zero.
  • Money in and out along the way. ROI sees one amount in and one amount out. For irregular cash flows you want IRR.
  • Inflation. A 20% return over five years barely keeps pace when prices rise 3% a year.
  • What you gave up. The return only means something next to what the same money would have done elsewhere.
The same return, year by year What a steady annual rate would have looked like
Year Value Gain to date ROI to date
Stake and profit over time The original stake stays put while the profit builds on top
Amount invested Profit Loss

What ROI measures, and what it quietly leaves out

Return on investment is the simplest performance measure in finance: what you made, divided by what you risked. It works on anything you can put a cost and a payoff against — a stock, a rental property, a new machine, a marketing campaign, a hire — which is exactly why it is everywhere.

That same universality is the problem. ROI has no opinion about how long the money was tied up, how likely it was to go wrong, what else you could have done with it, or what the dollars were worth by the time they came back. Two people can calculate ROI on the same deal and get different answers simply because one counted transaction costs and the other did not.

None of that makes it a bad measure. It makes it a first measure — the number you work out on the back of an envelope to decide whether the thing is worth a proper look.

The formula, and the annualized version

The basic calculation has one moving part:

ROI = (amount returned − amount invested) ÷ amount invested × 100

Turn $12,500 into $19,400 and the gain is $6,900, which is 55.20% of the stake. Whether that took eight months or eighteen years, the formula prints the same number. If you only need that annualized figure on its own, our CAGR calculator solves it directly, and will also run backwards to a target value or a time horizon.

The fix is to convert it into a yearly rate. Annualized ROI is the constant rate that, compounding each year, would have taken the stake to the same finish:

Annualized ROI = ((amount returned ÷ amount invested)1 ÷ years − 1) × 100

That 55.20% becomes 9.19% a year over five years, or 4.49% a year over ten. The exponent is doing the work: it undoes the compounding rather than simply spreading the total evenly, which is why dividing the total return by the number of years always gives too high an answer.

When the investment is one payment in and one payment out, this is identical to compound annual growth rate. The two names describe the same arithmetic.

Why the time period changes everything

Here is the case that makes the point. Suppose you are choosing between two investments that both returned 60% in total. One ran for two years, the other for twelve.

Held forTotal ROIAnnualizedReads as
1 year60%60.00%Exceptional
2 years60%26.49%Very strong
5 years60%9.86%Roughly the market
12 years60%3.99%Below a decent bond
20 years60%2.38%Behind inflation

Same headline, five different investments. This is why the annualized column is the one to compare, and why an impressive-sounding total return quoted without a time period should always prompt the question “over how long?”

What to put in each field

  • Amount invested. Everything you actually committed at the start, not just the headline price — a stock purchase includes the commission, a property includes closing costs and the initial work.
  • Amount returned. The full amount that came back: the sale proceeds plus any income received along the way, such as dividends, interest or rent.
  • Costs and fees. Optional. Anything that came out of the return rather than going in at the start — selling commission, management charges, capital gains tax. Enter it here and both the gross and net figures are shown.
  • Dates, or a length. Real dates are the accurate route and the calculator works the length out to three decimal places. Use the length tab when you only know it roughly, or when you are testing what a target return would mean over different periods.

If you built the position over several purchases, the amount invested is the weighted total rather than a price you remember. Our stock average price calculator works that figure out across every buy.

Four ways ROI gets calculated wrong

Most disputes about a return come down to one of these.

  • Dividing the total by the years. A 100% return over five years is not 20% a year, it is 14.87%. Compounding means the simple division always overstates the rate, and the gap widens the longer the period.
  • Leaving out costs on one side only. Counting the purchase commission but not the selling commission, or the rent but not the maintenance, produces a number nobody can reconcile.
  • Ignoring money added in the middle. If you put more in halfway through, the stake was never really the opening amount. That is a job for IRR, not ROI.
  • Forgetting inflation. A 3% annualized return in a period when prices rose 3% a year did not make you any better off in real terms, however positive the number looked.

ROI, IRR and payback period

Three measures that answer three different questions, and get substituted for one another constantly.

ROI answers “how much did I make relative to what I put in?” It needs one figure in and one out, and it is the right tool for a completed, simple investment.

IRR answers “what annual rate did this stream of payments actually earn?” It copes with money moving in and out at irregular times, which ROI cannot see at all. For a single purchase and a single sale, IRR and annualized ROI give the same answer.

Payback period answers “how long until I have my money back?” It ignores everything that happens afterwards, which makes it a poor measure of profit and a useful measure of risk — a project that repays in two years is exposed for less time than one that repays in nine.

Serious decisions usually get all three, because each one hides something the others show.

What counts as a good return

A return only means something next to an alternative. The usual comparisons for a United States investor look roughly like this: a broad stock index has returned somewhere near 10% a year over the long run before inflation, high-grade bonds considerably less, and cash less again. Residential property investors commonly target 8% to 12% a year once costs are counted, and early-stage business investments are generally expected to clear 15% or more precisely because so many of them return nothing at all.

Set against that, the question is never “is 9% good?” but “is 9% good for this level of risk, for this long, after these costs?” A guaranteed 6% and a speculative 14% are not ranked by their returns alone, which is the single most important thing ROI does not tell you.

What this calculator does not cover

  • Money added or taken out along the way. One amount in, one amount out. For anything else, IRR is the right measure.
  • Inflation. Every figure is nominal. Subtract the inflation rate from the annualized return for a rough real return.
  • Tax, unless you enter it. Capital gains and income tax vary by holding period, account type and state, and they can change the ranking of two investments.
  • Risk, of any kind. Nothing here reflects how likely the outcome was, only what it turned out to be.
  • Losses beyond the stake. If leverage left you owing more than you invested, the ratio stops being meaningful and this calculator will not pretend otherwise.
  • The year-by-year table is illustrative. It shows the smooth path implied by the annualized rate, not the actual path your investment took, which was almost certainly bumpier.

Frequently asked questions

How do you calculate ROI?

Subtract what you put in from what came back, divide by what you put in, and multiply by 100. A $12,500 stake that returned $19,400 gained $6,900, and $6,900 divided by $12,500 is 55.20%. That figure covers the whole holding period, however long it was, which is exactly the thing people forget when they quote it.

What is a good ROI?

There is no universal number, only a comparison. The usual reference point in the United States is the long-run return of a broad stock index, which has averaged somewhere near 10% a year before inflation, so an annualized figure well below that had better come with less risk or some other advantage. Property investors often look for 8% to 12% a year, and private ventures are usually expected to clear 15% or more to justify the chance of losing everything. Compare the annualized figure, never the total.

What is the difference between ROI and annualized ROI?

ROI is the whole gain expressed as a share of the stake, with no reference to time at all. Annualized ROI converts that into the steady yearly rate that would have produced the same result, which makes two investments of different lengths comparable. A 55% total return is 9.19% a year over five years and 4.49% a year over ten. The second one is a different investment entirely, even though both would be described as a 55% return.

Is annualized ROI the same as CAGR?

Yes, when there is one amount in at the start and one amount out at the end. Compound annual growth rate is calculated the same way — ending value divided by beginning value, raised to the power of one over the number of years, minus one. The names differ by habit rather than by mathematics: CAGR tends to be used for the growth of a single holding, and annualized ROI for the performance of a decision.

How do I calculate ROI over multiple years?

Use the annualized formula rather than dividing the total return by the number of years. Dividing overstates the rate, because it ignores that each year's gain compounds on the one before. A 100% return over five years divided by five looks like 20% a year, but the correct annualized figure is 14.87%: growing at 20% a year for five years would have produced a 149% return, not 100%.

Can ROI be negative?

Yes, and it simply means you got back less than you put in. The lowest possible value is minus 100%, which is what a total loss looks like. Annualized ROI works the same way on the downside: losing 30% over three years is about minus 11.21% a year. The one case the formula cannot handle is losing more than you invested, which happens with leverage or a business that leaves you with debts, because the ratio stops being meaningful once the ending value goes below zero.

What is the difference between ROI and IRR?

ROI looks at one amount in and one amount out, so it cannot see anything that happened in between. IRR handles a whole series of payments in and out, each at its own date, and finds the rate that makes them balance. If you bought once and sold once, they agree — annualized ROI is just the simple case. If you added money over time, took dividends, or paid ongoing costs, IRR is the honest measure and ROI will flatter or understate depending on when the money moved.

Should ROI include fees and taxes?

For a decision about your own money, yes. Trading commissions, fund management charges, transaction taxes and capital gains tax all come out of the return before it belongs to you, and a percentage point of annual fee compounds against you exactly the way returns compound for you. Put them in the costs field above to see both figures side by side. The one time to leave them out is when you are comparing the underlying investments rather than your own outcome, since fees vary by who is buying.

This is an educational estimate, not financial or investment advice. Every figure is nominal and before tax unless you enter costs yourself, the year-by-year table shows the smooth path implied by a constant rate rather than the path any real investment took, and past returns say nothing about future ones. ROI cannot see risk, inflation, or money moved in and out along the way. More about how we build and check these tools is on our About page, and our Privacy Policy explains what we do and do not collect — nothing you type here leaves your browser.