Investment return calculator
calc_investment_returnRead-only educational calculator. Calculates total return, annualized return (CAGR), and dollar gain from initial investment, final value, years, and dividends. Returns a result from caller-supplied public inputs without changing page or account state, accessing BetterOff customer data, or providing personalized financial advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | Holding period (years) | |
| feesPaid | No | Fees paid — Cumulative fees not already reflected in the ending value. | |
| finalValue | No | Final value — Market value at the end of the holding period. | |
| dividendsReceived | No | Dividends received — Cumulative cash dividends over the holding period. | |
| initialInvestment | No | Initial investment |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||