Free tool. Runs in your browser. Nothing is uploaded.

ROI Calculator

Enter what you put in and what you got back. You get the net profit, the return on investment as a percentage, and the annualized ROI if you add a time period.

Calculate your return on investment

The total that came back, including your original amount. Not just the profit.

Decimals work. 18 months is 1.5.

Your result

Net profit
Enter your numbers
Return on investment (ROI)
 
Annualized ROI
Add a time period to see this

How ROI is calculated

Return on investment compares what you got back with what you put in. Take the amount returned, subtract the amount invested, and divide the difference by the amount invested. Multiply by 100 to write it as a percentage.

ROI

ROI = (Amount returned - Amount invested) / Amount invested x 100

Invest 1,000 and get 1,350 back. The net profit is 350. Divide 350 by 1,000 and you get 0.35, which is an ROI of 35%.

Annualized ROI

Annualized ROI = ((Returned / Invested)1 / Years - 1) x 100

Same numbers over three years: 1,350 / 1,000 = 1.35. The cube root of 1.35 is 1.1052, so the investment grew 10.52% a year.

The one thing people get wrong is the second input. Amount returned is the total that came back, including the money you started with. If you already know the profit, add it to the amount invested first. A 350 profit on 1,000 means you enter 1,350, not 350.

Costs belong on the invested side. Fees, commissions, closing costs, taxes you paid to get in, and anything else you spent to make the investment happen all raise the amount invested and lower the ROI. Leaving them out makes a deal look better than it was.

ROI vs annualized ROI

Plain ROI has no sense of time. A 35% return sounds the same whether it took one year or ten, but the two are very different outcomes. Annualized ROI fixes that by converting the total return into a steady yearly rate, as if the money had compounded evenly over the whole period. It is the same calculation as compound annual growth rate (CAGR).

The same 35% total return, spread over different holding periods
Years heldAmount investedAmount returnedROIAnnualized ROI
11,0001,35035.00%35.00%
21,0001,35035.00%16.19%
31,0001,35035.00%10.52%
51,0001,35035.00%6.19%
101,0001,35035.00%3.05%

Use plain ROI when you compare deals that ran for the same length of time, or when you only care about the total gain. Use annualized ROI when the periods differ, or when you want to compare an investment against a yearly figure such as a savings rate or an index return.

Be careful with periods shorter than a year. Annualizing assumes the result repeats, so a 5% gain in one month becomes 79.59% a year. That is a forecast dressed up as a result. For short periods, report the plain ROI and say how long it took.

Worked ROI examples

Three common cases, each worked through by hand. The figures are chosen to make the arithmetic easy to follow. They are not data about real properties, campaigns or degree programs, and they ignore taxes and inflation.

Rental property ROI

Buy a house for 200,000 and spend 20,000 on closing costs and repairs. It rents for 24,000 a year and costs 9,000 a year to run. After five years you sell it for 260,000.

  • Amount invested: 200,000 + 20,000 = 220,000
  • Net rent per year: 24,000 - 9,000 = 15,000
  • Amount returned: 260,000 + (5 x 15,000) = 335,000
  • Net profit: 335,000 - 220,000 = 115,000
  • ROI: 115,000 / 220,000 = 52.27%
  • Annualized over 5 years: 1.52271/5 - 1 = 8.77%

Rent alone returns 6.82% a year on the cash put in. The sale adds the rest.

With a mortgage, use only the cash you paid as the amount invested and subtract loan payments from the rent. The percentage usually goes up and so does the risk.

Marketing campaign ROI

Spend 5,000 on ads. The campaign brings 180 sales. Each sale is 150 in revenue and 60 in gross profit after the cost of the product.

  • Amount invested: 5,000
  • Gross profit from the campaign: 180 x 60 = 10,800
  • Net profit: 10,800 - 5,000 = 5,800
  • ROI: 5,800 / 5,000 = 116%

Revenue was 27,000, so ROAS is 5.4x. ROI is 116%. Both are right, but they answer different questions.

