How to use the roi calculator
- Enter the total amount you put in. Include fees, shipping or setup costs, since they're part of the cost.
- Enter what you got back: the sale price, the current value, or the revenue the spend produced.
- Optionally add how many years it took, to see the annualized ROI.
- 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
| Invested | Returned | Years | ROI | Per year |
|---|---|---|---|---|
| $1,000 | $1,200 | 1 | 20% | 20% |
| $10,000 | $14,500 | 3 | 45% | 13.2% |
| $5,000 | $10,000 | 10 | 100% | 7.2% |
| $2,000 | $1,500 | 2 | −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
- How to calculate ROIThe ROI formula, annualized ROI, and the mistakes that make ROI look better than it is.
- How much do I need to retire?A practical way to estimate your retirement number, and the assumptions behind it.
- EBITDA vs. net incomeWhat each profit measure includes, when to use which, and how to get from one to the other.
Related tools
Retirement calculator
See what your savings could grow to and the monthly income it might pay.
Capital gains tax calculator
Tax on a stock, crypto or property sale, long-term or short-term, for 2026.
EBITDA calculator
Work out EBITDA and EBITDA margin from net income or operating income.
Amortization calculator
Monthly payment and a full month-by-month loan schedule you can download.
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.