calculate_compound_interest
Compute compound interest growth for savings, retirement projections, and investment forecasting. Uses formula A=P(1+r/n)^(nt) to return final amount, total interest, and yearly breakdown.
Instructions
Compute compound interest growth A=P(1+r/n)^(nt). Use for savings, retirement projections, investment forecasting. Returns final amount, total interest, and yearly breakdown. See list_bundles for related 'finance-universal' calculators.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| principal | Yes | Initial amount | |
| annual_rate | Yes | Annual interest rate in % | |
| years | Yes | Investment duration in years | |
| compounds_per_year | No | Compounding frequency per year |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Computed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools). | |
| formula | No | Human-readable formula or method used (e.g. "I=P·r·t", "Magnus formula"). | |
| source | No | Authoritative source for the rule or formula (e.g. "Article 197 CGI", "NF DTU 21"). | |
| reference_url | No | Link to a calcul2 page documenting the calculation in detail. |