Back to Tools

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

Related Articles

Where this comes from

Sources

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