Calcamaze

ROI Calculator

Calculate return on investment and the annualized return over any period.

By Rabia Jameel

$
$
years

Result

Return on investment
35%
Profit
$3,500.00
Annualized return
10.52%
The steady yearly rate that gives the same result.

Return on investment (ROI) measures how much you gained or lost relative to what you put in. Add how long you held the investment to see the annualized return, which lets you compare investments held for different lengths of time.

What is return on investment (ROI)?

Return on investment measures profit as a percentage of what you put in: ROI = (amount returned − amount invested) ÷ amount invested × 100. It is a quick way to compare the payoff from a stock, a property, a marketing campaign or an equipment purchase.

Plain ROI ignores time: a 35% return is great over one year and poor over ten. Annualized ROI fixes that by converting the total into an equivalent yearly rate, (returned ÷ invested)^(1/years) − 1, so investments held for different lengths of time can be compared fairly.

How to use the roi calculator

  1. Enter the amount invested and the amount returned.
  2. Enter how long the investment was held, if you want the annualized return.
  3. Read the ROI and the annualized return.

Formula

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

Annualized ROI = (Amount returned ÷ Amount invested)^(1 ÷ years) − 1. It is the same as the compound annual growth rate (CAGR).

Worked examples

Selling shares after three years

Amount invested
10,000 $
Amount returned
13,500 $
Investment length (optional)
3 years
Return on investment
35%
Profit
$3,500.00
Annualized return
10.52%

Profit is $3,500, so ROI = 3,500 ÷ 10,000 = 35%. Spread over three years, that is (1.35)^(1/3) − 1 = 10.52% a year.

A loss

Amount invested
5,000 $
Amount returned
4,200 $
Investment length (optional)
2 years
Return on investment
-16%
Loss
$800.00
Annualized return
-8.35%

The investment lost $800: ROI = −800 ÷ 5,000 = −16%, or -8.35% a year over two years.

Total ROI as an annual return

Total ROIOver 1 yearOver 3 yearsOver 5 yearsOver 10 years
10%10%3.23%1.92%0.96%
25%25%7.72%4.56%2.26%
50%50%14.47%8.45%4.14%
100%100%25.99%14.87%7.18%
200%200%44.22%24.57%11.61%

Total versus annualized return

A 50% total return over 5 years is about 8.4% a year, because growth compounds: 1.5^(1/5) ≈ 1.084. The same 50% over 2 years would be about 22.5% a year. Comparing total returns without the time can make a slow investment look better than it is.

Common mistakes

  • Comparing total ROI across investments held for different lengths of time — use the annualized figure.
  • Leaving out costs such as fees, taxes, maintenance or your own time.
  • Dividing by the amount returned instead of the amount invested.

Frequently asked questions

What is a good ROI?

It depends on risk and time. Broad stock market indexes have historically returned around 7–10% a year before inflation, which is a common benchmark.

Why is annualized ROI lower than total ROI divided by years?

Because returns compound. 35% over 3 years is not 11.67% a year — growing 10.52% a year for 3 years gives the same 35%.

What is the difference between ROI and IRR?

ROI treats the investment as one amount in and one amount out. IRR (internal rate of return) handles cash flows at different times, such as regular deposits or rents.

Sources

  1. Principles of Finance, 15.1: Risk and Return to an Individual Asset, OpenStax, Rice University
  2. Glossary: Return on investment, Investor.gov, U.S. Securities and Exchange Commission

Written by Rabia Jameel · Last updated · Calculations checked by automated tests· Editorial policy