Skip to content
SnapCalculations

How to Calculate ROI (Return on Investment), with Examples

By the SnapCalculations team · Updated 11 Nov 2026

The short answer

ROI = (final value − amount invested) ÷ amount invested × 100. If you invest 10,000 and end up with 15,000, your ROI is 50%. To compare investments held for different lengths of time, use the annualized ROI: (final ÷ invested)^(1 ÷ years) − 1.

What ROI tells you

Return on investment (ROI) measures how much you gained or lost compared with what you put in. Because it's a percentage, you can compare very different investments, such as shares, a rental property, a marketing campaign or new equipment, on the same scale.

ROI = (Final value − Amount invested) ÷ Amount invested × 100

Annualized ROI = ((Final value ÷ Amount invested)^(1 ÷ Years) − 1) × 100

The yearly growth rate that would turn your investment into its final value

Step by step

  1. 1Add up everything you put in, including fees, commissions and other costs.
  2. 2Work out the final value, including any income it paid you (dividends, interest, rent) after costs.
  3. 3Find the gain: final value minus amount invested. A negative number is a loss.
  4. 4Divide the gain by the amount invested and multiply by 100.
  5. 5If you held it for more than a year (or less), annualize it so you can compare it with other investments.

Worked examples

Example 1: a five-year investment

You invest 10,000 and it's worth 15,000 after 5 years.

  1. Gain: 15,000 − 10,000 = 5,000.
  2. ROI: 5,000 ÷ 10,000 × 100 = 50%.
  3. Annualized: (15,000 ÷ 10,000)^(1 ÷ 5) − 1 = 1.5^0.2 − 1 = 0.0845, or 8.45% a year.

Answer: 50% in total, about 8.45% a year

Try it in the calculator

Example 2: a one-year investment

You invest 5,000 and it's worth 6,000 after 1 year.

  1. Gain: 6,000 − 5,000 = 1,000.
  2. ROI: 1,000 ÷ 5,000 × 100 = 20%.
  3. Over exactly one year, the annualized ROI is the same: 20%.

Answer: 20% in one year. That's a better yearly return than Example 1, even though 50% looks bigger

Try it in the calculator

Example 3: a loss

You invest 4,000 and sell for 3,400 two years later.

  1. Gain: 3,400 − 4,000 = −600.
  2. ROI: −600 ÷ 4,000 × 100 = −15%.
  3. Annualized: (3,400 ÷ 4,000)^(1 ÷ 2) − 1 = 0.85^0.5 − 1 ≈ −0.0780, or −7.80% a year.

Answer: −15% in total, about −7.80% a year

Try it in the calculator

Example 4: same ROI, very different speed

Investment A turns 20,000 into 26,000 over 3 years. Investment B turns 2,000 into 2,600 in 6 months. Which did better?

  1. Both have an ROI of 30%: 6,000 ÷ 20,000 and 600 ÷ 2,000.
  2. A annualized: 1.3^(1 ÷ 3) − 1 ≈ 9.14% a year.
  3. B annualized: 1.3^(1 ÷ 0.5) − 1 = 1.32 − 1 = 0.69, or 69% a year.

Answer: B grew far faster: 69% a year against 9.14%, though B made less money in total

Try it in the calculator

Example 5: including costs

You buy shares for 3,000 and pay 25 in fees, receive 90 in dividends, and sell for 3,300, paying another 25 in fees.

  1. Amount invested: 3,000 + 25 = 3,025.
  2. Final value: 3,300 − 25 + 90 = 3,365.
  3. Gain: 3,365 − 3,025 = 340.
  4. ROI: 340 ÷ 3,025 × 100 ≈ 11.24%.

Answer: About 11.24%. Ignoring the fees and dividends would have given 10%

Limits of ROI

  • It ignores time unless you annualize it, as Examples 2 and 4 show.
  • It ignores risk. Two investments with the same ROI can carry very different chances of losing money.
  • It ignores inflation and tax. A 3% return in a year with 3% inflation leaves you no better off in real terms, and tax can reduce your gain further.
  • It assumes one payment in and one value out. If you added or withdrew money along the way, the simple formula is only an estimate.

Try your own numbers

Our ROI calculator shows your gain, ROI and annualized ROI in any currency, with each step of the working.

Free, with every step shownOpen the ROI Calculator

Frequently asked questions

What is a good ROI?

It depends on the risk and how long your money is tied up. Compare the annualized ROI with what you could earn elsewhere for similar risk, such as a savings account for low-risk money.

What's the difference between ROI and annualized ROI?

ROI is the total return over the whole time you held the investment. Annualized ROI spreads that over the years as a steady yearly rate, so you can compare investments held for different lengths of time.

Can ROI be negative?

Yes. If the final value is less than you invested, the gain is negative and so is the ROI. −100% means you lost everything.

Should I include fees in ROI?

Yes. Add buying costs to the amount invested and take selling costs off the final value, and include any income the investment paid you. Otherwise ROI looks better than it really was.