Retire at a chosen age
retire_at_ageUse this when the user wants a retirement calculator for a chosen age: "how much do I need to retire", "how much do I need to retire at 45 / 50 / 55 / 60 / 65", "how to retire at 50", "can I retire at 50 with $500k", "am I on track to retire at 55", "when can I retire" at a specific age, or the 25x rule / 4% rule for their spending (also in GBP, CAD, AUD or EUR). Needs monthly or yearly spending in retirement and the target age. Age, invested savings and monthly contribution are optional: without them it returns the amount needed with 4%, 3.5% and 3.3% withdrawal rate variants; with them it adds the age they reach it, the shortfall or surplus at the target age and the extra monthly amount needed. Do not use for an open "when can I retire" question with no age in mind (use calculate_freedom_day), pension, Social Security or annuity amounts and full retirement age rules, tax, or picking investments. An estimate, not financial advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | No | Current age. Optional; with it the tool shows how far current savings are from the target. | |
| currency | No | ISO currency code used only for display. | USD |
| netWorth | No | Invested savings today. Optional, defaults to 0 when age is given. | |
| spending | Yes | Spending in retirement, in today’s money. | |
| targetAge | Yes | Age at which the person wants to retire or make work optional. | |
| realReturnPct | No | Yearly growth after inflation, in percent. Default 5. | |
| spendingPeriod | No | Whether spending is per month or per year. | monthly |
| monthlyInvestment | No | Amount invested each month. Optional, defaults to 0 when age is given. | |
| withdrawalRatePct | No | Safe withdrawal rate in percent. Default 4. |