Investment ROI & CAGR Calculator — Solve the Return from Begin and End Values
Most calculators project a balance from an assumed rate. This one calculates the return from what you put in, what it is worth now, and how many whole years you held it. You get three answers side by side — total return (HPR), the simple annualized return (), and CAGR, the compound annual growth rate — to compare arithmetic and geometric averaging.
Two extra modes account for monthly contributions and cash income: with monthly contributions the tool solves the money-weighted annual return from the begin value, every deposit, and the end value; with dividends or interest it reports the income-adjusted return beside the price-only return. It is the inverse of a growth calculator: you calculate the rate rather than enter it.
The return formulas
HPR is the change over the base. CAGR spreads that change geometrically across the holding period, giving the steady yearly rate that turns the begin value into the end value. The contribution mode solves for the monthly rate m that reproduces the end value from the begin value plus every deposit, and the income line adds cash received to the numerator.
· · · · · · .
How it works
- Enter the begin value, the end value and the holding period to compare HPR, simple annualized return and CAGR.
- Switch to contributions mode to add a monthly deposit and solve the money-weighted annual return.
- Switch to dividends mode to add cash income and see the income-adjusted return beside the price return.
Worked examples
10000 → 16105.10 over 5 years gives 61.051% total, 12.210% simple annualized and 10.000% CAGR. 20000 → 15000 over 3 years gives -25.000% total and -9.144% CAGR. 10000 plus 200/month over 5 years ending at 27279.41 means 22000.00 invested and a 6.000% money-weighted annual return. 10000 → 11000 over 2 years with 500 of income is 10.000% price return but 15.000% with income (7.238% CAGR).
What this calculator covers
Return arithmetic on the two entered values, plus the monthly-contribution solve and the income-adjusted variant. Fees, taxes, currency effects and irregular deposit dates are not modeled, so enter values after fees if you want an after-cost return. Everything runs locally in your browser; nothing is uploaded.
Frequently asked questions
CAGR vs total return (HPR) — what's the difference?
HPR is the whole gain as a percentage of what you put in, with no time dimension. CAGR restates that same gain as a steady annual rate, which is what lets you compare a 3-year hold against a 5-year hold fairly.
Why is the simple annualized return different from CAGR?
Simple annualization just divides HPR by the number of years and ignores compounding, so it overstates multi-year returns. CAGR compounds, so it is always lower than the simple figure for a positive multi-year gain — they agree only at one year.
What does the money-weighted return mean?
When you add money at different times, a single begin-to-end ratio cannot describe your result. The money-weighted return is the monthly rate that reproduces your end value from the begin value plus every deposit, annualized — the same idea as an IRR.
How are dividends handled?
Enter the total cash income you received over the whole period. The tool reports the income-adjusted return beside the price-only return; if you reinvested the income, fold it into the end value instead so it is not counted twice.
How accurate is this calculator?
The lump-sum and income modes use closed-form formulas and are exact to three decimals on the entered figures; the contribution calculation converges to machine precision or reports that no finite answer fits. Real-world fees, taxes and timing differences are outside this model.
Link with your values
Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.
| Parameter | Value | If omitted |
|---|---|---|
currency | ISO 4217 code, for example USD or EUR | your saved or detected currency |
modeAnalysis mode | one of: lump, contributions, dividends | default lump |
begin_valueBegin value | amount without a currency symbol; allowed 0–10000000 | required |
end_valueEnd value | amount without a currency symbol; allowed 0–10000000 | required |
yearsHolding period | whole number; allowed 1–50 | required |
contribution_monthlyMonthly contribution | amount without a currency symbol; allowed 0–1000000; used with mode = contributions | required |
cash_income_totalCash income received | amount without a currency symbol; allowed 0–10000000; used with mode = dividends | required |
Examples
?begin_value=20000&end_value=31500&years=6?begin_value=15000&end_value=42000&years=10&contribution_monthly=150?currency=EUR&begin_value=8000&end_value=9800&years=4&cash_income_total=1200
Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.
Result elements: [data-result-block="investment"]