Retire at 40 Calculator: Test the Numbers Behind Extreme FIRE
Use this guide to understand the assumptions, inputs, results, and next steps behind the calculator.
Created by Luis Gonzalez · Last updated August 19, 2026
Retiring at 40 can mean funding five decades or more without a regular paycheck. The plan must cover ordinary spending, healthcare before Medicare, and the years before Social Security begins. This calculator estimates a financial-independence target, projected savings at age 40, healthcare costs from 40 to 65, and years without Social Security.
The default scenario assumes a 25-year-old earns $100,000, has $50,000 saved, invests $3,000 per month, spends $40,000 per year, and earns a 7% annual investment return. It uses a 3.5% withdrawal rate, $12,000 annual pre-Medicare healthcare cost, $15,000 annual part-time income through age 50, and $1,500 monthly Social Security starting at 67. The supplied results are a $1,142,857 FI number, $1,042,596 projected savings at 40, $409,893 total healthcare cost from 40 to 65, and 27 years without Social Security. The balance is below the FI target by $100,261 at age 40, before considering the model’s other income and expense assumptions.
Set the target and saving timeline
Enter annual expenses based on the spending you expect to fund from investments, not gross income. The FI number divides annual expenses by the selected withdrawal rate. A lower withdrawal rate raises the target and may provide a larger margin against longevity and market risk.
Enter monthly savings as an amount invested each month. The saving projection uses current savings, monthly contributions, and the annual return assumption. The model then estimates retirement withdrawals from age 40 onward, adjusting expenses and healthcare for inflation and including part-time income and Social Security according to the ages entered.
Use your actual expected spending and healthcare costs. A FIRE calculator can offer a broad comparison, while a financial independence number calculator isolates the target. Compare later dates with retiring at 45 or retiring at 50.
Worked default example: FI target and savings at 40
At $40,000 in annual expenses and a 3.5% withdrawal rate, the target is:
FI number = annual expenses ÷ withdrawal rate
$40,000 ÷ 0.035 = $1,142,857
The saving period is 15 years, from age 25 to age 40. The calculator adds $36,000 each year from monthly contributions ($3,000 × 12) and applies a 7% annual return. Its supplied output reports $540,000 in total contributions, $452,596 in investment growth, and $50,000 in starting savings.
Savings at 40 = starting savings + total contributions + investment growth
$50,000 + $540,000 + $452,596 = $1,042,596
The difference from the FI target is:
Target gap at age 40 = FI number − savings at 40
$1,142,857 − $1,042,596 = $100,261
The calculator estimates required monthly savings of $3,156, compared with the entered $3,000. It also reports a 36% savings rate: $3,000 × 12 ÷ $100,000 = 36%. These results depend on the assumed return and the calculator’s contribution timing; they are not guaranteed account values.
Formula: target, savings, and healthcare
The calculator’s FI target is a direct division:
FI number = annual expenses ÷ (withdrawal rate ÷ 100)
$40,000 ÷ (3.5 ÷ 100) = $1,142,857
For monthly saving projections, the general future-value structure is:
Balance next year = current balance × (1 + annual return) + annual contributions
Annual contributions = monthly savings × 12
Healthcare is inflated for each year before Medicare:
Total pre-Medicare healthcare = sum of annual healthcare cost × (1 + inflation rate) ^ years elapsed
The default estimate totals $409,893 over ages 40–64. It treats healthcare as a flat starting annual amount that rises with inflation; actual insurance premiums and out-of-pocket expenses can differ substantially.
Compare withdrawal rates and savings targets
Changing the withdrawal rate changes the FI number even when spending stays constant. These figures apply the default $40,000 annual expense assumption.
| Withdrawal rate | Calculation | FI target |
|---|---|---|
| 3.0% | $40,000 ÷ 0.03 | $1,333,333 |
| 3.5% | $40,000 ÷ 0.035 | $1,142,857 |
| 4.0% | $40,000 ÷ 0.04 | $1,000,000 |
A higher withdrawal rate lowers the target, but requires more spending flexibility or greater tolerance for a portfolio decline. A lower rate requires more assets but can provide a larger buffer. Historical withdrawal research cannot guarantee a safe result for a particular retirement date, portfolio, tax situation, or 50-year horizon. Learn more about the math behind FIRE and compare a Coast FIRE projection.
Important limitations of an age-40 projection
The model assumes an average annual return. Real investment returns arrive unevenly, and poor returns early in retirement can cause more damage when withdrawals are being made. Inflation can also differ from the selected 2.5% assumption, while taxes and fees reduce spendable income or account value.
The default output shows no modeled depletion by age 90 and a final balance of $7,446,551. That result is highly sensitive to the assumed 7% return, the spending and income treatment, and the model’s inflation rules. It should not be read as a promise that savings will grow to that amount. Test a lower return, higher expenses, reduced part-time work, and a longer life expectancy. For withdrawal-focused analysis, compare a retirement withdrawal calculator or how-long-will-my-money-last estimate.
Frequently asked questions
Is $1,142,857 enough to retire at 40 in the default example?
It is the calculator’s FI target at $40,000 annual expenses and a 3.5% withdrawal rate. The supplied savings projection is $1,042,596, which is $100,261 below that target, so the default savings amount does not reach the target by age 40.
Does the 3.5% withdrawal rate guarantee my money will last?
No. It is a planning assumption, not a guarantee. Market returns, inflation, taxes, asset allocation, spending changes, and a retirement lasting longer than expected can affect sustainability.
Should I retire at 40 or work a few more years?
Working longer can add contributions, allow investments to compound, and shorten the number of years withdrawals must last. Retiring earlier provides more time away from work but requires a larger margin for healthcare and market risk. Compare the age-40 result with retiring at 45 and retiring at 55.
Does the calculator include health insurance subsidies?
The result estimates healthcare spending from the entered amount; it does not determine marketplace subsidy eligibility. Subsidies depend on household income, location, household size, and current law. Check HealthCare.gov for current coverage options.
Why is Social Security 27 years away in the default case?
The default retirement age is 40 and the assumed claim age is 67. The difference is 27 years. The actual benefit and best claiming age depend on your own earnings and household circumstances.
Can part-time income make an early retirement plan more feasible?
It can lower the amount withdrawn from investments, particularly before Social Security begins. But income may be irregular and can affect taxes or health coverage. Test a conservative income amount and an earlier end date rather than assuming work will be available indefinitely.
Next steps
Verify your annual spending and healthcare estimate, then test lower investment returns and higher inflation. Compare your target with actual invested assets and the monthly savings requirement. Use the retirement number calculator for another target view and read how much you may need to retire. If reaching the target requires a later date, compare retiring at 60 or explore geographic arbitrage FIRE with realistic healthcare and relocation costs.