Investing & Retirement 401(k), IRA & Tax-Advantaged Accounts IRC §402(g) & §415(c) contribution limits

401(k) Growth Calculator

This calculator projects what your 401(k) will be worth on the day you retire. It compounds your existing balance monthly, adds your payroll deferrals and your employer's match every month, grows your salary by your expected raise each year, and caps your own contributions at the Internal Revenue Code §402(g) elective deferral limit when your deferral percentage would otherwise exceed it. The result separates the three things that build the balance — your money, your employer's money, and investment growth — so you can see which lever actually moves the number, and it prints the full year-by-year schedule underneath.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Current annual salaryGross pay before tax and before deferrals — the figure your deferral percentage is applied to.85000 $
Current 401(k) balanceTotal vested and unvested balance today; enter 0 if you are just enrolling.60000 $
Your deferral rateThe percentage of each paycheck you send to the plan, pre-tax or Roth.8 %
Employer match rateCents on the dollar your employer adds — enter 50 for a 50% match, 100 for dollar-for-dollar.50 %
Match applies up to this share of payThe deferral percentage at which the match stops growing — 6% in the most common formula.6 %
Expected annual raiseAverage yearly salary growth including promotions; 2-4% tracks long-run wage growth.3 %
Expected annual returnNominal return on the fund mix you hold, net of fund expenses.7 %
Years until retirementFull years of contributions remaining before you stop deferring.25 yr
Elective deferral limitThe IRC §402(g) cap on your own contributions — $23,500 for tax year 2025; the IRS indexes it annually, so enter the current figure.23500 $
Annual indexation of the limitHow fast you assume the IRS raises the deferral cap; it moves with inflation in $500 steps.2.5 %

It returns

  • Projected balance at retirement — Existing balance plus all contributions plus compounded growth.
  • Your total contributions
  • Employer match contributed
  • Investment growth — Balance less the starting balance and all contributions.
  • Salary in your final year
  • Total contribution in the final year — Your deferral plus the employer match in the last projected year.

The formula

Bk+1=Bk(1+r12)+Ey+My12
F=C(1+r12)12n1r/12

In plain text: B_{k+1} = B_k · (1 + r/12) + (E_y + M_y)/12

  • B_kAccount balance at the end of month k ($)
  • rExpected annual return, divided by twelve for the monthly rate (decimal)
  • E_yYour elective deferral for year y: min(salary × deferral rate, §402(g) limit) ($)
  • M_yEmployer match for year y: salary × min(deferral rate, match ceiling) × match rate ($)
  • S_ySalary in year y: S₀ × (1 + g)^y, where g is the annual raise ($)

Contributions are spread evenly across the twelve months of each year and credited at month end. Salary steps up once a year.

Updated Category 401(k), IRA & Tax-Advantaged Accounts Verified against published test cases Reading time 12 min

What drives a 401(k) balance

A retirement balance is built from four inputs and nothing else: what you already have, what you add, what your employer adds, and the return you earn on all of it. Everything else — fund selection, rebalancing schedules, target-date glide paths — moves those four numbers by degrees. This calculator makes each of them explicit so you can see which one is doing the work in your own projection.

The proportions shift dramatically with time. Over a five-year horizon, contributions dominate: your balance is essentially the money you put in, because compounding has had no time to act. Over thirty years the relationship inverts, and investment growth typically becomes the largest of the three components — the output tiles show you exactly where your projection sits on that spectrum, and the calculator marks investment growth as favourable when it exceeds everything you and your employer paid in.

The employer match is the piece most worth attention, because it is the only input under your control that has a guaranteed, immediate return. A plan that adds fifty cents for every dollar you defer, up to 6% of pay, hands you a 50% return on those dollars the day they land, before any market return at all. No investment decision available inside the plan competes with that. If your deferral rate sits below the match ceiling, the calculator tells you how much employer money you are leaving on the table in the first year.

The fourth driver, salary growth, is quietly powerful because deferrals are a percentage of pay. A 3% annual raise means your contribution grows 3% a year without you ever touching the deferral slider, and thirty years of that roughly doubles the dollars going in.

