Compound interest calculator
calculate_compound_interestUse when a user asks how much money will grow, e.g. "how much will $500 a month grow in 20 years?", "what will $10,000 be worth in 10 years at 7%?" or "how much interest will I earn?". Future value of a starting amount plus optional monthly contributions at a yearly rate, with total contributed and total interest. Compounding is monthly by default (annually, quarterly, semiannually or daily on request). Returns a plain-English explanation, the assumptions and the matching Compound Mint calculator page. Example: $10,000 at 7% for 10 years compounded annually = $19,671.51.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | Yes | Years, up to 100. | |
| principal | No | Starting amount in USD (default 0). | |
| annual_rate | No | Yearly rate in percent, e.g. 7 (default 8). | |
| compounding | No | How often interest compounds (default monthly). | monthly |
| show_yearly | No | Include a year by year table. | |
| contribution_timing | No | Deposits at the end (default) or beginning of each month. | end |
| monthly_contribution | No | USD added every month (default 0). |