ToolNimba Browse

🪙 401(k) Retirement Calculator

By ToolNimba Finance Team · Reviewed by ToolNimba Editorial Review, personal finance content · Updated 2026-06-19

This calculator gives an estimate only and is not financial advice. Real results depend on your actual returns (which vary and can be negative), fees, your salary growth, contribution limits set each year by the IRS, taxes on withdrawals, and how long you keep investing. Markets do not grow at a steady rate, so treat the projection as a rough guide. Confirm your plan’s exact match formula and vesting rules with your employer, and speak to a qualified adviser before making retirement decisions.

100% = dollar for dollar, 50% = fifty cents per dollar.

Employer matches your contributions only up to this share of salary.

Projected balance at retirement
-
-
Your contributions
-
Employer match
-
Starting balance
-
Investment growth
-

A 401(k) is a workplace retirement account where you contribute a slice of each paycheck, your employer often adds a matching amount, and the whole balance grows tax-deferred. This calculator projects what your balance could be worth at retirement. Enter your current balance, salary, the percent you contribute, your employer match, the years left, and an expected return, and you will see the projected total split into your contributions, the employer match, and investment growth.

What is the 401k Calculator?

A 401(k) is an employer-sponsored retirement plan in the United States. You choose a percentage of your salary to contribute, and that money is taken from your paycheck and invested, usually in mutual funds or index funds. In a traditional 401(k) the contributions are pre-tax, so they lower your taxable income now and you pay tax when you withdraw in retirement. A Roth 401(k) flips that: you contribute after-tax money and qualified withdrawals are tax-free. Either way, the balance compounds without being taxed each year, which is the engine behind long-term growth.

The employer match is the part people most often leave on the table. A common formula is a dollar-for-dollar (100%) match on the first 6% of salary you contribute, but many plans match 50 cents per dollar, or cap the match at a different percentage. The match is effectively free money and an instant return on your contribution, so a frequent rule of thumb is to contribute at least enough to capture the full match before putting spare cash anywhere else. This calculator lets you set both the match rate and the cap so you can model your own plan.

The headline number is driven by compounding over time. Each month your contributions and the match are added, then the whole balance earns the expected return, and next month that growth itself earns more. Because the effect snowballs, the early years of contributing matter far more than the last few, and small changes in the contribution percent or the assumed return can move the final figure by hundreds of thousands of dollars over a long career. The projection here assumes a steady average return for simplicity; real markets rise and fall, so view it as a planning estimate rather than a promise.

When to use it

  • Estimating how much your 401(k) could be worth at retirement based on your current saving rate.
  • Seeing how much extra the full employer match adds versus contributing too little to capture it.
  • Comparing scenarios, such as raising your contribution from 6% to 10%, to see the long-term payoff.
  • Checking whether your current plan is on track for the retirement balance you are aiming for.

How to use the 401k Calculator

  1. Enter your current 401(k) balance (use 0 if you are just starting).
  2. Enter your annual salary and the percent of it you contribute each year.
  3. Set the employer match rate (100% for dollar-for-dollar) and the match cap (the salary share they match up to).
  4. Enter the years until retirement and an expected annual return.
  5. Read off the projected balance, split into your contributions, the employer match, and investment growth.

Formula & method

Each month the balance grows then receives contributions: balance = balance x (1 + r) + contribution, where r = annual return / 100 / 12. Your monthly contribution = salary x your% / 100 / 12. Employer match = salary x min(your%, cap) / 100 x matchRate / 100 / 12. Repeated for (years x 12) months.

Worked examples

You have $10,000 saved, earn $60,000, contribute 6%, your employer matches 100% up to 6% of salary, you have 30 years left, and you assume a 7% annual return.

  1. Your monthly contribution = 60,000 x 6 / 100 / 12 = $300
  2. Matched percent = min(6, 6) = 6, so employer monthly = 60,000 x 6 / 100 x 100 / 100 / 12 = $300
  3. Monthly rate r = 7 / 100 / 12 = 0.0058333, months = 30 x 12 = 360
  4. Starting balance grows: 10,000 x (1.0058333^360) = 10,000 x 8.116497 = $81,164.97
  5. Contributions grow as an annuity: 600 x ((1.0058333^360 - 1) / 0.0058333) = $731,982.60
  6. Projected balance = 81,164.97 + 731,982.60 = $813,147.57
  7. Your contributions = 300 x 360 = $108,000; employer match = 300 x 360 = $108,000
  8. Investment growth = 813,147.57 - 10,000 - 108,000 - 108,000 = $587,147.57

Result: Projected balance ≈ $813,148 (your $108,000 + match $108,000 + growth ≈ $587,148 on a $10,000 start)

