Inputs

Results update as you type. The link in the address bar keeps the inputs so you can share it.

What you sold it for or what it is worth now.

Use 0 to skip the annualized rate.

What this means

  • You gained $1,500.00, a 30.00% return.
  • Spread over 3 years, that matches 9.14% a year, compounded.
  • ROI ignores time. Annualized return lets you compare holdings of different lengths.

What if

Same gain over 2 more years Hold longer for the same result. Annualized return drops to 5.39%.
Return 10% more Get back 10% more money. ROI becomes 43.00% (was 30.00%).

About this calculator

What this calculator does

It measures how much an investment earned or lost compared with what you put in. With a holding period, it also finds the steady yearly rate that gives the same result.

How it is calculated

ROI = (returned - invested) / invested * 100

annualized = ((returned / invested)^(1 / years) - 1) * 100

How to read the result

A positive ROI is a gain and a negative one is a loss. Annualized return is the compound annual growth rate, often called CAGR.

Sources and method

Standard arithmetic with no outside data. The formula is shown under How it is calculated, and unit tests check worked examples, including edge cases.

This page uses arithmetic only, with no outside data.

Questions

What is a good ROI?

It depends on the risk and the time held. Compare annualized returns, not raw ROI, when holding periods differ.

Does ROI include fees?

Only if you include them. Add fees to the invested amount or subtract them from the returned amount.

Why is annualized return lower than ROI divided by years?

Annualized return compounds. A 30% gain over 3 years is about 9.1% a year, not 10%.

Can I use this for a business project?

Yes. Use total cost as invested and total benefit as returned.