Enter what you put in and what it ended at, add fees and a time, and see the net gain, ROI, annualized ROI and break-even value with the working shown. Switch to find the final value a target needs, or compare two investments.ROI, annualized ROI and break-even, with the working shown.
Before tax. ROI leaves out risk, inflation and when the money moved, so treat it as one number, not a verdict. This is a general estimate for educational use. It is not financial, tax, legal or investment advice. Real investments have fees, taxes and terms this calculator does not model. Talk to a licensed professional before you make a financial decision.
Private by design. Everything runs in your browser and is never uploaded. Results are estimates, not financial advice.
ROI, or return on investment, is the net gain divided by the total cost: ROI = (final value − total cost) ÷ total cost. If 10,000 plus 200 in fees ends at 12,800, the gain is 2,600 and the ROI is 25.49%. Over 3 years that is 7.86% a year. ROI is before tax and ignores risk and timing.
This ROI calculator works out the net gain, the ROI, the annualized ROI and the break-even value, and shows every step with your numbers. The percent-return formula and the yearly conversion follow FINRA's guide to evaluating performance. Results change as you type, and a second mode finds the final value a target needs. For other percentage sums, use the percentage calculator, or browse the free online calculators.
| Case and working | Net gain | ROI | Per year |
|---|---|---|---|
| 2,000 grows to 2,620 in 3 years (a 500 price gain plus 120 dividends)(2,620 − 2,000) ÷ 2,000 | 620.00 | 31.00% | 9.42% |
| 10,000 plus 200 fees ends at 12,800 in 3 years(12,800 − 10,200) ÷ 10,200 | 2,600.00 | 25.49% | 7.86% |
| 5,000 ends at 4,200 in 2 years(4,200 − 5,000) ÷ 5,000 | -800.00 | -16.00% | -8.35% |
| 1,000 ends at 1,500 in 6 months(1,500 − 1,000) ÷ 1,000 | 500.00 | 50.00% | 125.00% |
| 10,000 plus 250 fees ends at 10,250 in 3 years(10,250 − 10,250) ÷ 10,250 | 0.00 | 0.00% | 0.00% |
| 1,000 ends at 0 after 5 years(0 − 1,000) ÷ 1,000 | -1,000.00 | -100.00% | -100.00% |
The first answer is already on screen. Change any number and it updates at once, with no Calculate button.
Type the amount invested and the value it ended at. Add dividends, interest or rent you received to the final value so the gain includes them.
Fees and extra costs are added to the cost. Give the time as years and months, or as a start and end date, to see the annualized ROI.
ROI comes first, then the net gain, the annualized ROI and the break-even value. The working puts your numbers into each formula.
Choose Target ROI to find the final value a total or yearly target needs. Choose Compare to set two investments side by side.
ROI measures the gain against everything spent to get it. The total cost is the amount invested plus any fees or extra costs, the net gain is the final value minus that cost, and ROI is the gain as a share of the cost. The same idea is used by Wikipedia's definition of return on investment, where other expenses such as brokerage fees are part of the cost.
ROI says nothing about time, so the annualized form converts it to a yearly rate: (1 + ROI)1 ÷ years − 1. Growing the cost at that yearly rate for the same time gives back the final value, which you can check in the compound interest calculator with yearly compounding. Dividing the ROI by the years instead gives a flat yearly rate, the kind the simple interest calculator works with: 31% over 3 years is 10.33% a year that way, but 9.42% annualized.
| To find | Formula |
|---|---|
| Total cost | amount invested + fees |
| Net gain | final value − total cost |
| ROI | net gain ÷ total cost |
| Annualized ROI | (1 + ROI) ^ (1 ÷ years) − 1 |
| Years from dates | days between the dates ÷ 365 (or 365.25) |
| Break-even final value | total cost (the value where ROI is 0%) |
| Final value for a total target | total cost × (1 + target ROI) |
| Final value for a yearly target | total cost × (1 + yearly target) ^ years |
| Gain needed after a fall of L | L ÷ (1 − L) |
The same total ROI means very different yearly rates depending on how long it took. Each cell is the yearly rate that would give that total over that time.
| Total ROI | 6 months | 1 year | 2 years | 3 years | 5 years | 10 years | 20 years |
|---|---|---|---|---|---|---|---|
| -50% | -75.00% | -50.00% | -29.29% | -20.63% | -12.94% | -6.70% | -3.41% |
| -20% | -36.00% | -20.00% | -10.56% | -7.17% | -4.36% | -2.21% | -1.11% |
| +10% | 21.00% | 10.00% | 4.88% | 3.23% | 1.92% | 0.96% | 0.48% |
| +25% | 56.25% | 25.00% | 11.80% | 7.72% | 4.56% | 2.26% | 1.12% |
| +50% | 125.00% | 50.00% | 22.47% | 14.47% | 8.45% | 4.14% | 2.05% |
| +100% | 300.00% | 100.00% | 41.42% | 25.99% | 14.87% | 7.18% | 3.53% |
| +200% | 800.00% | 200.00% | 73.21% | 44.22% | 24.57% | 11.61% | 5.65% |
| Fall in value | Value of 10,000 after the fall | Gain needed to break even |
|---|---|---|
| 5% | 9,500.00 | 5.26% |
| 10% | 9,000.00 | 11.11% |
| 20% | 8,000.00 | 25.00% |
| 25% | 7,500.00 | 33.33% |
| 30% | 7,000.00 | 42.86% |
| 40% | 6,000.00 | 66.67% |
| 50% | 5,000.00 | 100.00% |
| 75% | 2,500.00 | 300.00% |
| 90% | 1,000.00 | 900.00% |
A gain and a loss of the same percentage do not cancel out, because the gain is measured on a smaller amount after a fall. That is why the gain needed grows faster than the fall, and why an average of yearly returns, such as the one the average calculator gives, is not the same as annualized ROI.
Many ROI calculators take a cost, a final value and a number of years, and stop there. These are the details that change the answer or save you a step.
| Feature | Basic ROI calculator | This calculator |
|---|---|---|
| Fees and extra costs | Often no field for them | Added to the cost, with the ROI before fees shown beside it |
| Time | Whole years, or one date method | Years and months, or start and end dates, with a 365 or 365.25-day year |
| Annualized ROI | A number, often with no formula | The formula with your numbers, and a note when the period is short |
| Break-even | Rarely shown | The final value where ROI is 0%, shown with every result |
| Target ROI | Work it out by hand | The final value needed for a total or yearly target |
| Two investments | Run it twice and compare | Side by side, with a line on why total and yearly ROI can disagree |
| Losses and zero | Often N/A or an error | A loss shows as a negative ROI, and a final value of zero shows as -100% with a short note |
| Results and sharing | A Calculate button | Update as you type, with Copy and a share link that keeps your numbers |
Put in what you paid and what it ended at to see the gain, the ROI and the yearly rate side by side.
Enter the same figures with and without fees. The ROI before fees line shows how many percentage points they took.
Choose Target ROI to see the final value that a total or yearly ROI of your choosing would need on the same cost.
Compare two cost, value and time sets. A higher total ROI over a longer time can be a lower yearly rate.
ROI is also used for equipment, training or a campaign. Use total spend as the cost and the total return or benefit as the final value, and note the benefit may be a judgement.
Follow the working line by line and check each step against your own. The ratio calculator helps with the gain-to-cost ratio form.
These points explain most of the gaps between this page and a figure quoted somewhere else. The calculator shows an estimate and does not give advice.
Fees and extra costs are added to the amount invested, and ROI is measured against that total. Some sources divide by the amount invested alone, so check which one a quoted figure uses.
Dividends, interest or rent you received are part of the return. Add them to the final value so the net gain includes them.
A 50% ROI after 2 years and after 20 years are very different yearly rates. Annualized ROI fixes the time, but not when money moved in between.
Annualizing less than a year repeats that pace for a full year. A 50% gain in 6 months shows as 125% a year, which is a pace and not a forecast.
FINRA suggests looking at after-tax returns, and notes that inflation can matter a lot on long holdings. This calculator shows neither, so the result is before tax and in plain currency terms.
Nothing you type leaves your browser. After the page loads, the calculator keeps working without a connection.
It treats the investment as a single cost and a single final value. Regular deposits or withdrawals need a different measure such as IRR, which uses the date of each cash flow and is not calculated here. For regular deposits at a fixed rate, see the compound interest calculator.
ROI is a gain measured against a cost, nothing more. It does not say how risky the investment was, it is shown before tax, and it does not adjust for inflation.
Results are general estimates for learning and planning. Returns are not promises and past returns do not predict future ones. For how returns are measured, see FINRA on evaluating performance.
The formulas are standard arithmetic. The calculator was checked against the worked examples on this page, against 400 random cases computed separately in exact decimal arithmetic, and against the compound interest calculator on this site. The definitions and conventions come from these references.
Short answers to common questions about ROI and annualized ROI.
Subtract the total cost from the final value to get the net gain, then divide the gain by the total cost: ROI = (final value − total cost) ÷ total cost. If 2,000 grows to 2,620, the gain is 620 and the ROI is 620 ÷ 2,000 = 31%. Multiply by 100 to show it as a percentage.
Annualized ROI turns a total ROI into the steady yearly rate that would give the same result: (1 + ROI)^(1 ÷ years) − 1. A 31% ROI over 3 years is 1.31^(1 ÷ 3) − 1 = 9.42% a year. It lets you compare holdings of different lengths.
Enter them in the fees box. They are added to the amount invested to make the total cost, and the ROI is measured against that total. On 10,000 with 200 of fees and a final value of 12,800, the gain is 2,600 on a cost of 10,200, an ROI of 25.49%, against 28.00% before fees.
It is the final value at which the ROI is exactly 0%, which equals the total cost: the amount invested plus fees. Below that value the ROI is negative, and above it the ROI is positive.
Choose Target ROI, enter the cost and the target, and say whether the target is a total or a yearly figure. A total ROI of 25% on a cost of 10,200 needs a final value of 12,750. A yearly target of 8% for 5 years on 10,000 needs 14,693.28.
It means the final value is below the total cost, so the net gain is negative. ROI cannot go below -100%, which is the case when the final value is zero and none of the cost comes back. It describes one result and says nothing about what happens next.
Annualizing repeats the pace of the period for a full year. A 50% gain in 6 months becomes 125% a year, because 1.5 × 1.5 = 2.25. Over days or weeks the figure can look extreme, so read it as a pace and not as a prediction.
ROI compares one cost with one final value and ignores when money moved in between. IRR, the internal rate of return, is a different measure that works from the date of every deposit and withdrawal, so it suits investments with several cash flows. This calculator does not compute IRR.
No. ROI measures the gain against the cost and nothing else. It is shown before tax, it does not adjust for inflation and it says nothing about how risky the investment was. Two investments with the same ROI can differ a lot in risk.
Common reasons are whether fees are added to the cost or taken off the final value, whether dates are divided by 365 or 365.25 days, and whether the yearly figure compounds or just divides the total by the years. Choose the year length in the options and read the working to see each step.
The number of days between the two dates is divided by 365, or by 365.25 if you choose that option. From 15 March 2022 to 15 March 2025 is 1,096 days, which is 3.0027 years on a 365-day year.
There is no single answer. It depends on how long the money was held, how much risk was taken, what else it could have earned and what fees and tax applied. A larger total ROI over a longer time can be a smaller yearly rate, so compare annualized figures and risk, not the total alone.