Skip to main content
Laboratory
LAB/401(k) Calculator
Long-term Planning·Beginner·3 min

401(k) Growth Calculator

A 401(k) calculator that projects your balance to retirement and decomposes it into your contributions, the employer match, and compound growth.

How to use it

Most 401(k) calculators return a single number and hide the arithmetic that produced it. This one shows the decomposition: how much of the final balance is money you deferred from your paycheck, how much your employer added, and how much is pure compounding on top of both. The employer match is modelled the way plan documents actually write it — a match rate applied to contributions only up to a cap expressed as a percentage of pay — rather than as a flat percentage bonus. Contributions are credited at the end of each year, growth is applied to the opening balance, and the expense ratio is subtracted from the annual return.

What you give it

  • Current age and target retirement age
  • Current 401(k) balance
  • Annual salary and expected annual salary growth
  • Your contribution as a percentage of salary
  • Employer match rate and the cap on matched contributions, as a percentage of salary
  • Expected annual return, plan expense ratio, and an inflation rate

What you get back

  • Projected balance at retirement, nominal and in today's dollars
  • Stacked decomposition over time: starting balance, your contributions, employer match, investment growth
  • Lifetime cost of the expense ratio — balance with fees versus without
  • Employer match mechanics, evaluated on your inputs
  • Year-by-year table of salary, contributions, match, growth, and balance

Projected balance at age 65

$1,138,231
$542,643 in today's dollars30 years of contributions$117,349 lost to fees
Starting balance$50,0004.4%
Your contributions$214,08918.8%
Employer match$107,0459.4%
Investment growth$767,09767.4%

Contributions credited at year end · growth applied to the opening balance · net return 6.50% = 7.00% gross − 0.50% expense ratio · salary grows 3.0%/yr · today's dollars deflated at 2.5%/yr

You

$

Salary & contributions

$

%

% of salary

$4,500 in year 1

Employer match

% of your contribution

% of salary

Market assumptions

%

% per year

%

Used only to restate the result in today's dollars.

Contribution limit · 2026 plan year

$

Informational only — the projection never clamps to it. Editable because the IRS re-indexes this figure every year; confirm the current number at irs.gov.

Your contributions

$214,089

18.8% of the final balance

Employer match

$107,045

3.00% of salary each year

Investment growth

$767,097

67.4% of the final balance

Cost of fees

−$117,349

9.3% of the fee-free balance

Balance composition by age— — without fees

Each band is cumulative. The gap between the dashed line and the top of the stack is the compounded cost of the 0.50% expense ratio — a fee is not just the dollars it takes, it is also every dollar those dollars would have earned.

Employer match mechanics

match = min(your %, cap %) × match rate × salary

min(your, cap)6.0%
× match rate50%
= of salary3.00%
year-1 match$2,250

The match stops increasing once your contribution reaches 6.0% of salary. Every percentage point above that is matched at zero. Your contribution of 6.0% is at or above the cap, so the match is already at its maximum of 3.00% of salary. Vesting schedules, which govern how much of the match you keep if you leave, are not modelled.

Year-by-year detail
YrAgeSalaryYouMatchGrowthBalanceToday's $
136$75,000$4,500$2,250$3,250$60,000$58,537
237$77,250$4,635$2,318$3,900$70,853$67,438
338$79,568$4,774$2,387$4,605$82,619$76,720
439$81,955$4,917$2,459$5,370$95,365$86,396
540$84,413$5,065$2,532$6,199$109,161$96,482
641$86,946$5,217$2,608$7,095$124,082$106,995
742$89,554$5,373$2,687$8,065$140,207$117,951
843$92,241$5,534$2,767$9,113$157,622$129,368
944$95,008$5,700$2,850$10,245$176,418$141,263
1045$97,858$5,871$2,936$11,467$196,692$153,656
1146$100,794$6,048$3,024$12,785$218,549$166,566
1247$103,818$6,229$3,115$14,206$242,098$180,013
1348$106,932$6,416$3,208$15,736$267,458$194,020
1449$110,140$6,608$3,304$17,385$294,756$208,607
1550$113,444$6,807$3,403$19,159$324,125$223,797
1651$116,848$7,011$3,505$21,068$355,709$239,615
1752$120,353$7,221$3,611$23,121$389,662$256,084
1853$123,964$7,438$3,719$25,328$426,147$273,231
1954$127,682$7,661$3,830$27,700$465,338$291,082
2055$131,513$7,891$3,945$30,247$507,421$309,664
2156$135,458$8,128$4,064$32,982$552,595$329,007
2257$139,522$8,371$4,186$35,919$601,070$349,140
2358$143,708$8,622$4,311$39,070$653,073$370,095
2459$148,019$8,881$4,441$42,450$708,845$391,903
2560$152,460$9,148$4,574$46,075$768,641$414,598
2661$157,033$9,422$4,711$49,962$832,736$438,215
2762$161,744$9,705$4,852$54,128$901,421$462,789
2863$166,597$9,996$4,998$58,592$975,007$488,359
2964$171,595$10,296$5,148$63,375$1,053,826$514,964
3065$176,742$10,605$5,302$68,499$1,138,231$542,643

