This ROI calculator measures how much an investment earned or lost relative to its cost. Enter what you invested, what you got back (or what it is worth now) and, optionally, how many years you held it. You get the net profit in dollars, the total return on investment and the annualized ROI, which lets you compare investments held for different lengths of time.
Formula
ROI = (Final value − Investment) ÷ Investment × 100. Annualized ROI = (Final value ÷ Investment)^(1/years) − 1.
How it works
ROI measures how much you gained or lost relative to what you put in. Because a 35% return over two years is not the same as 35% in one year, the calculator also annualizes the result with compound growth, so you can compare investments held for different periods. If you leave the period at 0, the annualized figure equals the total ROI.
How to calculate ROI step by step
1) Net profit = final value minus amount invested. 2) ROI = net profit ÷ amount invested × 100. 3) To annualize, divide the final value by the investment, raise it to the power 1 ÷ years and subtract 1.
Include every cost in the amount invested (purchase price, fees, commissions, setup costs) and every benefit in the final value (sale price, dividends, rent received, savings generated). ROI is only as good as the numbers you put into it.
Worked example: $10,000 that becomes $13,500 in 2 years
You invest $10,000 and two years later it is worth $13,500. Net profit is $3,500, so ROI = 3,500 ÷ 10,000 = 35%. The annualized ROI is (13,500 ÷ 10,000)^(1/2) minus 1 = 16.19% a year. These are the calculator's default values.
The annualized figure is lower than 35% ÷ 2 = 17.5% because returns compound: 16.19% in the first year on $10,000 and 16.19% in the second year on the larger balance add up to 35%.
ROI versus annualized ROI, CAGR and other metrics
Total ROI ignores time. A 35% return in 2 years is far better than 35% in 10 years, and only the annualized number shows it. Annualized ROI is mathematically the same as the CAGR, the compound annual growth rate.
ROI also ignores the timing of cash flows in between. For projects with many inflows and outflows, finance teams use net present value (NPV) and internal rate of return (IRR). For a single amount growing at a known rate, the compound interest calculator shows the path year by year.
Tips and common mistakes
Leaving out costs is the most common error: trading commissions, management fees, closing costs on real estate, or your own time on a side business. Taxes matter too; compare after-tax ROI when the investments are taxed differently, such as a 401(k) versus a taxable brokerage account.
A negative ROI means you lost money: $5,000 that becomes $4,000 is minus 20%. Also beware of very short periods: annualizing a 5% gain over one month gives about 80% a year, which is rarely repeatable. Treat results as estimates, not predictions. For business decisions, pair ROI with the break-even calculator.
Frequently Asked Questions
- What is a good ROI?
- It depends on risk and time. Compare the annualized ROI with a safe alternative such as Treasury bills or a high-yield savings account; a riskier project should beat that by a clear margin.
- What is the ROI formula?
- ROI = (final value minus cost) ÷ cost × 100. Investing $10,000 and getting back $13,500 gives (13,500 minus 10,000) ÷ 10,000 = 35%.
- What is a good ROI?
- Compare it with a low-risk benchmark over the same period, such as Treasury bills or a high-yield savings account, and with the long-run return of a broad stock index. A riskier investment should offer a clearly higher annualized ROI.
- How do I calculate ROI for marketing?
- Use the gross profit generated by the campaign, not the revenue, as the gain. If $2,000 of ads produced $8,000 of sales at a 40% margin, the profit is $3,200 and the ROI is (3,200 minus 2,000) ÷ 2,000 = 60%.
- Can ROI be more than 100%?
- Yes. ROI above 100% means you more than doubled your money. $1,000 that becomes $2,500 has an ROI of 150%.