401(k) Calculator

Inputs

$
$0$500K
$
$0$1.5M
%
0%50%
% of salary
%
0%50%
% of salary they add
150
%
0%30%
%
0%20%

Result

Balance at retirement (30 yrs)
$1,244,887.42
  • Your total contributions$214,089.37
  • Employer match contributions$142,726.25
  • Total contributed (you + employer)$356,815.62
  • Compounded growth$863,071.80
  • Final salaryafter 30 yrs of 3% growth$182,044.69
  • Optimal contribution % (capture full match)Beyond the match, additional contributions still grow tax-deferred but no longer get the 100% match boost. Hit the IRS limit ($24,500 in 2026) before adding to a Roth IRA or taxable brokerage.6% ✓ — capturing the full 4% matchgood
Your projected balance
6% of salary contribution + 4% employer match
$1,244,887.42
Same plan, no employer match
Match adds $416,789.99 (compounded) — capture it first.
$828,097.43
2026 IRS elective-deferral limit
Plus $8,000 catch-up at 50+; $11,250 super-catch-up at 60–63 (SECURE 2.0).
$24,500 (Notice 2025-67)
Not financial advice — Excludes plan-level fees (0.3–1.5%/yr drag), vesting schedules, RMDs starting at 73 under SECURE 2.0. Constant-return projection ignores sequence-of-returns risk. Not investment or tax advice.

How to use this calculator

  • Enter your current 401(k) balance and your annual salary.
  • Set your contribution % (try at least enough to capture the full employer match).
  • Add the employer match — common: 50% of the first 6% you contribute, so set 3%.
  • Use 7% return long-term, 3% salary growth.

About this tool

A 401(k) is the most powerful retirement vehicle most workers have access to — pre-tax contributions, tax-deferred growth, and (often) free money from your employer in the form of matching. This calculator models all of it: your contribution percentage, employer match (commonly 50% of your contribution up to 6% of salary), expected investment return, and salary growth over time. Watch what happens when you bump your contribution from 3% to 6% with a 4% match — you're effectively adding 7% of your salary to your future self every year.

How it works — the formula

FV = PMT · ((1+r)^n − 1) / r · (1+r) plus employer match Matched dollar = Match% × min(your contribution%, match cap%) × salary

The future value of an annuity-due (contributions at the start of each period) gives the projected balance at retirement under a constant return r and n compounding periods. Employer matches are layered on top per the plan's formula — a typical "100% on first 3%, 50% on next 2%" provides up to a 4% boost on top of your contribution, free money the IRS still treats as elective for vesting purposes.

Worked examples

Example 1
30-year-old maxing for 35 years
Inputs:
salary = $100k, contribute $24,500/yr (2026 limit), match = $4,000/yr, r = 7%, t = 35y, contributions at year-start
Output:
FV ≈ $4.22M at age 65
Example 2
Mid-career, capturing the match only
Inputs:
salary = $80k, contribute 4% ($3,200/yr) + 4% match, r = 7%, t = 25y
Output:
FV ≈ $433k — captures match but well short of the 4% rule retirement target
Example 3
Late starter, 50+ with catch-up
Inputs:
age = 50, contribute $32,500/yr (2026 with catch-up), r = 6%, t = 17y
Output:
FV ≈ $972k — credible if combined with prior savings and Social Security

How a 401(k) works

A 401(k) is an employer-sponsored retirement savings plan authorised under Section 401(k) of the Internal Revenue Code. It lets you defer part of your salary — pre-tax in a Traditional 401(k), or after-tax in a Roth 401(k) — into an investment account earmarked for retirement. Contributions come out of your paycheck automatically before you see them, which sidesteps the willpower problem that kills most saving efforts.

The tax-advantaged status is what makes a 401(k) so powerful. In a Traditional 401(k), contributions reduce your current taxable income, the account grows tax-deferred (see Compound Interest Calculator for the pure math on this), and you pay ordinary income tax only when you withdraw the money in retirement. In a Roth 401(k), contributions come from after-tax dollars, the account grows tax-free, and qualifying withdrawals in retirement are also tax-free. Both structures let compound interest work without an annual tax drag — the single most important quantitative feature of retirement accounts.

Nearly every employer 401(k) offers an "employer match" — a percentage of your contribution that the employer adds on top, up to a defined limit. Capturing the full match is essentially free money and should be the first priority in any savings plan.

2026 contribution limits (IRS Notice 2025-67)

The IRS publishes updated retirement contribution limits every fall for the following calendar year, indexed to inflation. For 2026, the limits are:

