Back to Tools

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.

Annualized ROI and simple yearly average of a 23.81% total ROI over different holding periods
Held forAnnualized ROIROI ÷ years
1 year23.81%23.81%
2 years11.27%11.90%
3 years7.38%7.94%
5 years4.36%4.76%
10 years2.16%2.38%
20 years1.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

Related Articles

Where this comes from

Sources

Last reviewed: October 2026. Built and maintained by FinCalcBox; see About.