401k calculator

Estimate how large your 401(k) could be when you retire, including your employer match.

Last updated: November 2026 · Free estimates, no sign-up

What a 401(k) calculator does

A 401(k) is a workplace retirement account in the United States. You choose a percentage of your pay to contribute, many employers add a match, and the money is invested until you retire. A 401(k) calculator projects how large the account could be by your retirement age, based on your age, salary, contributions, employer match and an expected return. It helps you see whether you are on track and what a higher contribution would do.

How to use this 401(k) calculator

  1. Enter your current age.
  2. Enter your current 401(k) balance and annual salary.
  3. Enter the percentage of your salary you contribute.
  4. Press Calculate to see the projected balance at retirement.

The calculator assumes you retire at 65, your employer adds a 3% match and your investments earn 6% a year.

How the projection works

Balance = start × (1 + r)n + yearly contribution × ((1 + r)n − 1) ÷ r

r is the yearly return and n is the number of years until retirement. The first part grows what you already have. The second part adds up each year’s contributions, including the employer match, with growth. It assumes your salary and contributions stay the same, so it is a simple estimate.

Worked example

Someone aged 30 plans to retire at 65 with $20,000 saved and a $70,000 salary. They contribute 8% and the employer adds 3%, so $7,700 a year goes in. At 6% a year, the balance at retirement is about $1,011,770. Contributions total about $289,500, so about $722,270 comes from growth.

How your contribution rate changes the result

Your contribution (employer adds 3%)Balance at 65
4%$699,752
8%$1,011,770
12%$1,323,787
15%$1,557,800

A few extra percentage points, sustained for decades, make a large difference.

How the expected return changes the result

Illustrative returnBalance at 65
4% a year$646,044
6% a year$1,011,770
8% a year$1,622,546

The table uses the example above with other returns. The calculator itself assumes 6%. No one knows future returns, so plan with a cautious one.

Why starting early matters

Starting age (nothing saved yet)Balance at 65
Start at 25$1,191,667
Start at 30$858,048
Start at 40$422,457
Start at 50$179,225

The table uses the same contributions in each case. Time, not just the amount, drives the result.

Employer match

Many employers match part of your contribution, often up to a set percentage of your pay. A match is an immediate return on your money, so contributing at least enough to get the full match is usually the first priority. Check your plan’s rules, since some employers require you to stay for a period before the match is fully yours.

Traditional vs Roth 401(k)

With a traditional 401(k), contributions go in before tax and you pay income tax when you withdraw. With a Roth 401(k), you pay tax now and qualified withdrawals later are tax-free. Which is better depends on whether you expect your tax rate to be higher or lower in retirement. Not every employer offers a Roth option.

Contribution limits and withdrawal rules

The IRS sets a yearly limit on how much you can contribute and raises it periodically, with extra catch-up amounts for people aged 50 and over, so check irs.gov for the current figures. Withdrawals before age 59½ generally face income tax plus an additional 10% penalty, with some exceptions. Required minimum distributions start at a set age, so check the current rule.

Common mistakes

Common mistakes include not contributing enough to get the full match, cashing out a 401(k) when changing jobs, which can trigger tax and penalties, and choosing high-fee funds. Others invest too cautiously for a long time horizon, or forget that inflation reduces what the money can buy. The calculator’s 6% return is not adjusted for inflation, so the result is in future dollars.

Frequently asked questions

A common rule of thumb is about one year of salary by 30 and three times salary by 40.

Many advisers suggest 10% to 15% of income including the employer match.

The IRS sets it each year. Check irs.gov for the current figure.

Yes. It is an immediate return on what you contribute.

For the example above, about $1,011,770. Enter your own numbers for your estimate.

Many planners use a cautious rate, such as 5% to 7% a year, but returns are not guaranteed.

Traditional is taxed when you withdraw. Roth is taxed when you contribute.

Usually with tax and a 10% penalty, with some exceptions.

You can often leave it, roll it into an IRA or a new plan, or cash out, but cashing out can bring tax and penalties.

No. The result is in future dollars, not adjusted for inflation.

Yes, though tax rules differ, so check the limits.

No. Investment returns vary.

Related articles

Related calculators

Note

This calculator gives estimates for general use. It is not financial or medical advice.

401k calculator

Enter your numbers, then press Calculate.