401(k) Calculator
Estimates your 401(k) balance at retirement by compounding your employee contributions and employer match together at a 7% annual rate. Ideal for evaluating how much of your salary to contribute and whether you're capturing your full employer match.
About this calculator
A 401(k) grows through three forces: your own pre-tax contributions, your employer's matching contributions, and compound investment returns. Each month, your employee contribution equals (annualSalary / 12) × (contributionPercent / 100), and the employer adds (employeeContribution) × (employerMatch / 100). The combined monthly deposit earns a monthly rate of 0.07 / 12 ≈ 0.5833%. The balance is updated each month as: balance = balance × (1 + monthlyRate) + monthlyTotal. After all months, this iterative formula produces the final balance. Employer matching is essentially a 50–100% instant return on your contribution, making it one of the highest-value benefits available to employees. Maximizing the match before directing money elsewhere is a fundamental personal finance principle.
How to use
Assume a $70,000 salary, 6% contribution, 50% employer match, and 30 years to retirement. Monthly employee contribution = ($70,000 / 12) × 0.06 = $350. Monthly employer match = $350 × 0.50 = $175. Monthly total = $525. Monthly rate = 0.07 / 12 = 0.005833. Over 360 months the iterative compounding yields: balance ≈ $525 × ((1.005833^360 − 1) / 0.005833) ≈ $525 × 1,004.5 ≈ $527,363. Enter your real salary and match rate to see your projected balance.
Frequently asked questions
How much should I contribute to my 401(k) to maximize my employer match?
You should contribute at least enough to capture 100% of your employer's match, since unmatched dollars are effectively leaving free compensation on the table. For example, if your employer matches 50% of contributions up to 6% of salary, you need to contribute at least 6% to get the full match. Beyond that threshold, contributions still grow tax-deferred, but the instant return from matching no longer applies. Most financial planners recommend maxing the match first, then funding a Roth IRA, and finally returning to the 401(k) up to the IRS annual limit.
What is a realistic annual return rate to use for 401(k) projections?
This calculator uses 7% per year, which reflects the approximate historical average annual return of a diversified U.S. equity portfolio over multi-decade periods, roughly in line with the S&P 500's long-run real return before inflation. Nominal returns have historically been closer to 10%, but 7% is a conservative and widely used planning assumption. Your actual return depends on your fund choices, expense ratios, and market conditions. Using a slightly lower rate (5–6%) gives a more conservative estimate if you hold a significant bond allocation.
What is the difference between a 401(k) and a Roth 401(k) for retirement savings?
A traditional 401(k) is funded with pre-tax dollars, reducing your taxable income today, but withdrawals in retirement are taxed as ordinary income. A Roth 401(k) is funded with after-tax dollars, meaning contributions don't reduce your current tax bill, but qualified withdrawals in retirement are completely tax-free. The better choice depends on whether you expect your tax rate to be higher now or in retirement. Younger workers in lower tax brackets often benefit more from the Roth option, while high earners near peak income typically prefer the traditional pre-tax deferral.