2026 401(k) contribution limits — IRS Notice 2025-67
Limit typeAmountNotes
Employee elective deferral$23,500Combined across all 401(k) accounts held in the tax year
Age 50+ catch-up+$7,500On top of the standard employee deferral; total $31,000 for savers 50+
Age 60-63 super catch-up+$11,250Replaces the standard $7,500 catch-up for this age band; total $34,750
Overall 415(c) limit$70,000Employee deferrals + employer match + after-tax contributions combined
Highly compensated employee threshold$160,000Compensation floor for 2026 non-discrimination testing
The age 60-63 "super catch-up" was created by SECURE 2.0 Act of 2022 to help pre-retirees close the savings gap in the final working years. It replaces (not stacks on top of) the standard $7,500 catch-up during that specific four-year window.

Employer match — the highest-return investment available

Employer matching contributions are unique in personal finance: nowhere else in your investing life will you earn an immediate 25%, 50%, or 100% return the moment you invest a dollar. A typical match is dollar-for-dollar on the first 3% of salary and 50 cents on the dollar for the next 2% — a common "safe harbor" 401(k) formula that produces a 100% immediate return on the first 3% of contributions and 50% on the next 2%.

Concretely: a person earning $75,000 who contributes 5% ($3,750) with this match receives $3,000 from the employer — a total of $6,750 added to the account for a $3,750 out-of-pocket cost. Skipping the match to spend the $3,750 elsewhere means walking away from $3,000 of compensation you have already earned.

The Vanguard How America Saves 2024 report notes that about 20% of eligible employees fail to capture the full match — mostly because they never adjusted their contribution rate up from the default enrollment percentage. If nothing else, contribute at least enough to capture the full match before considering any other savings vehicle.

Traditional vs Roth 401(k) — the bracket arbitrage decision

Since 2006, most employer plans allow both Traditional and Roth 401(k) contributions. The choice hinges on a single question: do you expect to be in a higher marginal tax bracket now, or in retirement? If you expect to be in a higher bracket now, contribute Traditional (defer taxes to the lower future bracket). If you expect to be in a higher bracket in retirement, contribute Roth (pay taxes now at the lower current bracket, avoid them later).

For most early-career savers with rising incomes, the honest answer is "I don't know" — future tax law is unpredictable, and lifetime earnings trajectories rarely turn out the way we predict. That uncertainty is a legitimate reason to split contributions across both types: half Traditional, half Roth. This tax-diversifies the retirement stash the way asset diversification protects against market outcomes.

Two structural considerations bias the decision toward Roth for younger savers. First, decades of tax-free compounding on Roth dollars beat decades of tax-deferred compounding when a withdrawal-rate mistake in retirement pushes the retiree into a higher bracket than expected. Second, Roth balances have no Required Minimum Distributions during the original account holder's lifetime — Traditional balances do. That optionality has real value in retirement withdrawal planning.

Vesting schedules

Your own contributions are always 100% vested — that money is yours immediately. Employer match contributions, however, may be subject to a vesting schedule, meaning you only fully own that money after a defined period of service.

The two common schedules are cliff vesting (0% until you hit a service milestone, then 100%, typically at 3 years) and graded vesting (usually 20% per year over 5 years, starting after 2 years of service). If you leave the employer before fully vesting, the unvested portion of the employer match is forfeited back to the plan.

This is a real consideration for job changes. Leaving 3 months before a vesting cliff can cost you tens of thousands of dollars in walkaway match. Before accepting a new job offer, check your current plan's vesting schedule against your tenure. In many cases the offered signing bonus at the new employer is calibrated to cover the forfeited match — but not always. Ask.

Rollovers when you leave

