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.
Show steps
- Total cost = amount invested + fees = $10,000.00 + $200.00 = $10,200.00.
- Total returned = $15,000.00.
- Net profit = total returned − total cost = $15,000.00 − $10,200.00 = $4,800.00.
- ROI = net profit ÷ total cost × 100 = 4,800.00 ÷ 10,200.00 × 100 ≈ 47.0588%, or 47.06%.
- 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.
- 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.
- 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.
- Without the $200.00 in fees, ROI would be 50.00%. The fees cost you 2.94 percentage points.
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 |
How to use the ROI calculator
- 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.
- Enter how long you held it, either in years or as a start and end date.
- Read the ROI and the annualized ROI at the top, then open Show steps to see the working with your numbers.
- 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.
- SEC investor.gov, Updated Investor Bulletin: How Fees and Expenses Affect Your Investment Portfolio
- SEC investor.gov, Understanding Fees
- SEC investor.gov, Investor Bulletin: Performance Claims
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.
Net profit = 5,000 − 4,000 = 1,000. ROI = 1,000 ÷ 4,000 × 100 = 25%. 20% divides by the $5,000 returned instead of the cost.
Total cost = 2,000 + 50 = 2,050. Net profit = 2,460 − 2,050 = 410. ROI = 410 ÷ 2,050 × 100 = 20%. 23% ignores the fee.
Net profit = 6,000 − 8,000 = −2,000. ROI = −2,000 ÷ 8,000 × 100 = −25%. −33.33% divides by the $6,000 returned.
Annualized ROI = 1.21^(1/2) − 1 = 1.1 − 1 = 0.10, or 10% a year. 10.5% is the simple average, 21 ÷ 2, which ignores compounding.
Annualized ROI = 2^(1/3) − 1 ≈ 1.2599 − 1 ≈ 26% a year. 33% is 100% ÷ 3, which ignores compounding.
The annualized ROI is the yearly compound rate that grows the total cost into the total returned, so you take the t-th root of the growth factor and subtract 1.
X: 1.6^(1/5) − 1 ≈ 9.86% a year. Y: 1.3^(1/2) − 1 ≈ 14.02% a year. Y grew faster even though its total ROI is smaller.
Amount needed = 15,000 × (1 + 0.40) = 15,000 × 1.4 = $21,000. $6,000 is only the profit.
Total returned = 3,300 + 150 = 3,450. Net profit = 3,450 − 3,000 = 450. ROI = 450 ÷ 3,000 × 100 = 15%. 10% leaves out the dividends.
731 ÷ 365.25 ≈ 2.001, so about 2.00 years. 2024 is a leap year, which is why the period has 731 days instead of 730.
Quiz complete
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
- Investment calculator: growth with contributions over time
- Percentage calculator: percent of a number and more
- Percent change calculator: increase and decrease between two values
- Compound interest calculator: how a rate compounds year after year
Related to This Article
More math articles
- Discharge petitions
- Top 10 ACT Math Practice Questions
- Decimal Dynamics: How to Evaluating Numerical Expressions with Decimals
- Free Grade 4 English Worksheets for West Virginia Students
- Top 10 Tips to Retake GED Math Test
- How to Study Math Like a Pro
- All You Need To Know About Parametric Equations And How To Differentiate Them
- Malcolm X, Black Power and Urban Uprisings
- Free Grade 4 English Worksheets for South Dakota Students
- The Freedmen’s Bureau and the Meanings of Freedom


What people say about "ROI Calculator: Return on Investment & Annualized ROI"?
No one replied yet.