Savings goal calculator
calculate_savings_goalUse when a user asks how much to save each month for a goal, e.g. "how much do I need to save each month to have $50,000 in 5 years?" or "how much a month to reach $1 million in 30 years?". Monthly amount to save to reach a target in a number of years at a yearly rate, counting money already saved. Example: $1,000,000 in 30 years at 8% needs about $671 a month.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | Yes | Years to reach it. | |
| annual_rate | No | Yearly return percent (default 0, no growth). | |
| target_amount | Yes | Goal in USD. | |
| current_savings | No | USD already saved (default 0). |