When you leave an employer, you generally have four options for your 401(k): leave it in the old plan (if permitted, and if the balance is above the plan's cash-out threshold), roll it into your new employer's 401(k), roll it into a Traditional or Roth IRA, or cash it out (rarely the right move — see next section).

The mechanically-safest rollover is a direct trustee-to-trustee transfer: the old plan sends the money directly to the receiving IRA or new 401(k) without touching your bank account. This avoids the 60-day rollover trap and the 20% mandatory federal-tax withholding that applies to distributions paid directly to you (which you would have to make up out of pocket to complete a rollover, then reclaim as a refund when you file taxes).

A Roth 401(k) can only roll into a Roth IRA (not into a Traditional IRA). A Traditional 401(k) can roll into either a Traditional IRA (no tax event) or a Roth IRA (a taxable conversion, at which point you pay ordinary income tax on the pre-tax balance). Roth conversions can be a strategic tax move in low-income years, but require careful planning to avoid unexpectedly high tax bills.

Early withdrawal — the 10% penalty and the tax bill

Withdrawing from a 401(k) before age 59½ triggers a 10% federal early-withdrawal penalty on the withdrawn amount, on top of the ordinary income tax already owed on Traditional-401(k) balances. On $50,000 withdrawn early by a 35-year-old in the 24% federal bracket, the total damage is $5,000 penalty plus $12,000 federal income tax plus state tax — roughly $19,000 lost from a $50,000 withdrawal.

Several exceptions apply. The Rule of 55 lets you withdraw penalty-free from your CURRENT employer's 401(k) if you separate from service in or after the year you turn 55 (age 50 for public-safety employees). Substantially Equal Periodic Payments (SEPP, IRS Section 72(t)) allow penalty-free withdrawals as annuitized payments over your life expectancy. Hardship withdrawals cover certain narrowly-defined emergencies but still owe the 10% penalty in most cases. None of these should be treated as "escape hatches" — the mechanics are punitive by design because the retirement-savings mission is long-horizon.

Required Minimum Distributions (SECURE 2.0)

Traditional 401(k) balances are subject to Required Minimum Distributions (RMDs) starting at age 73 under the SECURE 2.0 Act of 2022 (was 72 under the original SECURE Act, was 70½ before that). Each year after the RMD age, the IRS requires you to withdraw a percentage of your balance based on your remaining life expectancy per Uniform Lifetime Table calculations. The withdrawal is taxed at ordinary income rates.

RMDs on a $500,000 Traditional balance start at roughly $19,000/year at age 73, growing over time as the divisor decreases. Failing to take a required RMD incurs a 25% excise tax on the shortfall (reduced from 50% under the original SECURE 2.0, and further reduced to 10% if corrected quickly). Roth 401(k) balances are exempt from RMDs during the original account holder's lifetime under a SECURE 2.0 change effective 2024 (previously Roth 401(k)s did face RMDs, unlike Roth IRAs). This makes Roth accounts significantly more flexible in retirement.

Fees — the silent portfolio drag

Every 401(k) plan carries three layers of fees: plan-level record-keeping and administrative fees, investment-option expense ratios, and (sometimes) individual service fees. Under DOL Regulation 404(a)(5), your employer must disclose these fees to you annually. Actually reading the disclosure is one of the most under-done exercises in personal finance.

The quantitative impact is enormous. A 0.5% total fee difference on a portfolio compounding at 7% over 40 years reduces the final balance by roughly 15%. On a projected $1 million balance, that is $150,000 forfeited to fees. Many older 401(k) plans still offer only actively-managed mutual funds with expense ratios above 1%; these can be compared to broad-index target-date funds available in most modern plans at 0.05-0.15%. If your plan's options are all high-cost, the rational response is to contribute up to the match, then direct additional retirement savings to a Roth IRA (where you control the investment lineup) before returning to the 401(k) for anything above the IRA limit.

401(k) vs IRA — the priority stack

A rational retirement-savings priority order for most US workers, based on the marginal after-fee, after-tax return of each incremental dollar:

  • 1st priority: 401(k) up to the full employer match (immediate matched return dominates any other option)
  • 2nd priority: HSA maxed out if you have a high-deductible health plan (triple tax advantage — deduction, growth, and withdrawal)
  • 3rd priority: Roth IRA to the $7,000 limit ($8,000 if age 50+) if income is below the phaseout, or backdoor Roth conversion if above
  • 4th priority: back to 401(k) up to the $23,500 employee deferral limit ($31,000 with catch-up)
  • 5th priority: after-tax 401(k) if your plan permits it and offers in-service Roth conversions (the "mega backdoor Roth" strategy — allows saving up to the full $70,000 415(c) limit)
  • 6th priority: taxable brokerage for anything above the tax-advantaged limits

This ordering optimises for capturing free money first (the match), then triple-tax-advantaged growth (HSA), then flexible tax-free retirement income (Roth IRA), then tax-deferred bulk savings (401(k) balance above match), then advanced strategies. Very few workers max out all of these steps; those who do build significant retirement wealth almost automatically.

Limitations

  • IRS limits change annually — the 2026 figures cited apply to elective deferrals only; the overall 415(c) limit is $70,000 for 2026.
  • Vesting schedules can mean some of the employer match is forfeited if you leave before fully vested.
  • Required Minimum Distributions (RMDs) begin at age 73 under SECURE 2.0 and can force taxable withdrawals against the saver's preference.
  • Plan-level fees (record-keeping, fund expense ratios) can drag returns by 0.3–1.5%/yr — not modeled here.

401(k) projections rely on current tax law, plan terms, and a constant return assumption. This calculator does not provide tax, retirement, or investment advice — work with a CFP® or tax professional and check the IRS website for the year's definitive limits.

Frequently asked

Minimum: enough to capture the full employer match — that's a guaranteed 100% return. Better: 10-15% of salary including the match. The IRS sets the elective-deferral limit each year (see the editorial section below for current figures).

Related calculators