A 401(k) grows from three sources: what you contribute from each paycheck, what your employer adds as a match, and investment growth on both. This calculator projects all three year by year, with your salary rising each year and your contributions capped at the IRS limit for your age.
It also checks the most common and most expensive 401(k) mistake: contributing less than your employer will match. If you are, it shows how much match you’re missing this year and how much bigger your balance would be at retirement if you closed the gap.
How to use the 401(k) Calculator
- Enter your age, the age you plan to retire and your current 401(k) balance.
- Enter your salary and the percentage you contribute from each paycheck.
- Enter your employer’s match formula as two numbers. “50% of the first 6%” is a match rate of 50 and a match limit of 6. Your plan’s summary or HR portal lists it.
- Set an annual raise and an expected return. A cautious return, such as 5%–7% before inflation, is safer for planning.
- Read the balance and the stacked chart, and look for the free-money warning if you’re below the match limit.
The formula
For each year until retirement:
Youy = min(Sy × c, L)
Matchy = m × min(Youy, Sy × k)
- S: current salary; g: yearly raise; Sy: salary in year y
- c: your contribution rate (e.g. 0.04)
- L: IRS limit for your age that year: $24,500, $32,500 from age 50, $35,750 at ages 60–63 (2026 amounts)
- m: match rate (0.5 for 50%); k: match limit as a share of salary (0.06 for 6%)
Contributions go in monthly (one twelfth each month), and the balance grows at the monthly equivalent of the annual return R:
Worked example
Age 30, retiring at 67, $25,000 saved, $75,000 salary, contributing 4%, employer matches 50% of the first 6%, 3% raises, 7% return.
- Year 1: you contribute 4% × $75,000 = $3,000. The employer matches 50% of it, $1,500.
- Over 37 years, with raises, you contribute $198,523 and your employer adds $99,261.
- Investment growth adds $1,055,063.
- Balance at 67: $25,000 + $198,523 + $99,261 + $1,055,063 = $1,377,847
Because the employer matches up to 6%, contributing only 4% misses $750 of match in the first year alone. Raising the contribution to 6% brings the balance at 67 to about $1,913,975, $536,128 more, counting both the extra contributions and the extra match.
2026 401(k) contribution limits
| Age during 2026 | Employee limit | How it is made up |
|---|---|---|
| Under 50 | $24,500 | Elective deferral limit |
| 50–59 and 64+ | $32,500 | $24,500 + $8,000 catch-up |
| 60–63 | $35,750 | $24,500 + $11,250 higher catch-up |
These limits cover your own pre-tax and Roth 401(k) contributions combined. Employer matches don’t count toward them, but employee and employer money together can’t exceed $72,000 in 2026 (more with catch-up). Starting in 2026, workers who earned more than $150,000 from the employer in the prior year must make catch-up contributions as Roth. The IRS raises these limits for inflation most years. This calculator holds them at 2026 levels, which slightly understates what high earners could add later.
Common match formulas, and how much to contribute
| Formula | Contribute at least | Employer adds (on $75,000) |
|---|---|---|
| 100% of the first 3% | 3% | $2,250 |
| 100% of the first 4% | 4% | $3,000 |
| 50% of the first 6% | 6% | $2,250 |
| 100% of the first 6% | 6% | $4,500 |
The match is an instant 50% or 100% return on the money you put in, before any investment growth. Few other uses of the money come close, so getting the full match is usually the first priority after a small emergency fund. Check your plan’s vesting schedule too: some employers require a few years of service before the match is fully yours.
Small increases add up
Raising your contribution by 1 percentage point a year, often through an automatic escalation feature in your plan, is one of the easiest ways to save more without feeling it, especially if you time it with a raise. Try changing your contribution above by a point or two and watch the balance at retirement. Remember that the result depends on the return you assume, so test a lower return as well.