FIRE number and when you can retire
calculate_fire_numberUse when a user asks when they can retire or how much they need to retire, e.g. "when can I retire if I invest $1,500 a month?", "what is my FIRE number if I spend $40,000 a year?" or "how many years until I can stop working?". Returns the FIRE number (yearly spending / withdrawal rate, 25 times spending at 4%) and, from current savings and a monthly contribution, the months and years to reach it and the age if current_age is given. Uses a real (after inflation) return, 7% by default; same math as the Compound Mint FIRE number calculator.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| current_age | No | Optional age now, to show the age you reach it. | |
| fire_number | No | Total needed to retire in USD (instead of annual_spending). | |
| annual_return | No | Real yearly return percent after inflation (default 7). | |
| annual_spending | No | Yearly spending in retirement in today's USD (or send fire_number). | |
| current_savings | No | USD invested now (default 0). | |
| withdrawal_rate | No | Safe withdrawal rate percent (default 4). | |
| monthly_contribution | No | USD invested each month (default 0). |