What is a 401(k)?
A 401(k) is an employer-sponsored retirement plan named after the section of the US tax code that created it. You choose a percentage of each paycheck to defer into the plan, the money is invested in funds you pick from the plan's menu, and many employers add matching contributions. Traditional 401(k) deferrals reduce your taxable income now and are taxed when withdrawn; Roth 401(k) deferrals are taxed now and come out tax-free in retirement.
How the projection works
Each year until retirement the calculator takes your salary, applies your contribution percentage, caps the deferral at the IRS limit for your age, and adds the employer match. The match is your employer's match rate applied to the portion of your contribution up to the match limit. The balance then grows at your expected return, your salary rises by the expected raise, and the IRS limits rise with inflation.
Balancenext = Balance × (1 + return) + Contributions × (1 + return / 2)
Contributions arrive through the year, so on average they earn half a year of return. If your contribution passes the IRS deferral limit (assumed to rise with inflation, with the $8,000 age-50 catch-up added on top), it is cut to the limit and the employer match is reduced in the same proportion. You can switch the IRS limits off to see the uncapped result.
Worked example
A 30-year-old earning $75,000 who contributes 10% puts in $7,500 the first year. With a 50% match on up to 3% of salary, the employer adds 50% × 3% × $75,000 = $1,125. Starting from a $35,000 balance with 3% raises, a 6% return and 3% inflation, the balance reaches about $1,711,800 at 65 (about $608,345 in today's money). Spread from 65 to 85 that supports about $149,243 a year, $12,264 a month, or $9,494 a month that rises 3% a year with inflation.
2026 contribution limits
| Category | Limit |
|---|---|
| Employee deferral, under 50 | $24,500 |
| Employee deferral, age 50 and over (with catch-up) | $32,500 |
| Employee deferral, ages 60 to 63 (super catch-up, not modeled by the calculator) | $35,750 |
| Total employee plus employer additions | Lesser of 100% of pay or $72,000 (plus catch-up) |
The IRS adjusts these limits for inflation most years. If your percentage is high enough to hit the limit before December, your contributions stop for the rest of the year, and so may your employer match unless the plan has a year-end true-up.
Employer match
A match is free money, so most planners suggest contributing at least enough to get all of it. Common formulas are 50% of contributions up to 6% of pay (worth 3% of salary) or 100% of the first 3% plus 50% of the next 2% (worth 4% of salary). Matches may vest over several years, meaning you keep them only if you stay with the employer long enough.
Early withdrawal costs
Withdrawals before age 59½ are usually hit with a 10% IRS penalty on top of ordinary federal, state and local income tax. A $10,000 withdrawal at a 25% federal and 5% state rate leaves $6,000. Exceptions include leaving your employer in or after the year you turn 55, total and permanent disability, certain medical expenses, a qualified domestic relations order, and substantially equal periodic payments.
Pros and cons of a 401(k)
- Pros: high contribution limits, employer matching, automatic payroll saving, tax deferral or tax-free Roth growth, and creditor protection.
- Cons: limited investment menu, possible high fees, penalties for early access, and required minimum distributions from traditional balances starting at 73 or 75.
Distributions in retirement
After 59½ you can withdraw freely, paying income tax on traditional balances. The calculator shows three ways to draw the balance down to zero by your life expectancy while the rest stays invested: a fixed amount each year, a fixed amount each month, and a monthly amount that rises with inflation each year so its purchasing power stays the same. Required minimum distributions apply to traditional 401(k) balances once you reach your RMD age.
Roth 401(k) and self-directed options
A Roth 401(k) shares the same limits as a traditional 401(k), and many plans let you split contributions between the two. Self-employed people with no employees can open a solo 401(k), contributing both as employee and as employer.