Growth in year kis credited on the balance at the start of that year, before the year's contributions land. Salary is the amount earned during the year. All figures are nominal except the last column.

The arithmetic

The projection is a single recurrence, applied once per year. Let BkB_k be the balance at the end of year kk, SkS_k the salary earned during that year, cc your contribution rate, κ\kappa the employer's match cap, mm the match rate, rr the expected gross return and ff the annual expense ratio:

Bk=Bk1(1+rf)  +  Skc  +  Skmin(c,κ)mB_k = B_{k-1}\,(1 + r - f) \;+\; S_k\,c \;+\; S_k\,\min(c,\,\kappa)\,m

with salary growing at gg per year, so Sk=S1(1+g)k1S_k = S_1\,(1+g)^{k-1}, and B0B_0 your balance today.

Read the order of operations, because it is the part calculators disagree on. Growth is credited on the opening balance, then the year's contributions land. A dollar you defer in year kk earns nothing in year kk. This is the end-of-year convention, and it is deliberately the conservative one: a plan that deposits money every payroll period would have each dollar invested for an average of roughly half a year longer, which over a long horizon produces a modestly higher number. Beginning-of-year timing sits at the other extreme and overstates it. Reality is in between and closer to the end-of-year figure than most people assume, because early-career contributions are small relative to the balance they eventually compound into.

The four bands in the chart are cumulative and reconcile to the balance exactly. Three of them are simply running totals: your starting balance, the sum of your own deferrals, and the sum of employer match dollars. The fourth, investment growth, is computed as the residual:

Gk=BkB0jkSjcjkSjmin(c,κ)mG_k = B_k - B_0 - \sum_{j\le k} S_j c - \sum_{j \le k} S_j \min(c,\kappa)\,m

Computing growth as a residual rather than accumulating it separately is a small implementation choice with a real consequence: the stack always sums to the balance shown at the top, with no rounding drift between the chart and the headline number.

The employer match, modelled the way plan documents write it

Most calculators ask for "employer match" as a single percentage. That is not how plans work, and the simplification quietly changes the answer.

A real match formula has two independent parts. The match rate is how many cents the employer adds per dollar you defer. The cap is the level of your own contribution, expressed as a percentage of pay, above which no further dollars are matched. The classic US formula is 50% up to 6% of pay, which is what this module loads by default. It means:

match=min(c,κ)×m×S\text{match} = \min(c,\,\kappa) \times m \times S

At a 6% contribution: min(6%,6%)×50%=3%\min(6\%, 6\%) \times 50\% = 3\% of salary. At a 3% contribution: min(3%,6%)×50%=1.5%\min(3\%, 6\%) \times 50\% = 1.5\% of salary. At a 15% contribution: still min(15%,6%)×50%=3%\min(15\%, 6\%) \times 50\% = 3\% of salary, because the cap binds. The match schedule is piecewise linear with a kink at κ\kappa, and it is flat above it.

A calculator that multiplies your whole contribution by the match rate overstates the match for anyone contributing above the cap. One that treats the match as a flat percentage of salary understates it for anyone below. The panel in the module shows the formula evaluated on your own inputs so you can check it against your plan's summary plan description rather than trusting the arithmetic blind.

Two things the match model deliberately leaves out. Vesting determines how much of the employer's money you keep if you leave before a schedule completes, and it can zero out several years of match dollars on a job change. That is a separate mechanism, covered in what does vested mean in a 401(k). True-up provisions, non-elective safe-harbour contributions, and profit-sharing allocations vary too much by plan to model generically.

What the expense ratio actually costs

Fees enter as a straight reduction of the annual return: the projection compounds at rfr - f instead of rr. This is an approximation of a fee that in practice accrues daily against assets. A more exact treatment multiplies rather than subtracts, giving (1+r)(1f)1=rfrf(1+r)(1-f) - 1 = r - f - rf. The difference is the cross term rfrf, which at a 7% return and a 0.50% expense ratio is 3.5 basis points a year. Compounded over thirty years that is about 1% of the final balance — the subtractive form runs slightly high — which is well inside the noise of every other assumption in the model. The simpler form is used because it makes the mechanism legible: a fee is a permanent haircut on your compounding rate.

