Expert Reviewed
Michael Chen, CFA, CFP®Updated June 1, 2026Our Standards →

Last updated:

401k Calculator

401k Calculator growth with employer match and compound interest. Project retirement savings by age. Free 401k contribution calculator with tax benefits.

401(k) Savings Calculator

Ad-FreeAI-Powered

Project your 401(k) growth with our detailed calculator, including employer match. See how your contributions can grow into a substantial nest egg for retirement.

Details

Employer Match

Enter values above to see results.

Want to learn more? Browse our calculation guides and tutorials →

401(k) Savings Calculator

Maximize your retirement with employer matching and compound growth

💰
$23,000
2024 401(k) Contribution Limit
🏃
$7,500
Catch-Up Contribution (Age 50+)
📈
~7%
Historical Average Annual Return
🏛️
1978
Year 401(k) Was Created

What Is a 401(k)?

A 401(k) is an employer-sponsored retirement savings plan that lets employees contribute a portion of their paycheck on a pre-tax basis. The name comes from Section 401(k) of the Internal Revenue Code, added by the Revenue Act of 1978. With a traditional 401(k), contributions reduce your taxable income today, and you pay taxes when you withdraw the funds in retirement.

One of the most powerful features is employer matching: many employers will match a percentage of what you contribute, effectively giving you free money. For example, if your employer matches 50% of contributions up to 6% of salary, contributing 6% earns an extra 3%—an instant 50% return before any investment gains.

Funds in a 401(k) grow tax-deferred, meaning you don't owe taxes on dividends, interest, or capital gains each year. Compound growth over decades makes this tax deferral enormously valuable. A dollar invested at 25 becomes roughly $15 by age 65 at a 7% annual return.

The plan is named for the IRS code section 401(k) of the 1978 Revenue Act, which was originally intended as a supplement to pension plans. Benefits consultant Ted Benna discovered in 1980 that it could be used as a primary retirement vehicle with employee salary deferrals—and the modern 401(k) era was born.

Key Facts

  • IRS contribution limits are updated annually for inflation
  • Employer match is essentially free money — always capture it fully
  • Traditional 401(k): Pre-tax contributions now, taxed on withdrawal later
  • Roth 401(k): After-tax contributions now, completely tax-free in retirement

How the Math Works

Future Value Formula

FV = P(1+r)^n
+ PMT×[(1+r)^n-1]/r
  • P = present 401(k) balance
  • r = annual return rate ÷ 12 (monthly)
  • n = number of months until retirement
  • PMT = total monthly contribution (yours + employer)

Employer Match Formula

Match = min(Your%,
MatchLimit%) ×
MatchRate × Salary
  • Your% = your contribution as % of salary
  • MatchLimit% = employer's cap (e.g., 6%)
  • MatchRate = employer's match rate (e.g., 50%)
  • Salary = gross annual compensation

4% Rule (Safe Withdrawal)

Safe Withdrawal
= FV × 0.04
  • FV = final retirement balance
  • 0.04 = 4% annual withdrawal rate
  • Based on the Trinity Study (1998) — sustains 30-year retirement with 95%+ success rate
  • Example: $1M balance → $40,000/yr safe income

Account Types Comparison

FeatureTraditional 401(k)Roth 401(k)IRA (Traditional)
Tax TreatmentPre-tax contributions; taxed on withdrawalAfter-tax; tax-free withdrawalsPre-tax (if eligible); taxed on withdrawal
2024 Contribution Limit$23,000 ($30,500 if 50+)$23,000 ($30,500 if 50+)$7,000 ($8,000 if 50+)
Employer MatchYes — most commonYes — some plans offerNo — individual account
Required Min. DistributionsYes, starting age 73Yes, starting age 73 (pre-2024 rules)Yes, starting age 73
Income LimitsNone to contributeNone to contributeDeductibility phases out at higher incomes
Best ForExpect lower tax rate in retirementExpect higher tax rate in retirementNo employer plan available; supplemental savings

History of the 401(k)

1978

Revenue Act Creates 401(k) Provision

Congress adds Section 401(k) to the Internal Revenue Code as part of the Revenue Act of 1978, originally intended to govern deferred compensation plans for executives.

1981

IRS Clarifies Salary Deferral Allowed

Benefits consultant Ted Benna convinces the IRS to clarify that regular employees can defer salary into 401(k) plans pre-tax — creating the modern retirement savings vehicle we know today.

1996

SIMPLE 401(k) Introduced for Small Businesses

