An ROI calculator measures return on investment: the profit from an investment as a percentage of its cost. The formula is ROI = (amount returned − amount invested) ÷ amount invested × 100. If you add the holding period, annualised ROI = (returned ÷ invested)^(1 ÷ years) − 1 shows the equivalent yearly rate.
How to use the ROI Calculator
- Enter the amount investedType the full cost of the investment, including fees and other costs.
- Enter the amount returnedType the final value or the total money that came back, including income received.
- Add the holding periodOptionally enter how many years the investment ran to get an annualised figure.
- Read the ROISee the ROI percentage, the net profit or loss and the annualised ROI.
How the ROI calculator works
Return on investment compares what you gained with what you spent. The ROI calculator uses the basic formula:
ROI = (amount returned − amount invested) ÷ amount invested × 100
Example: you invest 10,000 and get back 13,500. The net profit is 3,500 and the ROI is 3,500 ÷ 10,000 × 100 = 35%. If you got back 8,000 instead, the ROI would be −20%, a loss.
Basic ROI says nothing about time: 35% in one year is very different from 35% in ten. The annualised figure fixes that:
Annualised ROI = (returned ÷ invested)1 ÷ years − 1
For the example over 2 years, that is 1.350.5 − 1 = 16.19% a year. This is the same calculation as the CAGR calculator, which adds detail such as doubling time.
Getting a meaningful ROI
The formula is simple; choosing the right inputs is the hard part. To keep comparisons fair:
- Count every cost. Include fees, taxes paid, shipping, tools and the cost of your own time if it is relevant.
- Count every return. Include dividends, rent or interest received, not only the sale price.
- Compare like with like. Use the annualised ROI when the periods differ.
- Remember risk. A higher ROI often comes with a higher chance of loss, which the number does not show.
ROI is also used in business: for a new machine, a hire or a marketing campaign. For advertising spend specifically, the ROAS calculator compares revenue with ad cost, which is a related but different measure.
A worked business example: you spend 2,000 on equipment that returns 2,900 in total over three years. The net gain is 900, so the ROI is 900 ÷ 2,000 × 100 = 45%, and the annualised ROI is 1.451 ÷ 3 − 1, about 13.19% a year.
ROI treats all the money as invested on day one and returned at the end. For investments with many deposits and withdrawals along the way, a measure such as internal rate of return describes the result more accurately.
The results are estimates, not financial advice. Past returns do not guarantee future returns.
Frequently asked questions
What is the ROI formula?
ROI = (amount returned − amount invested) ÷ amount invested × 100. The ROI calculator shows the percentage and the net profit or loss.
What is annualised ROI?
It is the yearly rate that would give the same overall result: (returned ÷ invested)^(1 ÷ years) − 1. It lets you compare investments held for different lengths of time.
What is a good ROI?
There is no single answer. It depends on the risk, the time involved and what else you could have done with the money. Compare the annualised ROI with realistic alternatives.
Can ROI be negative?
Yes. If you get back less than you invested, the ROI is negative. Losing everything is an ROI of −100%.
What is the difference between ROI and ROAS?
ROI is based on profit after costs. ROAS (return on ad spend) divides revenue by advertising cost, so it does not subtract other costs.
Last updated 24 November 2026 by the TheTechFolk team.