ROI Calculator

An ROI calculator divides your net profit by what the investment cost you. Put in $10,000, pay $200 in fees and get back $15,000 four years later: the net profit is $4,800, so ROI = 4,800 ÷ 10,200 × 100 ≈ 47.06%. Spread over four years with compounding, that is an annualized ROI of about 10.12% a year.

What do you want to find?
How long you held it
Fees and costs are added to what you put in (commissions, closing costs, account fees). Income is money the investment paid you along the way, such as dividends, interest or rent.
Return on investment (ROI)
47.06%10.12% a year
You made $4,800.00 on $10,200.00, a 47.06% return. Spread over 4 years, that is 10.12% a year, compounded.

Net profit$4,800.00
Annualized ROI (CAGR)10.12%
Total cost$10,200.00
Total returned$15,000.00
Money multiple1.47×
Holding period4 years
ROI before fees50.00%
Simple yearly average11.76%
Formula
ROI = (total returned − total cost) ÷ total cost × 100
= (15,000.00 − 10,200.00) ÷ 10,200.00 × 100 ≈ 47.06%
Annualized ROI (CAGR) = (total returned ÷ total cost)^(1/t) − 1
= (15,000.00 ÷ 10,200.00)^(1/4) − 1 ≈ 10.12% a year
Show steps
  1. Total cost = amount invested + fees = $10,000.00 + $200.00 = $10,200.00.
  2. Total returned = $15,000.00.
  3. Net profit = total returned − total cost = $15,000.00 − $10,200.00 = $4,800.00.
  4. ROI = net profit ÷ total cost × 100 = 4,800.00 ÷ 10,200.00 × 100 ≈ 47.0588%, or 47.06%.
  5. Annualized ROI = (total returned ÷ total cost)^(1 ÷ years) − 1 = (15,000.00 ÷ 10,200.00)^(1 ÷ 4) − 1 = 1.470588^0.25 − 1 ≈ 10.1217%, or 10.12% a year.
  6. That is the compound annual growth rate (CAGR) of your money: $10,200.00 growing 10.1217% a year for 4 years becomes 10,200.00 × 1.101217^4 ≈ $15,000.00, the total returned.
  7. The simple average, 47.06% ÷ 4 = 11.76% a year, is higher than the annualized ROI because it ignores compounding: later gains are earned on earlier gains, so a smaller yearly rate is enough.
  8. Without the $200.00 in fees, ROI would be 50.00%. The fees cost you 2.94 percentage points.
Picture it
What you put in and what came back
Total returned$15,000.00
Total cost $10,200.00Net profit $4,800.00
Growth at the annualized rate

$9.5k$11k$12k$14k$15k0.5 yrs1 yr1.5 yrs2 yrs2.5 yrs3 yrs3.5 yrs4 yrs

Compounding at 10.12% a yearStraight line (simple average)
Year by year at 10.12% a year
Year Start value Growth End value
1 $10,200.00 $1,032.41 $11,232.41
2 $11,232.41 $1,136.91 $12,369.32
3 $12,369.32 $1,251.98 $13,621.30
4 $13,621.30 $1,378.70 $15,000.00
Each year the value grows by the same percent, so the dollar growth gets bigger every year. That is compounding, and it is why the annualized ROI is lower than the total ROI divided by the years.
ROI measures past or planned results; it does not predict future returns. Taxes are not included unless you add them to fees. Dates are converted to years as days ÷ 365.25. This is not financial advice.

How to use the ROI calculator

  1. On the ROI tab, type what you invested, what you got back, and any fees or costs. Add income such as dividends, interest or rent if the investment paid you along the way.
  2. Enter how long you held it, either in years or as a start and end date.
  3. Read the ROI and the annualized ROI at the top, then open Show steps to see the working with your numbers.
  4. Use Compare to rank up to three investments, or Target to find how much you need back to reach a return you have in mind.

ROI formula

Return on investment compares what you gained with what you put in:

ROI = (total returned − total cost) ÷ total cost × 100

  • Total cost is the amount invested plus fees and other costs: commissions, closing costs, account fees.
  • Total returned is what the investment is worth or sold for, plus any income it paid you.
  • Net profit is total returned − total cost. A negative net profit means a loss, and the ROI is negative.

ROI is a percent change: the change in your money divided by where it started. It is the same arithmetic as any percentage of a whole.

Annualized ROI and its link to CAGR

A plain ROI ignores time. 47% in four years and 47% in one year are very different results. The annualized ROI is the yearly rate that, compounded, turns the total cost into the total returned:

Annualized ROI = (total returned ÷ total cost)1/t − 1, where t is the number of years.

This is exactly the compound annual growth rate (CAGR) of your money. In the example, (15,000 ÷ 10,200)1/4 − 1 = 1.4705880.25 − 1 ≈ 0.1012, or 10.12% a year. Check it backward: 10,200 × 1.10124 ≈ 15,000.

When you enter dates, the calculator counts the days and divides by 365.25, the average year length including leap years. March 15, 2022 to March 15, 2026 is 1,461 days, which is 4 years.

Why ROI ÷ years is not the yearly return

Dividing 47.06% by 4 gives 11.76% a year, but that simple average is too high. With compounding, each year’s gain is earned on a larger balance, so a smaller rate, 10.12%, is enough to reach the same end value. The gap grows with longer periods and bigger returns. For a one-year holding period the two are equal.

