Annuity Calculator
Estimate deferred annuity accumulation from starting principal, regular additions, growth rate, and contribution timing.
Formula and help
Learn how this calculator works, what formula it uses, and which assumptions sit behind the estimate.
Back to calculatorThe 401K Calculator has three modes. Projection estimates how salary deferrals, a first employer match tier, salary growth, return, inflation, and retirement age may affect a future balance. Early Withdrawal estimates user-entered taxes plus a simplified penalty model. Maximize Match estimates the salary deferral needed to capture one or two employer match tiers.
Use this calculator to compare one fixed-assumption workplace retirement scenario at a time before checking IRS rules, your Summary Plan Description, payroll timing, provider fees, tax treatment, investment choices, or plan-administrator decisions. Use Retirement for broader retirement need and withdrawal estimates, RMD for required-minimum-distribution estimates, Annuity Payout for payout math, Investment and Future Value for non-plan growth assumptions, and official IRS, DOL/EBSA, plan, payroll, tax, legal, and adviser sources before acting on a real 401(k) decision.
This formula page covers the app's 401K Calculator: three US workplace retirement estimate modes for projection, early withdrawal, and employer-match maximization. It uses the salary, balance, contribution, match, return, inflation, tax-rate, age, and exception-flag assumptions entered by the user. It does not apply IRS elective-deferral limits, catch-up limits, compensation limits, annual addition limits, plan fees, vesting, Roth tax treatment, plan loans, required minimum distributions, hardship eligibility, payroll timing, withholding, state or local tax law, plan-administrator decisions, or personalised retirement advice.
Projection: Y = max(0, RA - CA); RY = max(0, LE - RA); m = (1 + AR / 100)^(1 / 12) - 1; Sal_y = Sal * (1 + SG / 100)^y; Emp_y = Sal_y * EP / 100; Match_y = Sal_y * min(EP, ML) / 100 * MR / 100; B_t = B_(t-1) * (1 + m) + (Emp_y + Match_y) / 12; RealBal = B / (1 + INF / 100)^Y; RetPMT = B * m / (1 - (1 + m)^(-12 * RY)). Early withdrawal: Tax = W * max(0, FT + ST + LT) / 100; Penalty = waived ? 0 : 0.10 * W; Net = max(0, W - Tax - Penalty). Match: T1 = Sal * L1 / 100 * R1 / 100; T2 = Sal * max(0, L2 - L1) / 100 * R2 / 100; FullDef = max(L1, L2); Match = T1 + T2.
Projection mode converts the annual return assumption into an effective monthly rate, grows the balance month by month, and adds employee and employer contributions after each month's growth. Early-withdrawal mode applies user-entered tax rates and a simple 10 percent penalty model unless selected exception flags waive the penalty. Maximize-match mode calculates one or two employer matching tiers from salary percentages.| Symbol | Meaning | How this page uses it |
|---|---|---|
| Mode | Calculation mode | Projection, early withdrawal, or maximize employer match. |
| CA | Current age | The current age input used in projection mode. |
| RA | Retirement age | The planned retirement age input used in projection mode. |
| LE | Life expectancy | The age used to estimate how many retirement years are modeled. |
| Y | Years to retirement | max(0, retirement age minus current age). |
| RY | Retirement years | max(0, life expectancy minus retirement age). |
| Sal | Current annual salary | The current salary input used for projection contributions and match calculations. |
| SG | Salary growth percent | The annual salary increase assumption entered by the user. |
| B | 401(k) balance | The running account balance, starting with Current balance and ending as Balance at retirement. |
| AR | Annual return percent | The fixed annual return assumption entered by the user. |
| m | Effective monthly return | The annual return converted with (1 + AR / 100)^(1 / 12) - 1. |
| EP | Employee contribution percent | The salary deferral percent entered in projection mode. |
| MR | Employer match percent | The first employer match rate as a percent of matched employee contributions. |
| ML | Employer match limit percent | The salary percentage limit used for the first employer matching tier and for projection-mode match. |
| Emp_y | Employee contribution for year y | Salary for that year multiplied by the employee contribution percent. |
| Match_y | Employer contribution for year y | Projection-mode employer match from salary, the smaller of employee contribution percent and match limit, and employer match percent. |
| INF | Inflation percent | The user-entered annual inflation assumption used to discount the projected ending balance. |
| RealBal | Inflation-adjusted balance | Balance at retirement divided by (1 + inflation percent / 100) raised to years to retirement. |
| RetPMT | Nominal monthly retirement withdrawal | The monthly withdrawal solved from the projected nominal balance, modeled retirement months, and the same monthly return assumption. |
| W | Early withdrawal amount | The withdrawal amount entered in early-withdrawal mode. |
| FT + ST + LT | Combined tax-rate inputs | Federal, state, and local tax-rate inputs added together, floored at zero before applying to the withdrawal. |
| Tax | Estimated withdrawal taxes | Withdrawal amount multiplied by the combined user-entered tax-rate inputs. |
| Waived | Penalty waiver flag | True when the selected disability, other-exemption, or separated-after-55 condition applies in the app's simplified model. |
| Penalty | Estimated early-withdrawal penalty | Zero when waived; otherwise 10 percent of the withdrawal amount. |
| Net | Net early withdrawal | Withdrawal amount minus estimated taxes and penalty, floored at zero. |
| L1, R1 | First match tier | First salary-percent limit and match rate used in maximize-match mode and projection mode. |
| L2, R2 | Second match tier | Second salary-percent limit and match rate used only in maximize-match mode. |
| FullDef | Contribution needed for full match | The larger of the first and second match limits, displayed as the salary deferral needed to capture both tiers. |
| Match | Annual employer match | The first tier amount plus the second tier amount in maximize-match mode. |
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.
See the Calcs.finance methodology for the full review approach.
These examples use the current app fixtures and validation scenarios. They illustrate the calculator mechanics, not a recommendation about how much to contribute or whether to take a withdrawal.
The formula is useful for comparing fixed 401(k) assumptions, but plan documents, IRS rules, taxes, fees, vesting, investment choices, and payroll timing can change the real outcome.
Estimate deferred annuity accumulation from starting principal, regular additions, growth rate, and contribution timing.
Estimate a fixed-length annuity payout amount or how long an annuity can last with a fixed payout.
Estimate retirement savings needs, savings required, monthly withdrawal capacity, and how long savings may last.
Estimate a required minimum distribution from a tax-deferred retirement account and project next year's RMD.