ROI calculator (return on investment)

This ROI calculator shows your return on investment as a percentage, the net gain in dollars, and the annualized ROI, so returns held for different lengths of time can be compared. ROI is the gain divided by what you put in: $2,000 that returns $2,600 is a 30% ROI. A rental property mode works it out from your rent, costs and loan payments.

  • Simple ROI and net gain, plus annualized ROI (CAGR) from years or exact dates
  • Rental property mode with cash-on-cash return, from your own numbers
  • Exact Excel formulas and an annualized ROI table

Last updated

Return on investment

$
$
years
months
Return on investment 30.00% ($2,600.00 − $2,000.00) ÷ $2,000.00 = 30.00%
Net gain
$600.00
Annualized ROI
14.02% a year
Money multiple
1.30×
Time held
2 years
If the return came from selling products, the margin calculator shows the profit on each sale.

Count fees, costs and any income such as dividends or rent in the amount returned. An estimate, not investment or tax advice.

How to use the ROI calculator

  1. Enter the amount you invested: the price you paid, plus any costs to buy, set up or run it.
  2. Enter the amount returned: what you sold it for or what it is worth now, plus any income it paid, minus selling fees.
  3. For a rental property, tick the rental box instead and enter your cash in, the rent, yearly costs, loan payments and the cash you get back at the end.
  4. Enter how long you held it in years and months, or tick the box to use start and end dates.
  5. Read the ROI and net gain. Use the annualized ROI to compare investments held for different lengths of time.

The ROI formula

Return on investment is the gain divided by the amount you put in, shown as a percentage. The gain is everything you got back minus what you invested, so include income such as dividends or rent and take off fees.

ROI = (amount returned − amount invested) ÷ amount invested × 100

Simple ROI ignores time: 30% in one year and 30% over five years look the same. The annualized ROI, also called the compound annual growth rate (CAGR), spreads the return evenly over the years so you can compare them.

annualized ROI = (amount returned ÷ amount invested)1 ÷ years − 1

This is the same annualized return formula FINRA uses in its investor guide. For periods shorter than a year, the annualized figure assumes the same rate would continue for a full year, so a short, lucky gain can look very large.

In rental property mode the amount returned is built from your own numbers:

cash flow each year = rent − costs − loan payments  ·  amount returned = cash flow × years + cash back at the end

The cash-on-cash return is the first year’s cash flow divided by the cash you put in. It ignores the cash back at the end, so it shows what the property pays each year, while the ROI covers the whole holding period. Loan payments here are the full payments you make each year, interest and principal. Because principal paid down comes back to you in the cash at the end, the cash you enter at the end should be the sale price minus the loan balance you still owe and any selling costs.

Worked example

You spend $2,000 on a heat press and blank shirts for your shop. Over 2 years the shirts you print bring in $2,600 after marketplace fees and shipping.

  1. Net gain: $2,600 − $2,000 = $600.
  2. ROI: $600 ÷ $2,000 = 0.30, so 30.00%.
  3. Money multiple: $2,600 ÷ $2,000 = 1.30×.
  4. Annualized ROI: 1.301 ÷ 2 − 1 = 1.1402 − 1 = 14.02% a year.

If the same $600 gain had come in 6 months, the ROI would still be 30%, but the annualized ROI would be 69.00% a year. That is why the time held matters when you compare two uses of the same money.

How do you calculate ROI in Excel?

Put the amount invested in A2 and the amount returned in B2, then type =(B2-A2)/A2 and format the cell as a percentage. With $2,000 in A2 and $2,600 in B2, Excel shows 30%. For the annualized ROI, put the years in C2 and type =(B2/A2)^(1/C2)-1, which shows 14.02% for 2 years.

What you wantExcel formulaResult for $2,000 to $2,600 in 2 years
ROI=(B2-A2)/A230.00%
Net gain=B2-A2$600.00
Money multiple=B2/A21.30×
Annualized ROI, years in C2=(B2/A2)^(1/C2)-114.02%
Annualized ROI with Excel’s RRI function=RRI(C2,A2,B2)14.02%
Annualized ROI from dates, start in D2 and end in E2=(B2/A2)^(365/(E2-D2))-114.02% (730 days)
Rental cash-on-cash return=(Rent-Costs-LoanPayments)/CashIn6.00% for the rental example below

RRI is Excel’s built-in function for the growth rate of an investment: RRI(nper, pv, fv) takes the number of periods, the present value and the future value, and returns the rate per period. Use years as the periods to get a yearly rate. The date formula divides by days, so it can differ slightly from this page’s exact-date count when the span includes a leap day. Include dividends, rent and fees in the amount returned, the same as on this page.

ROI for a rental property

Tick rental property mode and enter your own numbers: the cash you put in, the yearly rent, yearly costs, yearly loan payments, and the cash you get back at the end. With $50,000 in, $18,000 of rent, $5,400 of costs and $9,600 of loan payments a year, the cash flow is $3,000.00 a year, a 6.00% cash-on-cash return.

  1. Cash flow each year: $18,000 − $5,400 − $9,600 = $3,000.00.
  2. Cash-on-cash return: $3,000.00 ÷ $50,000 = 6.00%.
  3. Over 5 years the cash flow adds up to $15,000.00. If you then get back $60,000 after paying off the loan and selling costs, the amount returned is $75,000.00.
  4. ROI: ($75,000.00 − $50,000) ÷ $50,000 = 50.00%, or 8.45% a year.

Set the years to 5 and use the numbers above in rental mode to see the same results. The calculator does not suggest rents, costs, prices or growth rates: every figure comes from you. It leaves out income tax, tax benefits and the cost of your own time.

