🏦401(k) Calculator

Three-in-one 401(k) calculator: project your retirement balance with employer match and salary growth, calculate the true cost of early withdrawals including taxes and penalties, and find the exact contribution needed to maximize your employer match.

Prefer to skip the form? Scroll down and Ask AI Instead. Just describe your situation and let AI handle the math for you in seconds.

401(k) Calculator

Project your retirement balance, calculate the real cost of early withdrawals, and optimize your contributions to capture every dollar of employer match.

🏦
ℹ️

2025 IRS Limits: Employee contribution limit is $23,500 (under 50) · $31,000 (50–59, 64+) · $34,750 (ages 60–63, enhanced SECURE 2.0 catch-up) · Total combined limit (employee + employer): $70,000.

👤 Personal & Plan Details

$

💼 Salary & Contributions

$
%

% of salary

%

e.g. 50 = 50¢ per $1

%

% of salary matched

📈 Growth Projections

%
%
%

Projected 401(k) Balance at Retirement

$2,069,079

In 35 years at age 65

Your Contributions

$453,466

Employer Match

$68,020

Investment Growth

$1,512,594

Monthly Income (4% Rule)

$6,896.93

Sustainable withdrawal

Sustainable Monthly (lifespan)

$16,041.55

Over 20 yr retirement

Today's Dollar Value

$735,316

Inflation-adjusted (3%)

📊 Balance Composition

Starting Balance — $35,0001.7%
Your Contributions — $453,46621.9%
Employer Match — $68,0203.3%
Investment Growth — $1,512,59473.1%

Growth represents 73.1% of projected balance — the power of compounding at 7% annually over 35 years.

📋 Full Breakdown

Projected Balance at Retirement$2,069,079
Your Total Contributions$453,466
Total Employer Match$68,020
Investment Growth$1,512,594
Starting Balance$35,000
Inflation-Adjusted Balance$735,316
Monthly Income (4% Rule)$6,896.93
Monthly Income (lifespan-based)$16,041.55
Annual Employee Contribution$7,500
Annual Employer Contribution$1,125
2025 IRS Limit (your age)$23,500
Years to Retirement35
Salary at Retirement (est.)$211,040

📈 Projected Growth Over Time

Age 31
$46,075
Age 32
$58,184
Age 33
$71,407
Age 34
$85,830
Age 35
$101,546
Age 36
$118,653
Age 37
$137,257
Age 38
$157,473
Age 39
$179,422
Age 40
$203,235
Age 41
$229,053
Age 42
$257,026
Age 43
$287,315
Age 44
$320,093
Age 45
$355,546
Age 46
$393,871
Age 47
$435,283
Age 48
$480,008
Age 49
$528,292
Age 50
$580,397
Age 51
$636,602
Age 52
$697,210
Age 53
$762,541
Age 54
$832,941
Age 55
$908,779
Age 56
$990,453
Age 57
$1,078,385
Age 58
$1,173,031
Age 59
$1,274,876
Age 60
$1,384,443
Age 61
$1,502,289
Age 62
$1,629,013
Age 63
$1,765,253
Age 64
$1,911,698
Age 65
$2,069,079

📐 Formula

Balance(yr+1) = Balance(yr) × (1 + r) + EmpContrib + MatchContrib

Each year, your balance compounds at the expected annual return rate, then both your contribution and the employer match are added. Employer match is computed tier by tier against each match formula. The early withdrawal calculation applies the 10% penalty (if under 59½ with no exemption) plus federal, state, and local income taxes on the gross withdrawal amount. Opportunity cost measures what that money would have grown to by retirement at your expected return rate.

Advertisement

728 × 90

✦ Ask AI Instead

401(k) Calculator: Retirement Savings Projection, Early Withdrawal Costs & Employer Match Optimizer

This 401(k) calculator gives you three essential tools in one place: a full retirement savings projection with compound growth and employer match, an early withdrawal cost calculator showing exactly what a 401(k) distribution costs after taxes and penalties, and a contribution optimizer that identifies the precise contribution level needed to capture every dollar of your employer match. Whether you are starting your first job or nearing retirement, these three tools together give you a complete picture of your defined-contribution plan.

How 401(k) Savings Projections Work

A 401(k) retirement projection simulates what your account balance will be at retirement by modeling three simultaneous growth engines: your own contributions, employer matching contributions, and compound investment returns on the entire accumulated balance. Each year, your salary (growing at the salary increase rate) generates a contribution, which is matched by your employer up to the plan limit, and the entire balance earns the expected annual return. Because returns compound on a growing base, the model produces exponential growth that accelerates in the later years of a long career.

