ROI Calculator, Explained

After reading this you will be able to compute the return on any investment as a simple percentage, annualize it for fair comparison, and spot the small mistakes that make one investment look better than another when it is not.

What return on investment measures

Return on investment (ROI) answers one question: for every dollar you put in, how many dollars did you get back beyond what you started with? It is a ratio of profit to cost, expressed as a percentage.

Suppose you buy something for 10000, pay no extra costs, and later sell it for 15000. Your profit is 5000. Divide that by the 10000 you invested and you get 0.5, or a 50% ROI. That number is portable: it works the same for a stock, a rental deposit, a used car you flip, or a marketing campaign. Anything with a cost and a later value has an ROI.

The strength of ROI is also its weakness. It compresses a whole investment into a single number and throws away the timeline. A 50% return in one year and a 50% return in ten years are very different outcomes, but plain ROI reports both as 50%. That is why this tool also annualizes, which we cover below.

When to use it, and when not to

ROI is the right tool when money goes in once (or in a lump you can total up) and comes out once, and you want a quick, honest summary. Comparing two completed trades, checking whether a renovation paid off, sizing up a one-off purchase for resale: all fine.

ROI is the wrong tool when cash flows are spread across time. If you invest monthly, or collect dividends along the way, or a project pays back in uneven chunks over years, a single cost-and-final-value ratio hides the timing that actually determines your return. For those cases you want an internal rate of return, which weighs each cash flow by when it happens.

ROI ignores the shape of cash flows between the start and the end. Two projects that both turn 10000 into 15000 over three years report the same 50% ROI even if one pays you back early and the other pays late. The early one is worth more. Use the IRR Calculator when timing matters.

The formula and the intuition behind it

Simple ROI is profit over cost. Profit is the final value minus everything you spent, which is the amount invested plus any extra costs like fees and taxes.

\text{ROI} = \frac{V - (C + E)}{C + E}

Here V is the final value, C is the amount invested, and E is extra costs. The denominator is your total outlay, so a fee you paid raises the cost base and lowers the ROI. That is exactly right: money spent on fees is money that has to be earned back before you profit.

To annualize, ask what constant yearly growth rate would turn your total cost into your final value over the holding period. This is the same compounding question a savings account answers.

\text{ROI}_\text{annual} = \left( \frac{V}{C + E} \right)^{1/y} - 1

Here y is the holding period in years. The ratio V / (C + E) is the growth multiple (for our example, 1.5). Raising it to the power 1/y undoes the compounding to find the per-year rate. Subtracting 1 turns a multiple back into a percentage gain.

Notice why you cannot just divide simple ROI by the number of years. Dividing 50% by 3 gives about 16.7%, but growth compounds: earning 16.7% three years running would multiply your money by 1.167^3 \approx 1.588, more than the 1.5 you actually reached. The true annual rate is lower.

Worked example with the demo data

Use the defaults: cost 10000, extra costs 0, final value 15000, holding period 3 years.

  1. Total outlay: C + E = 10000 + 0 = 10000.
  2. Profit: 15000 - 10000 = 5000.
  3. Simple ROI: 5000 / 10000 = 0.5 = 50\%.
  4. Growth multiple: 15000 / 10000 = 1.5.
  5. Annualized ROI: 1.5^{1/3} - 1 \approx 1.1447 - 1 = 0.1447 = 14.47\%.

So a 50% gain over three years is about 14.5% a year. Now add a fee. Suppose extra costs are 500. Total outlay becomes 10500, profit becomes 4500, and simple ROI drops to 4500 / 10500 \approx 42.9\%. Annualized, that is (15000/10500)^{1/3} - 1 \approx 12.6\%. A 500 fee shaved almost two percentage points off your yearly return.

Why annualizing changes the picture

The same simple ROI stretched over more years is a weaker investment, because you waited longer for it. The table shows a fixed 50% ROI at different holding periods.

A 50% simple ROI, annualized across different holding periods
Years heldGrowth multipleAnnualized ROI
11.550.0%
31.514.47%
51.58.447%
101.54.138%
201.52.048%

The 10-year figure is the one from the tool's footnote: 50% over ten years is under 4.2% a year. That is close to what a plain savings account might pay in some years, so the headline "50%" is far less impressive once you know it took a decade.

The same 50% total gain becomes a smaller yearly rate the longer you hold. The curve falls steeply at first, then flattens.

With a fixed final value of 15000 on a 10000 cost (a 50% simple ROI), the annualized return is 50% at 1 year, 14.47% at 3 years, 8.45% at 5 years, and 4.14% at 10 years. Longer holding periods spread the same gain thinner.

Reading and interpreting the result

Read simple ROI as total gain over the whole life of the investment, and annualized ROI as the yearly rate you can line up against anything else. A negative ROI means you ended with less than you put in: a final value of 8000 on a 10000 cost is -2000 / 10000 = -20\%.

Annualizing a loss works the same way. A 20% loss over two years annualizes to 0.8^{1/2} - 1 \approx -10.6\% a year, not -10%, because compounding a loss also curves.

Always compare annualized rates, never simple ROI, when two investments ran for different lengths of time. A one-year 20% return beats a three-year 40% return: the first is 20% a year, the second is only about 11.9% a year.

Common mistakes

Forgetting the cost of fees and taxes. If they sit outside your calculation, your ROI is overstated. Put every dollar you spent into the cost base.

Dividing simple ROI by years. As shown above, this overstates the annual rate. Use the compounding formula.

Confusing profit with final value. The final value is what the investment is worth, not what you made. Profit is final value minus total cost.

Ignoring inflation. A 14.5% yearly return with 5% inflation is closer to 9% in real buying power. Use the Inflation-Adjusted Return Calculator to convert a nominal return into a real one.

Comparing a lump sum to a stream of contributions. ROI on a single cost cannot be compared with a savings plan where you add money monthly. Model that with the Investment Growth Calculator instead.

Related tools

When your investment is defined by two values and a time span, the annualized figure here is the same idea the CAGR Calculator reports, phrased as a growth rate. For a series of dated cash flows rather than one in and one out, use the NPV Calculator to value them or the IRR calculator to find the rate that balances them.

For income investments, the Dividend Yield Calculator and the Dividend Reinvestment (DRIP) Calculator handle payouts that ROI alone misses. Traders can size an entry with the Position Size Calculator, track a blended cost with the Stock Average Price Calculator, and measure long-term drag with the Investment Fee Impact Calculator. For coins bought and sold on an exchange, the Crypto Profit Calculator builds trading fees into the return.

Frequently asked questions

What is a good ROI?

There is no universal number, because ROI ignores time and risk. Annualize first, then compare against an alternative you could actually have taken. A broad stock index has returned roughly 7% to 10% a year over long periods in some markets, but past results do not predict future ones.

Is ROI the same as CAGR?

Annualized ROI and CAGR are the same calculation: both find the constant yearly rate between a starting and ending value. Simple ROI is different, since it ignores the holding period entirely.

Should I include reinvested dividends in the final value?

Yes. If dividends were reinvested, their value is part of what the position is worth now, so include it in the final value. If you took the dividends as cash, ROI on price alone understates your total return.

Can ROI be over 100%?

Yes. If 10000 grows to 25000, profit is 15000 and ROI is 15000 / 10000 = 150\%. You more than doubled your money.

How do I handle a holding period shorter than a year?

Enter it as a fraction. Six months is 0.5 years. Annualizing a short, strong return can produce a very large number, so treat those figures with care: a 10% gain in one month annualizes to about 214%, which is not a rate you should expect to repeat.

This is an educational estimate, not financial advice. Talk to a qualified adviser before making money decisions.