Compound Interest
compound_interestCalculate compound interest with multiple compounding frequencies: annual, semi-annual, quarterly, monthly, daily, or continuous. Input principal, annual rate, and time to get the future value.
Instructions
Calculate compound interest with various compounding frequencies.
Formulas: Discrete: A = P(1 + r/n)^(nt) Continuous: A = Pe^(rt)
Examples:
ANNUAL COMPOUNDING: £1000 at 5% for 10 years principal=1000, rate=0.05, time=10, frequency="annual" Result: £1628.89
MONTHLY COMPOUNDING: £1000 at 5% for 10 years principal=1000, rate=0.05, time=10, frequency="monthly" Result: £1647.01
CONTINUOUS COMPOUNDING: £1000 at 5% for 10 years principal=1000, rate=0.05, time=10, frequency="continuous" Result: £1648.72
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional annotation to label this calculation (e.g., 'Bond A PV', 'Q2 revenue'). Appears in results for easy identification. | |
| output_mode | No | Output format: full (default), compact, minimal, value, or final. See batch_execute tool for details. | full |
| principal | Yes | Initial principal amount (e.g., 1000) | |
| rate | Yes | Annual interest rate (e.g., 0.05 for 5%) | |
| time | Yes | Time period in years (e.g., 10) | |
| frequency | No | Compounding frequency | annual |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |