Compound interest calculator: future value with monthly contributions
calc_compound_interestCompound interest on savings or an investment: starting amount, annual rate, years, compounding (yearly, quarterly, monthly or daily) and an optional contribution at the end of each month. Returns the future value, total contributed, interest earned and the balance after each year. Use for savings goals and investment what-ifs; rates are assumed constant. Example: principal=10000, rate=7, years=10. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | Yes | Annual interest rate in percent, -50 to 100 | |
| years | Yes | Years, up to 100 | |
| monthly | No | Contribution at the end of each month (default 0) | |
| compound | No | yearly, quarterly, monthly (default) or daily | |
| principal | Yes | Starting amount (0 or more) |