Investing & Retirement
ROI Calculator
Find out what an investment really returned once every fee and cost is counted, as a total ROI and in dollars, and as an annualized ROI per year when you add how long you held it.
Fees, commissions, closing costs and anything else you paid on top of the investment itself.
Add it to see the annualized ROI as well. Holdings under a year aren't annualized.
Your results will appear here
Enter what you invested, what it's worth now, and any extra costs. Add the time held for a yearly rate too. The ROI updates as you type.
Time matters
Total ROI vs annualized ROI
The same 23.81% ROI ($10,500 of total cost growing to $13,000) held for different lengths of time. The longer it took, the lower the yearly rate, and simply dividing by the years always overstates it.
| Held for | Annualized ROI | ROI ÷ years |
|---|---|---|
| 1 year | 23.81% | 23.81% |
| 2 years | 11.27% | 11.90% |
| 3 years | 7.38% | 7.94% |
| 5 years | 4.36% | 4.76% |
| 10 years | 2.16% | 2.38% |
| 20 years | 1.07% | 1.19% |
Comparing two investments
Investment A turned $5,000 into $7,500 over 5 years: a 50.00% ROI, or 8.45% a year. Investment B turned $5,000 into $6,500 over 2 years: only 30.00%, but 14.02% a year. B grew faster; A just had longer.
ROI, CAGR and average return
Annualized ROI uses the same formula as CAGR, with your costs included in the starting amount. For the growth rate between any two values, use the CAGR Calculator; for why an average of yearly returns isn't the same thing, read CAGR vs average return.
The method
How to calculate return on investment
Return on investment answers a simple question: for every dollar I put in, how much did I get back? It works for almost anything you spend money on expecting a return, including shares, funds, property, equipment or a marketing campaign.
The calculator adds any extra costs to your initial investment to get your total cost, subtracts that from the final value to get your net profit or loss, and divides by the total cost. If you enter how long you held the investment, it also works out the annualized ROI. Following the GIPS performance standards, holdings under a year aren't annualized.
The formulas
- Total cost = investment + costs
- Net profit = final value − total cost
- ROI = net profit ÷ total cost × 100
- Annualized = ((final ÷ total cost)1 ÷ years − 1) × 100
Worked example: fees included
$10,000 invested, with $500 of fees, now worth $13,000. Total cost = $10,500.00. Net profit = $2,500.00. ROI = 2,500 ÷ 10,500 × 100 = 23.81%. Without the fees it would have looked like 30.00%.
Worked example: a loss
$8,000 invested and now worth $6,900: a net loss of $1,100.00 and an ROI of -13.75%. The ROI can't fall below −100%, which means losing everything.
Other calculators. For a share trade with buy and sell fees, use the Stock Profit Calculator; for a fund with regular investments, the Mutual Fund Return Calculator. For a business's margin on each sale rather than the return on money invested, see the Profit Margin Calculator.
What you get
Key features
All costs counted
Fees, commissions and other outlays are added to what you invested, so the ROI reflects everything you spent.
Annualized ROI
Add how long you held the investment to see the yearly rate as well, so investments held for different times compare fairly.
Profit and percentage
See the net profit or loss in dollars alongside the ROI, so a big percentage on a small sum doesn't mislead you.
Losses and break-even
A loss shows in red down to −100%, and a result that comes to exactly zero is labelled break-even.
Read before relying on it
Assumptions
- The main ROI figure is a simple, total return, and doesn't take account of how long the money was invested. Enter the time held to see an annualized ROI as well.
- Holding periods under one year aren't annualized. Stretching a few months' result into a yearly rate assumes it would repeat, which the investment industry's GIPS performance standards don't allow.
- The annualized ROI treats your whole total cost as invested at the start. If some costs came later, such as maintenance or renovations, the true yearly rate is a little higher than shown.
- The final value is what the investment is worth now or what you sold it for. Income received along the way, such as dividends, rent or interest, isn't included unless you add it to the final value.
- If you borrowed to invest, this shows the return on the whole investment, not on your own cash. Figures aren't adjusted for inflation or tax unless you include those amounts yourself.
Questions
Frequently asked questions
Add any fees and costs to what you invested to get the total cost, take that away from the final value to get the net profit, then divide by the total cost and multiply by 100. $10,000 invested with $500 of fees, now worth $13,000: the profit is $2,500.00, and 2,500 ÷ 10,500 × 100 = 23.81%.
Divide the final value by the total cost, raise it to the power of 1 ÷ the years held, subtract 1 and multiply by 100. The 23.81% ROI above, earned over 5 years, is ((13,000 ÷ 10,500)^(1/5) − 1) × 100 = 4.36% a year. Enter the time held in the calculator to get it alongside the total ROI.
Because that ignores compounding. 23.81% over 5 years divided by 5 is 4.76% a year, but a steady 4.36% a year, compounded, is what actually turns $10,500 into $13,000. The simple average always overstates the yearly rate of a gain held for more than a year, and the gap grows with time.
ROI is the total gain or loss as a percentage of what you put in, over the whole holding period. Annualized ROI is the same calculation as CAGR (compound annual growth rate): the steady yearly rate between a starting and an ending value. The difference here is that ROI counts your fees and costs in the starting amount. An investment that gained 50% over 5 years (8.45% a year) did worse each year than one that gained 30% over 2 years (14.02% a year).
It depends on the risk you took and how long the money was tied up. A 23.81% ROI earned in one year is a strong result, but spread over five years it's 4.36% a year, and over ten years 2.16%. Compare the annualized ROI with what a lower-risk option would have paid over the same period.
Because leaving them out flatters the result. $10,000 that grows to $13,000 looks like a 30.00% ROI. If you also paid $500 in fees, your real cost was $10,500, your profit was $2,500.00 and your ROI was 23.81%. The more you trade or the higher the fees, the bigger the gap.
Enter the purchase price as the initial investment and put closing costs, renovation spending and other outlays in additional costs. For the final value, use the sale price minus selling costs, plus any rental income you collected after expenses if you want to include it. If you bought with a mortgage, the return on your own cash is different from this simple ROI, because borrowed money magnifies both gains and losses.
Yes, with one choice to make: enter the campaign or project cost as the initial investment and the gross profit it brought in (not the revenue) as the final value. A $2,000 campaign that brought in $5,000 of gross profit has an ROI of 150.00%. Using revenue instead would overstate the return, because it ignores the cost of what you sold.
Yes. A negative ROI means the final value is less than everything you put in. $8,000 that's now worth $6,900 is an ROI of -13.75%. The lowest possible figure is −100%, when the investment ends up worth nothing.
Related Articles
Keep going
Related calculators
- CAGR CalculatorThe steady yearly growth rate between two values over any period
- Mutual Fund Return CalculatorTotal gain or loss on a fund, and the yearly rate that matches it
- Stock Profit CalculatorProfit or loss on a share trade after buy and sell fees
- Profit Margin CalculatorGross margin from cost and price, or the price for a target margin
More tools like this are in Investment Calculators.
Where this comes from
Sources
Last reviewed: October 2026. Built and maintained by FinCalcBox; see About.
