401(k) Calculator
Calculate projected 401(k) balance, employee salary deferrals, employer matching contributions, and tax savings.
Simulate the multi-decade growth of your employer-sponsored 401(k) retirement plan. Accounts for annual salary increases, employee elective deferrals, company match formulas (dollar-for-dollar or 50%), and immediate tax bracket savings.
How this calculator works
Each year: Employee Contribution = Salary * Deferral%. Employer Match = Salary * min(Deferral%, Match Limit%) * Match%. The balance grows at rate r with the year's additions treated as arriving mid-year on average: Growth = (Starting Balance + Annual Additions / 2) * r, and salary grows at the entered raise rate each year. The projection applies the percentages you enter exactly as entered — it does not cap contributions at IRS elective deferral limits.
Key benefits
- Models employer match formulas (e.g., 50% match up to 6% of compensation)
- Calculates immediate upfront income tax savings based on marginal bracket
- Tracks total lifetime "free money" captured from employer contributions
- Shows employee contributions, employer match and investment growth as separate totals
Assumptions & exclusions
- Assumes contributions are pre-tax Traditional 401(k) deferrals unless designated as Roth.
- Does not account for vesting schedules if leaving prior to full vesting.
Frequently asked questions
What are the 401(k) contribution limits, and does this calculator apply them?
The IRS sets the elective deferral limit each year, with additional catch-up amounts for older workers; the current figures are published on the IRS 401(k) plans page. This calculator does not apply those limits: it projects the deferral percentage you enter against your full salary, so treat the result as a mathematical projection of your inputs and check your actual deferrals against the current IRS limit and your plan's own rules.
Should I always contribute enough to get the full employer match?
Yes. An employer match is effectively an immediate, guaranteed 50% to 100% return on your contributed funds. Missing the match leaves compensation on the table.
How does the employer match formula in this calculator work?
The match is computed as your salary multiplied by the smaller of your deferral percentage and the match limit, multiplied by the match percentage. For a plan described as '50% match on the first 6%', you would enter a 50% match and a 6% limit: deferring 6% of an $80,000 salary earns a $2,400 match, and deferring more earns no additional match beyond that.
Does the calculator enforce IRS contribution limits?
No. The engine applies the deferral percentage you enter to your full salary without capping it at the IRS elective deferral limit, so a very high percentage on a high salary can project contributions a real plan would not accept. The IRS publishes the current limits on its 401(k) plans page, and your plan administrator enforces them — check your inputs against them.
What does the 'tax savings' figure mean, and is it part of my balance?
It estimates the upfront federal income tax you defer each year by contributing pre-tax money: each year's deferral multiplied by the marginal bracket you entered, summed across the projection. It is shown to illustrate the size of the deferral, and it is not added to the account balance. The deferred tax is generally collected later, when withdrawals in retirement are taxed as income.
What is vesting, and does the projection account for it?
Vesting is the schedule over which employer contributions become fully yours; your own deferrals are always 100 percent yours, but match money may be forfeited in part if you leave the employer before becoming fully vested. This projection does not model a vesting schedule — it counts the full match — so if you expect to change jobs, treat the match total as the amount you would keep only if fully vested.
Formula-Based Calculator · By QalcTools Editorial Team. Formulas tested against independent reference values · Content reviewed November 2026 by the QalcTools Editorial Team.
Methodology note: IRS § 401(k) elective deferral guidelines and annual compound interest modeling.
Related calculators
Category: Investments & Retirement Calculators
About this calculator
A 401(k) has three engines working at once: your own deferrals, your employer's matching contributions, and decades of compound growth on both. This calculator separates them. You enter your salary, the percentage you contribute, your employer's match formula, your current balance, and an assumed return, and it projects the balance at retirement split into what you put in, what your employer put in, and what growth added — plus the upfront tax savings your pre-tax deferrals generate at your current bracket. It is the clearest way to see what changing your contribution percentage actually does, and whether you are capturing the full match your plan offers. This is a US workplace-plan model, explained in educational terms only.
How it works
The projection advances one year at a time from your current age to your retirement age. Each year, your contribution is your salary times your deferral percentage, and the employer's match applies the plan's formula: the match percentage is applied to the smaller of your deferral percentage and the match limit, times salary. Your salary grows by the annual increase you enter, so contributions rise with it. Growth for the year is computed on the starting balance plus half the year's new contributions — a mid-year convention that treats contributions as arriving steadily through the year rather than all on January 1st. The calculator also prices each year's deferral at your tax bracket to accumulate the upfront tax savings from pre-tax contributions.
The formula, explained
Yearly: You = Salary × Deferral%; Match = Salary × min(Deferral%, Match Limit%) × Match%; Growth = (Start Balance + (You + Match) ÷ 2) × Return%; Balance → Start Balance + You + Match + Growth
- Deferral% — Share of salary you contribute each year (percent of salary)
- Match% — Employer match rate — for example 50% means the employer adds 50 cents per dollar on the matched portion (percent)
- Match Limit% — The share of salary up to which the employer matches — for example, 50% on the first 6% you defer (percent of salary)
- Return% — Assumed annual investment return, constant across all years (percent per year)
- Tax savings — Each year's pre-tax deferral multiplied by your current marginal tax bracket (dollars per year)
The engine steps year by year for retirement age minus current age, clamping the current age to at least 18 and the horizon to at most 100 years, raising the salary by the entered increase each year. The match is salary × min(deferral%, match limit%) × match%, and growth uses the mid-year convention described above. Tax savings are summed at a flat bracket with no discounting and reported separately — never added to the balance. Importantly, the engine applies the percentages exactly as entered; it does not cap deferrals at an IRS dollar limit. The IRS publishes the current limits (see the source below) and your plan enforces them, so high deferral percentages on high salaries can overstate what a real plan accepts.
Inputs and variables
| Variable | Meaning | Example |
|---|---|---|
| Current Age | Your age today; with the retirement age it sets the number of projection years. | 30 |
| Retirement Age | The age at which the projection stops and the balance is measured. | 65 |
| Current Annual Salary | Gross pay from which deferral and match percentages are calculated. | $80,000 |
| Annual Salary Increase (%) | Expected yearly raise; contributions grow with salary even if your deferral percentage never changes. | 2% |
| Employee Contribution (%) | The share of salary you defer into the plan each year — the single most powerful input you control. | 10% |
| Employer Match (%) | How much the employer adds per dollar on the matched portion of your deferral. | 50% |
| Employer Match Limit (%) | The portion of salary the match applies to; deferring beyond this percentage earns no additional match. | 6% of salary |
| Current 401(k) Balance | What is already in the account when the projection starts. | $25,000 |
| Expected Annual Return (%) | Assumed constant yearly investment return before fees and taxes. | 7% |
| Current Tax Bracket (%) | Your marginal federal bracket, used only to estimate the upfront tax savings of pre-tax deferrals. | 22% |
Worked example
A 30-year-old earning $80,000 with 2 percent annual raises defers 10 percent of salary into a plan that matches 50 percent of the first 6 percent deferred, starts with $25,000 saved, earns an assumed 7 percent return, and is in the 22 percent bracket, retiring at 65.
- Age / retirement age: 30 / 65 (35 years)
- Salary: $80,000, +2% per year
- Employee contribution: 10% of salary
- Employer match: 50% of first 6% deferred
- Current balance: $25,000
- Assumed return: 7% per year
- Tax bracket: 22%
- Year 1 deferral: $80,000 × 10% = $8,000. The match applies to min(10%, 6%) = 6% of salary: $80,000 × 6% × 50% = $2,400.
- Year 1 growth uses the mid-year convention: ($25,000 + ($8,000 + $2,400) ÷ 2) × 7% = $30,200 × 7% = $2,114, so the balance ends year 1 at $37,514.
- Salary and contributions rise 2 percent per year, and the same three-part pattern — deferral, match, growth — repeats for 35 years.
- Totals from the engine: your contributions $399,955.82, employer match $119,986.75 (equal to 30 percent on top of everything you contributed, because the match covers 3 of your 10 percentage points), investment growth $1,589,890.21.
- Final result: projected balance $2,134,832.78 at 65, and first-year upfront tax savings of $8,000 × 22% = $1,760 on the pre-tax deferrals.
Projected 401(k) balance of $2,134,832.78 at 65: $399,955.82 from you, $119,986.75 of employer match, and $1,589,890.21 of growth.
Growth does most of the work — about three dollars of every four in the final balance — which is why the horizon and the return assumption dominate the outcome. The match is the second lesson: deferring 10 percent when the match stops at 6 percent means 4 points earn no match, but dropping below 6 percent would forfeit part of the $119,986.75 entirely. The deferral level that captures the full match is the floor worth defending in a tight budget year.
Understanding your results
Read the three components separately, because each answers a different question. Your contributions total is the cost of the plan to you; the employer match total is compensation you only receive by participating — the 'free money' percentage expresses it relative to your own contributions. The growth total is the reward for time, and it is also the least reliable component, since it depends entirely on the constant return assumption holding for decades, which real markets will not do smoothly.
The tax savings figures need careful reading: they estimate the upfront federal tax deferred each year on pre-tax contributions at the bracket you entered, summed without discounting. That is a deferral, not an exemption — traditional 401(k) withdrawals in retirement are generally taxed as income, and that future tax is not subtracted from the projected balance. Compare scenarios by changing one input at a time; raising the deferral to capture a full match, when you are below the limit, is usually the highest-certainty improvement available.
Assumptions and limitations
This is an educational model of a US employer plan, not a plan statement. The engine applies the percentages you enter without enforcing IRS elective deferral limits or plan-specific rules — the IRS publishes the current limits and your plan document governs what you may actually contribute. Vesting schedules are not modeled, so the match total assumes every matched dollar is yours to keep, which is only true once you are fully vested. Returns are a single constant assumption with no fees, losses, or sequence risk; the salary path is a smooth percentage with no job changes or breaks. Tax savings use one flat bracket, ignore state taxes, and taxes due on withdrawals in retirement are not netted out of the final balance.
Common mistakes to avoid
- Contributing below the match limit. Deferring less than the match limit percentage leaves part of the employer match unclaimed — in the worked example, deferring 4 percent instead of 6 percent would surrender a third of the match. Capturing the full match is the closest thing to a guaranteed return in the plan.
- Entering the match formula backwards. '50% match up to 6%' means the employer adds 50 cents per dollar on the first 6 percent you defer. Swapping the two numbers — 6% match up to 50% — produces a wildly wrong projection.
- Assuming the calculator enforces IRS limits. It does not: a very high deferral percentage on a high salary projects contributions a real plan would reject. The IRS publishes the current elective deferral limits; check your entered percentage against them.
- Counting tax savings as invested money. The accumulated tax savings figure is a running total of tax deferred, shown for scale. It is not added to the account, and the deferred tax generally comes due when you withdraw in retirement.
- Ignoring vesting when changing jobs. Your own deferrals are always yours, but employer match money often vests over years of service. Leaving early can forfeit unvested match that this projection counts in full.