The dashed line on the chart runs the identical contribution schedule at rr with no fee. The gap is not the fees you paid. It is the fees you paid plus everything those dollars would have earned for the rest of the horizon. That second part is usually several times larger than the first, which is why a difference of a few tenths of a percent in expense ratio shows up as a five-figure or six-figure gap at the end of a long career.

Nominal versus today's dollars

Every figure in the module is nominal except where labelled otherwise. The real value is the standard deflation:

Bkreal=Bk(1+i)kB_k^{\,\text{real}} = \frac{B_k}{(1+i)^k}

where ii is the inflation rate you enter. This is the honest way to read a large number thirty years out. A $2 million balance in 2056 at 2.5% inflation buys roughly what $950,000 buys today. Note that the inflation input does not feed back into salary growth or returns: those are separate inputs you set yourself, and if you want a real-terms projection throughout, enter a real return and a real salary growth rate and set inflation to zero.

What this model does not do

Being explicit about this matters more than the projection itself.

A constant return is not reality. Markets do not deliver 7% every year. They deliver something like +22%, −9%, +14%, −37%, +26%. Compounding a fixed rate produces the right average outcome and the wrong distribution of outcomes. The single number this module returns is closer to a central tendency than to a forecast, and the honest interval around it is wide.

Sequence of returns risk is invisible here. Two portfolios with identical average returns and identical contributions can end at very different balances depending on when the bad years arrive, because the amount of money exposed to each year's return changes over time. The effect is modest during accumulation and severe during withdrawal. This module covers accumulation only.

Taxes on withdrawal are not modelled. A traditional 401(k) balance is pre-tax money. The number shown is not what you get to spend. Roth balances, which are after-tax going in, are not distinguished from traditional balances here, and the two are not comparable dollar for dollar.

Contribution limits are not enforced. The statutory elective deferral limit is exposed as an editable input and used only to raise an informational flag on year one. It is not applied as a cap, because the limit is re-indexed annually and hard-coding a stale figure would be worse than not enforcing one. Age-50 catch-up contributions, the additional catch-up window in the early sixties introduced by SECURE 2.0, and the separate overall limit on combined employee-plus-employer additions are all outside the model. Confirm the figures for your plan year with the IRS.

The career is modelled as a smooth line. No job changes, no gaps, no promotions, no bonuses, no periods where contributions stop. Plan loans, hardship withdrawals, required minimum distributions, and rollovers are absent.

Frequently asked

Why is the number different from my 401(k) provider's calculator?

Almost always because of three things: contribution timing (many providers assume per-payroll contributions, which is more favourable), whether fees are netted from the return at all, and how the employer match is capped. Enter the same inputs here with a 0% expense ratio and you will usually land within a few percent of a provider's figure. If the gap is large, the match formula is the first place to look.

How much of a final 401(k) balance is usually growth rather than contributions?

It depends entirely on the horizon, which is exactly why the decomposition is the interesting output. Over a short window contributions dominate, because there has not been time for compounding to work on them. Over thirty years and more the growth band typically becomes the largest of the four. Run the module at a 10-year horizon and a 35-year horizon with everything else fixed and watch the composition bar re-weight. That comparison is the single most useful thing this tool does.

What return should I put in?

That is a modelling choice, not something a calculator can decide for you, and nothing here is a recommendation. What is useful to know is what the input means: it is a nominal, arithmetic-average annual return net of nothing except the fee you enter separately. Long-run US large-cap equity returns have been roughly 10% nominal before fees over the full postwar sample, bond returns considerably lower, and a blended target-date portfolio sits somewhere between the two and drifts down as it de-risks. Whatever figure you choose, the productive exercise is to run the projection at two or three different rates and look at how wide the spread is, rather than to treat any single run as the answer.

Does contributing above the match cap still make sense?

That is a personal financial question and this is an educational tool, so it is not one we answer. What the module does show is the pure arithmetic: above the cap, each additional percentage point of pay you defer adds contribution dollars and adds zero match dollars. The match panel displays exactly where that kink sits for the formula you entered.

Sources and further reading

  • Internal Revenue Service, 401(k) and profit-sharing plan contribution limits — the authoritative figure for elective deferral and catch-up limits, re-indexed every plan year.
  • U.S. Department of Labor, EBSA, A Look at 401(k) Plan Fees — the plain-language reference on what plan fees are and where they are disclosed.
  • Vanguard, How America Saves — annual survey of participant deferral rates, plan match formulas, and account balances by age.
  • W. P. Bengen (1994), Determining Withdrawal Rates Using Historical Data, Journal of Financial Planning — the origin of the sequence-of-returns literature that explains why a single average return is an incomplete description of a multi-decade path.

Educational research only. Not investment advice, and not a projection of your individual outcome.

Methodological sources

Educational purposes only. Not investment advice.

ALL SYSTEMS NOMINAL--:--:--Z