Worked examples

A loss after fees

You buy shares for $2,500, pay $25 in commissions, and sell two years later for $1,800. Total cost = $2,525. Net profit = 1,800 − 2,525 = −$725. ROI = −725 ÷ 2,525 × 100 ≈ −28.71%. Annualized: (1,800 ÷ 2,525)1/2 − 1 ≈ −15.57% a year.

Income and fees together

A rental property costs $50,000 plus $1,500 in closing costs. Over 6.5 years it pays $4,000 in net rent, and you sell for $62,000. Total cost = $51,500; total returned = 62,000 + 4,000 = $66,000. Net profit = $14,500 and ROI ≈ 28.16%. Annualized: (66,000 ÷ 51,500)1/6.5 − 1 ≈ 3.89% a year.

Comparing three investments

Investment Total cost Returned Years ROI Annualized ROI
A $10,200 $15,000 4 47.06% 10.12%
B $5,050 $6,500 1.5 28.71% 18.33%
C $8,000 $14,000 7 75.00% 8.32%

C has the biggest total ROI and the most dollars, but it took seven years. B grew fastest, 18.33% a year. Annualized ROI is the fair yardstick when holding periods differ.

Total ROI vs. annualized ROI (quick-reference table)

Total ROI Over 1 year Over 3 years Over 5 years Over 10 years
10% 10.00% 3.23% 1.92% 0.96%
25% 25.00% 7.72% 4.56% 2.26%
50% 50.00% 14.47% 8.45% 4.14%
100% 100.00% 25.99% 14.87% 7.18%
200% 200.00% 44.22% 24.57% 11.61%

Doubling your money (100% ROI) over 10 years works out to about 7.18% a year.

Finding the return you need

Turn the formula around: amount needed = total cost × (1 + target ROI). To earn 25% on $10,000 you need $12,500 back. If you have 3 years, the yearly rate needed is 1.251/3 − 1 ≈ 7.72%. The Target tab does this for any amount, and the investment calculator projects growth with regular contributions.

How fees and costs change ROI

Fees go into the cost, so they lower ROI twice: they reduce your profit and they raise the base you divide by. In the first example, without the $200 fee the ROI would be 5,000 ÷ 10,000 = 50.00%; with it, 47.06%. The SEC’s investor.gov notes that fees “may seem small, but over time they can have a major impact on your investment portfolio”, and its bulletin on performance claims adds that fees and expenses reduce investment returns, so check which ones a quoted return includes.

Common ROI mistakes

  • Leaving out costs. Commissions, closing costs, repairs and account fees all belong in the total cost.
  • Ignoring time. Compare annualized ROI, not total ROI, when holding periods differ.
  • Annualizing very short periods. A 5% gain in one month annualizes to almost 80%, which assumes the same luck 12 months in a row.
  • Treating past ROI as a forecast. Investor.gov reminds investors that past performance does not necessarily predict future results.

Results are for learning and planning, not financial advice. Taxes are not included unless you add them to fees.

Sources

Checked November 2026.

ROI practice quiz: 10 questions

Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.

Question 1 of 10
1. You invest $4,000 and later get back $5,000. What is the ROI?

Found a mistake? Let us know!

2. You invest $2,000, pay $50 in fees, and get back $2,460. What is the ROI?

Found a mistake? Let us know!

3. An investment costs $8,000 and is sold for $6,000. What is the ROI?

Found a mistake? Let us know!

4. An investment returns 21% in total over 2 years. What is the annualized ROI?

Found a mistake? Let us know!

5. Money doubles in 3 years. About what annualized ROI is that?

Found a mistake? Let us know!

6. Which formula gives the annualized ROI (CAGR) for t years?

Found a mistake? Let us know!

7. Investment X earned 60% in 5 years. Investment Y earned 30% in 2 years. Which grew faster per year?

Found a mistake? Let us know!

8. You want a 40% ROI on a $15,000 total cost. How much do you need back?

Found a mistake? Let us know!

9. A stock bought for $3,000 paid $150 in dividends and was sold for $3,300. What is the ROI?

Found a mistake? Let us know!

10. You held an investment from January 1, 2024 to January 1, 2026 (731 days). Using days ÷ 365.25, about how many years is that?

Found a mistake? Let us know!

Frequently asked questions

How do you calculate ROI?

Subtract the total cost from the total returned to get the net profit, divide by the total cost, and multiply by 100. $1,200 profit on a $2,000 cost is 1,200 ÷ 2,000 × 100 = 60%.

What is the difference between ROI and annualized ROI?

ROI is the whole return over the holding period. Annualized ROI is the compound yearly rate that produces it: (total returned ÷ total cost)1/t − 1. It lets you compare investments held for different lengths of time.

Is annualized ROI the same as CAGR?

Yes, for a single amount invested at the start and a single value at the end. Both are the yearly compound rate that grows the starting amount into the ending amount.

What does a 30% ROI mean?

You got back your cost plus 30% of it. On $1,000 that is $1,300 back, a $300 profit. Over 3 years it is about 9.14% a year.

Can ROI be negative?

Yes. If you get back less than you put in, net profit and ROI are negative. The lowest possible ROI is −100%, when the investment is worth nothing.

Related calculators

Related to This Article

What people say about "ROI Calculator: Return on Investment & Annualized ROI"?

No one replied yet.

Leave a Reply