The recursion behind the projection

There is no closed-form expression for a 401(k) with raises, a match ceiling and a statutory contribution cap, because the cap makes the contribution a piecewise function of salary. So the calculator does what a plan administrator does: it steps forward month by month.

Each month the balance earns one twelfth of the annual return, B × (1 + r/12), and then one twelfth of that year's total contribution is added. That monthly convention matters more than it looks. A model that adds the whole year's contribution at year end understates the balance, because eleven twelfths of the money would really have been invested for part of the year; one that adds it at the start overstates it. Spreading it evenly matches how payroll deferrals actually arrive.

Each year, three things are recomputed. Salary steps up by the raise rate: S_y = S₀(1 + g)^y. Your deferral is min(S_y × d, L_y), where L_y is the §402(g) elective deferral limit indexed forward from today's figure. The employer match is S_y × min(d, c) × m, where c is the share of pay the match runs to and m is the match rate — the min is what makes the match stop growing once you pass the ceiling.

One subtlety worth naming: the match is computed on the deferral you actually made, not on the deferral you asked for. If the §402(g) limit cuts your contribution to less than c of pay, the matched share falls with it. Real plans differ here — some true up at year end so you receive the full annual match anyway, some do not — so check your summary plan description if you are a high earner who hits the cap before December. Note also that m can exceed 100%: a plan paying 150 cents on the dollar for the first 3% of pay contributes more than you do on those dollars, and the calculator models that correctly rather than capping the employer at your own figure.

Worked example: $85,000 salary, 8% deferral, 50% match to 6%, 25 years

Start with a $60,000 balance, an $85,000 salary, an 8% deferral, a 50% employer match on the first 6% of pay, 3% annual raises and a 7% expected return. Follow the first year by hand:

  1. Your deferral. 85,000 × 8% = $6,800. The §402(g) limit of $23,500 is nowhere near binding, so the full amount goes in — $566.67 a month.
  2. The employer match. Your 8% exceeds the 6% ceiling, so the match is computed on 6%: 85,000 × 6% × 50% = $2,550, or $212.50 a month. The extra 2% you defer above the ceiling earns no match.
  3. Total monthly contribution. 566.67 + 212.50 = $779.17.
  4. Monthly return rate. 7% ÷ 12 = 0.00583333.
  5. Month one. 60,000 × 1.00583333 = 60,350.00, plus 779.17 = $61,129.17.
  6. Month two. 61,129.17 × 1.00583333 = 61,485.76, plus 779.17 = $62,264.93. Repeat ten more times to close year one.
  7. Year two. Salary rises to 85,000 × 1.03 = $87,550. Your deferral becomes $7,004 and the match $2,626.50, and the recursion continues from the year-one closing balance.

Over twenty-five years the pattern is what matters. Your own contributions total roughly $248,000 and the employer adds roughly $93,000, but the projected balance is several times their sum — the gap is compounding, and it is the whole argument for starting early. Note the second-order effect too: raising the deferral from 8% to 10% adds about $1,700 a year of your own money but not one dollar of match, because you are already past the 6% ceiling.

How to judge the number you get

A projected balance means nothing on its own. Convert it into income. The most-cited planning heuristic is the 4% rule: an initial withdrawal of 4% of the balance, inflation-adjusted thereafter, has historically survived a thirty-year retirement in a balanced portfolio. On that basis a $1,000,000 projection funds about $40,000 a year of pre-tax income before Social Security. Compare that against your final-year salary — the calculator reports it — and you have a replacement ratio.

Then deflate it. A projection twenty-five years out is in future dollars. At 2.5% inflation, $1 today costs $1.85 in twenty-five years, so a $1,000,000 nominal balance has roughly $540,000 of today's purchasing power. If you want the answer in today's money, enter a real return — your nominal expectation minus expected inflation, so around 4.5% instead of 7% — and read the whole projection as inflation-adjusted. Do not mix conventions: a real return with a nominal raise assumption double-counts.