This calculator also computes your inflation-adjusted balance to show what your projected nest egg is worth in today's purchasing power, and calculates two measures of retirement income: the widely-used 4% withdrawal rule and a more precise lifespan-based sustainable withdrawal rate that accounts for your specific life expectancy.

2025 401(k) Contribution Limits and Catch-Up Rules

The IRS sets annual limits on how much employees can contribute to their 401(k) accounts. For 2025, the limits are:

  • Under age 50: $23,500 maximum employee contribution
  • Ages 50–59 and 64 and older: $31,000 (standard $7,500 catch-up contribution)
  • Ages 60–63: $34,750 under the SECURE 2.0 Act's enhanced catch-up provision, which increased the catch-up limit to the greater of $10,000 or 150% of the regular catch-up amount for this specific age window
  • Combined employee + employer limit: $70,000 for all ages, $77,500 for ages 50+

These limits apply only to employee deferrals. Employer matching contributions are added on top and do not count against the employee contribution limit, although they do count against the combined $70,000 total annual addition limit. The calculator enforces the age-appropriate IRS limit each year in the projection, so your simulation stays realistic even as your salary grows.

Employer 401(k) Match: The Most Powerful Feature of Your Plan

Employer matching is effectively an immediate 50% to 100% return on the dollars you contribute up to the match limit — guaranteed, with no market risk. No other savings vehicle offers anything comparable. The most common structure is a dollar-for-dollar match on the first 3% of salary (a 100% match rate up to 3% of salary), but many plans use a two-tier formula: 100% on the first 3% and 50% on the next 3%, delivering a combined 4.5% employer contribution when the employee contributes at least 6%.

The Maximize Employer Match tab in this calculator solves for the exact contribution percentage needed to fully capture your employer match under any two-tier formula. The contribution ladder table shows you the match you receive at every incremental percentage so you can see precisely when additional contributions stop generating additional employer contributions.

Vesting Schedules and the Real Value of Your Match

Your own contributions are always 100% vested immediately — they are your money from day one. Employer matching contributions are subject to vesting schedules set by the plan. Cliff vesting gives you 0% ownership until a specific date (often 2–3 years), then 100% at once. Graded vesting provides incremental ownership (for example, 20% per year over five years). If you leave your employer before fully vesting, you forfeit the unvested portion of employer contributions. Always review your plan's vesting schedule before making career moves, and factor unvested match into your total compensation analysis.

The True Cost of Early 401(k) Withdrawals

Withdrawing from your 401(k) before age 59½ triggers two separate costs that together consume a substantial portion of the withdrawn amount. First, the IRS imposes a 10% early withdrawal penalty on the gross amount withdrawn. Second, the entire withdrawal is added to your ordinary taxable income for that year and taxed at your marginal federal, state, and local rates. A person in the 24% federal bracket withdrawing $20,000 early would owe $2,000 in penalty plus roughly $4,800 in federal income tax — receiving only $13,200 of their original $20,000.

The opportunity cost compounds this loss further. Money withdrawn no longer compounds inside the tax-advantaged account. At 7% annual returns over 25 years, a $20,000 early withdrawal costs not just the $6,800 in immediate taxes and penalties, but also the $108,000 that the $20,000 would have grown to by retirement.

Qualifying Exemptions to the 10% Penalty

The IRS recognizes several situations where the 10% early withdrawal penalty is waived, though ordinary income tax still applies:

  • Permanent disability: Total and permanent disability as defined by the IRS
  • Separation from service at age 55 or older: If you leave your employer in or after the calendar year you turn 55 (50 for public safety employees)
  • Substantially equal periodic payments (Rule 72(t)): A series of equal payments calculated using life expectancy, continued for at least 5 years or until age 59½, whichever is longer
  • Qualified reservist distributions: Members of the military called to active duty for 180+ days
  • Certain medical expenses, divorce orders (QDROs), and other specific IRS exceptions

The Early Withdrawal tab in this calculator lets you check applicable exemptions and see the exact net amount you would receive after all deductions, plus the full long-term opportunity cost at your expected return rate.

Traditional 401(k) vs. Roth 401(k): Choosing the Right Type

