401(k) Calculator
Project your 401(k) balance at retirement by entering your age, salary, contribution rate, employer match details, current balance, and expected annual return. See how employee contributions, employer matching, and compound growth combine over time.
The 4% rule estimates a sustainable annual withdrawal of 4% of your balance.
Year-by-Year Breakdown
| Year | Age | Balance | Your Contrib. | Employer Contrib. | Growth |
|---|---|---|---|---|---|
| 1 | 36 | $23,032 | $4,500 | $2,250 | $1,282 |
| 2 | 37 | $31,627 | $9,000 | $4,500 | $3,127 |
| 3 | 38 | $40,823 | $13,500 | $6,750 | $5,573 |
| 4 | 39 | $50,663 | $18,000 | $9,000 | $8,663 |
| 5 | 40 | $61,191 | $22,500 | $11,250 | $12,441 |
| 6 | 41 | $72,457 | $27,000 | $13,500 | $16,957 |
| 7 | 42 | $84,511 | $31,500 | $15,750 | $22,261 |
| 8 | 43 | $97,409 | $36,000 | $18,000 | $28,409 |
| 9 | 44 | $111,210 | $40,500 | $20,250 | $35,460 |
| 10 | 45 | $125,977 | $45,000 | $22,500 | $43,477 |
| 11 | 46 | $141,778 | $49,500 | $24,750 | $52,528 |
| 12 | 47 | $158,685 | $54,000 | $27,000 | $62,685 |
| 13 | 48 | $176,775 | $58,500 | $29,250 | $74,025 |
| 14 | 49 | $196,131 | $63,000 | $31,500 | $86,631 |
| 15 | 50 | $216,843 | $67,500 | $33,750 | $100,593 |
| 16 | 51 | $239,004 | $72,000 | $36,000 | $116,004 |
| 17 | 52 | $262,716 | $76,500 | $38,250 | $132,966 |
| 18 | 53 | $288,089 | $81,000 | $40,500 | $151,589 |
| 19 | 54 | $315,237 | $85,500 | $42,750 | $171,987 |
| 20 | 55 | $344,286 | $90,000 | $45,000 | $194,286 |
| 21 | 56 | $375,369 | $94,500 | $47,250 | $218,619 |
| 22 | 57 | $408,627 | $99,000 | $49,500 | $245,127 |
| 23 | 58 | $444,213 | $103,500 | $51,750 | $273,963 |
| 24 | 59 | $482,290 | $108,000 | $54,000 | $305,290 |
| 25 | 60 | $523,032 | $112,500 | $56,250 | $339,282 |
| 26 | 61 | $566,627 | $117,000 | $58,500 | $376,127 |
| 27 | 62 | $613,273 | $121,500 | $60,750 | $416,023 |
| 28 | 63 | $663,184 | $126,000 | $63,000 | $459,184 |
| 29 | 64 | $716,590 | $130,500 | $65,250 | $505,840 |
| 30 | 65 | $773,733 | $135,000 | $67,500 | $556,233 |
Understanding the 401(k): How to Project and Maximize Your Retirement Savings
The 401(k) is a tax-advantaged employer-sponsored retirement savings plan available to employees of private-sector companies in the United States. Named after the section of the Internal Revenue Code that established it, the 401(k) allows workers to contribute a portion of their pre-tax salary to a personal retirement account, where the funds can be invested in mutual funds, index funds, and other assets. Because contributions reduce taxable income in the year they are made—and because investment earnings compound without being taxed until withdrawal—the 401(k) is one of the most powerful wealth-building tools available to American workers.
How This Calculator Works
This calculator projects your 401(k) balance at your target retirement age by simulating annual growth. Each year, your existing balance compounds at the expected annual return rate. Employee contributions (based on your salary and contribution rate) and employer match contributions are added mid-year, also compounding at half the annual rate to approximate continuous contributions throughout the year.
The employer match is calculated by taking the lower of your contribution rate and the employer match limit, then multiplying by the employer match rate. For example, if you contribute 8% of salary, the employer matches 50% of contributions up to 6% of salary, your effective employer contribution is 3% of salary (6% × 50%).
Once your projected balance is calculated, the 4% rule estimates the sustainable annual withdrawal by multiplying your balance by 4%. Dividing by 12 gives the estimated monthly retirement income. This widely referenced guideline—developed from historical portfolio research—suggests that a retiree following this withdrawal rate has a high probability of not outliving their savings over a 30-year retirement.
Employee Contributions and IRS Limits
In 2025, the IRS sets the annual employee contribution limit for 401(k) plans at $23,500. Employees aged 50 and older may make additional catch-up contributions, bringing their total to $31,000. These limits apply to elective deferrals (pre-tax and Roth 401(k) contributions combined) and are adjusted periodically for inflation.
Your contribution rate is expressed as a percentage of your gross salary. A common target is to contribute at least enough to capture the full employer match—commonly called 'leaving money on the table' when the match is not fully utilized. Beyond the match, many financial planning guidelines suggest targeting a total savings rate of 15% of gross income (including employer contributions) for retirement.
The Power of Employer Matching
Employer matching is a direct supplement to your retirement savings provided by your employer, and it represents an immediate, guaranteed return on your contribution. A common matching formula is 50 cents on the dollar up to 6% of salary, meaning an employee who contributes 6% of salary receives an additional 3% from their employer—effectively a 50% instant return on that portion of savings.
Employer match terms vary widely. Some employers match dollar-for-dollar up to 3–4% of salary. Others have more complex tiered structures. Match contributions may be subject to a vesting schedule, meaning employees must remain with the employer for a certain number of years before the match is fully owned. Understanding your employer's match formula and vesting schedule is essential to optimizing the value of your 401(k).
This calculator allows you to specify both the match rate (how many cents per dollar the employer contributes) and the match limit (the maximum percentage of salary eligible for matching). By modeling the full employer contribution, the projection shows the substantial difference that employer matching makes over a multi-decade savings horizon.
Compound Growth Over Time
Compound interest—earning returns not only on your principal but also on previously accumulated earnings—is the central force that transforms modest regular contributions into a substantial retirement nest egg. The longer the compounding period, the more powerful the effect. A worker who begins contributing to a 401(k) at age 25 and retires at 65 has 40 years of compounding, while one who starts at 35 has only 25 years.
As a rough illustration, consider two workers both earning $75,000 who contribute 6% of salary with a 3% employer match and expect a 7% annual return. Worker A starts at age 25 with a $10,000 existing balance; Worker B starts at 35 with the same balance. At retirement age 65, Worker A may accumulate roughly twice what Worker B accumulates—despite contributing for only ten additional years. This gap illustrates the mathematical dominance of time in compound growth.
Choosing an Expected Return Rate
The annual return rate is the single most sensitive assumption in any long-term projection. Over rolling 30-year periods, diversified equity portfolios have historically delivered average annual returns of roughly 7–10% before inflation. However, past performance does not guarantee future results, and actual returns in any given period depend on market conditions, portfolio allocation, fees, and other factors.
For conservative long-term projections, many financial planners recommend using a nominal return of 5–7% to build in a margin of safety. Investors with portfolios weighted toward bonds or stable assets should use lower rates. The calculator allows you to test multiple scenarios by changing the return rate to see how sensitive your projected balance is to this assumption.
The 4% Withdrawal Rule
The 4% rule originated from research published in the 1990s by financial planner William Bengen, who studied historical stock and bond return data to determine sustainable withdrawal rates for 30-year retirements. His analysis found that a portfolio of 50–75% equities could sustain annual withdrawals of 4% of the initial balance (adjusted annually for inflation) across all historical 30-year periods without being depleted.
This calculator applies the 4% rule by multiplying the projected retirement balance by 4% to estimate annual income, then dividing by 12 for a monthly figure. The result provides a reference point for how much income your savings may support. Actual sustainable withdrawal rates depend on retirement duration, investment allocation, tax situation, and other income sources such as Social Security. For personalized retirement income planning, consulting a qualified financial adviser is recommended.
Traditional 401(k) vs. Roth 401(k)
Many employers now offer both traditional and Roth 401(k) options. Traditional 401(k) contributions are made with pre-tax dollars, reducing your taxable income today, but withdrawals in retirement are taxed as ordinary income. Roth 401(k) contributions are made with after-tax dollars, so withdrawals in retirement—including all investment gains—are generally tax-free.
The choice between traditional and Roth depends largely on whether you expect to be in a higher tax bracket during your working years or in retirement. If you expect your tax rate to be lower in retirement, the traditional 401(k) generally provides a greater tax benefit. If you expect your tax rate to be higher in retirement, the Roth option may be more advantageous. This calculator does not model the tax treatment of contributions or withdrawals, as that depends on individual tax circumstances.
Factors This Calculator Does Not Cover
This calculator projects nominal (pre-inflation) balances. In real purchasing power, a dollar today will be worth less in 30 years due to inflation. To approximate inflation-adjusted results, subtract the expected average inflation rate from your return rate before entering it. For instance, entering 4% instead of 7% with 3% expected inflation gives a rough estimate of your balance in today's purchasing power.
The calculator also does not model Social Security benefits, required minimum distributions (RMDs) that begin at age 73 under current law, account fees, salary growth over time, or changes in contribution rates. All of these factors can significantly affect real-world retirement outcomes. This tool is intended for educational estimation purposes. For a comprehensive retirement plan tailored to your circumstances, consulting a qualified financial adviser is advisable.
Frequently Asked Questions
What is a 401(k) and how does it work?
A 401(k) is a tax-advantaged retirement savings plan offered by employers in the United States. Employees elect to have a percentage of their salary automatically deposited into the account before taxes are withheld. The funds are invested in options chosen by the employee—typically mutual funds or index funds—and grow tax-deferred until withdrawal in retirement, at which point they are taxed as ordinary income. Some employers also offer a Roth 401(k) option, where contributions are made after tax and qualified withdrawals are tax-free.
How is the employer match calculated in this calculator?
The employer match is calculated using your contribution rate, the employer match rate, and the employer match limit. The effective employer contribution equals your salary multiplied by the lower of your contribution rate and the match limit, then multiplied by the match rate. For example, with a 50% match on up to 6% of salary: if you contribute 8%, the effective matched rate is capped at 6%, so the employer contributes 6% × 50% = 3% of your salary. If you contribute only 4%, the employer contributes 4% × 50% = 2% of salary.
What does the 4% rule mean for retirement income?
The 4% rule is a guideline suggesting that retirees can withdraw 4% of their retirement portfolio balance in the first year of retirement, then adjust that amount annually for inflation, and have a high probability of not depleting the portfolio over a 30-year retirement. This calculator multiplies your projected balance by 4% to estimate annual retirement income, then divides by 12 for a monthly estimate. This is a rough reference point—actual sustainable withdrawals depend on your investment allocation, retirement duration, tax situation, and other income sources.
What annual return rate should I use?
A commonly used range for long-term diversified equity portfolios is 6–8% annually in nominal terms, reflecting historical averages over multi-decade periods. Conservative or bond-heavy portfolios may warrant lower rates of 3–5%. Many financial planners suggest using a conservative estimate—such as 5–6%—to build in a margin of safety for long-term projections. Running multiple scenarios with different return rates helps illustrate how sensitive your projected balance is to this assumption.
How much should I contribute to my 401(k)?
A widely cited starting point is to contribute at least enough to receive the full employer match, as unmatched contributions represent foregone compensation. Beyond the match, many guidelines suggest targeting a total savings rate of 10–15% of gross income (including employer contributions) for retirement. The right amount depends on your age, existing savings, expected retirement age, desired lifestyle, and other income sources. This calculator lets you experiment with different contribution rates to see their long-term impact.
What is the 401(k) contribution limit for 2025?
For 2025, the IRS sets the annual employee elective deferral limit at $23,500 for both traditional and Roth 401(k) plans. Employees aged 50 and older may contribute an additional $7,500 in catch-up contributions, for a total of $31,000. The total annual additions limit (including employer contributions) is $70,000. These limits are periodically adjusted for inflation. Contributing the maximum allowed is generally beneficial for long-term retirement savings, subject to your budget and financial situation.