ROI Calculator

Bought an asset or funded a project and want to know what you earned? Enter the amount invested, amount returned and time held to calculate total ROI and an annualized figure. Include relevant costs when comparing investments.

Quick answer. ROI is the gain divided by the amount invested. $1,000 that becomes $2,000 is a 100% total ROI; over the default 4.25 years that is 17.7% a year annualized.

Why ROI is popular despite being simple

Return on investment strips an investment down to one question: for every dollar in, how many dollars came out? It works for a stock portfolio, a rental property, a marketing campaign or a business project, with no special modelling. The trade-off is that plain ROI says nothing about how long the money was tied up. That is where annualized ROI comes in.

The two formulas

  • Total ROI = (amount returned − amount invested) ÷ amount invested × 100.
  • Annualized ROI = ((amount returned ÷ amount invested)1/years − 1) × 100, the constant yearly rate that would produce the same result.

Worked example with the default numbers

Invest $1,000 on January 1, 2022 and receive $2,000 on April 1, 2026. The gain is $1,000, so total ROI is 100%. The holding period is 1,551 days, or 4.249 years (days divided by 365). Annualized ROI is (2 ÷ 1)1/4.249 − 1 = 17.72% a year.

Where the $2,000 returned in the default example comes fromHalf of what you get back is your own money. The profit of $1,000 is a 100% total ROI.Where the $2,000 returned in the default example comes from50%50%Amount invested: $1,000Profit: $1,000
The profit is the part of the return above what you put in.

A simpler check: $1,000 that becomes $1,200 after two years is a profit of $200, a total ROI of 20%, and an annualized ROI of 9.54% a year.

Time changes the story

A 100% ROI sounds the same whether it took six months or twenty years, but those are very different results. Annualizing converts total ROI into an equivalent yearly rate so that investments held for different lengths of time can be compared fairly.

Annualized ROI for the same 100% total ROI, by holding timeA 100% gain in 1 year is 100% a year, but over 20 years it is only 3.5% a year. Time is half of the story.Annualized ROI for the same 100% total ROI, by holding time1 years100.0%2 years41.4%4.25 years17.7%5 years14.9%10 years7.2%20 years3.5%
Same total ROI, very different yearly return.
Holding periodTotal ROIAnnualized ROI
1 years100%100.00%
2 years100%41.42%
4.25 years100%17.72%
5 years100%14.87%
10 years100%7.18%
20 years100%3.53%

A quick rule of thumb

To estimate how long it takes a yearly return to double your money, divide 72 by the percentage. At 4% a year it takes about 18 years, at 6% about 12 years and at 12% about 6 years. The default 100% total ROI over 4.25 years works out to about 18% a year, which the rule of 72 would double in about 4.1 years, close to the real holding period.

Negative returns

If the amount returned is less than the amount invested, ROI is negative. $1,000 that falls to $800 over two years is a total ROI of -20% and an annualized ROI of -10.56% a year.

Dollars versus percent

Two projects: profit in dollars vs total ROIProject A returns $500 on $1,000 (50%); Project B returns $10,000 on $50,000 (20%). A larger profit is not a larger ROI.Two projects: profit in dollars vs total ROIProject A ROI50%Project B ROI20%
ROI shows efficiency; dollars show size. Look at both.

Include every cost

The calculator works only from the two numbers you give it, so build costs into them. If $150 of fees and taxes were taken from the $2,000 in the default example, you would enter $1,850 as the amount returned. ROI becomes 85% and annualized ROI 15.58%. Fees and taxes can take a large bite out of returns over time.

What ROI does not do

  • It does not account for deposits and withdrawals at different dates. For those, use the IRR Calculator.
  • It ignores risk. A high ROI from a risky bet is not the same as a steady one.
  • It does not say how long it took to get your money back. The Payback Period Calculator does.
  • Annualizing assumes the return compounds at a constant rate, which real investments rarely do.

Using dates or a length

You can enter the investment time as a start and end date, or as a length in years. Dates are converted to years by dividing the number of days by 365. Choose whichever you know; the result is the same for the same length of time.

Common mistakes

  • Comparing total ROI of investments held for different times.
  • Leaving out fees, taxes or maintenance costs.
  • Using the final value of a position that includes new deposits you made later.
  • Treating annualized ROI as a guarantee of future returns.

How to read your result

The large number is the total ROI. Below it are the gain in dollars, the annualized ROI and the length in years, with a chart of what you put in and what you earned. Compare annualized figures between investments, and use the Average Return Calculator when you have several periods.

Past returns do not predict future results. This calculator is not financial advice.

What to do next

Common questions

Can ROI be negative?

Yes. If the amount returned is less than what was invested, both ROI and annualized ROI are negative, showing a net loss.

Does ROI account for fees or taxes?

Not unless you build them into the amount invested or the amount returned. The calculator works only from the two numbers you give it.

What is the difference between ROI and annualized ROI?

Total ROI is the overall gain as a percentage of the amount invested. Annualized ROI turns it into an equivalent yearly rate so investments held for different lengths of time can be compared.

How is the time calculated from dates?

The number of days between the two dates is divided by 365 to give years.

When should I use IRR instead?

Use IRR when money goes in or out at several different dates. ROI only handles a single starting amount and a single final amount.

Is a higher ROI always better?

Not always. A high ROI may come from a small investment, a short time or higher risk. Compare annualized returns and consider the size and risk of the investment.

Sources: Investor.gov: Compound Interest Calculator; IRS: Topic no. 409, Capital gains and losses

More Financial Calculators

Pick another financial tool to jump straight to it.