Many employers now offer both traditional (pre-tax) and Roth (after-tax) 401(k) options. Traditional contributions reduce your taxable income now and grow tax-deferred, with withdrawals taxed as ordinary income in retirement. Roth contributions provide no upfront tax deduction but grow completely tax-free, with qualified withdrawals in retirement entirely tax-free — including all the earnings accumulated over decades.

The decision depends on whether you expect your tax rate to be higher now or in retirement. Young workers in lower brackets typically benefit more from Roth contributions since they sacrifice relatively little upfront tax benefit and capture decades of tax-free growth. High earners in peak earning years often prefer traditional contributions for the immediate tax reduction. You can also split contributions between traditional and Roth within the same calendar year, subject to the combined $23,500 limit.

Target-Date Funds and Investment Allocation in a 401(k)

Most 401(k) plans offer target-date funds as a default investment option. These funds automatically shift from aggressive equity-heavy allocations in early career years to more conservative bond-heavy allocations as you approach your target retirement year. They rebalance automatically and require no ongoing management, making them an excellent choice for most participants who prefer a hands-off approach.

If you select your own investments, the two most critical decisions are asset allocation (the mix of stocks and bonds) and expense ratio (the annual cost of each fund). Index funds tracking broad market benchmarks typically charge 0.03% to 0.10% annually compared to 0.5% to 1.5% for actively managed alternatives. On a $500,000 portfolio over 30 years, a 1% difference in annual fees costs more than $250,000 in ending balance due to the compounding impact of higher costs.

Frequently Asked Questions

What is the 401(k) contribution limit for 2025?

The 2025 employee contribution limit is $23,500 for workers under age 50. Workers aged 50–59 and 64+ can contribute up to $31,000 (adding the $7,500 standard catch-up). Workers aged 60–63 can contribute up to $34,750 under the SECURE 2.0 Act's enhanced catch-up provision. Employer matching contributions are added on top and do not count toward these limits, though total annual additions (employee + employer) are capped at $70,000 for most participants.

How much does a 401(k) early withdrawal actually cost?

An early withdrawal before age 59½ (with no qualifying exemption) triggers a 10% IRS penalty on the gross amount plus ordinary income taxes at your federal, state, and local rates. A $20,000 withdrawal for someone in the 25% federal bracket and 5% state bracket would incur $2,000 in penalty plus approximately $6,000 in income tax, leaving only $12,000 — a 40% effective loss. On top of that, the withdrawn money stops compounding tax-deferred, representing an opportunity cost of potentially $100,000+ by retirement.

How do I maximize my employer 401(k) match?

To capture the full employer match, contribute at least the percentage of salary up to which your employer matches. If your employer matches 100% on the first 3% of salary, you must contribute at least 3% to get the full match. If they use a two-tier formula (100% on first 3%, 50% on next 3%), you need to contribute at least 6% to maximize both tiers. Use the Maximize Employer Match tab in this calculator to enter your exact plan formula and see the contribution ladder showing your match at every percentage.

What is the 4% withdrawal rule for 401(k) income?

The 4% rule is a widely cited retirement income guideline suggesting that you can safely withdraw 4% of your portfolio balance in the first year of retirement, then adjust for inflation each subsequent year, with a historically high probability of the portfolio lasting 30+ years. For example, a $1,000,000 401(k) supports $40,000 per year or about $3,333 per month under this rule. It is a planning benchmark, not a guarantee — some financial planners recommend 3–3.5% for very long retirements or for portfolios that began in high-valuation market environments.

What happens to my 401(k) if I leave my job before I am fully vested?

Your own contributions are always 100% yours regardless of tenure. Employer matching contributions are subject to your plan's vesting schedule. Under cliff vesting, you may receive 0% of employer contributions if you leave before the cliff date (often 2–3 years), then 100% if you stay past it. Under graded vesting, you earn an increasing percentage each year (for example, 20% per year over five years). Always check your plan's Summary Plan Description for the specific vesting schedule before making job changes, as unvested match can represent thousands of dollars in forfeited compensation.

Should I choose a traditional or Roth 401(k)?

The main difference is when you pay taxes. Traditional 401(k) contributions reduce your taxable income today and you pay taxes on withdrawals in retirement. Roth 401(k) contributions provide no upfront deduction but qualified withdrawals in retirement — including all earnings — are completely tax-free. Generally, younger workers in lower tax brackets benefit more from Roth contributions, while high earners in peak earning years often prefer traditional contributions for the immediate tax break. Both types share the same annual contribution limit, and you can split between them in any proportion.