How the 401(k) calculator works
Each paycheck is worked out twice by our paycheck calculator's engine, once with your 401(k) and once without: federal income tax by IRS Publication 15-T, Social Security and Medicare, and your state's own withholding method. The difference in take-home pay is what the 401(k) really costs you each paycheck.
A traditional 401(k) comes out of your pay before federal income tax and, in most states, before state income tax, so it costs you less take-home pay than it puts in. Social Security and Medicare are still taken from it. A Roth 401(k) comes out after tax, so each dollar in costs a dollar of take-home pay, and the money comes out tax-free in retirement.
The limits
For 2026 you can put in up to $24,500 ($25,500 for 2027). From the year you turn 50 you can add a catch-up of $8,000 ($8,500 for 2027), and in the years you turn 60, 61, 62 or 63 a larger catch-up of $11,250 ($11,750 for 2027). Everything you and your employer put in together is held to $72,000 ($75,000 for 2027), catch-up apart, and the match counts pay up to $360,000.
Since 2026, if your Social Security wages from this employer last year were over $150,000 ($155,000 for 2027), any catch-up must go in as Roth. We apply that rule to every paycheck: the catch-up part of your contributions is shown as Roth, even if you chose traditional. The IRS's final rules apply from 2027; for 2026 plans follow a reasonable, good-faith reading of the law, so check how your plan handles it.
The match and the true-up
Most plans work out the match on each paycheck. If you put in so much that you reach the year's limit before December, your contributions stop and so does the match, unless your plan makes a "true-up" after the year ends. We show the date you reach the limit, the match you'd lose, and the rate that spreads your contributions over the whole year instead.
Growth to retirement
Each year to retirement, your pay rises by the rate you choose, you and your employer put in the same share of it, and the limits rise with inflation, rounded down as the IRS rounds them. Money in at the start of the year grows for a full year; money put in during the year grows for half a year on average. Fees come off the return. The balance in today's dollars divides by inflation over the years to retirement, so you can compare it with prices now.
The assumptions, and why
Return: 7% a year by default. No government body sets a return for 401(k) projections, so we start from what the usual default investment has earned. Many plans that enroll you automatically put your money in a target-date fund, one of the defaults the Department of Labor allows, which holds more stocks while you are young and more bonds as you near retirement. The federal government's own 401(k)-type plan, the Thrift Savings Plan, does the same with its L Funds. Its L 2030 Fund, the one that has run most of that path, returned 7.37% a year after its costs from 08/01/2005 to 11/30/2026 (tsp.gov, read 12/04/2026); its L Income Fund, for people already retired, 4.69%. We round 7.37% down to 7%. Past returns do not predict future ones, so we also show 5% and 9% and you can change it.
Inflation: 2% a year. The Federal Reserve's longer-run goal for inflation. Today's dollars use it.
Pay rises: 2% a year. Pay that keeps up with prices, no more. Change it if you expect promotions.
Tax in retirement: your average rate today. The share of your pay that goes in federal, state and local income tax now. Many people pay less in retirement; change it to see the difference.
Retirement at 67. Social Security's full retirement age for anyone born in 1960 or later. Income is paid until 90, a planning age, not a life expectancy.
Not included: withdrawals or loans before retirement, the 10% early withdrawal tax, required minimum distributions, Social Security benefits, other savings, and taxes on the investment account the traditional saver keeps beside the plan beyond a yearly tax on its growth at today's rate.
Common questions
How much can I put in my 401(k) in 2026?
$24,500 of your own pay ($25,500 in 2027). From the year you turn 50 you can add $8,000 more ($8,500 in 2027), or $11,250 more in the years you turn 60 to 63 ($11,750 in 2027). The limit is for all your 401(k) and 403(b) plans together, traditional and Roth.
Does a traditional 401(k) cost less than it saves?
Yes. It comes out of your pay before income tax, so each dollar you put in lowers your income tax and costs you less than a dollar of take-home pay. Social Security and Medicare are still taken from it. A Roth 401(k) costs a full dollar of take-home pay for each dollar in, and comes out tax-free in retirement.
Should I choose traditional or Roth?
It depends mostly on your tax rate now against your tax rate in retirement. If you expect a lower rate in retirement, traditional usually comes out ahead; if higher, Roth. The calculator compares both after tax, with the tax traditional saves you invested, so both cost the same take-home pay.
Must my catch-up be Roth?
From 2026, if your Social Security wages from the same employer were over $150,000 last year ($155,000 for 2027), any catch-up contribution must be Roth. Your regular contributions can still be traditional.
What happens to my match when I reach the limit?
Most plans match each paycheck, so when your contributions stop at the limit, the match stops too. Some plans make a true-up after the year to pay the whole year's match. If yours doesn't, spreading your contributions over every paycheck gets the full match.
What return should I use?
No one knows future returns. We start from 7% a year: the Thrift Savings Plan's L 2030 target-date fund, one of the defaults the Department of Labor allows for automatic enrollment, returned 7.37% a year from 08/01/2005 to 11/30/2026, which we round down. We show 5% and 9% beside it. A mix weighted to stocks has returned more over long periods, with larger falls along the way; a mix weighted to bonds less.