About Contact
Tools
1 Rep Max Calculator — Estimate Your 1RM From Any Set401(k) CalculatorAge Calculator — Your Exact Age in Years, Months & DaysAmortization CalculatorAsphalt CalculatorAsphalt Driveway Cost CalculatorAuto Loan CalculatorBarcode GeneratorBase64 EncoderBd Ft CalculatorBench Press Max Calculator — Estimate Your Bench 1RMBMR Calculator — Estimate Your Basal Metabolic RateBoard Foot CalculatorBrick CalculatorCalorie Deficit Calculator — Daily Target and TimelineCD Calculator (Certificate of Deposit)Cement CalculatorCircle Area Calculator — Area, Radius, Diameter, CircumferenceColor Palette GeneratorCompound Interest CalculatorConcrete Bag CalculatorConcrete Block CalculatorConcrete CalculatorConcrete Calculator with CostConcrete Footing CalculatorConcrete Mix CalculatorConcrete Pad CalculatorConcrete Price CalculatorConcrete Slab CalculatorConcrete Slab Cost CalculatorConcrete Volume CalculatorConcrete Weight CalculatorConcrete Yard CalculatorConduit Fill CalculatorCrushed Stone CalculatorDirt CalculatorDrywall CalculatorDue Date Calculator — Estimate Your Baby's Due DateFantasy Name GeneratorFavicon GeneratorFence CalculatorFill Dirt CalculatorFinal Exam Calculator — What Grade Do I Need on the Final?Fraction Calculator — Add, Subtract, Multiply, DivideFree Citation Generator (APA, MLA, Chicago, Harvard)GPA Calculator — Unweighted and Weighted, with Cumulative GPAGravel CalculatorHEIC to JPG ConverterHELOC CalculatorInsulation CalculatorLandscape Rock CalculatorMacro Calculator — Daily Protein, Carbs, and FatMean Calculator — Average of a List of NumbersMedian Calculator — Middle Value of a List of NumbersMeme GeneratorMetal Roof CalculatorMinute to Decimal ConverterMorse Code ConverterMortgage Payoff CalculatorMulch CalculatorOvulation Calculator — Find Your Fertile WindowPaver Base CalculatorPaver CalculatorPaver Sand CalculatorPea Gravel CalculatorPeptide CalculatorPercentage Calculator — Solve Any Percent QuestionPNG to PDF ConverterPuppy Weight CalculatorPythagorean Theorem Calculator — Solve Any Right TriangleQuadratic Formula Calculator — Roots, Vertex, Factored FormQuikrete Concrete CalculatorRaised Bed Soil CalculatorRandom Name GeneratorRiver Rock CalculatorRock CalculatorRoof Cost CalculatorRoof Pitch CalculatorRoof Shingle CalculatorRoof Slope CalculatorRoof Truss CalculatorRubik's Cube Solver — Solve Any Scrambled 3×3 CubeSakrete Concrete CalculatorSales Tax CalculatorSand CalculatorScrap Silver CalculatorSignature GeneratorSleep Calculator — Best Bedtimes & Wake Times by Sleep CycleSlope Calculator — Slope, Equation, Angle, GradeSnow Day CalculatorSod CalculatorSoil CalculatorSonotube Concrete CalculatorSquare Footage Calculator — Room and Floor AreaSquat Max Calculator — Estimate Your Squat 1RMStandard Deviation Calculator — Sample and PopulationStone CalculatorTDEE Calculator — Total Daily Energy ExpenditureTier List MakerTile CalculatorTime Calculator for WorkTop Soil CalculatorTopsoil CalculatorTriangle Calculator — Solve Any Triangle From 3 InputsUPC GeneratorUsername GeneratorVolume Calculator — 8 Shapes With Unit ConversionWebP to JPG ConverterWebP to PNG ConverterWordle Solver — Best Next Guess for Today's Puzzle
← All tools

401(k) Calculator

Project your retirement balance, solve for required contributions, and compare Roth vs Traditional — fully in your browser.

Mode
 

Final balance at retirement
Total employee contributions
Total employer match
Total investment growth
Employee contributions Employer match Investment growth

What is 401k calculator?

A 401(k) is the most common retirement account in the US — but its mechanics are full of moving parts: contribution limits that change yearly, age-based catch-up rules, employer match formulas with their own caps, and the perennial Roth-vs-Traditional question. This calculator handles all of them in one page, fully in your browser.

The Project balance mode walks year-by-year from your current age out to your retirement age, applying the IRS contribution limit (with auto catch-up at 50 and the SECURE 2.0 super-catch-up at 60–63), your employer match formula, your expected return, and your salary growth rate. The result is a final balance, summary tiles for the four big numbers (final balance, total employee contributions, total employer match, total investment growth), an interactive line chart showing the trajectory, and a year-by-year breakdown table.

The Reach a goal mode flips the question around. Tell it the balance you want by your retirement age and it solves — by bisection — for the percent of salary you need to contribute to get there, capped at the IRS limit each year. If even contributing at the legal cap won’t get you to your number, it tells you that too, along with the best balance you could realistically reach.