Congress creates the SIMPLE 401(k) plan, designed for employers with 100 or fewer employees, reducing administrative burden while expanding retirement access.

2001

EGTRRA Raises Contribution Limits Dramatically

The Economic Growth and Tax Relief Reconciliation Act dramatically increases 401(k) contribution limits and introduces catch-up contributions for workers aged 50 and over.

2006

Pension Protection Act Adds Auto-Enrollment

The Pension Protection Act makes automatic enrollment and auto-escalation features permanent, significantly boosting retirement savings participation rates nationwide.

2022

SECURE 2.0 Act Boosts Catch-Up to $7,500

SECURE 2.0 raises catch-up contribution limits for ages 50+ to $7,500, extends required minimum distribution age to 73, and adds emergency savings provisions.

Research & Data

📊

Vanguard How America Saves 2023

Median 401(k) balance across Vanguard plans is $87,805. Average balance is $112,572. Only 14% of participants maximized contributions in 2022.

Read Report →
🏦

Fidelity Q4 2023 Retirement Analysis

Average 401(k) balance reached $118,600 in Q4 2023. The number of 401(k) millionaires hit a record 422,000, up 20% year-over-year.

Read Report →
🔬

Employee Benefit Research Institute

Only 42% of private-sector workers have access to a workplace retirement plan. Participation gaps are largest among part-time, low-income, and minority workers.

Visit EBRI →

Myths vs. Facts

Myth

I can't afford to contribute to a 401(k) right now

Fact

Even 1% contributions get you employer match — that's an instant 50–100% return on your money before any investment gains.

Myth

I'll start contributing when I earn more

Fact

Every year you delay costs thousands in compound growth. Time in market beats timing the market — the best time to start is now.

Myth

401(k) money is locked away until retirement

Fact

Hardship withdrawals and 72(t) substantially equal periodic distributions are available; plan loans are allowed up to 50% of your vested balance (max $50,000).

Myth

The stock market is too risky for retirement savings

Fact

With 20–40 year horizons, short-term volatility smooths out. The S&P 500 has never produced a negative return over any rolling 20-year period in history.

Frequently Asked Questions