The rules of thumb worth checking yourself against are deliberately blunt. A total savings rate of 15% of pay, counting the employer match, is the figure most planners use for someone starting in their twenties; starting at forty requires substantially more. Some benefits teams quote target multiples of salary by age — one times salary by thirty, three times by forty, and so on — which are useful only as a rough progress check, not as a plan.

The strongest signal in the output is the ratio of investment growth to contributions. When growth exceeds everything paid in, compounding rather than saving is carrying the balance, and the projection has become highly sensitive to the return assumption. Rerun it at 5% and at 9% to see the band you are really working with.

What each deferral rate builds over 30 years

A flat $80,000 salary, 30 years, 7% annual return compounded monthly, contributions spread evenly across each year. The employer column assumes 50 cents per dollar on the first 6% of pay. Every figure is the monthly contribution multiplied by the 30-year monthly annuity factor of 1,219.971, rounded to the nearest dollar.
Your deferralYour annual contributionFrom your contributionsFrom the employer matchTotal balance
3%$2,400$243,994$121,997$365,991
5%$4,000$406,657$203,328$609,985
6%$4,800$487,988$243,994$731,982
8%$6,400$650,651$243,994$894,645
10%$8,000$813,314$243,994$1,057,308
15%$12,000$1,219,971$243,994$1,463,965

The employer column stops growing at 6% because that is where the match ceiling sits. At 15% of an $80,000 salary the deferral is $12,000, still below the §402(g) limit, so no cap applies in any row.

Two separate statutory limits apply

IRC §402(g) caps your own elective deferrals — $23,500 for tax year 2025, indexed annually by the IRS in $500 increments, with an additional catch-up contribution permitted from age 50 under §414(v). That cap follows you, not the plan: if you change jobs mid-year, deferrals to both employers count against the same limit. IRC §415(c) caps total annual additions to your account from every source — your deferrals, the employer match, profit sharing and forfeitures — at $70,000 for tax year 2025 or 100% of your compensation if that is lower. The calculator warns you when a projected year breaches the §415(c) figure. It does not model age-50 catch-up contributions, so if you are over fifty your real capacity is higher than the projection assumes.

Assumptions and limits of this projection

  • Returns are constant. Real markets deliver a sequence, not an average, and the order of returns matters enormously once you start withdrawing. A constant-return model is the right tool for the accumulation phase and the wrong one for the drawdown phase.
  • Vesting is ignored. The employer match figure is everything contributed, not everything you get to keep. Graded schedules commonly vest over three to six years, so leaving early can forfeit part of it. Your own deferrals are always 100% vested.
  • Fees are not deducted separately. Enter a return net of fund expense ratios and any plan administration fee. A 0.75% all-in cost against a 7.75% gross return is a 7% net return — and over thirty years that 0.75% removes a meaningful share of the final balance.
  • No loans, withdrawals or job gaps. The model assumes uninterrupted contributions. If you are considering taking money out, price it with the 401(k) early withdrawal penalty calculator first.
  • Tax treatment is not modelled. The projection is a pre-tax balance if you defer pre-tax and a tax-free balance if you defer Roth. Which of those is worth more depends on your tax rates now versus in retirement — that is the question the traditional versus Roth comparison answers.
  • The deferral cap is projected forward mechanically. The IRS indexes it to inflation in $500 steps, so the smooth indexation used here is an approximation of a step function.

Where the 401(k) fits, and when to use a different tool

The ordering most planners recommend follows the return on each dollar rather than the account type. Defer enough to capture the full employer match first, because nothing else pays 50% or 100% immediately. Clear high-interest debt next, since paying off a 22% balance is a guaranteed 22% return. Then fund an IRA, where the investment menu is unrestricted and the costs are usually lower than a plan's; the Roth IRA growth calculator projects that side. Then return to the 401(k) and push toward the §402(g) cap.

A 401(k) earns its place through three features an ordinary brokerage account cannot offer: the match, the deferral of tax on contributions and all internal growth, and creditor protection under ERISA. It gives up flexibility in return — limited fund menus, plan-level fees, restricted access before 59½ and required minimum distributions later in life.

