401(k) Calculator
Model your 401(k) contributions, employer match, and tax savings for 2025 or 2024. See how your retirement savings grow over time with compound returns, and understand the real after-tax cost of your contributions.
Your Contribution
$6,000/yrEmployer Match
$3,000/yrAnnual Tax Savings
$1,320Effective Cost
$4,680/yr$914,978
| Without 401(k) | With 401(k) | |
|---|---|---|
| Federal Income Tax | $13,449 | $12,129 |
| Annual Tax Savings | $1,320 |
2024-2026 401(k) contribution limits
The IRS sets four separate annual limits under IRC §401(k), §402(g), §414(v), and §415(c) — adjusted for inflation each fall via IRS Notice. The numbers below come from IRS Notice 2024-80 (2025 limits) and IRS Notice 2025-67 (2026 limits).
| Limit type | 2024 | 2025 | 2026 | Statute |
|---|---|---|---|---|
| Employee elective deferral | $23,000 | $23,500 | $24,500 | §402(g) |
| Age-50+ catch-up | $7,500 | $7,500 | $8,000 | §414(v) |
| Super catch-up (60-63) | $7,500 | $11,250 | $11,250 | SECURE 2.0 §603 |
| Total additions (employee + employer) | $69,000 | $70,000 | $72,000 | §415(c) |
| Compensation cap for match | $345,000 | $350,000 | $360,000 | §401(a)(17) |
The four limits work in layers: §402(g) caps YOUR salary deferrals; §414(v) lets age-50+ exceed it; §415(c) caps TOTAL annual additions (your deferral + employer match + after-tax + Roth); §401(a)(17) caps the salary on which match percentages are calculated. Highly compensated employees ("HCEs" earning ≥$155,000 in 2024 / ≥$160,000 in 2025) may face ADDITIONAL non-discrimination test limits at the plan level.
Traditional vs Roth — the math
Both vehicles produce the SAME after-tax dollar at retirement IF your current and future marginal rates are identical — they're mathematically equivalent under rate-symmetry. The decision is entirely about rate DIFFERENCES.
Example: $10,000 contribution, 7% growth, 20 years, retirement withdrawal year:
Traditional — defer at 24%, withdraw at 22%
Pretax $10,000 contribution costs you $7,600 of take-home.
Grows to $38,697 at 7% × 20 years.
Withdraw, taxed at 22% → $30,184 spendable.
Net winner if you'll retire in a LOWER bracket.
Roth — pay 24% now, $0 tax later
After-tax $10,000 contribution costs you $10,000.
(Same dollar in Roth = $13,158 pretax equivalent for fair comparison.)
Grows to $38,697 at 7% × 20 years — entirely tax-free at withdrawal.
Net winner if you'll retire in a HIGHER bracket — or want tax diversification.
Most workers underestimate their RETIREMENT bracket because they forget Social Security taxability + RMDs forcing distributions. A 28-year-old in the 12% bracket today is very likely a 22% or 24% retiree — strongly favoring Roth contributions while young. A 55-year-old in the 32% bracket peak-earning years is likely a 22% retiree — favoring Traditional today.
Employer match — formulas and vesting
Match designs vary widely. The three most common formulas:
- "50% of the first 6%" — most common. At $100k salary and 6% deferral ($6,000), employer adds $3,000. Maximum employer cost = 3% of salary.
- "Dollar-for-dollar up to 4%" — at 4% deferral ($4,000), employer adds $4,000. Maximum employer cost = 4% of salary.
- Safe-harbor formula — typically 3% non-elective (employer adds 3% whether you defer or not) OR 100% of first 3% + 50% of next 2% (4% match if you defer 5%). Safe-harbor plans automatically pass IRS non-discrimination tests; common at small employers.
Vesting determines when match dollars become unconditionally yours. Federal law (ERISA / IRC §411) caps vesting schedules at three forms:
Immediate
100% vested on day 1. Common at tech firms competing for talent.
3-year cliff
0% until 3 years of service, then 100%. Leaving at 2 years 11 months = forfeit all match.
6-year graded
20% per year starting year 2 (year 2 = 20%, year 3 = 40% ... year 6 = 100%). Most generous schedule allowed.
Safe-harbor match dollars must be 100% immediately vested. Your OWN elective deferrals are always 100% vested regardless of schedule — vesting only governs the EMPLOYER portion. The Summary Plan Description (SPD) your employer provides specifies the exact schedule.
The mega backdoor Roth pathway
A high earner whose plan ALLOWS (a) after-tax non-Roth contributions AND (b) in-plan Roth conversions or in-service withdrawals can stack contributions FAR beyond the $402(g) deferral cap.
2025 math: total §415(c) cap = $70,000. Subtract your elective deferral $23,500. Subtract employer match (say 4% × $200k salary = $8,000). Remaining space = $38,500 of after-tax contributions, immediately converted to in-plan Roth. Add the $23,500 regular deferral for total $62,000 of tax-advantaged contribution — 2.6× the regular $402(g) cap.
Plan eligibility varies widely. Many large-employer plans permit; many small-employer plans don't. Check the Summary Plan Description for "after-tax contributions" AND "in-service rollovers" or "in-plan Roth conversions". The mega backdoor Roth calculator models year-by-year value at your specific income.
Worked 2025 examples
Mid-career, $120k salary, 6% deferral
$7,200 deferral. Employer matches 50% of first 6% = $3,600. Annual contribution $10,800. Tax savings at 22% bracket = $1,584. Over 25 years at 7%, balance grows to ~$683,000.
High earner, $200k salary, max deferral 2025
Defer $23,500 ($23,500/$200k = 11.75% of salary). Match capped at compensation × match formula. Total annual contribution ~$31,500 (incl. match). Tax savings at 32% bracket = $7,520. With mega backdoor, can stack additional ~$38,500.
Catch-up at age 55, $150k salary
Max deferral $31,000 = $23,500 + $7,500 catch-up. At 24% bracket, tax savings = $7,440. Closing 10-year gap to retirement.
Super catch-up at age 61, $180k salary
SECURE 2.0 enhanced catch-up: max deferral $34,750 = $23,500 + $11,250. At 32% bracket, tax savings = $11,120. Available 2025-2026 (ages 60-63 only); reverts to regular catch-up at 64.
Common 401(k) mistakes
- Leaving match on the table. Contributing below the employer match threshold is the single biggest 401(k) mistake — leaving a 50%-100% instant return uncaptured. Set deferral to at least the match cap before optimizing anything else.
- Front-loading too aggressively at a match-by-payroll employer. Some employers match per pay period, not annually. If you hit the $23,500 cap in October, the November-December payrolls have no deferral and no match — costing 2 months of free money. Check whether your employer "true-ups" the match at year-end (most large employers do, many small ones don't).
- Mis-tracking deferrals across employers mid-year. The $23,500 elective deferral cap is PER-PERSON, not per-plan. If you switch jobs in July having already deferred $15,000, you can only defer $8,500 more — but the new employer's payroll doesn't know your prior YTD. Manually cap your new-employer deferral or you'll owe a deemed distribution.
- Cashing out on job change. Cashing a $50k 401(k) at age 35 triggers ordinary tax + 10% §72(t) penalty AND erases 30 years of compound growth (~$381k at 7%). Always roll to an IRA or new employer plan. Form 1099-R box 7 code "1" flags early distribution.
- Holding company stock indiscriminately. Concentration in employer stock is a double risk — your salary AND your retirement both depend on the same company. Cap employer stock at 5-10% of the 401(k); diversify everything else into broad index funds.
- Ignoring fees. A 1.0% expense ratio over 30 years costs roughly 25% of the final balance vs a 0.1% index fund. Check the fund options for an S&P 500 index or target-date fund with ≤0.20% expense ratio.
Frequently asked questions
What is the 401(k) contribution limit for 2025 and 2026?
The §402(g) employee elective deferral limit is $23,500 for 2025 and rises to $24,500 for 2026 (IRS Notice 2024-80 / Notice 2025-67). Age-50+ catch-up under §414(v) is $7,500 / $8,000, so age-50+ employee totals are $31,000 / $32,500. The §415(c) combined employee + employer limit is $70,000 / $72,000 — or $77,500 including the 2025 age-50 catch-up.
What is the SECURE 2.0 super catch-up for ages 60-63?
SECURE 2.0 §603 created an enhanced catch-up for participants aged 60, 61, 62, and 63 — the GREATER of $10,000 or 150% of the regular age-50 catch-up, indexed for inflation. For 2025 and 2026 that resolves to $11,250 / $11,250. Combined with the base deferral, ages 60-63 can defer up to $34,750 of their own salary in 2025. After age 63 the catch-up reverts to the regular $7,500/$8,000 amount.
What's the difference between Traditional and Roth 401(k)?
Traditional contributions reduce current taxable income; the account grows tax-deferred; distributions in retirement are ordinary income. Roth contributions are after-tax (no deduction today); the account grows tax-free; QUALIFIED distributions in retirement are entirely tax-free under §402A. The decision hinges on your CURRENT marginal rate vs your EXPECTED retirement marginal rate. A 24%-bracket worker who expects to retire at 12% should prefer Traditional; a 12%-bracket worker who expects to retire at 24% should prefer Roth. SECURE 2.0 also required Roth treatment of catch-up contributions for high earners (W-2 ≥$145k indexed) starting plan years 2026+.
How does the employer match work?
Employers can match a percentage of your contribution up to a salary cap. A typical formula is "50% of the first 6%": at $100k salary contributing 6% ($6,000), the employer adds $3,000 — a 50% instant return on the matched dollars. Some employers match dollar-for-dollar up to 3-5%. ALWAYS contribute at least to the full match — leaving match unfunded is leaving compensation on the table. Match contributions count toward the §415(c) total limit ($70,000 for 2025), not the §402(g) deferral limit.
What's a vesting schedule?
Vesting determines when employer match contributions become permanently yours. Three schedules are common: IMMEDIATE (100% vested from day 1), 3-YEAR CLIFF (0% until 3 years of service, then 100%), and 6-YEAR GRADED (20% per year starting year 2, full at year 6). Your OWN deferrals are ALWAYS 100% vested regardless of schedule. If you leave before fully vested, you forfeit the unvested portion of employer match — check your Summary Plan Description (SPD) for your plan's specific schedule.
What is the mega backdoor Roth?
If your 401(k) plan allows (a) AFTER-TAX (non-Roth, non-Traditional) contributions AND (b) in-plan Roth conversions or in-service withdrawals, you can stack additional contributions above the §402(g) deferral cap, up to the §415(c) total limit. For 2025: $70,000 total cap minus your elective deferrals minus employer match = available after-tax space. Convert those after-tax dollars to Roth (in-plan) for tax-free growth. See /mega-backdoor-roth-calculator/ for the year-by-year value.
When do I have to start withdrawing — what's the 401(k) RMD age?
Under SECURE 2.0 §107, Required Minimum Distributions begin at age 73 (for those reaching 72 in 2023+) and step to age 75 in 2033. RMDs are calculated using the IRS Uniform Lifetime Table — for example, the 2025 divisor at age 73 is 26.5. Failure-to-take penalty is 25% of the missed RMD (reduced to 10% if cured within 2 years and reported on Form 5329). Roth 401(k) RMDs were ELIMINATED starting 2024 under SECURE 2.0 §325 — Roth 401(k) now matches Roth IRA treatment.
Can I roll my 401(k) to an IRA after leaving my employer?
Yes — a direct trustee-to-trustee rollover (preferred over the 60-day indirect method) preserves tax-deferred status. Traditional 401(k) → Traditional IRA, Roth 401(k) → Roth IRA. A direct rollover has no 20% mandatory withholding; an indirect rollover triggers 20% withholding which you must replace with other money within 60 days to avoid taxation. Reported on Form 1099-R (distribution) and Form 5498 (receiving IRA). For high earners, retaining a separate Traditional 401(k) preserves the backdoor Roth IRA pro-rata workaround.</a>
What if I have multiple 401(k) accounts?
The §402(g) $23,500 elective deferral limit (2025) is a PER-PERSON limit, not per-plan. If you contributed $10,000 to a former employer's plan in 2025 and start a new job, you can only defer $13,500 to the new plan that year. Each employer's §415(c) $70,000 total limit is SEPARATE per unrelated employer, so high earners with two unrelated W-2 jobs can theoretically receive $70,000 of contributions in EACH plan — though the elective-deferral cap still binds across both.
Are 401(k) loans a good idea?
You can borrow up to the LESSER of $50,000 or 50% of your vested balance for up to 5 years (longer for home purchase). Repaid via payroll deduction at prime + 1-2%, with interest going back to your OWN account. Risks: leaving the company makes the unpaid balance due as a deemed distribution (taxable + 10% penalty under §72(t) if under 59½). SECURE 2.0 §523 added emergency hardship withdrawals up to $1,000/year penalty-free. Generally last resort — opportunity-cost-of-missed-growth often exceeds the loan benefit.
How does the 401(k) interact with Traditional IRA deductibility?
If you're "covered" by a workplace plan (any 401(k) deferral year, even $1), your Traditional IRA deduction phases out at moderate income. For 2025 single covered participants: phase out $79,000-$89,000 MAGI. MFJ both covered: $126,000-$146,000. The Roth IRA contribution itself phases out at $150,000-$165,000 (2025 single) regardless of 401(k) coverage. The /roth-vs-traditional-ira/ calculator handles the phase-out math.
What happens to my 401(k) when I die?
Your designated beneficiary (NOT your will) controls the account. Spouse beneficiaries can roll it into their own IRA. Non-spouse beneficiaries under SECURE Act 2020 must EMPTY the account within 10 years for most accounts (Eligible Designated Beneficiaries — minor children, disabled, chronically ill, beneficiaries within 10 years of decedent's age — keep the stretch). No annual RMDs during the 10 years if decedent died BEFORE RMD age; annual RMDs required during years 1-9 if after. Designate beneficiaries explicitly — accounts without designation often go through probate.
Can I have both a 401(k) and an IRA?
Yes. The 401(k) limit ($23,500 elective deferral 2025) and the IRA limit ($7,000 2025) are independent. A 40-year-old can fully fund both for $30,500 of annual tax-advantaged contributions. Age-50+ adds $7,500 (401k) + $1,000 (IRA) for $39,000 total. IRA deductibility phases out if you're 401(k)-covered (see prior FAQ), but Roth IRA contributions remain available within the Roth income limits.
Sources
Related insights
Use these guides for rule explanations, planning context, and follow-up questions beyond the calculator result.
Related Calculators
Roth vs Traditional IRA
Side-by-side Roth vs traditional projection — current-year deduction vs tax-free retirement withdrawal at your projected marginal rate
Mega Backdoor Roth Calculator
After-tax 401(k) to Roth: $72k total limit, conversion gains tax, 5-year rule
Retirement Withdrawal Strategy
Tax-efficient decumulation: taxable → 401k → Roth. RMDs, IRMAA cliffs, SS taxability
Taxable vs Tax-Advantaged Savings
HYSA vs Roth IRA vs 401(k) vs muni bonds: after-tax future value comparison
HSA Calculator
$4,300/$8,550 triple tax advantage, HDHP, post-65 stealth IRA
Paycheck Calculator
Federal, state, FICA withholding, net take-home, W-4 alignment