Compound Interest & Investment Growth Calculator
calculate_compound_interestCalculate exact compound interest final balance, effective APY, total contributions, and growth milestones with optional monthly contributions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"principal": "<principal>",
"annual_rate_pct": "<annual_rate_pct>",
"years": "<years>"
},
"name": "calculate_compound_interest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | Yes | Investment horizon in years (1 to 100). | |
| currency | No | Currency code (default "USD"). | |
| principal | Yes | Initial investment amount (>= 0). | |
| compounding | No | Compounding frequency (default "monthly"). | |
| annual_rate_pct | Yes | Annual nominal interest rate in percent (e.g., 7 for 7%). | |
| monthly_contribution | No | Optional recurring monthly contribution (default 0). |