Annualized ROI for common total returns

The same total return means less the longer it took. A 50% ROI is 50% a year if it took one year, but only 4.14% a year if it took 10 years. Compare the annualized figure when the holding periods are different. A 100% ROI, which doubles your money, is 14.87% a year over 5 years and 7.18% over 10.

Total ROI1 year2 years3 years5 years10 years20 years
10%10.00%4.88%3.23%1.92%0.96%0.48%
25%25.00%11.80%7.72%4.56%2.26%1.12%
50%50.00%22.47%14.47%8.45%4.14%2.05%
100%100.00%41.42%25.99%14.87%7.18%3.53%
200%200.00%73.21%44.22%24.57%11.61%5.65%

Annualized ROI = (1 + total ROI)1 ÷ years − 1, the same formula the calculator uses.

How much will $10,000 invested be worth in 10 years?

At a steady 7% a year, compounded once a year, $10,000 grows to $19,671.51 in 10 years: $10,000 × 1.0710. That is an illustration of the math at one assumed rate, not a forecast. Real returns change from year to year and can be negative.

Rate a year (assumed)After 10 yearsAfter 20 years
3%$13,439.16$18,061.11
5%$16,288.95$26,532.98
7%$19,671.51$38,696.84
10%$25,937.42$67,275.00

$10,000 invested once, compounded yearly, before taxes, fees and inflation. Enter $10,000 and $19,671.51 over 10 years in the calculator and it shows a 96.72% ROI and 7.00% a year.

ROI for a small business or shop

ROI works for any spend you expect to earn back. What matters is counting the same things on both sides.

  • Inventory: invested is what you paid for the stock; returned is what you received from sales after platform fees and shipping. The eBay and Etsy fee calculators give the payout per sale.
  • Ad spend: invested is the ad cost; returned is the profit from the sales the ads brought in, not the revenue. $200 of ads that bring $1,000 of sales at a 30% margin return $300 of profit, a 50% ROI. Before you buy ads by the view, the CPM calculator shows the highest CPM your profit per order can pay.
  • Equipment: invested is the price plus setup; returned is the extra profit it earned plus what you could sell it for.

To check pricing on each sale, use the margin calculator or the markup calculator. To see how many sales pay back a fixed cost, use the break-even calculator.

Common questions

How do you calculate the ROI?

Subtract what you invested from what you got back, divide by what you invested, and multiply by 100. Invest $2,000 and get $2,600 back: ($2,600 − $2,000) ÷ $2,000 = 0.30, a 30% ROI.

How do you calculate ROI in Excel?

With the amount invested in A2 and the amount returned in B2, type =(B2-A2)/A2 and format the cell as a percentage. $2,000 in A2 and $2,600 in B2 gives 30%. For a yearly rate over 2 years, type =(B2/A2)^(1/2)-1 or =RRI(2,A2,B2), which both give 14.02%.

How do you calculate annualized ROI?

Divide the amount returned by the amount invested, raise it to the power of one over the years held, and subtract one. A 40% total ROI over 3 years is 1.40^(1/3) − 1 = 11.87% a year.

How do you calculate ROI on a rental property?

Add up your yearly cash flow (rent minus costs minus loan payments) over the years you hold it, add the cash you get back when you sell, subtract the cash you put in, and divide by the cash you put in. With $50,000 in, $3,000.00 a year of cash flow for 5 years and $60,000 back at the end, the ROI is 50.00%, or 8.45% a year.

What is cash-on-cash return?

It is one year of cash flow divided by the cash you invested. Rent of $18,000, minus $5,400 of costs and $9,600 of loan payments, leaves $3,000.00. On $50,000 of cash in, that is a 6.00% cash-on-cash return. It does not include what you get back when you sell.

How do you calculate ROI on a stock?

Add the change in value to any dividends, then divide by what you paid. FINRA’s example is 100 shares bought at $20 for $2,000 that rise to $25 and pay $120 in dividends over three years: ($500 + $120) ÷ $2,000 = 31%, which is 9.42% a year.

How much will $10,000 invested be worth in 10 years?

It depends on the return. At an assumed 7% a year, compounded yearly, it would be $19,671.51; at 5% it would be $16,288.95. These are illustrations of the math, not forecasts, and they are before taxes, fees and inflation.

What is a good ROI for a year?

There is no single number. A 1-year ROI is good if it beats what the same money could safely earn elsewhere, such as a savings account or Treasury bill, by enough to justify the risk. For example, $1,000 that becomes $1,080 is an 8% ROI; compare that with the rate you could get with no risk.

What is a good ROI for real estate?

It depends on the price, financing, rent, costs and local market, so compare a property with your own alternatives rather than a rule of thumb. Count rent minus all costs as income: a $200,000 property that nets $10,000 a year in rent after costs and sells for $220,000 after 5 years returns $70,000, a 35% ROI or 6.19% a year.

What is the difference between ROI and annualized ROI?

ROI is the total return over the whole time held. Annualized ROI is the yearly rate that would produce the same total if it compounded each year. A 30% ROI over 2 years is 14.02% a year.

Can ROI be negative?

Yes. If you get back less than you invested, the ROI is negative. Invest $1,000 and get back $800, and the ROI is −20%. The lowest it can go is −100%, when you get nothing back.

Sources

  • FINRA: Evaluating performance. Percent return = (change in value + income) ÷ investment amount, annualized return formula, and the $2,000 stock example (31%, 9.42% a year). Last checked 19 November 2026
  • Microsoft Support: RRI function. RRI(nper, pv, fv) returns an equivalent interest rate for the growth of an investment. Last checked 19 November 2026

See the methodology page for how Feecount builds and checks its calculators.