Calculator

What the 401k Calculator does

401k Calculator: calculates Balance at Retirement, Your Contributions and Employer Match from Annual Salary, Your Contribution and Employer Match. Example: annual salary 60000 $, your contribution 6 % of salary and employer match 50 % of your contribution gives balance at retirement $835,763.26.

This calculator reads Annual Salary, Your Contribution, Employer Match and Matched up to and produces Balance at Retirement, Your Contributions and Employer Match. Change any input and the output follows immediately.

Seeing the total cost, not just the monthly figure, is what usually changes decisions. That is usually what brings someone checking a lender quote here.

Your figures never leave the browser, which matters when the numbers are your salary, debts or savings.

Each field is explained further down, along with the method and a worked example that uses the default values.

What do the 401k Calculator fields mean?

The 401k Calculator uses 9 inputs. Because the form arrives filled, the first useful result costs you zero typing.

FieldWhat to enterDefault
Annual Salary measured in $; accepts 1000 to 2000000 60000
Your Contribution measured in % of salary; accepts 0 to 100 6
Employer Match measured in % of your contribution; accepts 0 to 200 50
Matched up to measured in % of salary; accepts 0 to 100 6
Current Balance measured in $; accepts 0 to 10000000 10000
Expected Return measured in % p.a.; accepts 0 to 20 7
Annual Salary Increase measured in %; accepts 0 to 20 3
Years to Retirement accepts 1 to 50 30
Age 50 or Older (catch-up limit) choose from No or Yes No

How does the 401k Calculator work?

Balance at Retirement, Your Contributions, Employer Match, Investment Growth and Assumptions ← f(Annual Salary, Your Contribution, Employer Match, Matched up to, Current Balance, Expected Return, Annual Salary Increase, Years to Retirement, Age 50 or Older (catch-up limit))

Each output is derived from the inputs above in a single pass; there is no hidden state carried between runs, so the same inputs always give the same calculation.

Validation runs before the calculation, which is why a mistyped value shows an error rather than a plausible-looking result.

Worked example

These are the values the 401k Calculator loads by default, and the result it produces from them. Open the tool above and you will find precisely these figures already in place.

Inputs
Annual Salary60000 $
Your Contribution6 % of salary
Employer Match50 % of your contribution
Matched up to6 % of salary
Current Balance10000 $
Expected Return7 % p.a.
Annual Salary Increase3 %
Years to Retirement30
Age 50 or Older (catch-up limit)No
Result
Balance at Retirement$835,763.26
Your Contributions$171,271.50
Employer Match$85,635.75
Investment Growth$568,856.01
AssumptionsEmployer adds 50% of what you put in, on the first 6% of salary. Limits are 2025 figures and exclude employer…
0 4.2 L 8.4 L year 1 year 30
Balance across 30 years, from 16.3k to 8.4 L, using the default inputs above.

What makes 401(k) plans (us) different

A 401(k) is an employer-sponsored, tax-deferred retirement account. Two features dominate the outcome and neither appears in the compounding formula: the employer match, and the contribution limit.

The employer match is the largest single factor
A typical match of 50% on the first 6% of salary is an immediate 50% return on those contributions. Not contributing enough to capture the full match is leaving money on the table, and it dwarfs any plausible difference in investment returns.
Contribution limits
The IRS sets an annual employee deferral limit, indexed to inflation, with an additional catch-up allowance from age 50. Limits change yearly: check the current figure.
Tax treatment
Traditional 401(k) contributions reduce taxable income now and are taxed on withdrawal. Roth 401(k) contributions are taxed now and withdrawn tax-free.
Vesting
Employer contributions may vest over several years. Leaving before you are fully vested forfeits the unvested portion.
Early withdrawal
Withdrawals before 59½ generally incur income tax plus a 10% penalty, with limited exceptions.

Rules, limits and thresholds for tax-advantaged accounts change from year to year. Confirm the current figures before acting, and treat any projected return as an assumption rather than a forecast.

Sources: IRS retirement plan contribution limits

How to use it

  1. Set Annual Salary in $ (1000 to 2000000).
  2. Put Your Contribution in % of salary (0 to 100).
  3. Key in Employer Match in % of your contribution (0 to 200).
  4. Fill in Matched up to in % of salary (0 to 100).
  5. Type Current Balance in $ (0 to 10000000).
  6. Enter Expected Return in % p.a. (0 to 20).
  7. Set Annual Salary Increase in % (0 to 20).
  8. Put Years to Retirement (1 to 50).
  9. Pick a value for Age 50 or Older (catch-up limit): the options are No or Yes.
  10. Because there is no round trip to a server, updating on every keystroke costs nothing.
  11. Check Balance at Retirement, Your Contributions, Employer Match, Investment Growth and Assumptions on the right.
  12. Use Copy Link if you want the same setup again later, or Print for a paper copy.

What this tool does not do

  • Fees, taxes and eligibility rules vary by product and are not included unless there is a field for them.
  • Lender rounding rules differ, so the final figure on your statement may differ by a small amount.
  • It will not warn you that a different tool would suit your question better.
  • The result inherits any error in the inputs without flagging it.

Frequently asked questions

Enter Annual Salary in $, Your Contribution in % of salary, Employer Match in % of your contribution, Matched up to in % of salary, Current Balance in $, Expected Return in % p.a. and Annual Salary Increase in %. Every input names its unit, and every output does too, which removes the usual source of error.

Annual Salary accepts 1000 to 2000000 $. Go outside it and you get an error against that specific field instead of a misleading number.

With the values loaded when the page opens, balance at retirement comes out as $835,763.26. Nudge one field at a time to see which one the answer is most sensitive to.

No. There is no upload step, no database, and nothing to delete afterwards.

Free for any use, personal or commercial.

Correct as computed. Treat it as the floor of what a product costs, since charges and taxes are additions rather than subtractions.

YoursTools Team
Product & Engineering

Builds and maintains every calculator on YoursTools.