ROI Calculator (Return on Investment)

See the return on an investment as a percentage and a yearly rate.

Last updated 2026-11-21 · How we calculate this

Enter the Amount Invested and Returned

Currency labels your figures; it does not convert exchange rates.

$
Everything you put in, including any fees or costs you paid.
$
What you got back, or what it is worth now, plus any income it paid you.
years
Optional. Add it to see the yearly rate. 1.5 means a year and a half.

Return on Investment

Enter the amount invested.

The calculator uses the two amounts you enter and assumes any growth compounds once a year. It does not account for money added or taken out along the way, taxes, inflation or risk, and a past return does not predict future results.

Quick Answer

ROI (return on investment) is your gain or loss as a percentage of what you put in. Subtract the amount invested from the amount returned, divide by the amount invested and multiply by 100. $10,000 that grows to $12,500 has an ROI of 2,500 ÷ 10,000 × 100 = 25%.

How to Use This Calculator

Enter what you put into an investment and what you got out of it, or what it is worth today. The calculator shows the ROI as a percentage and the gain or loss in money. If you also enter how many years you held it, it shows the yearly rate, which lets you compare investments held for different lengths of time.

  1. Enter the amount invested.
  2. Enter the amount returned.
  3. Optionally, enter the years held.
  4. Read the ROI, the gain or loss and the yearly rate.

The Formula

ROI = (amount returned − amount invested) ÷ amount invested × 100. Yearly rate = ((amount returned ÷ amount invested)^(1 ÷ years) − 1) × 100

ROI on its own ignores time: a 25% gain is very different over one year and over ten. The yearly rate fixes that by finding the steady annual return, compounded once a year, that would turn the amount invested into the amount returned over the years you held it.

Worked Example

A gain: $10,000 that grew to $12,500 is a gain of $2,500.00 and an ROI of 25%. Held for 3 years, that is a yearly rate of 7.72%.

A loss: $8,000 that is now worth $6,800 is a loss of $1,200.00 and an ROI of −15%.

A business spend: a $2,000 marketing campaign that brought in $3,500 of extra gross profit is a gain of $1,500.00 and an ROI of 75%.

Frequently Asked Questions

What should I count as the amount returned?

Everything the investment gave back: the sale price or current value, plus any dividends, interest or rent you received. Take off selling costs such as commissions. For a business project, use the extra profit it produced, not the extra revenue, or the ROI will look far too high.

Why does the number of years matter?

Because the same ROI can hide very different yearly returns. A 50% ROI earned in 1 year is a yearly rate of 50%, but earned over 10 years it is only 4.14% a year.

How is this different from the CAGR Calculator?

The yearly rate here uses the same formula as compound annual growth rate. The CAGR Calculator can also project a future value from a growth rate, while this page focuses on the gain or loss on money you put in.

Can ROI be negative?

Yes. A negative ROI means you got back less than you put in. −100% means the whole amount was lost, which is as low as this calculator goes.

What is a good ROI?

There is no single number. Compare it with what the same money could have earned elsewhere over the same time, and with how much risk you took. Use the yearly rate for that comparison, not the headline ROI.

Can a short holding period mislead?

Yes. A 25% gain in six months works out at a yearly rate of 56.25%, because the calculator assumes the same pace continues for a full year. Treat yearly rates from periods under a year with caution.

Sources: Corporate Finance Institute, Return on Investment (ROI); The Association of Corporate Treasurers, Compound Annual Growth Rate