Skip to content
UseCalcNow
Finance

401k Calculator — Project Your Retirement Savings

Estimate your 401k balance at retirement. Factor in salary, employer match, and returns for a clear picture of your retirement savings.

About This Calculator

A 401k calculator projects how much your retirement account could be worth by the time you stop working. It factors in your salary, contribution rate, employer match, and expected investment returns. Most people underestimate their retirement needs by 30% or more because they forget about inflation and increased lifespans. Running the numbers now gives you decades to adjust your savings rate before it matters.

The Formula Behind This Calculator

The calculator uses future value of a growing annuity with an initial lump sum. Each year, your existing balance grows by the annual return rate, and your new contributions (plus employer match) get added on top. The formula loops year by year: Balance(new) = Balance(old) * (1 + returnRate) + annualContribution. This mirrors how an actual 401k grows, with contributions typically made throughout the year and returns compounding on the total balance. The math assumes constant returns each year, while real markets fluctuate. Over 30+ years, though, the smoothed average tends to land within 10-15% of actual results for diversified portfolios.

Understanding the math helps you verify results and make better decisions for your project.

How to Use

  1. 1Enter your current age and the age you plan to retire
  2. 2Input your annual salary and current 401k balance
  3. 3Set your contribution percentage and your employer match percentage
  4. 4Adjust the expected annual return (7% is the historical stock market average)
  5. 5Review your projected balance and adjust contributions if the number feels low

When to Use

  • Annual benefits enrollment when deciding your contribution percentage
  • Job changes when comparing 401k match packages between employers
  • Mid-career checkups to see if you are on track for your target retirement income
  • Catch-up contribution planning after age 50
  • Evaluating whether to increase contributions after paying off debt

Tips

  • Always contribute at least enough to get your full employer match, since that is free money with an immediate 50-100% return
  • Increasing your contribution by just 1% of salary rarely changes your lifestyle but adds tens of thousands over decades
  • Revisit your expected return rate annually, since a 1% difference over 30 years changes your final balance by roughly 25%
  • Consider that inflation reduces purchasing power, so a $1 million balance in 2055 buys less than $1 million today
  • If you are 50 or older, you qualify for catch-up contributions of an extra $7,500 per year on top of the standard limit

How 401k Contributions and Employer Match Work

Your 401k contribution is automatically deducted from each paycheck pre-tax, which lowers your taxable income for the year. The IRS sets annual contribution limits, which for 2025 are $23,500 for workers under 50 and $31,000 for those 50 and older with catch-up contributions. These limits typically increase every few years to track with inflation and wage growth.

Employer matching is the single best deal in personal finance. A common structure is a 50% match on contributions up to 6% of salary, meaning if you put in 6%, the employer adds 3%. Some companies offer dollar-for-dollar matches up to 4-5%, while others use vesting schedules that require you to stay for several years before the match is fully yours.

The calculator above adds your contribution and employer match together to compute total annual additions. For someone earning $90,000 contributing 8% with a 4% match, that is $7,200 from the employee plus $3,600 from the employer, for $10,800 per year going into the account. Over 30 years at 7% returns, those annual contributions alone grow to over $1 million.

Understanding Investment Returns in a 401k

Most 401k plans offer a menu of mutual funds ranging from conservative bond funds to aggressive stock funds. The default option in many plans is a target-date fund that automatically shifts from stocks to bonds as you approach retirement. These funds charge expense ratios, typically 0.05% to 0.75% annually, which eats into your returns over time.

Historical data shows that the S&P 500 has returned about 10% per year on average over the past century, though any single decade can range from negative returns to 15%+ annual gains. For planning purposes, using a conservative 6-7% after inflation prevents overconfidence and accounts for market downturns that inevitably occur during your saving years.

The assumed rate in this calculator is a flat annual percentage applied uniformly each year. Real-world returns fluctuate, and the sequence of returns matters, especially in the years just before and after retirement. A major market crash at age 62 can derail retirement plans even if the long-term average works out fine. Using the ROI calculator alongside this tool can help stress-test different return scenarios.

Tax Advantages of 401k Contributions

Traditional 401k contributions go in pre-tax, meaning every dollar you contribute reduces your taxable income by that same amount. A worker in the 24% marginal tax bracket contributing $10,000 per year saves $2,400 in federal income taxes annually. The money grows tax-deferred until withdrawal in retirement, when many people are in a lower bracket.

Roth 401k options, available in many plans, flip the tax treatment. You contribute after-tax dollars, but all growth and withdrawals in retirement are completely tax-free. This is attractive for younger workers who expect higher income and tax rates later in life. The calculator works for Roth 401k as well, since the growth math is identical.

Taxes on traditional 401k withdrawals begin at age 59.5, and required minimum distributions kick in at age 73 under current law. Early withdrawals before 59.5 trigger a 10% penalty plus income taxes, though there are exceptions for hardship, first-time home purchase (up to $10,000), and certain medical expenses.

Setting Realistic Retirement Savings Goals

Financial planners commonly use the multiples-of-salary method to gauge whether you are on track. By age 30, aim for 1x salary saved. By 40, 3x. By 50, 6x. By 60, 8x. By retirement at 67, 10x your final salary. These benchmarks assume you will need about 80% of your pre-retirement income to maintain your lifestyle.

The 4% rule is another common framework: you can safely withdraw 4% of your portfolio annually in retirement without running out of money for at least 30 years. To replace an $80,000 annual income at 4%, you need a $2 million nest egg. The savings goal calculator can help break that target into monthly or annual milestones.

