1. Home
  2. Calculators
  3. ROI calculator
Return on investment

ROI calculator

Was it worth it? Enter what went in and what came out to get return on investment, and the yearly rate if it took a while.

Return on investment
–
–Gain or loss
–Annualized ROI
–Money multiple

How to use the roi calculator

  1. Enter the total amount you put in. Include fees, shipping or setup costs, since they're part of the cost.
  2. Enter what you got back: the sale price, the current value, or the revenue the spend produced.
  3. Optionally add how many years it took, to see the annualized ROI.
  4. Read the ROI percentage, the gain in dollars, and the formula with your numbers in it.

The ROI formula

Return on investment compares what you gained to what you spent:

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

Invest $10,000, get back $14,500, and the gain is $4,500. Divide by $10,000 and ROI is 45%. A negative ROI means you lost money: put in $10,000, get back $8,000, ROI is −20%.

Why annualized ROI matters

A 45% return sounds great. Over 3 years it's about 13.2% a year. Over 15 years it's about 2.5% a year, which barely keeps up with inflation. Annualized ROI (also called the compound annual growth rate, or CAGR) puts investments of different lengths on the same footing:

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

Use it whenever you compare two options that ran for different lengths of time.

Using ROI for marketing and business

The same formula works for ad spend, equipment or a course you bought. For marketing, a common version uses gross profit rather than revenue in the "returned" box, because revenue ignores the cost of the product you sold. If an ad campaign cost $2,000 and produced $5,000 in sales with $3,000 of gross profit, ROI on revenue is 150% but ROI on profit is 50%. The second number is the honest one.

ROI also skips risk and effort. Two projects with the same ROI aren't equal if one took far more of your time. For a company-level profitability view, try the EBITDA calculator.

ROI examples

InvestedReturnedYearsROIPer year
$1,000$1,200120%20%
$10,000$14,500345%13.2%
$5,000$10,00010100%7.2%
$2,000$1,5002−25%−13.4%

Planning long-term savings instead? The retirement calculator projects growth with monthly contributions.

Frequently asked questions

How do you calculate ROI?

Subtract the amount invested from the amount returned, divide by the amount invested and multiply by 100. That's ROI as a percentage.

What is a good ROI?

It depends on the risk and the time it took. Compare annualized ROI against what a simple alternative, like an index fund or a savings account, would have paid over the same period.

What is annualized ROI?

The yearly rate that would turn your starting amount into your ending amount over the time you held it. It's also called CAGR.

Can ROI be negative?

Yes. A negative ROI means you got back less than you put in.

What does ROI stand for?

Return on investment.

Is ROI the same as profit?

No. Profit is a dollar amount. ROI is profit divided by what you invested, so it tells you how hard the money worked.

Related guides

Related tools

See everything in Calculators →

More free calculators, same plain working

Every DoesWhat calculator shows how it got the answer, runs in your browser and never asks for an email.

Browse all calculators