401k Calculator
Project your 401(k) balance at retirement including employer match.
401k Growth
Formula
FV = Balance×(1+r)^n + Annual×[(1+r)^n–1]/r
Example
$50K balance, $19.5K/year, 50% match, 8% return, 25 years → ~$2.1M.
Embed this calculator on your site
Add this free calculator to your own website with one line of code. The embedded version is responsive, ad-free, and includes a small attribution link back to CalcNest AI.
<iframe src="https://calcnestai.com/embed/401k-calculator.html" width="100%" height="700" frameborder="0" style="border: 1px solid #e5e5e5; border-radius: 12px; max-width: 720px;" loading="lazy" title="401k Calculator 2026 — Free Retirement Tool by CalcNest AI"></iframe>
By embedding, you agree to keep the "Powered by CalcNest AI" attribution visible. The embed is free for personal and commercial use.
A 401(k) is the most powerful wealth-building vehicle most Americans have access to — but only if you understand the three forces that drive its growth: your contribution, your employer's match, and the compounding return over decades. Skipping any one of them costs hundreds of thousands of dollars over a career.
Where your final 401(k) balance comes from
Most people overestimate the contribution of their own deposits and underestimate the compounding effect. Across a typical 30-year career, more than two-thirds of the final balance comes from investment growth — not from what you put in.
Where a typical $1M 401(k) balance comes from
The cost of starting late
Compounding rewards early contributions disproportionately. The first $10,000 contributed at age 25 ends up worth more at retirement than $30,000 contributed at age 45 — even though you put in 3× less.
| Start age | Contributing $500/mo | Final balance at 65 (7% return) | Total contributed |
|---|---|---|---|
| 22 | 43 years | $1,400,000 | $258,000 |
| 30 | 35 years | $830,000 | $210,000 |
| 35 | 30 years | $565,000 | $180,000 |
| 40 | 25 years | $380,000 | $150,000 |
| 45 | 20 years | $245,000 | $120,000 |
| 50 | 15 years | $155,000 | $90,000 |
An eight-year head start (age 22 vs. age 30) results in nearly $570,000 more at retirement on identical monthly contributions.
2025 contribution limits and employer match strategy
| Limit type | 2025 amount | Notes |
|---|---|---|
| Employee deferral (under 50) | $23,500 | Up from $23,000 in 2024 |
| Catch-up contribution (50+) | +$7,500 | Total: $31,000 for ages 50-59 and 64+ |
| Catch-up "super" (60-63) | +$11,250 | SECURE 2.0 enhanced catch-up — total $34,750 |
| Total contribution limit (incl. employer) | $70,000 | $77,500 for 50+, $81,250 for 60-63 |
| Highly compensated income threshold | $160,000 | Triggers ADP/ACP testing limits |
Employer match: the most ignored free money
If your employer matches 50% of contributions up to 6% of salary, every $1 you contribute (up to that 6%) becomes $1.50 instantly — a guaranteed 50% return before any investment growth.
| Match structure | What it means | Common at |
|---|---|---|
| 100% match up to 3% | Match $1 for $1 on first 3% of salary | Smaller employers |
| 50% match up to 6% | Match 50¢ per $1 on first 6% — net 3% bonus | Mid-size, most common |
| 100% match up to 6% | Match $1 for $1 on first 6% — net 6% bonus | Tech, finance, generous employers |
| Profit-sharing | Variable; depends on company performance | Smaller, founder-led firms |
| Safe Harbor 3% | Automatic 3% regardless of employee contribution | Small businesses (compliance) |
The rule of thumb: always contribute at least enough to capture the full employer match. Leaving match money on the table is among the worst financial decisions an employee can make.
Traditional vs Roth 401(k)
| Question | Traditional 401(k) | Roth 401(k) |
|---|---|---|
| Tax break | Now (deduct from current income) | Later (tax-free withdrawals) |
| Best when | Current tax rate is higher than retirement rate | Current tax rate is lower than retirement rate |
| RMDs at age 73 | Yes | No (after SECURE 2.0) |
| Withdrawal taxation | Ordinary income | Tax-free if held 5+ years & age 59½+ |
| Employer match goes to | Traditional bucket (pre-tax) | Traditional bucket (pre-tax) |
Five ways to maximize your 401(k)
- Capture the full match. If you can only afford one financial priority, this is it. The match is a 50-100% instant return.
- Increase contributions by 1% annually. Most plans offer automatic escalation. You'll barely notice, and over 10 years you go from 6% to 16% painlessly.
- Use the catch-up at 50+. An extra $7,500/yr starting at 50 compounds to ~$200K by 65.
- Avoid loans against your 401(k). They feel cheap — you're paying yourself back — but you lose growth on the borrowed amount.
- Choose low-cost index funds. An expense ratio difference of just 0.5% costs ~$150K over a career on a typical 401(k).
Why starting early dominates all other strategy
The mathematics of compounding mean that contributions made early in a career produce vastly outsized retirement balances. A $5,000 contribution at age 25 grows to roughly $54,000 by age 65 at a 7% real return — without any additional contributions. The same $5,000 contributed at age 45 grows to only $13,000 by 65.
Stated differently: each year you delay starting 401(k) contributions costs roughly $50,000-$100,000 in final retirement balance, depending on contribution level and market returns. The "I'll start when I make more money" trap is the single most expensive financial mistake young workers make.
The practical implication: even if you can only contribute enough to capture the employer match (typically 3-6% of salary), do that from your first paycheck onward. The match plus compounding from age 22-25 contributions often exceeds what aggressive savers contribute after age 35.
Vesting schedules and the job-change penalty
The employer match isn't fully yours until it vests. Vesting schedules vary significantly by employer:
| Vesting type | Schedule | Common at | Implication for job changes |
|---|---|---|---|
| Immediate vesting | 100% yours from day 1 | Tech, some finance | No penalty for leaving |
| Cliff vesting (3 yr) | 0% before year 3, 100% after | Mid-size companies | Leaving before year 3 = forfeit all match |
| Cliff vesting (5 yr) | 0% before year 5, 100% after | Older, traditional employers | 5-year penalty for leaving |
| Graded vesting (3-yr) | 33%/66%/100% over 3 years | Common middle-ground | Partial forfeit if leaving early |
| Graded vesting (6-yr) | 20% per year for 5 years (years 2-6) | Conservative employers | Maximum 6-year forfeit window |
Practical advice: before accepting or leaving a job, verify the vesting schedule. A $50,000 in unvested employer match left behind is a real cost that should factor into the decision. Sometimes a 6-month delay on a job change captures significant vesting value.
Fund selection: where most people leave returns on the table
Your 401(k) is usually limited to a curated list of funds chosen by your plan administrator. Most plans include 10-30 funds spanning equity, bond, balanced, and target-date categories. Two metrics determine whether your fund choices are actually serving you:
Expense ratio measures the annual fee charged by the fund. Differences look small (0.05% vs 0.50%) but compound dramatically over a career. A 0.45% expense ratio difference on a $500,000 portfolio costs $2,250/year — and over 30 years, that excess fee compounds to roughly $150,000 in lost final balance. Always pick the lowest-cost fund within each asset class.
Index vs. actively managed. Decades of evidence (S&P's SPIVA studies, Morningstar data) consistently show that most actively managed funds underperform their benchmark index over 10+ year periods, after fees. Unless your plan offers a manager with a long track record, the safer choice is low-cost index funds.
| Fund category | Good expense ratio | Acceptable | Avoid |
|---|---|---|---|
| US Total Market Index | Under 0.05% | 0.05-0.15% | Above 0.30% |
| International / Emerging Markets | Under 0.10% | 0.10-0.30% | Above 0.50% |
| Bond Index | Under 0.05% | 0.05-0.20% | Above 0.40% |
| Target Date Fund | Under 0.15% | 0.15-0.40% | Above 0.75% |
| Actively Managed Equity | Under 0.50% | 0.50-1.00% | Above 1.25% |
Withdrawal strategy in retirement
The accumulation phase gets all the attention, but the distribution phase determines whether your savings actually carry you through retirement. Three critical considerations:
Required Minimum Distributions (RMDs) begin at age 73 (raised from 70.5 by SECURE 2.0). The IRS requires you to withdraw a minimum percentage each year — roughly 4% at age 73, increasing with age. Missing an RMD triggers a 25% penalty on the shortfall (reduced from 50% by SECURE 2.0). RMD calculations apply to traditional 401(k); Roth 401(k) RMDs were eliminated by SECURE 2.0 starting 2024.
The 4% rule suggests withdrawing 4% of your retirement balance in year one, then adjusting that dollar amount for inflation each subsequent year. Studies show this rate has historically supported 30-year retirements through varied market conditions. More conservative recent research suggests 3.3-3.7% as a safer rate given current valuations and longevity.
Roth conversions in early retirement can dramatically improve lifetime tax efficiency. After leaving work but before Social Security and RMDs begin, many retirees have years of unusually low income — an ideal window to convert traditional 401(k) money to Roth, paying tax at lower brackets than they'll face later. Sophisticated planning often saves $100,000+ in lifetime taxes through strategic conversions.
Common mistakes
- Not contributing enough for full employer match. Surveys show 1 in 5 employees leave free match money on the table.
- Cashing out when changing jobs. 41% of job-changers under 35 cash out — paying taxes and 10% penalty, sacrificing decades of growth.
- Investing too conservatively when young. Bonds in your 20s feel safe but cost real returns. Most target-date funds match this trade-off automatically.
- Ignoring fees. Plans with high expense ratios silently drain 20-30% of lifetime returns. Check your plan's fund options.
Questions and answers
What return should I assume for projections?
The S&P 500 has averaged about 10% nominal (7% real, after inflation) over 100 years. For planning, 6-8% real return is conservative; 4-5% is overly pessimistic for diversified equity exposure.
Should I prioritize 401(k), IRA, or HSA?
General order: (1) 401(k) up to match, (2) HSA if eligible, (3) Roth IRA, (4) max 401(k), (5) taxable. The HSA's triple-tax advantage often beats the 401(k) for healthcare-bound dollars.
What's the difference between vested and unvested employer match?
Your contributions are always 100% yours. Employer match may "vest" gradually — e.g., 20% per year of service. Leaving before fully vested means forfeiting some match. Check your plan's vesting schedule.
Sources
- IRS: 2025 retirement plan contribution limits
- Vanguard: How America Saves annual report
- SECURE 2.0 Act of 2022: enhanced catch-up provisions
- Federal Reserve Survey of Consumer Finances: retirement savings data
Related calculators: Roth IRA · Retirement · Compound Interest · HSA Contribution