logic.codes

ROI Calculator (Return on Investment)

What is my return on investment, in total and per year?

Single calculationv1.0.0Verified 2026-11-01Runs in your browser

Spec sheet

roi · v1.0.0
Method

ROI and annualized ROI

  1. 01ROI = (returned − invested) ÷ invested
  2. 02annualized = (returned ÷ invested)^(1/years) − 1
Limits — read before relying on it
  • Ignores the timing of intermediate cash flows; use NPV/IRR for those.
Sources
  • Return on investment (standard definition)textbook

Worked example

computed by the same formula

$10k → $14.5k in 3 years

Inputs
Amount invested
10000
Amount returned (final value)
14500
Holding period
3 years
Result
ROI
45 %
Gain
$4,500.00
Annualized ROI
13.19 %

Questions

How is the roi calculator calculated?

›

ROI and annualized ROI. ROI = (returned − invested) ÷ invested · annualized = (returned ÷ invested)^(1/years) − 1

Example: $10k → $14.5k in 3 years?

›

ROI: 45 %; gain: $4,500.00.

What does this calculator not cover?

›

Ignores the timing of intermediate cash flows; use NPV/IRR for those.

Where do the numbers come from?

›

Sources: Return on investment (standard definition). The formula is versioned (roi v1.0.0) and covered by automated tests.

Is my data stored?

›

No. The calculation runs in your browser and nothing is sent unless you choose to save a shareable link.

Also searched asroi calculator · return on investment · calculate roi · annualized return · investment return percentage

Related

More money & finance calculators