ROI Calculator
Calculate the return on investment from what you put in and what you got back, including fees — with net profit, the investment multiple, the annualized return (CAGR) over any period or between two dates, and the final value a target ROI needs.
Processed locally in your browser — nothing is uploaded.
ROI Calculator
Sale proceeds, or what it's worth now, including income received.
Optional: commissions, closing costs, repairs.
How long you held it (optional, for annualized ROI)
Results
- ROI
- +50%
- Net profit
- $5,000.00
- Total invested
- $10,000.00
- Investment multiple
- 1.5×
Net profit as a share of everything you put in.
Target return (optional)
The ROI you want, to see what the investment must return.
About ROI Calculator
Enter how much you put into an investment and how much you got back — the sale price, or what it's worth today — and the calculator works out the return on investment: the profit as a percentage of what it cost. It also shows the net profit or loss, the total you put in once costs and fees are added, and the investment multiple (how many times over your money came back).
Add how long you held the investment, either as a length in years, months, or days or as a start and end date, and it also gives the annualized ROI: the steady yearly return that would have turned the same money into the same result. That's the figure to use when comparing investments held for different lengths of time.
The ROI formula
ROI = (amount returned − total invested) ÷ total invested × 100
Total invested is the amount you put in plus any costs and fees you enter: brokerage commissions, closing costs, repairs, or the cost of running a campaign. Leaving them out makes the return look better than it was. The amount returned should include any income the investment paid you along the way, such as dividends or rent, if you didn't reinvest it.
Annualized ROI
A 50% return is excellent over one year and modest over ten. Annualized ROI accounts for that by asking what yearly rate, compounded, gets from the total invested to the amount returned:
Annualized ROI = (amount returned ÷ total invested) ^ (1 ÷ years) − 1
This is the same calculation as the compound annual growth rate (CAGR). With dates, the period is the number of days between them divided by 365.25. For periods shorter than a year, the annualized figure assumes the same return would keep compounding for the rest of the year, which can make a short-term gain look very large.
Target ROI
Enter a target ROI to see the amount the investment would need to return to reach it, the profit that represents, and — if you entered a holding period — the annual return that would take.
Example
Input
Amount invested $10,000 · Amount returned $15,000 Costs and fees $500 · Held for 3 years
Output
ROI +42.86% · Net profit $4,500.00 Total invested $10,500.00 · Multiple 1.429× Annualized ROI +12.62%
The $500 in fees counts as part of the investment, so the profit is $15,000 − $10,500 = $4,500, and 4,500 ÷ 10,500 = 42.86%. Spread over three years, that's 12.62% a year, compounded.
Common uses
- Work out the return on a stock, fund, or crypto trade after commissions
- Measure the return on a rental property or a house flip, counting closing costs and repairs
- Judge a marketing campaign, piece of equipment, or software purchase by what it earned
- Compare two investments held for different lengths of time by their annualized return
Limitations
- It treats the investment as one payment in and one amount out. Regular contributions or withdrawals along the way need a money-weighted measure such as IRR or XIRR, which this doesn't calculate.
- Taxes and inflation aren't included. Enter the after-tax amount returned if you want an after-tax ROI.
- ROI says nothing about risk. Two investments with the same ROI can have had very different chances of losing money.
Frequently asked questions
How do I calculate ROI?
Subtract what the investment cost from what it returned, divide by the cost, and multiply by 100. If you invested $10,000 and got back $15,000, the profit is $5,000 and the ROI is 5,000 ÷ 10,000 × 100 = 50%. Include fees and other costs in the cost: with $500 of fees, the ROI is 4,500 ÷ 10,500 = 42.86%.
What is a good ROI?
It depends on the risk and how long the money is tied up, which is why the annualized figure matters more than the total. As a rough benchmark, broad stock-market index funds have historically returned somewhere around 7–10% a year before inflation over long periods, and an insured savings account pays much less with far less risk. An investment with more risk should be expected to return more.
What's the difference between ROI and annualized ROI?
ROI is the total return over the whole time you held the investment. Annualized ROI spreads it into an equivalent yearly rate, compounded. A 50% ROI over three years is about 14.47% a year, because 1.1447 × 1.1447 × 1.1447 ≈ 1.5. Use annualized ROI to compare investments held for different lengths of time.
Is annualized ROI the same as CAGR?
Yes, for a single amount invested at the start and a single amount at the end. Both are (ending value ÷ starting value) raised to the power of 1 ÷ years, minus 1. CAGR is the name more often used for the growth of a business's revenue or a fund's value; annualized ROI is the same calculation applied to an investment's return.
Can ROI be negative?
Yes. If you got back less than you put in, the net profit is negative and so is the ROI. Investing $1,000 and getting back $800 is a −20% ROI. The lowest possible ROI is −100%, when the investment is worth nothing — unless borrowed money or extra costs mean you lose more than you put in.
How do I calculate ROI on a rental property?
Add up everything you put in — the down payment, closing costs, and repairs — as the amount invested and costs. For the amount returned, use what you'd get from selling (after selling costs and paying off the mortgage) plus the rent you've received after expenses. Enter the years you've owned it to see the annualized return.