CalcDuck

401(k) Calculator

401(k) Calculator

$
$
% of salary
% of your contribution
For example, 50% means the employer adds 50 cents per dollar you contribute, up to the match limit below.
% of salary
Contributions above this percentage of salary are not matched.
%
Projected balance at retirement
$945,144.67
Total you contributed
$168,000.00
Total employer match
$63,000.00
Total investment growth
$694,144.67
Year-by-year balance
YearBalanceYour contributionsEmployer match
1$29,397.71$5,600.00$2,100.00
2$39,474.78$11,200.00$4,200.00
3$50,280.33$16,800.00$6,300.00
4$61,867.00$22,400.00$8,400.00
5$74,291.28$28,000.00$10,500.00
6$87,613.72$33,600.00$12,600.00
7$101,899.23$39,200.00$14,700.00
8$117,217.44$44,800.00$16,800.00
9$133,643.01$50,400.00$18,900.00
10$151,255.98$56,000.00$21,000.00
11$170,142.19$61,600.00$23,100.00
12$190,393.70$67,200.00$25,200.00
13$212,109.18$72,800.00$27,300.00
14$235,394.48$78,400.00$29,400.00
15$260,363.08$84,000.00$31,500.00
16$287,136.65$89,600.00$33,600.00
17$315,845.69$95,200.00$35,700.00
18$346,630.11$100,800.00$37,800.00
19$379,639.94$106,400.00$39,900.00
20$415,036.05$112,000.00$42,000.00
21$452,990.95$117,600.00$44,100.00
22$493,689.61$123,200.00$46,200.00
23$537,330.38$128,800.00$48,300.00
24$584,125.95$134,400.00$50,400.00
25$634,304.37$140,000.00$52,500.00
26$688,110.19$145,600.00$54,600.00
27$745,805.64$151,200.00$56,700.00
28$807,671.90$156,800.00$58,800.00
29$874,010.47$162,400.00$60,900.00
30$945,144.67$168,000.00$63,000.00

A 401(k) balance grows from your own contributions, any employer match up to its limit, and investment returns compounding over time. For example, a $10,000 balance with a $60,000 salary, 6% employee contribution, a 50% match up to 6% of salary, and a 7% annual return grows to about $630,152 after 30 years, of which $108,000 came from the employee and $54,000 from the employer match.

Tip: “Copy with settings” shares a link that opens this calculator with your numbers already filled in.

How this calculator works

A 401(k) is an employer-sponsored retirement account funded by a percentage of your salary, often with an employer match. This calculator projects the account balance forward using a month-by-month simulation, so it correctly handles an employer match that only applies up to a certain percentage of your salary.

Enter your current balance, salary, contribution percentage, the employer match terms, an expected annual return, and the number of years until retirement. The year-by-year table separates the balance into what you contributed, what your employer matched, and investment growth, so you can see exactly where the final number comes from.

Employer 401(k) matches are typically described as 'X% of your contribution, up to Y% of salary.' That means the employer only matches the contribution dollars up to the limit; contributing more than the limit still grows your own balance, it just is not matched further. Annual IRS contribution limits also apply to 401(k) plans and change periodically, so check the current limit for your plan year rather than assuming a fixed number.

The formula

Employee monthly contribution: (annual salary ÷ 12) × contribution %Matched contribution %: min(contribution %, match limit %)Employer monthly match: (annual salary ÷ 12) × matched contribution % × match %Balance grows monthly: balance = balance × (1 + r/12) + (employee + employer monthly deposit)

r is the expected annual return as a decimal. The employer match formula caps at the match limit — contributing beyond it adds to your own balance but not to the match.

Worked example: $10,000 balance, $60,000 salary, 6% contribution

  1. Monthly salary is $60,000 ÷ 12 = $5,000. At a 6% contribution rate, you deposit $300 per month.
  2. The plan matches 50% of your contribution up to 6% of salary. Since 6% is exactly the match limit, the employer matches all of it: 50% × $300 = $150 per month.
  3. Combined monthly deposit is $450, starting from a $10,000 balance, growing at 7% annually compounded monthly for 30 years.
  4. The projected balance reaches about $630,152: roughly $108,000 from your own contributions, $54,000 from the employer match, and the remaining $458,000 from investment growth.

Frequently asked questions

What does 'match up to 6% of salary' mean?

It means the employer only matches contributions on the first 6% of your salary that you contribute. If you contribute 10% of your salary, the employer still only matches based on the first 6 percentage points, not the full 10%.

Should I contribute at least enough to get the full match?

Most financial guidance treats the full employer match as part of your compensation, since it is money the employer adds only when you contribute. Contributing at least up to the match limit captures that match before considering any additional retirement savings.

Are there limits on how much I can contribute to a 401(k)?

Yes. The IRS sets an annual dollar limit on employee 401(k) contributions (with a higher limit for catch-up contributions at older ages), and these limits change from year to year, so check the current-year limit rather than relying on a fixed figure.

Does this calculator account for taxes?

No. It projects the account balance before any taxes or penalties that may apply on withdrawal, which depend on whether the account is traditional or Roth and on your situation at withdrawal.

Does the calculator assume my salary stays the same?

Yes, for simplicity it assumes a constant salary and contribution rate. Raises, bonuses, or contribution changes over time will change your actual results.

Sources

Related calculators