ROI Calculator

Return on investment, gain and annualized ROI in one place.

Include fees and other costs you paid.

What you sold it for or it is worth now, plus any income received.

Adds the annualized ROI.

Currency and number format

Return on investment (ROI)

50%

Turning $10,000.00 into $15,000.00 is a return on investment of 50%, or 14.47% a year over 3 years.

Gain
$5,000.00
Annualized ROI
14.47%
Money multiple
1.5×

Annualized ROI is the same as the investment's compound annual growth rate. See the CAGR calculator to work backwards from a rate.

Fix the highlighted field to update the result.

Why the time matters

The same ROI earned over different periods
Held forAnnualized ROI
6 months125%
1 year50%
2 years22.47%
3 years14.47%
5 years8.45%
10 years4.14%
20 years2.05%
Show the working

ROI = ($15,000.00 − $10,000.00) ÷ $10,000.00 = 50%; annualized = (1 + 0.5)^(1 ÷ 3) − 1 = 14.47%

How to use

  1. Enter the amount invested, including fees and other costs.
  2. Enter the amount returned: the sale price or current value, plus any income such as dividends or rent.
  3. Optional: add how long you held it to see the annualized ROI.

ROI formula

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

ROI is the total return over the whole period. Annualized ROI is the steady yearly rate that compounds to the same total.

Examples

$10,000 invested, $15,000 back after 3 years:

  • ROI = (15,000 − 10,000) ÷ 10,000 = 50%
  • Annualized = 1.5^(1 ÷ 3) − 1 = 14.47% a year

A share with a dividend (from OpenStax’s finance textbook): bought at $128.74, sold at $176.53, with $2.68 of dividends.

  • ROI = (176.53 + 2.68 − 128.74) ÷ 128.74 = 39.20%

Why the holding period matters

The same total ROI means very different yearly returns depending on how long it took:

Total ROI Over 2 years Over 5 years Over 10 years
25% 11.8% a year 4.56% a year 2.26% a year
50% 22.47% a year 8.45% a year 4.14% a year
100% 41.42% a year 14.87% a year 7.18% a year
200% 73.21% a year 24.57% a year 11.61% a year

Dividing ROI by the years overstates the yearly rate: 50% ÷ 3 is 16.67%, but the true figure is 14.47%.

ROI, annualized ROI and CAGR

  • ROI answers “how much did I make in total?”.
  • Annualized ROI answers “what is that per year?”. It equals the investment’s CAGR.
  • To work backwards from a growth rate to an end value, use the CAGR calculator.
Short holding periods

Annualizing a period under a year assumes the same return would repeat for the rest of the year. A 14.62% gain in three months becomes about 72.58% a year, which rarely happens in practice.

For short trades, the plain ROI is usually the more honest figure.

Frequently asked questions

How do you calculate ROI?

Subtract the amount invested from the amount returned, divide by the amount invested and multiply by 100. Investing $10,000 and getting $15,000 back is a 50% ROI.

What is annualized ROI?

It is the yearly rate that compounds to your total ROI: (1 + ROI)^(1 ÷ years) − 1. A 50% ROI over 3 years is 14.47% a year.

Why not just divide ROI by the number of years?

Simple division ignores compounding and overstates the yearly rate. 50% ÷ 3 is 16.67%, but 14.47% a year compounded for 3 years already gives 50%.

What should I count as invested and returned?

Count every cost, such as fees and commissions, as invested. Count income you received, such as dividends or rent, as returned, along with the sale price or current value.

How is ROI different from profit margin?

ROI compares profit with the money you put in. Profit margin compares profit with the selling price or revenue, so the two percentages differ.

Embed this calculator

Add this calculator to your own website for free. Copy the code below and paste it into your page’s HTML. The attribution link is optional.