Project how a 401(k) grows from salary, your contribution rate, the employer match, and investment return; see what an early withdrawal actually nets after tax and the 10% penalty; or find the contribution percentage window that captures the full match without hitting the IRS cap mid-year.
Formula
Each working year of the projection (calculator.net's year loop):
salary_t = income × (1 + salary increase)^(t − 1)
employee_t = min(salary_t × contribution %, IRS deferral cap)
match_t = (salary paid while contributing) × match % × min(contribution %, match limit)
C_t = employee_t + match_t
return_t = prior balance × r + C_t × r / 2
end_t = prior balance + C_t + return_t
The IRS cap starts at $24,500 (2026) and grows with your inflation rate; from the year you are 50 it adds a flat $8,000 catch-up. If contributions would exceed the cap, they stop mid-year and so does the match.
In retirement, three withdrawal options are sized so the balance reaches $0 at life expectancy:
fixed PP monthly = PMT(inflation / 12, years in retirement × 12, nest egg)
fixed monthly = PMT(return / 12, years in retirement × 12, nest egg)
fixed annual = PMT(return, years in retirement, nest egg)
Today's dollars divide by (1 + inflation)^years to retirement (or to age 85 for the last-year figures).
The employer match is often called “free money.” Contribute at least enough to get all of it — and not so much that you hit the IRS limit in May and miss matching on the rest of the year's paychecks.
2026 contribution limits
| Age | Employee deferral cap |
|---|---|
| Under 50 | $24,500 |
| 50 or older | $32,500 |
| 60–63 (SECURE 2.0 super catch-up) | $35,750 (informational; the calculator uses $32,500) |
The overall employee-plus-employer addition limit is $72,000 in 2026 (not modeled here — elective deferrals bind first for typical match formulas).
Examples
Default projection (age 30, retire at 65)
A 30-year-old earning $75,000, with $35,000 already saved, contributing 10% and receiving a 50% match on the first 3%, at a 6% return and 3% inflation / salary growth, reaches about $1,711,800 at 65 — $608,345 in today's purchasing power. A fixed purchasing-power withdrawal is $9,494 a month from age 66 ( $3,374 today).
Early withdrawal of $10,000
At 25% federal and 5% state tax, still employed, a $10,000 early withdrawal keeps $6,000. The 10% penalty is $1,000, federal tax $2,500, and state tax $500. A qualifying disability or the rule of 55 drops the penalty and you keep $7,000.
Maximize a two-tier match
On $75,000 with 50% of the first 3% plus 20% up to 6%, contribute between 6% and 32.67% of pay. 6% puts $4,500 of yours and $1,575 of match in the plan; 32.67% is the $24,500 IRS cap, still with $1,575 of match.