If you want to compare the plan against a different use of the same money, the general time-value tools apply. The net present value calculator discounts any competing cash-flow stream to today's dollars, and the internal rate of return calculator gives you the annualised return an alternative would have to beat. For a decision about how quickly a competing investment repays itself, the discounted payback period calculator puts it on the same discounted basis.

Rerun this projection whenever your salary, deferral rate or plan design changes, and at least once a year regardless. A projection that has not been updated since your last job is measuring a career you no longer have.

Frequently asked questions

How much should I be contributing to my 401(k)?

Start with whatever captures the full employer match, then work toward a total savings rate of about 15% of pay including that match. The match portion is the non-negotiable part: deferring less than the ceiling means declining compensation your employer has already budgeted. Beyond the match, the right number depends on your age, your existing balance and when you want to stop working — set the deferral slider to a few different values and watch the projected balance move.

What return should I assume?

Most planners use 6% to 8% nominal for a diversified, equity-heavy portfolio, and reduce it as the target date approaches and the mix shifts toward bonds. Whatever you choose, subtract your all-in fund and plan fees first — a 0.60% expense ratio against a 7.6% gross return is a 7% net return. If you would rather read the projection in today's dollars, use a real return of roughly 4% to 5% instead and interpret every output as inflation-adjusted.

Does the calculator include the employer match in the contribution limit?

No, and neither does the law. The §402(g) elective deferral limit applies only to your own contributions. Employer matching and profit-sharing money falls under the separate §415(c) annual additions limit, which covers everything going into the account from all sources. That is why someone at the deferral cap can still receive several thousand dollars of match on top. The calculator warns you if a projected year would breach the §415(c) figure.

Why does my match stop growing when I raise my deferral?

Because the match has a ceiling expressed as a share of pay. A typical formula pays 50 cents per dollar on the first 6% of salary, so once you defer 6% the employer contribution is fixed at 3% of pay no matter how much more you add. Extra deferrals above the ceiling still grow tax-deferred and still reduce your taxable income if they are pre-tax, but they earn no additional employer money.

What happens to the projection if I switch jobs?

The balance is portable but the assumptions are not. You can roll the balance into your new employer's plan or into an IRA with no tax consequence in a direct rollover, so the compounding continues uninterrupted. What changes is the match formula and possibly the fees, and any unvested employer money is forfeited when you leave. Rerun the projection with the new salary, new match terms and your rolled-over balance as the starting figure.

Should the projection be in today's dollars or future dollars?

The default output is in future dollars, because it uses a nominal return and a nominal raise. To read it in today's purchasing power, enter a real return — your nominal expectation minus expected inflation — and set the raise to your expected real wage growth, typically around 1%. Do not mix a real return with a nominal raise or you will overstate the contributions relative to the growth.

Does this account for catch-up contributions after 50?

No. IRC §414(v) allows an additional catch-up deferral once you reach age 50, on top of the §402(g) limit, and SECURE 2.0 added a larger catch-up in the years around age 60. Because the calculator does not know your current age, it caps deferrals at the base limit only. If you are over fifty and deferring at the cap, add the catch-up amount to the deferral limit field to model it.

Is a Roth 401(k) projected the same way?

The balance projection is identical — the same deferral limit, the same match, the same compounding. The difference is entirely on the tax side: pre-tax deferrals reduce your taxable income now and are taxed on withdrawal, while Roth deferrals are made from after-tax pay and come out tax free if the distribution is qualified. Employer matching contributions may be made on either basis under SECURE 2.0 depending on plan terms.

Why is my projected balance so much larger than what I paid in?

Because returns compound on returns. A dollar contributed in year one at 7% is worth about $7.61 after thirty years, while a dollar contributed in year twenty-nine has barely grown at all. Over a long horizon the early contributions dominate, which is why investment growth usually exceeds total contributions past roughly the twenty-year mark. The year-by-year table shows exactly where the crossover happens in your projection.

References