Measure an investment's total return and the equivalent yearly rate. Enter the amount invested and the amount returned, then either pick start and end dates or type the holding period in years.
Formula
Gain is the difference between what came back and what went in. ROI is that gain as a fraction of cost. Annualized ROI compounds that total return over the holding period:
gain = R − C
ROI = (R − C) / C
annualized ROI = (1 + ROI)^(1 / years) − 1
On the Dates tab, years is whole calendar years from the start date plus
leftover days ÷ 365 (so a leap-year anniversary is exactly 1.000 years). On
the Length tab, years is the number you enter.
Compare two investments on annualized ROI, not raw ROI, whenever the holding periods differ. A 100% return in 2.5 years (~32% per year) beats the same 100% stretched over four-plus years (~17% per year).
Dates vs length
| Tab | You provide | Length used |
|---|---|---|
| Dates | From and To | calendar years + leftover days / 365 |
| Length | Investment length in years | the number you typed |
Examples
$1,000 to $2,000 from 2026-09-09 to 2030-12-31
The gain is $1,000.00, ROI is 100.00%, the span is 4.310 years, and annualized ROI is 17.45%.
Same amounts over 2.5 years
The gain and ROI are unchanged ($1,000, 100%), but annualized ROI rises to 31.95% because the same doubling happened in less time. Length displays as 2.500 years.
A 50% loss over 4 years
$1,000 returned as $500 is an Investment Loss of $500.00, ROI of -50.00%, and annualized ROI of -15.91%.