You start from $0, earn $80,000, contribute 10%, your employer matches 50% up to 6% of salary, you have 25 years left, and you assume a 6% return.

  1. Your monthly contribution = 80,000 x 10 / 100 / 12 = $666.67
  2. Matched percent = min(10, 6) = 6, so employer monthly = 80,000 x 6 / 100 x 50 / 100 / 12 = $200
  3. Monthly rate r = 6 / 100 / 12 = 0.005, months = 25 x 12 = 300
  4. Total monthly added = 666.67 + 200 = $866.67, compounded for 300 months from a $0 start
  5. Projected balance ≈ $600,595
  6. Your contributions = 666.67 x 300 = $200,000; employer match = 200 x 300 = $60,000
  7. Investment growth = 600,595 - 200,000 - 60,000 = $340,595

Result: Projected balance ≈ $600,595 (your $200,000 + match $60,000 + growth ≈ $340,595)

Projected 401(k) balance by years left, starting from $0, $60,000 salary, 6% contribution with full match (6% total), 7% annual return

Years leftYour contributionsEmployer matchGrowthProjected balance
10 years$36,000$36,000$31,851$103,851
20 years$72,000$72,000$168,556$312,556
30 years$108,000$108,000$515,983$731,983
40 years$144,000$144,000$1,286,888$1,574,888

Common employer match formulas and what they mean

Match descriptionMatch rateCap (% of salary)
Dollar for dollar up to 6%100%6%
50 cents per dollar up to 6%50%6%
Dollar for dollar up to 3%, then 50% on next 2%varies~4% effective
No match0%0%

Common mistakes to avoid

  • Contributing too little to get the full match. If your plan matches up to 6% of salary and you only contribute 3%, you give up half of the free match. Capturing the full match is usually the highest-return move you can make, so aim to contribute at least up to your employer’s cap.
  • Assuming a smooth, guaranteed return. This tool uses one steady average return, but real markets swing up and down and can fall for years. The projection is a planning estimate, not a guarantee, so leave a margin and revisit it as your real balance changes.
  • Ignoring fees and inflation. Fund fees quietly reduce your return, and inflation reduces what the final dollars will buy. A $1 million balance in 30 years will not have today’s purchasing power, so think in terms of real (inflation-adjusted) goals.
  • Forgetting vesting on the employer match. Some plans require you to stay several years before the employer match is fully yours (vested). If you leave early you may forfeit part of the match, so check your plan’s vesting schedule.

Glossary

401(k)
A US employer-sponsored retirement account funded by payroll contributions that grow tax-deferred (or tax-free in a Roth 401(k)).
Employer match
Money your employer adds to your 401(k) based on what you contribute, often a percentage of your contribution up to a cap.
Match rate
How much the employer pays per dollar you contribute, for example 100% (dollar for dollar) or 50% (fifty cents per dollar).
Match cap
The maximum share of your salary the employer will match, for example the first 6% you contribute.
Vesting
The schedule that decides when employer-contributed money fully belongs to you, often after a set number of years of service.
Tax-deferred
Growth that is not taxed each year; in a traditional 401(k) you pay tax only when you withdraw in retirement.

Frequently asked questions

How is a 401(k) balance projected?

The calculator adds your monthly contribution and the employer match, then grows the whole balance by the monthly return (annual return divided by 12), repeating for every month until retirement. This monthly compounding is what produces the projected total, split into your contributions, the match, and growth.

How does the employer match work?

Your employer adds money based on what you contribute. A typical formula is 100% (dollar for dollar) on the first 6% of salary you put in, but plans vary. In this tool you set the match rate (how much per dollar) and the cap (the salary share they match up to), and the match applies only to your contributions within that cap.

How much should I contribute to my 401(k)?

A common starting point is to contribute at least enough to capture your full employer match, since that is essentially free money. Many advisers then suggest working toward 15% of salary including the match. The right number depends on your budget, age, and retirement goal.

What return rate should I assume?

Long-run stock-market returns have historically averaged roughly 7% to 10% before inflation, but the future is uncertain and returns vary widely year to year. A conservative assumption such as 6% to 7% is common for planning. Lower the rate to see a more cautious estimate.

Does this account for contribution limits and inflation?

No. The calculator does not cap contributions at the annual IRS limit, and it shows future dollars without adjusting for inflation. To think in today’s money, use a return rate reduced by your expected inflation rate, and check the current contribution limit with the IRS.

Is the projected balance guaranteed?

No. It assumes a single steady return, but real markets rise and fall and can lose money over long stretches. Fees, salary changes, and how consistently you contribute all affect the outcome. Treat the figure as an estimate for planning, not a promise.

Sources