calculate_compound_interest
Compute the future value of a lump-sum investment using compound interest. Supports any currency and compounding frequency (monthly, quarterly, annual).
Instructions
Compute the future value of a single lump-sum investment at compound interest. Universal — no country specifics. Example queries: 'What will ₹1L grow to in 10 years at 7%?', 'future value of $5000 invested at 8% annually for 20 years compounded monthly'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| principal | Yes | Initial deposit amount (any currency). | |
| annual_rate | Yes | Decimal annual interest rate, e.g. 0.07 for 7%. | |
| years | Yes | Time horizon in years. | |
| compounding_per_year | No | Compounding frequency: 12=monthly (default), 4=quarterly, 1=annual. |