Two toggles add the rest of the surface: Compare Roth vs Traditional reveals a side-by-side panel showing each account’s after-tax retirement balance using your estimated marginal rates. Show results in today’s dollars deflates everything by the inflation rate so you can read your future balance in present purchasing power.

Everything runs locally. Nothing is sent to a server. Inputs persist across reloads in your browser only.

When to use a 401k calculator

  • Project your retirement balance — Enter your current age, balance, salary, contribution percent, and employer match formula. The calculator projects year-by-year out to your target retirement age, with current IRS contribution limits and age-based catch-up rules applied automatically.
  • Solve for the contribution you need — Switch to Reach-a-goal mode, enter the balance you want to retire with, and the calculator returns the percent of salary you need to contribute — bisection-solving against the same projection engine, capped at the IRS limit each year.
  • Compare Roth vs Traditional — Toggle the comparison panel on and supply your estimated marginal tax rate at retirement. The calculator shows Traditional's after-tax balance vs Roth's tax-free balance side by side, with a 'Winner' badge based on equal-gross-contribution math.

How to use the 401(k) Calculator

  1. Enter your current stateFill in your current age, retirement age, current 401(k) balance, and current annual salary. Defaults assume a 30-year-old with $25k saved earning $75k.
  2. Set your contribution and matchEnter your employee contribution as a percent of salary, your employer match (e.g., 100% match) and the salary cap on that match (e.g., first 6% of salary). The helper text confirms how the formula reads back.
  3. Pick growth assumptionsSet the expected annual return (7% is a common long-term equity-heavy default) and an annual salary growth rate. Toggle 'Show in today's dollars' to see results in inflation-adjusted dollars.
  4. Optional: compare Roth and TraditionalCheck the 'Compare Roth vs Traditional' toggle. Enter your estimated marginal tax rate at retirement to see which account ends up with more spendable money.

Worked examples

Mid-career, default match

Input:  Age 35, retire at 65, $75k balance, $90k salary, 6% contribution, 100% match up to 6%, 7% return
Output: ≈ $1.5M nominal balance at 65 (≈ $620k in today's dollars at 3% inflation)

Reach $1M by 60

Input:  Age 30, target $1M at age 60, $25k balance, $75k salary, 7% return
Output: Required contribution ≈ 8.4% of salary (≈ $6,300/yr first year)

Roth vs Traditional, equal rates

Input:  Same inputs as Example 1, 22% retirement marginal rate
Output: Roth wins — $1.5M tax-free vs Traditional's $1.5M × 0.78 = $1.17M after retirement tax

Frequently asked questions

What IRS contribution limits does the calculator use?
The 2026 base limit is $24,500. The age-50 catch-up adds $7,500. The SECURE 2.0 super-catch-up for ages 60–63 adds $11,250 instead of the regular catch-up. The calculator applies whichever limit matches your age in each year of the projection. For projection years past 2026, the latest published limits carry forward unchanged — bump the table when the IRS publishes the next year's figures.
Does the calculator handle catch-up contributions automatically?
Yes. Once your projected age reaches 50, the calculator raises your annual cap by the catch-up amount. From age 60 through 63, it uses the SECURE 2.0 super-catch-up instead. At 64 and beyond, it drops back to the regular catch-up. You don't need to toggle anything.
Why is my employer match smaller than my contribution percent?
Employer matches typically have two limits: a match rate (e.g., 100% of what you contribute) and a salary cap (e.g., only on the first 6% of salary). If you contribute more than the cap, the match stops growing. The calculator computes min(yourContribution, salary × matchLimit) × matchPercent for each year.
What does 'end-of-year compounding' mean?
Most retirement calculators model contributions as if they're added at year-end, so they don't earn interest in their first year. This is conservative compared to mid-year compounding (which would credit ~half a year of growth on the first year's contribution). The difference over a 30-year horizon is small (a few percent), but it makes the math reproducible by hand.
How is Roth vs Traditional calculated?
The calculator uses the equal-gross-contribution framing: both sides put in the same dollars (e.g., 6% of salary). Roth grows tax-free; Traditional gets multiplied by (1 − retirementMarginalRate) at the end. This isolates the tax-rate-arbitrage question — Roth wins when your retirement rate is at or above your current rate, because you've prepaid taxes at today's known rate. If your retirement rate is lower than today's, Traditional often wins. The honest caveat: Roth requires more take-home pay because contributions are after-tax.
What does 'show in today's dollars' do?
It deflates every dollar amount on the page by the inflation rate, so a $1.5M balance 30 years from now might display as $620k in today's purchasing power. The deflator is presentation-only — the underlying math runs in nominal dollars.
What about Roth catch-up changes from SECURE 2.0?
Starting in 2026, SECURE 2.0 requires high earners (over a wage threshold) to make catch-up contributions as Roth contributions instead of Traditional. The calculator does not model this — it treats all contributions as the same account type. The difference is small for most users; if you're a high earner approaching 50, treat the calculator's projection as a ceiling on your Traditional balance.
Does it model vesting, loans, or hardship withdrawals?
No. The calculator assumes immediate full vesting on employer contributions. In real plans, vesting is often a 2–6 year cliff or graded schedule, and changing jobs early can forfeit the unvested portion. Loans and hardship withdrawals are also out of scope — this is a pure accumulation projection.