Retirement withdrawals: how long or how much
smartfin_calculate_retirement_withdrawalWorks the way SmartFin's withdrawal calculator does, with withdrawals monthly, quarterly or annually and the balance earning a yearly return between them. how_long: how many years a balance lasts at a set withdrawal, optionally rising each year with inflation. how_much: the withdrawal that lasts a given number of years, or that never touches the principal (lasts_forever). Use for "how long will my savings last" or "how much can I withdraw". Do not use to find a savings target (use smartfin_calculate_fire_number). Returns are an assumption; excludes taxes and fees.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | For how_much: how many years the money should last | |
| balance | Yes | Starting balance, in dollars | |
| question | Yes | how_long needs withdrawal_amount; how_much needs years or lasts_forever | |
| frequency | No | How often money is withdrawn. Default monthly | |
| inflation_pct | No | For how_long, optional: the withdrawal rises by this % each year | |
| lasts_forever | No | For how_much: the withdrawal that never touches the principal | |
| withdrawal_amount | No | For how_long: each withdrawal, in dollars, at the chosen frequency | |
| expected_return_pct | Yes | Assumed yearly return in % |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cite | Yes | How to credit this result | |
| data | Yes | ||
| next | Yes | Suggested follow-up calls | |
| links | Yes | ||
| how_to | Yes | Steps for the user to see or redo this on smartfin.fyi | |
| source | Yes | ||
| summary | Yes | Plain-language result the assistant can quote |