401(k) Calculator 2025

See how your contributions, employer match, and compounding returns grow into your balance at retirement — and exactly how much free money your match is worth.

Employer Match
Year-by-Year Growth
Export to CSV
Free & Private

How the 401(k) Calculator Works

This calculator simulates your 401(k) one year at a time from your current age until the retirement age you choose. Each year it adds your contribution — your salary times your contribution percentage, capped at the IRS annual limit ($23,500 for 2025, rising to $31,000 once you turn 50) — plus your employer's match, then grows the whole balance by your expected annual return. Your salary rises each year by the growth rate you set, so your contributions and match scale up over time just like in real life.

The result separates your final balance into four parts: your starting balance, the money you contributed, the employer match you earned, and the investment growth that compounding produced on top. The growth chart visualizes how those layers stack up year by year, and the export button gives you a CSV schedule. Defaults reflect typical 2025 assumptions, so the page is useful the moment it loads — just replace the numbers with your own plan details.

Who Benefits Most From This Calculator

  • Anyone with an employer 401(k) who wants to see the long-term payoff of capturing the full match.
  • Early-career savers deciding how much to contribute, who benefit most from decades of compounding.
  • Workers weighing a contribution increase who want to see how one extra percent today changes their retirement balance.
  • People comparing job offers with different match formulas, to value the match in real dollars.
  • Mid-career professionals checking whether they are on track and whether catch-up contributions after 50 will close the gap.

Who Should Look Elsewhere

This tool models a standard employer 401(k) with a percentage-of-pay match. If you are self-employed or a small-business owner, a Solo 401(k) or SEP-IRA has different limits and no employer match in the usual sense. If you do not have access to a workplace plan, an IRA may be your main vehicle and works differently on limits and matching. The calculator also assumes you stay long enough to keep the full match — if you expect to leave before fully vesting, the employer-match figure will overstate what you keep. Finally, it projects a single steady return and does not model market crashes, sequence-of-returns risk, or required minimum distributions in retirement; treat the output as a planning estimate, not a guarantee.

Tax Implications of a 401(k)

A traditional (pre-tax) 401(k) reduces your taxable income in the year you contribute — put in $10,000 and you are taxed as if you earned $10,000 less — and the money grows tax-deferred. You then pay ordinary income tax on every dollar you withdraw in retirement. A Roth 401(k) is the mirror image: contributions are made with after-tax dollars and give no deduction today, but qualified withdrawals in retirement, including all the growth, are entirely tax-free. The right choice depends on whether your tax rate is higher now or later. For 2025, the employee contribution limit is $23,500, with a catch-up that raises it to $31,000 for those 50 and older. Note that employer matching contributions always land in a pre-tax (traditional) bucket and will be taxed at withdrawal even if your own contributions are Roth. Withdrawals before age 59½ generally face a 10% penalty plus income tax. Consult a tax professional for your specific situation.

Tips, Tricks & Pitfalls to Avoid

  • Always contribute enough to get the full match — it is an instant 50–100% return and the single most valuable move you can make.
  • Increase your contribution by 1% each year, ideally with every raise, so you barely notice the change while your balance climbs.
  • Avoid early withdrawals — the 10% penalty plus income tax and lost compounding make cashing out one of the costliest financial mistakes.
  • Roll over old 401(k)s when you change jobs using a direct trustee-to-trustee transfer to avoid taxes and the 20% withholding trap.
  • Watch your fees — favor low-cost index funds, since a 1% expense ratio can quietly erode a large share of your lifetime gains.
  • Check your vesting schedule before leaving a job so you do not forfeit unvested employer match dollars.

401(k) Growth Formula (2025)

How your existing balance, annual contributions, and employer match compound into your balance at retirement.

FV = PV × (1 + r)^t

Example:

$20,000 today at 7% for 35 years

20000 × (1.07)^35
= ≈ $213,610

Variables:

PV - Your current 401(k) balance
r - Expected annual return (decimal)
t - Years until retirement

FV = PMT × [ ((1 + r)^t − 1) / r ]

Example:

$7,000 employee + $2,100 match = $9,100/yr at 7% for 35 yrs

9100 × [((1.07)^35 − 1) / 0.07]
= ≈ $1,257,000

Variables:

PMT - Combined yearly deposit (your contribution + employer match)
r - Expected annual return (decimal)
t - Years of contributions

Balance = FV(current) + FV(contributions + match)

Example:

$20K balance + $9,100/yr deposits, 7%, 35 yrs

213,610 + 1,257,000
= ≈ $1,470,000 at retirement

Variables:

