How to Use the 401(k) Calculator: Steps and a Worked Example

By 2 min read

Project your 401(k) balance with employer match, salary growth and investment returns. This guide shows what to enter, a worked example with real numbers, and the limits to keep in mind. The 401(k) Calculator tool is free, needs no account and runs in your browser.

What you need

  • Annual salary, for example 80000
  • Your contribution (% of salary), for example 8
  • Employer match (%), for example 50
  • Match applies up to (% of salary), for example 6
  • Current balance, for example 20000
  • Salary growth (%/yr), for example 3
  • Expected annual return (%), for example 6
  • Years to retirement, for example 30

Step by step

  1. Open the 401(k) Calculator tool.
  2. Fill in Annual salary.
  3. Fill in Your contribution (% of salary).
  4. Fill in Employer match (%).
  5. Fill in Match applies up to (% of salary).
  6. Fill in Current balance.
  7. Fill in Salary growth (%/yr).
  8. Read the result, which updates as soon as the inputs change.

Worked example

With these inputs:

  • Annual salary: 80000
  • Your contribution (% of salary): 8
  • Employer match (%): 50
  • Match applies up to (% of salary): 6
  • Current balance: 20000
  • Salary growth (%/yr): 3
  • Expected annual return (%): 6
  • Years to retirement: 30

the tool returns:

Projected balance after 30 years: $1,116,813.06
Your contributions: $304,482.66
Employer match: $114,181.00
Investment growth: $678,149.40

A second example

Changing Annual salary 80000 to 160000 gives:

Projected balance after 30 years: $2,118,756.29
Your contributions: $608,965.32
Employer match: $228,362.00
Investment growth: $1,261,428.97

Comparing two runs like this is a quick way to see how much each input moves the result.

How it works

The calculation is: Yearly: balance = (balance + contributions) × (1 + return), contributions rise with salary. Everything runs in your browser, so nothing you type is uploaded.

Things to keep in mind

The 2026 IRS employee deferral limit is $24,500 (check irs.gov for your age and plan). Projection only.

If this is not quite what you need, try Retirement Calculator, Compound Interest Calculator or Inflation Calculator.

More from the blog