401k Calculator
Calculate your 401k retirement savings growth with employer matching contributions, annual increases, and investment returns. See how your nest egg grows over time.
What Is a 401(k) Calculator?
A 401(k) calculator is a retirement planning tool that projects how your employer-sponsored retirement account will grow over time. It factors in your current salary, contribution percentage, employer matching contributions, expected investment returns, salary increases, and inflation to estimate the total balance you will have at retirement age.
The 401(k) is the most common employer-sponsored retirement plan in the United States, named after the section of the Internal Revenue Code that governs it. Contributions are made with pre-tax dollars, meaning they reduce your taxable income in the year they are made. The investments grow tax-deferred until withdrawal in retirement, when distributions are taxed as ordinary income. Understanding how your contributions and employer match compound over decades is essential for setting realistic retirement goals.
How 401(k) Growth Works
The growth of a 401(k) account depends on three main factors: contributions, employer match, and investment returns compounded over time.
Employee contributions are calculated as a percentage of gross salary, subject to IRS annual limits. For 2024, the limit is $23,000 per year, with an additional $7,000 catch-up contribution for those 50 and older.
Employer matching varies by company but commonly follows a formula like 50 percent of the first 6 percent of salary contributed. The match is capped at a certain percentage of your salary, making it important to contribute at least enough to receive the full match.
Compound growth is the engine that drives long-term wealth accumulation. Each month, your balance earns returns, and those returns then earn returns of their own. The formula applied monthly is:
New Balance = Previous Balance x (1 + Monthly Rate) + Monthly Employee Contribution + Monthly Employer Match
Over decades, compounding transforms modest monthly contributions into substantial sums. A $500 monthly contribution growing at 7 percent annually for 35 years produces over $850,000, even though you contributed only $210,000 out of pocket.
The calculator also applies an inflation adjustment to show the purchasing power of your future balance in today's dollars. This real-value figure is arguably more useful for planning because it tells you what your retirement savings will actually buy.
How to Use This Calculator
Enter your current age and retirement age. The difference determines your accumulation period. A longer horizon allows compounding more time to work, which is why starting early matters so much.
Enter your current annual salary. This is your gross pay before taxes and deductions. Your contribution and employer match are calculated as percentages of this figure.
Enter your current 401(k) balance. If you already have savings in a 401(k) or rolled-over IRA, include that amount. If you are starting fresh, enter zero.
Set your contribution percentage. This is the percentage of your salary you contribute each pay period. The calculator enforces IRS contribution limits automatically, including the higher limit for those 50 and older.
Enter employer match details. Specify the match rate (the percentage of your contribution the employer matches) and the match limit (the maximum percentage of salary eligible for matching). For example, 50 percent match on up to 6 percent of salary.
Set growth assumptions. Enter your expected annual salary increase, expected annual investment return, and expected inflation rate. Default values of 3 percent salary growth, 7 percent return, and 2.5 percent inflation represent moderate assumptions.
Review the results. The output shows your projected total balance, inflation-adjusted balance, monthly retirement income using the 4 percent rule, salary replacement ratio, and a breakdown of your contributions versus employer match versus investment growth.
Worked Examples
Example 1: Early Career Saver
A 25-year-old earning $55,000 contributes 10 percent of salary with a 50 percent employer match on the first 6 percent. Starting balance is $0. With 3 percent salary growth and 7 percent returns, by age 65 the projected balance is approximately $2,200,000. Employee contributions total about $400,000, employer match adds about $120,000, and investment growth accounts for the remaining $1,680,000. Monthly retirement income under the 4 percent rule is roughly $7,300.
Example 2: Mid-Career Catch-Up
A 40-year-old earning $90,000 has $100,000 saved. Contributing 15 percent with a 50 percent match on 6 percent, 3 percent raises, and 7 percent returns, the projected balance at 65 is approximately $1,500,000. The inflation-adjusted value at 2.5 percent inflation is about $880,000. Monthly retirement income under the 4 percent rule is roughly $5,000.
Example 3: Maximizing Contributions After 50
A 52-year-old earning $120,000 has $400,000 saved and contributes the maximum ($30,000 with catch-up). Employer matches 100 percent up to 3 percent. With 2 percent salary growth and 6 percent returns, the projected balance at 65 is approximately $1,050,000, yielding about $3,500 in monthly retirement income.
Example 4: No Employer Match
A 30-year-old earning $65,000 at a company with no match contributes 12 percent. Starting from $10,000 with 3 percent raises and 7 percent returns, the projected balance at 65 is approximately $1,350,000. Without the employer match, 100 percent of the growth comes from personal contributions and compound returns.
Common Use Cases
Employees use the 401(k) calculator to determine whether their current savings rate puts them on track for a comfortable retirement. It helps answer questions like how much more to contribute, whether to pursue the full employer match, and how delaying retirement by a few years changes the outcome.
Career changers use it to compare the impact of switching to an employer with a different match structure. Human resources teams use projections to illustrate the value of the company match during benefits enrollment. Financial planners use it alongside IRA and Social Security projections to build a comprehensive retirement picture.
Tips and Common Mistakes
Always contribute enough to get the full employer match. Leaving match money on the table is the single most common and costly retirement planning mistake. It is an immediate 50 to 100 percent return on your contribution.
Start early, even with small amounts. Time is the most powerful factor in compounding. Contributing $200 per month starting at age 25 produces more than $400 per month starting at 35, assuming the same return and retirement age, because of the extra decade of growth.
Increase contributions when you get a raise. Directing a portion of each raise to your 401(k) grows your savings without reducing your take-home pay. Many plans offer automatic escalation features that increase your contribution by 1 percent each year.
Do not ignore inflation. A million-dollar balance sounds impressive, but after 30 years of 2.5 percent inflation, it has the purchasing power of roughly $477,000 in today's dollars. Plan for the inflation-adjusted number, not the nominal one.
Rebalance periodically. The assumed annual return depends on maintaining an appropriate asset allocation. As you age, gradually shifting from stocks toward bonds reduces risk, though it may also lower expected returns. Target-date funds handle this automatically.
Account for taxes in retirement. Traditional 401(k) withdrawals are taxed as ordinary income. Your effective retirement income is the pre-tax amount minus federal and state income taxes. If you expect to be in a higher bracket in retirement, a Roth 401(k) contribution may be worth considering.
Frequently Asked Questions
How much should I contribute to my 401(k)?
Financial advisors generally recommend contributing at least enough to get the full employer match, which is essentially free money. Beyond that, aim for 10 to 15 percent of your gross salary. The IRS limits employee contributions to $23,000 per year in 2024, with an additional $7,000 catch-up contribution allowed for those age 50 and older.
What is an employer match and how does it work?
An employer match means your company contributes additional money to your 401(k) based on your own contributions. A common structure is a 50 percent match on the first 6 percent of salary you contribute. If you earn $75,000 and contribute 6 percent ($4,500), your employer adds $2,250. Not contributing enough to get the full match is leaving compensation on the table.
What annual return should I assume for my 401(k)?
The historical average annual return of the S&P 500 is roughly 10 percent before inflation and about 7 percent after inflation. A common conservative assumption is 6 to 8 percent for a diversified 401(k) portfolio. Your actual return depends on your asset allocation, with stock-heavy portfolios carrying more risk but offering higher long-term potential than bond-heavy ones.
What is the 4% rule for retirement income?
The 4 percent rule is a guideline suggesting you can withdraw 4 percent of your retirement portfolio in the first year and adjust for inflation each year after, with a high probability the money lasts 30 years. For a $1,000,000 balance, this means withdrawing $40,000 in year one. The rule originated from the Trinity Study and remains a widely used starting point for retirement planning.
How does inflation affect my 401(k) savings?
Inflation erodes purchasing power over time. If inflation averages 2.5 percent annually, one dollar today will buy only about 64 cents worth of goods in 18 years. This calculator shows both nominal and inflation-adjusted balances so you can see the real value of your savings. This is why investing for growth rather than keeping cash is important for long-term retirement planning.
Can I withdraw from my 401(k) before retirement?
You can, but early withdrawals before age 59 and a half typically incur a 10 percent penalty on top of ordinary income tax. Some exceptions exist for hardship withdrawals, disability, and the rule of 55 if you leave your job at age 55 or later. Loans from your 401(k) are another option but reduce your invested balance and its growth potential.
What happens to my 401(k) if I change jobs?
You have several options: leave it with your former employer's plan, roll it over to your new employer's 401(k), roll it into an Individual Retirement Account (IRA), or cash it out (not recommended due to taxes and penalties). A rollover to an IRA often provides the widest range of investment options and maintains the tax-deferred growth.
How does the salary increase assumption affect projections?
Including an annual salary increase reflects the reality that most workers receive raises over their career. Even a modest 3 percent annual raise significantly boosts lifetime contributions because your contribution percentage applies to an ever-larger salary. Over 35 years, a 3 percent annual raise turns a $75,000 salary into roughly $211,000, nearly tripling your annual contribution amounts.
Related Calculators
APR Calculator
Calculate Annual Percentage Rate (APR) and compare loans with different rates and fees. Understand how APR affects loan costs.
Auto Loan Calculator
Calculate auto loan payments with down payment, interest rate, and loan term. Get accurate estimates for monthly car payments and total interest costs.
Budget Calculator
Create a personalized monthly budget to track income and expenses. Allocate funds to different categories and achieve your financial goals.
Capital Gains Calculator
Calculate capital gains tax on stock sales and investments. Understand short-term and long-term capital gains taxes.
Closing Cost Calculator
Estimate home buying closing costs including realtor fees, title insurance, appraisals, and other expenses. Get accurate total costs.
Compound Interest Calculator
Calculate compound interest on savings and investments. See how compound interest grows your money over time with different compounding frequencies.