Match - Employer % × min(your %, match cap) × salary
Limit - Employee deposits capped at $23,500 ($31,000 at 50+) for 2025

These formulas provide the mathematical foundation for the calculations. Actual results may vary based on rounding, compounding frequency, and specific lender policies.

How We Calculate & Keep This Accurate

The projection runs year by year from your current age to your chosen retirement age. Each year the employee contribution equals salary × contribution %, capped at the 2025 IRS elective-deferral limit of $23,500 (or $31,000 once age reaches 50). The employer match equals salary × min(contribution %, match-cap %) × match rate. The prior balance grows by the expected annual return, then that year's contributions are added; salary then rises by the salary-growth rate for the next year.

We assume a single steady rate of return and full vesting of the employer match. We do not model market volatility, sequence-of-returns risk, Roth versus traditional tax differences in the output, fees, or required minimum distributions. Results are estimates for planning and will differ from actual outcomes.

Data & Freshness

Figures reflect 2025 tax-year data.

Last updated June 8, 2026 · Maintained by the Financial Calculator editorial team.

401(k) Calculator — Frequently Asked Questions

Answers to the most common questions about employer match, contribution limits, Roth vs traditional, vesting, rollovers, and early withdrawals.

How does an employer 401(k) match work and why is it free money?

An employer match is extra money your company deposits into your 401(k) based on what you contribute, and it is the closest thing to free money most workers will ever get. The most common formula is '50% of contributions up to 6% of pay,' meaning if you earn $70,000 and put in at least 6% ($4,200), your employer adds 50 cents per dollar — another $2,100 — straight into your account. Some generous employers match dollar-for-dollar. The match is an instant 50% to 100% return on your money before the market does anything, which no other investment reliably offers. If you contribute less than the match cap, you forfeit part of that money permanently; it does not roll over to next year. Financial planners universally recommend contributing at least enough to capture the full match before paying down low-interest debt or investing elsewhere. Skipping the match is effectively turning down a raise. The only catch is vesting, which determines how much of the match you actually keep if you leave the company early — but the contribution itself is always free upside on top of your own savings.

What are the 2025 401(k) contribution limits?

For 2025, the IRS limits the amount you can contribute to your 401(k) from your own paycheck (the 'elective deferral' limit) to $23,500. If you are age 50 or older at any point during the year, you can add a catch-up contribution that raises your personal limit to $31,000. There is also a higher catch-up of $34,750 for workers aged 60 to 63 under the SECURE 2.0 Act. These limits apply only to your own contributions, not your employer's match — the combined total of employee plus employer contributions can go much higher (up to $70,000 in 2025, or $77,500 with the standard catch-up). That is why a generous match can supercharge your savings without eating into your personal limit. Roth and traditional 401(k) contributions share the same combined limit; you cannot put $23,500 into each. The IRS adjusts these figures most years for inflation, so check the current number each January. This calculator automatically caps your modeled employee contribution at the appropriate annual limit, switching to the catch-up amount once your age in the simulation reaches 50.

Traditional vs Roth 401(k) — which should I choose?

The choice comes down to when you pay tax. A traditional 401(k) is funded with pre-tax dollars: contributions lower your taxable income today, the money grows tax-deferred, and you pay ordinary income tax on every dollar you withdraw in retirement. A Roth 401(k) is the opposite: you contribute after-tax dollars now, get no upfront deduction, but qualified withdrawals in retirement — including all the growth — are completely tax-free. The deciding factor is whether you expect your tax rate to be higher now or in retirement. If you are early in your career and expect to earn more later, the Roth often wins because you lock in today's lower rate. If you are a high earner in your peak years expecting a lower bracket in retirement, the traditional deduction is usually more valuable. Many people hedge by splitting contributions between both, creating tax diversification so they can manage their taxable income in retirement. Importantly, employer matching contributions always go into a traditional (pre-tax) account even if you choose Roth for your own contributions, so most savers end up with a mix regardless. When in doubt, consult a tax professional about your specific bracket.

What return should I assume for my 401(k)?

A reasonable long-run assumption for a diversified, stock-heavy 401(k) is around 6% to 8% per year before inflation, which is why this calculator defaults to 7%. The S&P 500 has averaged roughly 10% annually over the very long term, but that figure ignores inflation and the drag of fees, and it masks enormous year-to-year swings — some years are up 30%, others down 20% or more. A 7% nominal assumption is a sensible, slightly conservative middle ground for someone with decades to invest. Your actual return depends heavily on your asset mix: a portfolio that is mostly stock-index funds will have higher expected returns and bigger swings, while one weighted toward bonds will be steadier but grow more slowly. As you approach retirement, target-date funds automatically shift toward bonds, which lowers your expected return but protects against a crash right before you need the money. Fees matter more than most people realize — a 1% annual expense ratio can quietly consume a quarter of your lifetime gains. Favor low-cost index funds. Remember that any projection is an estimate; markets do not deliver a smooth 7% every year, so treat the result as a planning guide, not a promise.