Your personal retirement number depends heavily on your planned lifestyle, healthcare costs, housing situation, and longevity. Someone who pays off their mortgage before retiring needs far less income than a renter. The net worth calculator provides a broader picture of your financial position including home equity and other assets beyond just your 401k.

Catch-Up Contributions After Age 50

Workers aged 50 and older can make catch-up contributions to accelerate retirement savings. For 2025, the catch-up amount is $7,500 on top of the base $23,500 limit, allowing total contributions of $31,000 per year. This is especially valuable for those who started saving late or had career interruptions.

The impact of catch-up contributions is significant. An extra $7,500 per year for 15 years at 7% returns adds approximately $190,000 to your final balance. When combined with the base contribution increase that comes with higher salary growth in your peak earning years, catch-up contributions can close a substantial retirement gap quickly.

Starting in 2025, the SECURE Act 2.0 introduced even higher catch-up limits for workers aged 60-63, allowing contributions up to $11,250 above the base limit. This super catch-up window targets the years when many workers are at their highest earnings and most motivated to build their retirement countdown fund before leaving the workforce.

Common 401k Mistakes That Cost Hundreds of Thousands

The most expensive mistake is leaving employer match money on the table. Roughly 12% of employees do not contribute enough to get the full match, according to data from Vanguard. For a worker earning $70,000 with a 5% match, that is $3,500 of free money left behind every year, which compounds to over $160,000 over 25 years.

Another costly error is keeping too much in conservative investments like stable value or money market funds within the 401k. Over 20-30 years, being too conservative can cost more than market downturns. A portfolio that returns 3% instead of 7% over 30 years on a $50,000 starting balance with $800 monthly contributions results in a difference of more than $600,000.

Taking 401k loans is another trap. While you pay yourself back with interest, the money removed from the market misses out on growth, and if you leave your job, the loan becomes due quickly or faces penalties. Consider building a separate emergency fund first using the emergency fund calculator before tapping retirement savings for short-term needs.

How Inflation Eats Away at 401k Balances

A $1 million 401k balance sounds like a lot, but inflation steadily reduces what those dollars can buy. At 3% annual inflation, $1 million in 25 years has the purchasing power of about $475,000 in today's dollars. This is why many financial planners recommend using inflation-adjusted return rates (typically 4-5% instead of 7%) when projecting retirement readiness.

Social Security provides some inflation protection through annual cost-of-living adjustments, but those adjustments often lag behind actual inflation experienced by retirees, particularly in healthcare and housing. The inflation calculator shows how dramatically inflation compounds over multi-decade periods.

One strategy to combat inflation is maintaining a higher allocation to stocks in your 401k even into early retirement. Stocks historically outpace inflation by a wider margin than bonds or cash. Many planners now recommend a 60-70% stock allocation even at retirement age, gradually reducing over time rather than making a drastic shift to all bonds at 65.

401k vs Other Retirement Savings Options

The 401k is one of several retirement savings vehicles, and it works best when combined with other accounts. An IRA can provide access to a wider range of investment options and potentially lower fees. Roth IRAs offer tax-free growth, complementing the tax-deferred growth of a traditional 401k.

If your employer offers a match, always prioritize the 401k first to capture that match. Beyond the match, consider whether an IRA or Roth IRA gives you better investment choices or tax treatment. High earners who max out both a 401k and IRA can still use taxable brokerage accounts for additional savings, though those lack tax advantages.

Self-employed individuals have access to Solo 401k plans and SEP-IRAs, which often allow much higher contribution limits than a regular 401k. If you have a side business or freelance income alongside a W-2 job, a Solo 401k can dramatically increase your total annual retirement savings. For those managing housing costs in retirement, the mortgage calculator helps factor housing payments into your overall retirement budget.

FAQ

What is a good 401k balance by age 40?

Most financial advisors suggest having 2-3 times your annual salary saved by age 40. Someone earning $75,000 should target $150,000-$225,000. The [compound interest calculator](/calculator/compound-interest-calculator) shows how compounding accelerates growth once you cross the six-figure mark.

How much should I contribute to my 401k?

At minimum, contribute enough to capture your full employer match. Most planners recommend 10-15% of gross income including the match. Someone earning $80,000 contributing 10% with a 4% match puts away $11,200 per year, which compounds substantially over a career.

What annual return rate should I use?

The S&P 500 has averaged roughly 10% annually before inflation, or about 7% after inflation. If your 401k is heavily in bonds, use 4-5%. For a blended portfolio of 80% stocks and 20% bonds, 6-7% is a reasonable inflation-adjusted assumption.

Does the calculator account for inflation?

The base calculation uses nominal dollars. To see purchasing power in today's dollars, lower your expected return rate by roughly 3% to account for historical inflation averages. The [inflation calculator](/calculator/inflation-calculator) can help you understand how inflation erodes purchasing power over time.

What happens if I increase my contribution rate later?

Starting early matters far more than catching up later due to compounding. A 25-year-old contributing $300/month until age 65 at 7% returns accumulates about $780,000. A 35-year-old contributing $600/month until 65 accumulates about $610,000 despite contributing more per month.

Should I prioritize 401k over an emergency fund?

Build a basic emergency fund first (3-6 months of expenses) before maxing out retirement contributions. Without savings, you may need to take 401k loans or early withdrawals, which trigger penalties and tax consequences. The [emergency fund calculator](/calculator/emergency-fund-calculator) helps determine your target amount.

Related Calculators