Money
ROI Calculator
Enter what you invested and what it ended up worth to get ROI %, net gain and, if you add the time held, annualised ROI.
Result
Updates as you typeEnter the amount you invested and what it ended up worth to see your return.
What this calculates
Return on investment (ROI) tells you how much you gained or lost on an investment as a percentage of what you put in. A 50% ROI means you earned back your money plus half as much again.
Enter what you invested and either the final value (everything you ended up with) or your net profit. Add how long you held it and the calculator also gives an annualised ROI, so a 3-year result can be compared fairly with a 1-year one.
The formula
- Investment
- The total you put in, including purchase price, fees and setup costs.
- Final value
- The total you ended up with: sale proceeds plus any income received while you held it.
- Net gain
- Final value minus investment. Negative means a loss.
- Years
- How long you held the investment. Months are divided by 12, days by 365.
Assumptions
- Simple ROI ignores time. Use the annualised figure to compare investments held for different lengths.
- Annualised ROI is the compound annual growth rate (CAGR): the steady yearly rate that would produce the same final value.
- Annualising a period shorter than a year extrapolates the gain, so treat that figure as a comparison tool, not a forecast.
- Tax, inflation and the return you could have earned elsewhere are not included.
Worked example
You invest $10,000 and it is worth $15,000 when you sell. Separately, $10,000 grows to $14,400 over 2 years.
- 01Net gain = $15,000 − $10,000 = $5,000
- 02ROI = $5,000 ÷ $10,000 × 100 = 50%, which is 1.5× your money
- 03Two-year case: ROI = $4,400 ÷ $10,000 = 44%
- 04Annualised: (14,400 ÷ 10,000)^(1 ÷ 2) − 1 = 1.2 − 1 = 20% a year
A 50% ROI, and a 44% ROI over two years that annualises to 20% a year.
How to read the result
ROI answers 'was it worth it?' but not 'how fast?'. A 50% return in one year is far better than 50% in ten, which is why the annualised figure is worth checking whenever the holding periods differ.
Compare ROI with what else you could have done with the money, and with the risk you took. A return that beats a savings account by little may not justify a risky investment.
A total loss is a -100% ROI. A loss can never be bigger than 100% of what you invested, so the calculator rejects a net loss larger than the investment.
Common mistakes
- Leaving out fees, setup costs or upkeep. They belong in the amount invested or must be subtracted from the final value.
- Comparing the simple ROI of investments held for different lengths of time.
- Counting income (rent, dividends) in one investment but not another.
- Using ROI for marketing spend without margin. For ads, ROAS and profit after ad spend are usually the clearer measures.
Frequently asked questions
How do I calculate ROI?
What is annualised ROI?
What counts as 'final value'?
Can ROI be negative?
What is a good ROI?
Why can't I enter a zero investment?
Sources
- ROI formula (return on investment) — Corporate Finance Institute, checked 2026-10-07
Keep going
Related tools
- ROAS CalculatorCalculate return on ad spend as a multiple and a percentage, with break-even ROAS and profit after ad spend.
- Break-Even CalculatorFind the units and revenue you need to cover fixed costs, with an optional profit target and margin of safety.
- Profit Margin CalculatorWork out profit, margin and markup from cost and selling price, or the price you need for a target margin.
- Growth Rate CalculatorCalculate growth between two values, compound monthly growth rate, annualised growth and a what-if projection.