Investing & Retirement
ROI Calculator
Find out what an investment really returned once every fee and cost is counted, as a percentage and in dollars.
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.
The method
How it works
Return on investment (ROI) 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. Counting costs is what makes the figure honest: a gain that looks good before fees can look much smaller once everything you paid is included.
If you enter how long you held the investment, the calculator also works out the annualized ROI: the steady yearly rate that would turn your total cost into the final value over that time. It's the same formula as CAGR. Following the GIPS performance standards, holdings under a year aren't annualized, and you see the total ROI only.
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
$10,000 invested, with $500 of fees, now worth $13,000. Total cost = $10,500. Net profit = $13,000 โ $10,500 = $2,500. ROI = 2,500 รท 10,500 = 23.81%. Without the fees it would have looked like 30%.
Why time matters
ROI ignores how long the money was invested. That same 23.81% is a strong result over one year, but over five years it works out to about 4.36% a year, and over ten years about 2.16% a year. Enter the time held and the calculator shows the annualized ROI alongside the total.
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.
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.
Annualized ROI
Add how long you held the investment to see the yearly rate as well. Holdings under a year show the total only, following industry performance standards.
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 additional costs are added to the initial investment. Include everything you paid to get in and out: purchase fees, commissions, closing costs, maintenance and selling costs.
- The final value is what the investment is worth now or what you sold it for, after any selling costs you haven't already entered as costs. 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.
ROI is a snapshot of one investment. It's most useful for comparing options over similar time periods.
Questions
Frequently asked questions
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 only about 4.36% a year, and over ten years about 2.16%. To compare investments held for different lengths of time, enter the time held in the calculator to get an annualized ROI for each, then compare that 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% ROI. If you also paid $500 in fees to buy and hold it, your real cost was $10,500, your profit was $2,500 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.
Include everything you paid to make and exit the investment: purchase fees, commissions, closing costs, maintenance and selling costs. Leaving costs out makes the ROI look better than it was. If you want an after-tax figure, add the tax you paid on the gain as well.
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.
ROI measures the total gain or loss as a percentage of what you put in, over whatever period you held the investment. Annualized ROI, the same calculation as CAGR, converts that into a steady yearly rate, which makes it fair to compare investments held for different lengths of time. You don't need a separate calculator for it: enter the time held here and both figures are shown. For $10,000 plus $500 of costs growing to $13,000 over five years, the total ROI is 23.81% and the annualized ROI is 4.36% a year. Holdings of less than a year show the total only, because annualizing a short period assumes the result would repeat.
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.