Use gross profit, not revenue, as the amount returned. A campaign that brings in 27,000 of revenue on products with no margin has an ROI of -100%, no matter how good the ROAS looks. One month is too short to annualize.

MBA ROI

Two years of tuition and fees cost 120,000. During those two years you give up a 70,000 salary, so 140,000 in forgone income. Afterwards you earn 110,000 instead of 70,000, and you count ten years of that raise.

  • Amount invested: 120,000 + 140,000 = 260,000
  • Extra income per year: 110,000 - 70,000 = 40,000
  • Amount returned: 10 x 40,000 = 400,000
  • Net profit: 400,000 - 260,000 = 140,000
  • ROI: 140,000 / 260,000 = 53.85%
  • Annualized over 12 years: 1.53851/12 - 1 = 3.66%

The total looks big. Spread over twelve years it is modest.

The result swings on the salary gap and on how many years you count. Raises you would have earned anyway are not part of the return.

Common ROI mistakes

  1. Entering the profit as the amount returned. If you invested 1,000 and made 350, the amount returned is 1,350. Typing 350 gives -65%, which is wrong.
  2. Using revenue instead of profit. Revenue divided by cost is return on ad spend, not ROI. Only the profit on each sale counts as money that came back.
  3. Ignoring time. 35% over seven years is 4.38% a year. Always note the holding period, or use the annualized figure when periods differ.
  4. Leaving costs out. Closing costs, fees, commissions, repairs, software, and the value of your own time all belong in the amount invested.
  5. Annualizing a short run. One good month multiplied by twelve is a projection. Report short results as plain ROI and state the period.
  6. Treating equal ROI as equal deals. ROI is a ratio. It says nothing about risk, liquidity, or how much effort the return took. Two deals with the same percentage can be very different bets.

ROI calculator FAQ

What is a good ROI?

There is no universal number. A good ROI is one that beats what the same money could have earned elsewhere at a similar level of risk, over the same period. A 10% return on a safe, one-year deal and a 10% return on a risky, five-year deal are not equal. Compare ROI only against alternatives with similar time frames and risk. This calculator reports the figure; it does not judge it.

How do I calculate ROI in Excel?

Put the amount invested in B3 and the amount returned in B4. In another cell type =(B4-B3)/B3 and format it as a percentage. For annualized ROI with the number of years in B5, use =(B4/B3)^(1/B5)-1. The Download as Excel button on this page creates an .xlsx file with your numbers and these formulas already in place.

What is the difference between ROI and ROAS?

ROAS (return on ad spend) divides revenue by ad spend and is usually written as a multiple, such as 5.4x. ROI divides profit by total cost and is written as a percentage. Because ROAS uses revenue rather than profit, it is always higher than ROI for the same campaign. A campaign can have a healthy ROAS and a negative ROI if margins are thin.

Can ROI be negative?

Yes. ROI is negative whenever the amount returned is lower than the amount invested. The lowest possible ROI is -100%, which means nothing came back at all. If you invested 1,000 and got 800 back, the ROI is -20%.

Is annualized ROI the same as CAGR?

They use the same formula: (ending value / starting value) ^ (1 / years) - 1. CAGR (compound annual growth rate) is the usual name when describing how an investment or a business metric grew. Annualized ROI is the same idea applied to a return. Both express a total gain as a steady yearly rate, as if the growth had compounded evenly.

How do I calculate ROI on a rental property?

Count every dollar you put in as the amount invested: purchase price, closing costs and repairs. Count every dollar that came back as the amount returned: rent after expenses for each year you held it, plus the sale price when you sold. If you used a mortgage, use only the cash you actually paid as the amount invested and subtract mortgage payments from the rent. The worked example above walks through a five-year hold.

Does the calculator store my numbers?

No. The math runs in your browser and nothing you type is sent to a server. The Excel and CSV downloads are also generated on your device.

Can I use months instead of years for the time period?

Enter the period as a decimal number of years: 18 months is 1.5, six months is 0.5, one month is 0.0833. Be careful with periods under a year. Annualizing a one-month result assumes the same gain repeats twelve times, which turns a 5% monthly gain into 79.59% a year. That is a projection, not something that happened.