Money
ROI calculator
Enter what you put in, what you got back, and how long you held it. You get total return and the yearly rate that matches it.
What this means
- You gained $1,500.00, a 30.00% return.
- Spread over 3 years, that matches 9.14% a year, compounded.
- ROI ignores time. Annualized return lets you compare holdings of different lengths.
What if
About this calculator
What this calculator does
It measures how much an investment earned or lost compared with what you put in. With a holding period, it also finds the steady yearly rate that gives the same result.
How it is calculated
ROI = (returned - invested) / invested * 100
annualized = ((returned / invested)^(1 / years) - 1) * 100
How to read the result
A positive ROI is a gain and a negative one is a loss. Annualized return is the compound annual growth rate, often called CAGR.
Sources and method
Standard arithmetic with no outside data. The formula is shown under How it is calculated, and unit tests check worked examples, including edge cases.
This page uses arithmetic only, with no outside data.
Questions
What is a good ROI?
It depends on the risk and the time held. Compare annualized returns, not raw ROI, when holding periods differ.
Does ROI include fees?
Only if you include them. Add fees to the invested amount or subtract them from the returned amount.
Why is annualized return lower than ROI divided by years?
Annualized return compounds. A 30% gain over 3 years is about 9.1% a year, not 10%.
Can I use this for a business project?
Yes. Use total cost as invested and total benefit as returned.