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) 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.

Methodology, sources & limitations

This calculator uses a published formula and the values entered in the calculator to generate the result.

Formula
FV = Σ (Contribution + Employer Match) × (1+r)^remaining_years
Jurisdiction & units
Intended for US, IN, EU, GB, AU, CA. Supports both units where applicable.
Assumptions & limitations
Results use the inputs you provide and published formulas or rate assumptions. They are estimates, not financial, tax, lending, or investment advice.
Review status
Formula and automated QA completed June 21, 2026; independent professional review is pending. Next scheduled review: September 21, 2026.

Validation sources

  • IRS 401(k) Contribution Limits
  • DOL ERISA Guidelines

Retirement 401k Calculator — Answer & Method

Advanced 401(k) retirement planning with employer match, contribution limits, and Roth vs Traditional tax treatment comparison.

Formula: 401(k) Growth with Match

FV = Σ (Contribution + Employer Match) × (1+r)^remaining_years

r = Annual Return (%)

Example Calculation

$80K salary from age 30 to 65, 10% contribution with 5% employer match at 7% return: approximately $1.45M at retirement.

Important limitation

This is an estimate based on your inputs, not financial, lending, tax, or investment advice.

Key Facts

  • The 2026 401(k) employee contribution limit is $23,000 ($30,500 for age 50+ with catch-up contributions).
  • Roth 401(k) contributions are taxed upfront but grow and withdraw tax-free; Traditional 401(k) contributions reduce taxable income now but are taxed on withdrawal.
  • Employer matching contributions are always pre-tax, regardless of whether the employee chooses Roth or Traditional.

Sources & Validation

IRS 401(k) Contribution LimitsDOL ERISA Guidelines

Related Calculators

Deterministic: YesAI-Generated Numbers: NoVerified: 2026-02-12

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