How to use the ROI calculator
Type the amount you invested and what it is worth now. The calculator shows the ROI, the gain or loss and, if you type how long you held it, the annualized ROI. You can type the gain or the ROI instead of the final value, and if you leave out the amount invested, any two of the other three are enough.
Under Go advanced you can use two dates instead of a length of time, subtract fees and tax or add income, add money along the way (weekly to yearly), find out what return you needed, and compare up to three investments on one chart. The Rental property and Marketing tabs work out the cap rate and cash-on-cash ROI of a rental and the ROI of a campaign.
The ROI formula
Worked example: $1,000 becomes $2,000 in 4 years
| Step | Amount |
|---|---|
| Amount invested | $1,000.00 |
| Final value | $2,000.00 |
| Gain | $1,000.00 |
| ROI | 100.00% |
| Time | 4 years |
| Annualized ROI | 18.92% |
| Same ROI in 2 years | 41.42% a year |
A loss works the same way: $1,000 that ends at $800 is an ROI of −20.00%, or −10.56% a year over 2 years.
Comparing investments: use the annualized ROI
| Investment | ROI | Per year |
|---|---|---|
| $1,000 to $1,150 in 1 year | 15.00% | 15.00% |
| $600 to $800 in 3 years | 33.33% | 10.06% |
The second investment has the bigger total ROI but the smaller yearly rate. The yearly rate is the fair comparison because it removes the effect of time.
Fees, income, tax and added money
A simple ROI uses the amount you put in and the final value. Real investments also pay income, cost fees and are taxed. For $10,000 that grows to $13,000 with $200 of dividends, $150 of fees and 15% tax on the gain, the final value after costs and tax is $12,592.50, an ROI of 25.92% instead of 30.00%. Write down what you included: the Wikipedia article on ROI points out that the simple formula leaves that choice to the user.
If you add money along the way, the total put in is the starting amount plus every payment. $1,000 plus $100 a month for 5 years that ends at $9,000 puts in $7,000, an ROI of 28.57% and a yearly rate of 8.95%. To reach 10% a year on $10,000 over 5 years you would need to end with $16,105.10.
Rental property ROI
Two measures are common. The cap rate is the net operating income (rent after vacancy and expenses, before any loan) divided by the price. Cash-on-cash ROI is the yearly cash flow after the loan payments divided by the cash you put in, which is the down payment (or the whole price) plus closing costs and repairs.
| $250,000 property, $1,800 rent a month | Amount |
|---|---|
| Rent a year after 5% empty | $20,520 |
| Expenses a year ($600 a month) | $7,200 |
| Net operating income | $13,320 |
| Cap rate | 5.33% |
| Loan of $200,000 at 6.5% for 30 years | $1,264 a month |
| Cash flow after the loan | −$1,850 |
| Cash you put in ($50,000 plus $8,000) | $58,000 |
| Cash-on-cash ROI | −3.19% |
Paid in cash the same property has a cash-on-cash ROI of 5.16% on $258,000. The loan raises or lowers the return depending on whether the property earns more than the loan costs.
Marketing ROI
Marketing ROI is the profit a campaign made after its cost, divided by the cost. With $5,000 spent, $20,000 of revenue and a 40% margin the profit is $3,000 and the ROI is 60.00%. ROAS, revenue divided by spend, is 4.00 for the same campaign: it ignores the margin, so a campaign can have a good ROAS and a poor ROI. The campaign breaks even at $12,500 of revenue.
ROI in Excel and Google Sheets
What ROI does not tell you
ROI has no time in it, so always look at the annualized ROI too. It says nothing about risk, and it depends on what you count as cost and income. Two people can get different ROIs for the same investment. For money added or taken out at different dates use the yearly rate with payments, and for a long-term plan the compound interest calculator shows how a return grows.
Related tools
To turn a percentage change into a value use the percentage change calculator; for the margin on a sale the profit margin calculator; for retirement savings the Roth IRA calculator.
Sources
- Wikipedia, “Return on investment”: ROI is the ratio between net income or profit and the cost of the investment; it is not time-adjusted, and the simplicity of the formula lets users choose which costs and income to include (read 2026-12-03).
- Wikipedia, “Compound annual growth rate”: CAGR = (end value ÷ start value)^(1 ÷ years) − 1, and Excel’s RRI(nper, pv, fv) function returns the same rate (read 2026-12-03). The annualized ROI on this page uses the same formula.
- Wikipedia, “Capitalization rate”: the cap rate is annual net operating income divided by the property’s current value or price, and definitions vary in what counts as income and costs (read 2026-12-03).
- The feature set was compared with the ROI calculators of calculator.net, Omnicalculator, CalculatorSoup and GigaCalculator, opened on 2026-12-03. Investopedia, NerdWallet and Bankrate were not opened.
An estimate for planning, not tax or investment advice. Past returns do not predict future returns. Rental figures ignore appreciation, loan principal paid down, depreciation and income tax; the yearly rate is calculated with 365.25 days a year.
Common questions
How do you calculate ROI?
ROI = (final value − amount invested) ÷ amount invested, shown as a percentage. Putting in $1,000 and getting back $2,000 gives (2,000 − 1,000) ÷ 1,000 = 100.00%. A negative result is a loss: $1,000 that ends at $800 is −20.00%.
What is annualized ROI?
It restates the total ROI as a yearly rate so that a short and a long investment can be compared: (1 + ROI)^(1 ÷ years) − 1. A 100.00% ROI over 4 years is 18.92% a year; the same ROI over 2 years would be 41.42% a year.
What is a good ROI?
It depends on the risk and the time. A total ROI means little without the time: compare the annualized ROI of the options, and compare it with what a low-risk alternative would have paid over the same period. No single number is good for every investment.
Can I find the ROI from the gain or the final value?
Yes. Type any two of the amount invested, the final value, the gain and the ROI and the calculator works out the rest. With the amount invested typed, the final value is used first, then the gain, then the ROI. Without it, two of the other three are enough.
How do fees, income and tax change the ROI?
Under Go advanced you can add income you received (dividends, rent), fees and costs, and the tax rate on the gain. For $10,000 that grows to $13,000 with $200 of dividends, $150 of fees and 15% tax on the gain, the final value after costs and tax is $12,592.50 and the ROI is 25.92%, not 30.00%.
How do I compare two investments?
Compare the annualized ROI, not the total. $1,000 that becomes $1,150 in 1 year is 15.00% (15.00% a year); $600 that becomes $800 in 3 years is 33.33% (10.06% a year). The first is the better yearly return even though its total ROI is lower. Under Go advanced add up to two more investments and the calculator ranks them.
How is ROI worked out when I add money along the way?
Add the amount and how often (weekly to yearly) under Go advanced. The total put in is the starting amount plus every payment, and the yearly rate is the one that makes each payment grow to the final value from the day it went in. $1,000 plus $100 a month for 5 years that ends at $9,000 puts in $7,000 and has an ROI of 28.57%, a yearly rate of 8.95%.
What is rental property ROI?
Two numbers are common. The cap rate is the net operating income (rent after vacancy and expenses, before the loan) divided by the price. Cash-on-cash ROI is the yearly cash flow after the loan payments divided by the cash you put in. For a $250,000 property that rents for $1,800 a month with $600 of monthly expenses and 5% vacancy, the cap rate is 5.33%; with a $50,000 down payment on a 6.5% 30-year loan and $8,000 of closing costs the cash-on-cash ROI is −3.19%.
What is marketing ROI?
It is the profit a campaign made after its cost, divided by the cost. $5,000 of spend that brought in $20,000 of revenue at a 40% margin made $3,000 of profit, an ROI of 60.00%. ROAS, revenue divided by spend, is 4.00 for the same campaign.
How do I calculate ROI in Excel or Google Sheets?
With the amount invested in A2 and the final value in B2, type =(B2-A2)/A2 and format the cell as a percentage. For the yearly rate over C2 years use =(B2/A2)^(1/C2)-1, or =RRI(C2,A2,B2), which returns the same value.
What is the difference between ROI and rate of return?
The two are often used for the same thing. ROI is usually the total gain on the cost, with no time attached; a rate of return is stated per period, such as a year. The annualized ROI on this page is the rate per year.
What does ROI leave out?
Time (unless you annualize it), risk, and anything you do not count: different people include different costs and income, which is why two ROI figures for the same investment can differ. Write down what you included. For money added or taken out at different dates, use the yearly rate with payments under Go advanced.