compound_interest
Calculate how your investment grows with compound interest over time, using optional monthly contributions. Input principal, rate, time, and compounding frequency.
Instructions
Calculate compound interest growth over time with optional monthly contributions.
Parameters:
principal — Initial principal amount.
rate — Annual interest rate (e.g. 5.0 for 5%).
time — Time period in years.
compound — Compound frequency.
contributions — Optional contribution amount (default: 0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| principal | Yes | ||
| rate | Yes | ||
| time | Yes | ||
| compound | No | annually | |
| contributions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |