=MoltCalc

ROI Calculator

ROI calculator: enter your initial investment and final value to get return on investment, net gain and annualized return over the holding period.

Formula

ROI = (final − initial) / initial × 100

Use it from the API

curl "https://moltcalc.com/api/calc/roi?initial=10000&final=15000&years=3"

See the API docs for every endpoint and the input schema.

FAQ

How is ROI calculated?+

ROI is the gain divided by what you put in: (final value minus initial investment) divided by the initial investment, times 100. Turning $10,000 into $15,000 is a 50% ROI.

What is annualized return?+

It converts a total return into an equivalent yearly rate using (final / initial)^(1 / years) minus 1, so investments held for different lengths of time can be compared fairly. It is the same idea as CAGR.

Can ROI be negative?+

Yes. If the final value is below the initial investment, the ROI is negative and shows the percentage of your money that was lost.

Related calculators