What is a 401(k) plan and how does it work?
A 401(k) is an employer-sponsored defined contribution retirement plan. Employees elect to have a percentage of their pre-tax salary deposited into individual investment accounts. Contributions reduce taxable wages for the year. Funds grow tax-deferred until withdrawn in retirement, typically after age 59½.
How much should I contribute to my 401(k)?
Financial planners generally recommend contributing at least enough to capture the full employer match (often 4–6% of salary). For adequate retirement savings, aim for 10–15% of gross income including employer contributions. If you can max out ($23,000 in 2024), even better.
What is employer matching and how does it work?
Employer matching is when your company contributes to your 401(k) based on how much you contribute. A common formula is '50% match on the first 6%' — meaning if you contribute 6% of salary, your employer adds another 3%, for a combined 9%. Some employers offer dollar-for-dollar matches up to a cap.
What is the 2024 401(k) contribution limit?
For 2024, the IRS allows employees to contribute up to $23,000 to their 401(k). Workers aged 50 and older can contribute an additional $7,500 catch-up contribution, for a total of $30,500. These limits apply to combined Traditional and Roth 401(k) contributions.
What's the difference between Traditional and Roth 401(k)?
Traditional 401(k) uses pre-tax dollars — you get a tax break now but owe taxes on withdrawals in retirement. Roth 401(k) uses after-tax dollars — no deduction now, but all qualified withdrawals (including growth) are completely tax-free. Roth is generally better if you expect to be in a higher tax bracket in retirement.
Can I contribute to both a 401(k) and an IRA?
Yes — you can contribute to both in the same year. However, your IRA deduction may be limited if you or your spouse has a workplace retirement plan and your income exceeds certain thresholds. Roth IRA contributions are limited by income, but you can always contribute to a traditional IRA (deductibility depends on income and coverage).
What happens to my 401(k) if I change jobs?
You have four options: (1) Leave it with your former employer's plan, (2) Roll it over to your new employer's 401(k), (3) Roll it over to an IRA for more investment choices, or (4) Cash it out (not recommended — you'll owe income taxes plus a 10% penalty if under 59½). Rolling to an IRA typically preserves all tax advantages.
What is vesting and how does it affect my employer match?
Vesting determines when employer contributions become fully yours. Your own contributions are always 100% vested immediately. Employer match may have a vesting schedule — either cliff vesting (e.g., 100% after 3 years) or graded vesting (e.g., 20% per year over 5 years). Leaving before full vesting means forfeiting unvested employer contributions.
When can I withdraw from my 401(k) without penalty?
You can take penalty-free withdrawals starting at age 59½. Required minimum distributions (RMDs) begin at age 73. Exceptions to the 10% early withdrawal penalty include disability, substantially equal periodic payments (72(t)), certain medical expenses, and qualified birth or adoption distributions (up to $5,000).
What is the 4% rule for retirement withdrawals?
The 4% rule (from the 1998 Trinity Study) suggests you can safely withdraw 4% of your retirement portfolio in year one, then adjust for inflation each year, with a high probability of the portfolio lasting 30 years. For example, a $1 million 401(k) would support about $40,000 per year. Some planners now recommend 3–3.5% for longer retirements.
Should I prioritize paying off debt over contributing to a 401(k)?
If your employer offers a match, always contribute enough to capture the full match first — it's an instant 50–100% return that beats nearly any debt interest rate. After that, prioritize high-interest debt (credit cards above 7%). Then return to maximizing retirement contributions alongside paying down lower-interest debt like student loans or mortgages.
What are target-date funds and are they a good choice?
Target-date funds automatically shift from aggressive (stocks) to conservative (bonds) as you approach a selected retirement year. They're simple, diversified, and automatically rebalanced — ideal for investors who don't want to manage allocations. The main drawback is slightly higher expense ratios than index funds. For most people, an appropriate target-date fund is an excellent default choice.

References & Sources

  • IRS Publication 560 — Retirement Plans for Small Business (SEP, SIMPLE, and Qualified Plans). Internal Revenue Service, updated annually. irs.gov
  • Vanguard, How America Saves 2023 — Comprehensive annual report on 401(k) participant behavior, contribution rates, and account balances. Vanguard Institutional. 2023.
  • Employee Benefit Research Institute (EBRI) — Retirement Confidence Survey and workplace retirement plan participation statistics. ebri.org
  • Fidelity Investments — Q4 2023 Retirement Analysis — Quarterly analysis of retirement account balances and savings trends across 24+ million accounts. Fidelity Newsroom. January 2024.
  • Revenue Act of 1978, Section 401(k) — Public Law 95-600. 95th Congress. November 6, 1978. The legislation that created the 401(k) provision.
  • Cooley, Hubbard & Walz (1998) — “Retirement Savings: Choosing a Withdrawal Rate That Is Sustainable.” AAII Journal. The foundational Trinity Study establishing the 4% withdrawal rule.

Explore More Finance Tools

Dive deeper into financial planning with our full suite of calculators

401(k) Retirement Calculator — Tax-Deferred Growth Guide

A 401(k) is the most powerful retirement savings vehicle available to most Americans. With tax-deferred (or Roth tax-free) compound growth, employer matching, and contribution limits of up to $70,000/year for high earners, maximizing your 401(k) can mean the difference between financial security and falling short in retirement.

$23,500
2025 contribution limit
$31,000
Catch-up limit (50+)
$35.4T
Total US retirement assets
∼7%
Avg real annual return

What Is a 401(k) Plan?

A 401(k) is an employer-sponsored defined contribution retirement savings plan, named for Section 401(k) of the Internal Revenue Code enacted in 1978. Employees elect to contribute a percentage of their pre-tax salary (traditional) or post-tax salary (Roth) into investment accounts that grow tax-advantaged until retirement.

Unlike the traditional pension (defined benefit plan), which promised a fixed monthly payment in retirement, a 401(k) places responsibility for savings decisions — how much to contribute, how to invest, when to withdraw — on the employee. This shift began in the 1980s as companies moved away from costly pension obligations, making 401(k) literacy a critical component of personal financial planning.

The core mechanism of a traditional 401(k): contributions are made from pre-tax income (reducing your current taxable income), investments grow tax-deferred, and withdrawals in retirement are taxed as ordinary income at (hopefully) a lower marginal rate than your working years. The federal government sets annual contribution limits, adjusted each year for inflation by the IRS.

Key advantage: tax-deferred compounding

If you invest $1,000 in a taxable account earning 7% annually, you pay taxes on dividends and capital gains each year, effectively reducing your compound rate. The same $1,000 in a 401(k) compounds at the full 7% rate — taxes are deferred until withdrawal. Over 30 years, this difference can represent tens of thousands of dollars in extra accumulated wealth.

401(k) Contribution Limits

The IRS adjusts 401(k) limits annually for cost-of-living increases. SECURE 2.0 Act (2022) introduced additional changes including enhanced catch-up contributions for ages 60–63 starting 2025.

Contribution Type2024 Limit2025 LimitNotes
Employee elective deferrals$23,000$23,500Pre-tax or Roth, or combination
Catch-up contribution (age 50–59)$7,500$7,500Total: $30,500 (2024) / $31,000 (2025)
Enhanced catch-up (age 60–63)N/A$11,250New per SECURE 2.0 Act; total: $34,750
Total with employer contributions$69,000$70,000Includes employer match + profit sharing
Total catch-up 50+ with employer$76,500$77,500Including all contributions
SIMPLE 401(k) employee limit$16,000$16,500For small businesses using SIMPLE plan

Source: IRS Notice 2024-80. Limits subject to annual adjustment.

Employer Matching: Free Money You Must Capture

Employer matching is the single most valuable element of a 401(k) — it is an immediate, guaranteed 50–100% return on your contribution (depending on the match formula). Financial advisors universally recommend contributing at least enough to capture the full employer match before investing in any other vehicle.

100% Match Up to 3%

Salary: $80,000 → 3% = $2,400 contribution → Employer adds $2,400 → Total: $4,800/yr (immediate 100% return)

50% Match Up to 6%

Salary: $80,000 → 6% = $4,800 contribution → Employer adds $2,400 → Total: $7,200/yr (immediate 50% return on contributed amount)

Dollar-for-Dollar to 4%

Salary: $80,000 → 4% = $3,200 contribution → Employer adds $3,200 → Total: $6,400/yr. Contributing more than 4% gets no additional match.

⚠️ Vesting Schedules

Employer match contributions are often subject to a vesting schedule — you must work at the company for a specified period before the matched funds are fully "yours." Common schedules: immediate vesting (you own it right away), cliff vesting (0% until 3 years, then 100%), or graded vesting (20% per year over 5 years). Always check your plan's vesting schedule before leaving a job.

The Power of Compound Growth

Tax-deferred compound growth is why starting early is so powerful. The formula for future value of periodic contributions is: FV = PMT × [(1 + r)ⁿ - 1] / r, where PMT is the monthly contribution, r is the monthly return rate, and n is the number of months.

Start AgeMonthly ContributionTotal ContributedBalance at 67 (7% return)Investment Gains
Age 22$500$270,000 (45 yr)$1,695,000$1,425,000
Age 30$500$222,000 (37 yr)$1,025,000$803,000
Age 35$500$192,000 (32 yr)$682,000$490,000
Age 40$500$162,000 (27 yr)$448,000$286,000
Age 22$1,000$270,000 (45 yr)$3,390,000$3,120,000
Age 22 + 3% match$500 + $150$378,000 (45 yr)$2,373,000$1,995,000

Assumes 7% average annual return, monthly compounding. All figures in today's dollars (not inflation-adjusted). Past investment performance does not guarantee future results.

Traditional 401(k) vs. Roth 401(k)

Most employer plans now offer both traditional (pre-tax) and Roth (post-tax) options. The right choice depends on your current vs. expected future tax rate.

Traditional 401(k)

  • • Contributions: Pre-tax — reduces taxable income now
  • • Growth: Tax-deferred
  • • Withdrawals: Taxed as ordinary income
  • • RMDs: Required starting at age 73
  • • Best for: Higher earners expecting lower tax rate in retirement
  • • Example: At 24% bracket now, retire in 12% bracket → save 12% on all contributions

Roth 401(k)

  • • Contributions: Post-tax — no immediate tax benefit
  • • Growth: Tax-free
  • • Withdrawals: Completely tax-free in retirement
  • • RMDs: None (after SECURE 2.0; starting 2024)
  • • Best for: Younger/lower earners expecting higher future tax rates
  • • Example: At 12% bracket now, retire in 22% bracket → save 10% on all earnings

General Rule of Thumb

If your current marginal tax rate is 22% or below, favor Roth contributions. If your rate is 32% or above, favor traditional pre-tax contributions. At 24%, a split strategy often makes sense. Note: many financial advisors recommend Roth for younger workers because of the decades of tax-free compounding and no required minimum distributions. Some strategies include maxing traditional 401(k) for the tax deduction and then converting to Roth during lower-income years (Roth conversion ladder).

401(k) Withdrawal Rules & Penalties

Normal Distributions (Age 59½+)

Withdrawals after age 59½ are subject to ordinary income tax (traditional) or tax-free (Roth). No early withdrawal penalty. You can take any amount at any time. The optimal strategy: take only what you need to stay in lower tax brackets.

Early Withdrawal Penalty (Before Age 59½)

Distributions before 59½ are subject to the full ordinary income tax PLUS a 10% early withdrawal penalty. Example: $20,000 withdrawal at 24% bracket → $4,800 taxes + $2,000 penalty = $6,800 cost. The effective tax cost is 34%. Avoid early withdrawals at almost any cost.

Required Minimum Distributions (RMDs)

Starting at age 73 (SECURE 2.0 increased from 72), the IRS requires minimum annual withdrawals from traditional 401(k) accounts. RMD amounts are calculated by dividing your account balance by an IRS life expectancy factor. Failure to take RMDs results in a 25% excise tax on the shortfall (reduced from 50% under SECURE 2.0). Roth 401(k) accounts are exempt from RMDs starting 2024.

Early Withdrawal Exceptions (No Penalty)

The 10% penalty is waived for: permanent disability, death (beneficiary withdrawals), substantially equal periodic payments (SEPP/72t), qualified domestic relations order (divorce), medical expenses exceeding 7.5% of AGI, separation from service at age 55+, qualified reservist distributions, and birth or adoption (up to $5,000, per SECURE Act).

The 4% Safe Withdrawal Rule

The "4% rule" (Bengen, 1994) suggests withdrawing 4% of your portfolio in year one of retirement, then adjusting for inflation annually, historically sustains a 30-year retirement with high probability (90%+) across various stock/bond allocations. Example: $1,000,000 portfolio → $40,000/year withdrawal. Recent research suggests 3.3–4.5% may be more appropriate depending on market conditions, retirement duration, and portfolio allocation. This rule is a starting guideline, not a guarantee.

Frequently Asked Questions

Can I contribute to both a 401(k) and an IRA in the same year?

Yes. Contributing to a 401(k) does not prevent you from also contributing to a Traditional or Roth IRA (2025 limit: $7,000; $8,000 if age 50+). However, if you or your spouse has a workplace retirement plan, the deductibility of Traditional IRA contributions phases out at certain income levels. Roth IRA contributions are income-limited but not deductibility-limited. A common strategy: max the employer match in your 401(k) first, then max a Roth IRA, then return to 401(k) contributions.

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

You have four options: (1) Roll into new employer's 401(k) plan — simplest, keeps money tax-deferred. (2) Roll into an IRA — maximum investment flexibility. (3) Leave in former employer's plan if allowed (typically if balance > $5,000). (4) Cash out — NOT recommended; triggers income tax plus 10% early withdrawal penalty. Direct rollovers (check made payable to new institution) avoid the mandatory 20% withholding that applies to indirect rollovers.

What should my 401(k) be invested in?

Most plans offer index funds and target-date funds (TDFs). Target-date funds automatically adjust allocation from aggressive (high stocks) to conservative (more bonds) as you approach your retirement year — e.g., a "Target 2055 Fund" for someone retiring around 2055. Low-cost index funds (expense ratios < 0.1%) like S&P 500 index funds are widely recommended. Avoid high-expense-ratio actively managed funds. The "three-fund portfolio" (US stock index + international stock index + bond index) is a simple, evidence-based approach.

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

Priority order: (1) At minimum, contribute enough to capture the full employer match — this is a guaranteed 50–100% return. (2) Then consider maxing a Roth IRA if income-eligible ($7,000/year). (3) Then return to 401(k) to max annual contributions ($23,500 in 2025). General guideline: save 15% of gross income for retirement (including employer match). If starting late, aim for 20–25%.

References & Further Reading

  • • IRS. (2024). Retirement Topics — 401(k) and Profit-Sharing Plan Contribution Limits. Internal Revenue Service.
  • • IRS Notice 2024-80. (2024). 2025 Limitations Adjusted as Provided in Section 415(d). Internal Revenue Service.
  • • SECURE 2.0 Act of 2022 (Division T of H.R. 2617). (2022). U.S. Congress.
  • • Bengen, W.P. (1994). Determining Withdrawal Rates Using Historical Data. Journal of Financial Planning, 7(4), 171–180.
  • • Pfau, W. (2021). Retirement Planning Guidebook. Retirement Researcher Media.
  • • Vanguard. (2024). How America Saves 2024. Vanguard Research.