retirement
401K Calculator
Project a 401(k) balance, estimate early withdrawal costs, and find the salary contribution needed to capture an employer match.
Formula notesretirement calculator
The Retirement Calculator is a generic fixed-assumption planning model with four modes. Retirement Need compares an estimated amount required at retirement with projected savings. Savings Required solves the annual contribution needed to reach a target amount. Withdrawal Amount estimates an inflation-adjusted monthly withdrawal from a projected balance. Money Last estimates how many whole months an entered balance may last at a fixed monthly withdrawal.
Your scenario
Working scenario
Not saved yet
Saved scenarios
Save this result, then use saved scenarios to switch between assumptions.
Use this calculator when you want to compare one retirement scenario at a time and keep the active mode, ages, return, inflation, savings, target, and withdrawal assumptions visible. Use 401(k) for workplace contribution and match inputs, RMD for required distribution estimates, Annuity or Annuity Payout for product-style payout math, Investment or Savings for generic accumulation, and Future Value or Present Value for narrower time-value-of-money questions. Use SSA, IRS, DOL/EBSA, Investor.gov, SEC, FINRA, FCA, MoneyHelper, The Pensions Regulator, plan administrator, provider, prospectus, fee-disclosure, tax-authority, inflation-statistics, legal, or local regulator sources before making Social Security, retirement-plan, pension, tax, annuity, product, fee, inflation, legal, regulated-advice, or jurisdiction-specific claims.
The calculator first sets years to retirement as max(0, retirementAge - currentAge) and retirement years as max(0, lifeExpectancy - retirementAge). Retirement Need grows current income by incomeIncrease, multiplies it by retirementIncomePercent, subtracts otherMonthlyIncome * 12, floors the annual need at 0, discounts that annual need with a real annual return from investmentReturn and inflationRate, then projects currentSavings with a yearly income-savings loop using futureSavingsPercent. Savings Required grows currentSavings to retirement and solves an annual ordinary contribution needed to reach targetRetirementAmount; monthlySavingsNeeded is annualSavingsNeeded / 12, not a separate monthly-deposit solve. Withdrawal Amount rounds years to retirement into months, grows currentSavings monthly, adds monthlyContribution after each month's growth, adds annualContribution every 12th month, and estimates withdrawal capacity with a real monthly return. Money Last starts with amountHave, grows it with nominal monthly investmentReturn, subtracts the planned monthlyWithdrawal or remaining balance, counts whole months, and stops at 12000 months as a computational cap.
Example: four retirement questions from the app fixtures
In Retirement Need mode, the default inputs model current age 35, retirement age 67, life expectancy 90, $85,000 current income, 3% income growth, 75% income replacement, $1,200 other monthly income, $120,000 current savings, 12% future savings, 6% return, and 3% inflation. The app reports Required at retirement = $2,485,143.11, Projected savings at retirement = $2,093,029.74, Shortfall or surplus = -$392,113.37, and Retirement years = 23. In Savings Required mode, a $1,000,000 target, $75,000 current savings, age 35 to 65, and 6% return solve Annual savings needed = $7,200.24 and Monthly savings needed = $600.02. In Withdrawal Amount mode, age 50 to 67, life expectancy 92, $250,000 current savings, no new contributions, 5% return, and 3% inflation project $583,879.71 and support Monthly withdrawal capacity = $2,453.44. In Money Last mode, $750,000 amount have, $4,000 monthly withdrawal, and 5% return last 366 months, or 30.5 years.
The examples show the calculator mechanics and mode differences. They are not benefit estimates, pension valuations, annuity quotes, tax answers, market forecasts, withdrawal recommendations, product comparisons, legal answers, or personalised retirement advice.
This calculator is an original implementation based on documented formulas, app-specific assumptions, deterministic fixtures, edge cases, rounding policy tests, and internal validation. It is not copied from a single source.
Outputs are checked with deterministic fixtures, edge cases, rounding policy tests, and internal independent comparator checks where overlapping outputs are available. The result remains an educational estimate, not a quote, approval, tax answer, or personalised advice.
Formula version 2026.05.22-generic-retirement-planning-modes. The version marks the calculation logic and validation fixture set used for this estimate.
The result is educational and is not financial, tax, legal, lending, investment, or regulated advice. Real provider terms, fees, rates, taxes, and personal circumstances can change the final answer.
Formula and help: read the full retirement calculator methodology notes.
retirement
Project a 401(k) balance, estimate early withdrawal costs, and find the salary contribution needed to capture an employer match.
Formula notesretirement
Estimate a required minimum distribution from a tax-deferred retirement account and project next year's RMD.
Formula notesretirement
Estimate deferred annuity accumulation from starting principal, regular additions, growth rate, and contribution timing.
Formula notesretirement
Estimate a fixed-length annuity payout amount or how long an annuity can last with a fixed payout.
Formula notesinvestment
Solve an investment goal from starting amount, end amount, return rate, contribution amount, and investment length.
Formula notessavings
Estimate savings growth from an initial deposit, growing contributions, interest, compounding, and tax drag.
Formula notesinvestment
Project a starting amount and equal periodic deposits forward to a future value.
Formula notesinvestment
Discount a future lump sum or a stream of equal periodic deposits back to today's value.
Formula notesinvestment
Estimate future value from principal, a fixed annual rate, and whole-year annual compounding.
Formula notes