What is vesting and how does it affect my match?

Vesting determines how much of your employer's matching contributions you actually own if you leave the company. Your own contributions are always 100% yours immediately — vesting applies only to the employer's money. There are two common schedules. Cliff vesting means you own none of the match until you hit a milestone (often three years), at which point you become 100% vested all at once; leave a day early and you forfeit the entire match. Graded vesting phases ownership in gradually, for example 20% per year over five years, so you keep a growing share the longer you stay. Some employers offer immediate vesting, where the match is yours from day one. Vesting schedules are why you should check your plan documents before changing jobs — leaving shortly before a vesting milestone can cost you thousands in forfeited matching dollars. Note that vesting affects only what you take with you; while employed, unvested match still grows in your account. This calculator assumes you remain long enough to keep the full match, so if you expect to leave before fully vesting, mentally discount the employer-match figure accordingly. The investment growth on any forfeited match is also lost, which compounds the cost of an early exit.

What happens to my 401(k) when I change jobs?

When you leave an employer you have four options for your 401(k), and the choice matters. First, you can leave it in your old plan if the balance is above the plan's minimum (usually $7,000); it keeps growing but you can no longer contribute and you juggle an extra account. Second, you can roll it into your new employer's 401(k) if they accept rollovers, consolidating everything in one place. Third — often the best choice — you can roll it into an Individual Retirement Account (IRA), which typically offers far more investment choices and lower fees than an employer plan. Fourth, you can cash it out, which is almost always a costly mistake: you owe ordinary income tax plus a 10% early-withdrawal penalty if you are under 59½, and you permanently lose decades of compounding. The key is to do a 'direct rollover,' where the money moves trustee-to-trustee and never touches your hands; if you take an indirect rollover, the plan withholds 20% and you have only 60 days to redeposit the full amount or it counts as a taxable distribution. Remember that only your vested balance moves with you. Consolidating old 401(k)s into an IRA also makes it much easier to track your retirement progress.

What are the penalties for early 401(k) withdrawal?

Tapping your 401(k) before age 59½ is expensive by design, because the account is meant to fund retirement, not current spending. A standard early withdrawal triggers two costs: ordinary income tax on the full amount (since traditional contributions were never taxed) plus a 10% federal early-withdrawal penalty on top. For someone in the 22% bracket, pulling $20,000 early can cost roughly $6,400 in combined tax and penalty, leaving just $13,600 — and that ignores the far larger hidden cost of the decades of compound growth that money would have earned. There are limited exceptions to the 10% penalty, including total disability, certain medical expenses, a first-home purchase (IRA only), birth or adoption costs up to $5,000, and the 'rule of 55,' which lets you withdraw penalty-free from the 401(k) of the employer you left in or after the year you turn 55. A 401(k) loan is sometimes a less damaging alternative because you repay yourself with interest, but if you leave your job the loan may become due immediately or convert to a taxable distribution. The safest approach is to treat the 401(k) as untouchable until retirement and build a separate emergency fund for short-term needs.

How much should I contribute to my 401(k)?

A widely cited guideline is to save 15% of your gross income for retirement, including any employer match, but the right number depends on your age, goals, and other savings. The non-negotiable floor is contributing at least enough to capture your full employer match — anything less leaves guaranteed money on the table. Beyond that, a practical strategy is to start where you can and increase your contribution rate by one percentage point each year, ideally timed with annual raises so you never feel the pinch; many plans automate this with an 'auto-escalation' feature. If you started saving late, you may need to push toward 20% or more and take advantage of catch-up contributions after 50. Younger savers benefit enormously from time: a dollar invested at 25 can grow far more than the same dollar at 45 because it compounds for two extra decades, so even modest early contributions punch above their weight. Balance retirement saving against high-interest debt and an emergency fund — generally, grab the full match first, knock out high-interest debt, then ramp retirement savings toward 15%+. Use this calculator to see how a small bump in your contribution rate today translates into a dramatically larger balance at retirement.
US 401(k) Calculator User Reviews

Disclaimer: Results are estimates for planning only and do not constitute tax, legal, lending, or investment advice. Actual paycheck and tax outcomes can vary based on employer settings, local rules, and personal elections. Consult a qualified US tax professional, CFP, or attorney before making financial decisions.