Retirement

401(k) Calculator

Project your retirement savings growth with employer matching and annual returns.

years
years
$
$
% of salary
% of salary
% p.a.
% p.a.

401(k) Balance at Retirement

$1,216,210$

Projected balance at age 65 after 35 years

Your Contributions$179,980
Employer Match$89,990
Investment Growth$926,240

This calculator estimates your 401(k) balance based on your inputs. Actual returns vary yearly and depend on your investment allocation. Consult a financial advisor for personalized retirement planning.

What is the 401(k) Calculator?

A 401(k) calculator estimates your account balance at retirement by simulating annual contributions, employer matches, and investment growth year by year. You input your current age, retirement age, current balance, salary, contribution percentage, employer match percentage, expected annual returns, and salary growth rate. The calculator compounds all contributions and returns over the years to show your projected nest egg.

How it works

The calculator starts with your current 401(k) balance and adds each year's employee contributions (based on your salary and contribution percentage), employer match (typically 3-6% of salary), and investment returns. Each year, your salary grows by your specified increase rate, raising your contributions automatically. All amounts compound annually at your expected return rate until you reach retirement age.

Final Balance = Current Balance + Sum of (Annual Employee Contribution + Annual Employer Match) + Compounded Investment Growth; where Annual Contribution = Salary × (Contribution % / 100) and Employer Match = Salary × (Match % / 100)

The formula accounts for growing salary each year and compounds all contributions and returns at your expected annual return rate. Employer match is typically limited to a percentage of salary (e.g., 100% match up to 3% of salary).

Examples

InputResultNotes
Age 30, retire at 65, current balance $20,000, salary $60,000, 6% contribution, 3% match, 7% return, 2% raiseRetirement balance: $847,500 | Your contributions: $216,000 | Employer match: $108,000 | Investment growth: $523,500Conservative estimate with moderate assumptions; actual results depend on market performance and career progression
Age 35, retire at 67, current balance $75,000, salary $85,000, 10% contribution, 4% match, 8% return, 3% raiseRetirement balance: $1,243,200 | Your contributions: $408,000 | Employer match: $163,200 | Investment growth: $672,000Higher contribution rate and later start age result in strong growth due to increased annual additions
Age 25, retire at 65, current balance $5,000, salary $50,000, 8% contribution, 3% match, 7% return, 2.5% raiseRetirement balance: $1,526,800 | Your contributions: $360,000 | Employer match: $135,000 | Investment growth: $1,031,800Starting early at 25 allows compound growth to dramatically exceed contributions; 40 years captures full power of compounding

How to use the 401(k) Calculator

  1. Enter your current age and desired retirement age
  2. Input your current 401(k) balance (if you have an existing plan)
  3. Enter your current annual salary
  4. Specify the percentage of your salary you contribute to your 401(k)
  5. Enter your employer's match percentage (check your plan documents for the exact rate)
  6. Input your expected annual investment return rate (historical stock market average is roughly 7-10%)
  7. Add your expected annual salary increase percentage to account for future raises

Benefits

  • Visualize how much you'll have saved by retirement under your current contribution strategy
  • Understand the real value of employer matching—it's free money that compounds over decades
  • See the impact of starting early; even small contributions made in your 20s grow substantially by retirement
  • Test different contribution rates to find the balance between current spending and retirement security
  • Make informed decisions about working longer or retiring early based on projected balances
  • Motivate yourself by seeing how investment growth becomes the largest component of your retirement savings

Tips & common mistakes

Common mistakes

  • Not contributing enough to capture your full employer match—leaving free money on the table is the most costly mistake
  • Assuming a return rate that's too high without understanding market volatility and downside risks
  • Ignoring salary growth when planning contributions; as your salary increases, consider increasing contributions too
  • Starting too late; waiting until age 40 to begin serious 401(k) contributions means losing 15+ years of compounding growth

Tips

  • Always contribute at least enough to get the full employer match; it's an instant 50-100% return on your money
  • Increase your contribution percentage by 1% each year on raises; you won't feel the paycheck reduction
  • Review and rebalance your 401(k) investments annually to keep your asset allocation aligned with your risk tolerance
  • Use this calculator to estimate how much you need at retirement, then work backward to determine required contributions

Frequently asked questions

What is employer matching in a 401(k)?

Employer matching is when your company contributes money to your 401(k) based on your contributions. For example, a '100% match up to 3%' means if you contribute 3% of your salary, your employer adds another 3%. It's essentially free money, and this calculator accounts for it in the employer match line.

What return rate should I assume?

The historical long-term average for the S&P 500 is about 10% annually, but many planners use 7-8% to be conservative. Your actual return depends on your asset allocation (stocks, bonds, etc.). More aggressive portfolios might average 8-10%, while conservative portfolios may average 5-6%.

Does this calculator account for taxes?

No—this calculator shows the pre-tax balance in your account. When you withdraw in retirement, you'll owe taxes on most 401(k) funds (unless it's a Roth 401(k), which has different rules). Consult a tax professional to estimate your after-tax retirement income.

Can I exceed the 401(k) contribution limit?

No—the IRS sets annual limits (e.g., $23,500 in 2024 for those under 50). This calculator assumes you stay within limits. If your calculation suggests you should contribute more, consider maxing out your 401(k) and also contributing to an IRA or taxable brokerage account.

How does inflation affect my retirement savings?

This calculator does not adjust for inflation. Your $1 million at retirement will have less purchasing power than $1 million today. To account for inflation, assume a lower return rate (e.g., use 5% instead of 7%) or plan for a larger balance.

What if I change jobs or leave my employer?

When you leave a job, you can usually roll your 401(k) into an IRA or your new employer's plan. This calculator assumes you stay invested until retirement; in reality, you may switch investments multiple times. The key is to keep contributing and avoid withdrawing early.

Related tools

FreeToolz Editorial Team · Last reviewed July 2026

Reviewed for accuracy. Results are estimates for general information and are not professional (medical, financial or legal) advice.